We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exemple: Pascale Bruderer, https://www.wikidata.org/wiki/Q116100
SPARQL-Enpoint: https://query.wikidata.org/
Positions de politiciens suisses
Noter que dans cette requête on utilise la structure des statements et on ajoute toutes les propriétés de chaque statement
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> select distinct ?item ?itemLabel ?itemDescription ?birthDate ?position ?positionLabel ?p ?o where { ?item wdt:P31 wd:Q5; # Any instance of a human. p:P39 ?statement. ?statement ps:P39 wd:Q18510612; ps:P39 ?position; ?p ?o. ?item wdt:P569 ?birthDate. SERVICE wikibase:label { bd:serviceParam wikibase:language "en,nl" } } LIMIT 500
Seulement les propriétés liées à la fonction
Noter qu'il y a plein de doublons si différentes valeurs
SELECT DISTINCT ?item ?itemLabel ?itemDescription ?birthDate ?position ?positionLabel ?startYear ?startTime ?endTime ?p ?o where { ?item wdt:P31 wd:Q5; # Any instance of a human. p:P39 ?statement. ?statement ps:P39 wd:Q18510612; ps:P39 ?position; pq:P580 ?startTime; pq:P582 ?endTime. ?item wdt:P569 ?birthDate. BIND(REPLACE(str(?startTime), "(.*)([0-9]{4})(.*)", "$2") AS ?startYear) FILTER (?startYear > '1950') SERVICE wikibase:label { bd:serviceParam wikibase:language "en" } } ORDER BY ?startYear LIMIT 500 SELECT DISTINCT ?item ?itemLabel ?itemDescription ?birthYear ?position ?positionLabel ?startYear ?startTime ?endTime where { ?item wdt:P31 wd:Q5; # Any instance of a human. p:P39 ?statement. ?statement ps:P39 wd:Q18510612; ps:P39 ?position; pq:P580 ?startTime; pq:P582 ?endTime. ?item wdt:P569 ?birthDate. BIND(REPLACE(str(?startTime), "(.*)([0-9]{4})(.*)", "$2") AS ?startYear) BIND(REPLACE(str(?birthDate), "(.*)([0-9]{4})(.*)", "$2") AS ?birthYear) FILTER (?startYear > '1950') SERVICE wikibase:label { bd:serviceParam wikibase:language "en" } } ORDER BY ?startYear LIMIT 500
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Exemple: Pascale Bruderer, https://www.wikidata.org/wiki/Q116100
SPARQL-Enpoint: https://query.wikidata.org/
Positions de politiciens suisses
Noter que dans cette requête on utilise la structure des statements
et on ajoute toutes les propriétés de chaque statement
Seulement les propriétés liées à la fonction
Noter qu'il y a plein de doublons si différentes valeurs
The text was updated successfully, but these errors were encountered: