query-d78b915359711d64f0e69a4d8124ac75
SPARQL query
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?name ?wikidata WHERE {
?wikidata p:P39 ?mem .
?mem ps:P39 wd:Q1939555.
?mem pq:P2937 wd:Q15081430.
SERVICE wikibase:label {
bd:serviceParam wikibase:language "de,en".
?wikidata rdfs:label ?name .
}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?mem")
v3("?name"):::projected
v1("?wikidata"):::projected
c5(["wd:Q15081430"]):::iri
c7(["bd:serviceParam"]):::iri
c3(["wd:Q1939555"]):::iri
c9(["de,en"]):::literal
v1 --"p:P39"--> v2
v2 --"p:statement/P39"--> c3
v2 --"p:qualifier/P2937"--> c5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
v1 --"rdfs:label"--> v3
end