Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Endpoint SparQL : http://data.bnf.fr/sparql/
- # Personnes avec diverses données reliées
- PREFIX bio: <http://vocab.org/bio/0.1/>
- PREFIX foaf: <http://xmlns.com/foaf/0.1/>
- PREFIX foaf: <http://xmlns.com/foaf/0.1/>
- SELECT DISTINCT ?uriBnF ?nom ?naissance ?deces ?genre ?LangueExpression ?isni ?bio ?idref ?WP
- WHERE {
- ?uriBnF isni:identifierValid ?isni ;
- skos:exactMatch ?idref ;
- skos:exactMatch ?WP ;
- foaf:focus ?person .
- ?person foaf:name ?nom ;
- foaf:gender ?genre ;
- bio:birth ?naissance ;
- bio:death ?deces ;
- rdagroup2elements:languageOfThePerson ?LangueExpression ;
- rdagroup2elements:biographicalInformation ?bio .
- {SELECT ?person (group_concat(?langue ; SEPARATOR = " ; ") AS ?lg)
- {?person rdagroup2elements:languageOfThePerson ?langue } GROUP BY ?person}
- FILTER REGEX(?idref, "^http://www.idref.fr/")
- FILTER REGEX(?WP, "^http://fr.wikipedia.org/")
- }
- LIMIT 10
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement