query-b1debd96f968a271876e38330091c8a8
Show Wikidata properties that are external identifiers and are used on instances of Q5Something is wrong, no idea what.
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?property ?propertyLabel WHERE {
?property wikibase:propertyType wikibase:ExternalId .
?item wdt:P31 wd:Q5 .
?item ?property [].
SERVICE wikibase:label { bd:serviceParam wikibase:language 'en' }
} ORDER BY ?propertyLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?item")
v2("?property"):::projected
v1("?propertyLabel"):::projected
a1((" "))
c6(["bd:serviceParam"]):::iri
c4(["wd:Q5"]):::iri
c8(["en"]):::literal
c2(["wikibase:ExternalId"]):::iri
v2 --"wikibase:propertyType"--> c2
v3 --"wdt:P31"--> c4
v3 -->v2--> a1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end