query-5b4c2a45312c1faaef8bc052023a171a

rq turtle/ttl

SPARQL01513510 PREFIX dct: http://purl.org/dc/terms/ PREFIX wd: http://www.wikidata.org/entity/ PREFIX wdt: http://www.wikidata.org/prop/direct/

SELECT * WHERE { ?item wdt:P1648 ?DWBID ; wdt:P31 wd:Q5 ; wdt:P269 ?ppn BIND(URI(concat("http://www.idref.fr/", ?ppn, "/id")) AS ?person_idref_uri) SERVICE https://data.idref.fr/sparql { ?document_uri ?relator ?person_idref_uri ; dct:bibliographicCitation ?document_title } } LIMIT 10

Use at

# SPARQL01513510
PREFIX  dct:  <http://purl.org/dc/terms/>
PREFIX  wd:   <http://www.wikidata.org/entity/>
PREFIX  wdt:  <http://www.wikidata.org/prop/direct/>

SELECT  *
WHERE
  { ?item  wdt:P1648  ?DWBID ;
           wdt:P31    wd:Q5 ;
           wdt:P269   ?ppn
    BIND(URI(concat("http://www.idref.fr/", ?ppn, "/id")) AS ?person_idref_uri)
    SERVICE <https://data.idref.fr/sparql>
      { ?document_uri
                  ?relator              ?person_idref_uri ;
                  dct:bibliographicCitation  ?document_title
      }
  }
LIMIT   10

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?DWBID"):::projected v7("?document_title"):::projected v5("?document_uri"):::projected v1("?item"):::projected v4("?person_idref_uri"):::projected v3("?ppn"):::projected v6("?relator"):::projected c3(["wd:Q5"]):::iri v1 --"wdt:P1648"--> v2 v1 --"wdt:P31"--> c3 v1 --"wdt:P269"--> v3 bind0[/"concat('http://www.idref.fr/',?ppn,'/id')"/] v3 --o bind0 bind0 --as--o v4 subgraph s1["https://data.idref.fr/sparql"] style s1 stroke-width:4px; v5 -->v6--> v4 v5 --"dct:bibliographicCitation"--> v7 end