Last active
November 12, 2016 18:24
-
-
Save antoinecourtin/6f0e346320e2c405604b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select ?student ?s_name ?s_bio ?rel ?teacher ?t_name ?t_bio { | |
{select * { | |
values ?rel {gvp:ulan1108_influenced_by gvp:ulan1112_master_was} | |
?student ?rel ?teacher}} | |
filter exists {values ?nationality {aat:300111188} | |
?student foaf:focus/(schema:nationality|(schema:nationality/gvp:broaderExtended)) ?nationality} | |
filter exists {?student gvp:agentType|(gvp:agentType/gvp:broaderExtended) aat:300025164} | |
filter exists {?student foaf:focus/gvp:biographyPreferred/gvp:estStart ?s_birth. | |
filter("1500"^^xsd:gYear < ?s_birth && ?s_birth <= "1950"^^xsd:gYear)} | |
?student gvp:prefLabelGVP [xl:literalForm ?s_name]; | |
foaf:focus [gvp:biographyPreferred [schema:description ?s_bio]]. | |
?teacher gvp:prefLabelGVP [xl:literalForm ?t_name]; | |
foaf:focus [gvp:biographyPreferred [schema:description ?t_bio]]. | |
} order by ?t_name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment