Project:SPARQL/examples: Difference between revisions
From Beyond Notability
No edit summary |
|||
Line 181: | Line 181: | ||
SELECT ?person ?personLabel ?position ?positionLabel ?employer ?employerLabel ?date ?startdate ?enddate | SELECT ?person ?personLabel ?position ?positionLabel ?employer ?employerLabel ?date ?startdate ?enddate | ||
WHERE { | WHERE { | ||
?person bnp:P105 ?hadposition . | ?person bnp:P105 ?hadposition . #using 'employed as' for roles at institutions that typically employed people on a formal, longstanding basis. | ||
?hadposition bnps:P105 ?position | ?hadposition bnps:P105 ?position | ||
OPTIONAL {?hadposition bnpq:P18 ?employer .} | OPTIONAL {?hadposition bnpq:P18 ?employer .} |