Line 103:
Line 103:
{{SPARQL|query=
{{SPARQL|query=
−
SELECT ?class ?classLabel ?wikidataQid ?property ?propertyLabel WHERE {
+
SELECT ?class ?classLabel ?wikidataQid ?property ?propertyLabel ?wikidataPid WHERE {
?class pdiot:P291 ?property.
?class pdiot:P291 ?property.
OPTIONAL {?class pdiot:P103 ?wikidataQid}
OPTIONAL {?class pdiot:P103 ?wikidataQid}
+
OPTIONAL {?property pdiot:P104 ?wikidataPid}
SERVICE wikibase:label {
SERVICE wikibase:label {
bd:serviceParam wikibase:language "en" .
bd:serviceParam wikibase:language "en" .