query-7bb560619ecc98227f8fe13ca8d4b2c1

rq turtle/ttl

We also wrote a query that looks at qualifiers of the employer statement.

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
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 ?researcher ?researcherLabel ?occupation ?occupationLabel ?position ?positionLabel WHERE {
  ?researcher p:P108 ?employerStatement.
  ?employerStatement ps:P108 wd:Q49210.
  ?employerStatement pq:P39 ?position.
  #?employerStatement pq:P580 ?starttime.
  #?employerStatement pq:P582 ?endtime.
  ?researcher wdt:P106 ?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("?employerStatement") v4("?occupation"):::projected v3("?position"):::projected v1("?researcher"):::projected c7(["bd:serviceParam"]):::iri c3(["wd:Q49210"]):::iri c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal v1 --"p:P108"--> v2 v2 --"p:statement/P108"--> c3 v2 --"p:qualifier/P39"--> v3 v1 --"p:direct/P106"--> v4 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c7 --"wikibase:language"--> c9 end