query-8cc6d47810d454cde7682820e2b5b800
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?PersonLabel ?relationshipLabel WHERE
{
?Person ?predicate wd:Q4616.
?relationship wikibase:directClaim ?predicate .
VALUES ?relationship {wd:P40 wd:P20 wd:P451 wd:P3373 wd:P26}
SERVICE wikibase:label{bd:serviceParam wikibase:language "en".}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?Person")
v2("?predicate")
v4("?relationship")
c1(["wd:Q4616"]):::iri
c4(["bd:serviceParam"]):::iri
c6(["en"]):::literal
v1 -->v2--> c1
v4 --"wikibase:directClaim"--> v2
bind0[/VALUES ?relationship/]
bind0-->v4
bind00(["wd:P40"])
bind00 --> bind0
bind01(["wd:P20"])
bind01 --> bind0
bind02(["wd:P451"])
bind02 --> bind0
bind03(["wd:P3373"])
bind03 --> bind0
bind04(["wd:P26"])
bind04 --> bind0
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end