query-dc0d3bcc063ed2dffb3ab8e15820f27a
owl:sameAs
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 rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX owl: <http://www.w3.org/2002/07/owl#>
PREFIX bd: <http://www.bigdata.com/rdf#>
PREFIX dbp: <http://dbpedia.org/property/>
PREFIX dbo: <http://dbpedia.org/ontology/>
PREFIX : <http://dbpedia.org/resource/>
SELECT DISTINCT ?person ?name ?wdperson ?familynameLabel WHERE {
SERVICE <http://dbpedia.org/sparql> {
?person rdf:type dbo:MusicalArtist; dbp:name ?name.
?person owl:sameAs ?wdperson .
values ?person {<http://dbpedia.org/resource/Bonnie_Tyler>}
}
?wdperson wdt:P735 wd:Q4689423 ; wdt:P734 ?familyname .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
} ORDER BY ASC(?name)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?familyname")
v1("?name"):::projected
v4("?person"):::projected
v3("?wdperson"):::projected
c10(["bd:serviceParam"]):::iri
c3([http://dbpedia.org/ontology/MusicalArtist]):::iri
c7(["wd:Q4689423"]):::iri
c12(["#91;AUTO_LANGUAGE#93;,en"]):::literal
subgraph s1["http://dbpedia.org/sparql"]
style s1 stroke-width:4px;
v4 --"a"--> c3
v4 --http://dbpedia.org/property/name--> v1
v4 --"owl:sameAs"--> v3
bind0[/VALUES ?person/]
bind0-->v4
bind00([http://dbpedia.org/resource/Bonnie_Tyler])
bind00 --> bind0
end
v3 --"wdt:P735"--> c7
v3 --"wdt:P734"--> v4
subgraph s2["http://wikiba.se/ontology#label"]
style s2 stroke-width:4px;
c10 --"wikibase:language"--> c12
end