query-36a206d00a93e981f50586c7e21bbabf

rq turtle/ttl

TODO

Use at

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 ?person ?personLabel ?relation ?relationLabel ?occupationLabel
WHERE
{
  ?person ?directClaim wd:Q7186 . # Best ranked links to Marie Curie
  ?relation wikibase:directClaim ?directClaim .
  ?person wdt:P31 wd:Q5 . # Show only humans
  VALUES ?occupation { wd:Q169470 wd:Q593644 } # which are physicists and chemists
  ?person wdt:P106 / wdt:P279* ?occupation .          
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" . }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?directClaim") v4("?occupation") v1("?person"):::projected v3("?relation"):::projected a1((" ")) c1(["wd:Q7186"]):::iri c8(["bd:serviceParam"]):::iri c4(["wd:Q5"]):::iri c10(["#91;AUTO_LANGUAGE#93;,en"]):::literal v1 -->v2--> c1 v3 --"wikibase:directClaim"--> v2 v1 --"wdt:P31"--> c4 bind0[/VALUES ?occupation/] bind0-->v4 bind00(["wd:Q169470"]) bind00 --> bind0 bind01(["wd:Q593644"]) bind01 --> bind0 v1 --"wdt:P106"--> a1 a1 --"wdt:P279"--> v4 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c8 --"wikibase:language"--> c10 end