query-bae30ee2bfb29944e595be056ac7d096

rq turtle/ttl

list of item using P485 with as qualifier P518 (s'applique à) SELECT DISTINCT ?item ?itemLabel ?itemDescription (GROUP_CONCAT(DISTINCT(?typeLabel); separator=", ") as ?typesLabel) WHERE { ?item p:P485 ?statement. ?statement ps:P485 ?archives. #option avoir déposé ses archives dans une institution ?statement pq:P518 ?type. SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],fr,it,de,nl,en". ?item rdfs:label ?itemLabel; schema:description ?itemDescription. ?type rdfs:label ?typeLabel. } } GROUP BY ?item ?itemLabel ?itemDescription ?typesLabel ORDER BY ?itemDescription ?itemLabel LIMIT 100

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX schema: <http://schema.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
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#>
#list of item using P485 with as qualifier P518 (s'applique à)
SELECT DISTINCT ?item ?itemLabel ?itemDescription (GROUP_CONCAT(DISTINCT(?typeLabel); separator=", ") as ?typesLabel)
WHERE {
?item p:P485 ?statement. 
?statement ps:P485 ?archives. #option avoir déposé ses archives dans une institution
?statement pq:P518 ?type.
SERVICE wikibase:label {
  bd:serviceParam wikibase:language "[AUTO_LANGUAGE],fr,it,de,nl,en".
  ?item rdfs:label ?itemLabel;
        schema:description ?itemDescription.
  ?type rdfs:label ?typeLabel.
}
}
GROUP BY ?item ?itemLabel ?itemDescription ?typesLabel
ORDER BY ?itemDescription ?itemLabel
LIMIT 100

Query found at