query-eb8d69e0b4fc707fb72b5c33d9fac386

rq turtle/ttl

TODO

Use at

PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX p: <http://www.wikidata.org/entity/>
select distinct ?q ?bio ?bioid ?biourl where {
  values ?bio { p:P4223 p:P1417 p:P4459 p:P902 p:P6194 p:P8130 p:P2924 p:P1986 p:P8341 p:P5080 p:P3217 p:P6829 p:P1254 p:P7928 p:P2180 p:P7941 p:P2753 p:P1907 p:P2745 } # biografie e enciclopedie di interesse
  ?bio wikibase:directClaim ?biost .
  ?bio wdt:P1630 ?url_formatter .
  ?q ?biost ?bioid .
  ?q wdt:P5739 "25090" . # Albert Einstein
  bind(replace(?url_formatter, '\\$1'  , ?bioid) as ?biourl) .
}
order by xsd:integer(SUBSTR(STR(?bio),33))

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?bio"):::projected v5("?bioid"):::projected v2("?biost") v6("?biourl"):::projected v4("?q"):::projected v3("?url_formatter") c5(["25090"]):::literal bind0[/VALUES ?bio/] bind0-->v2 bind00([http://www.wikidata.org/entity/P4223]) bind00 --> bind0 bind01([http://www.wikidata.org/entity/P1417]) bind01 --> bind0 bind02([http://www.wikidata.org/entity/P4459]) bind02 --> bind0 bind03([http://www.wikidata.org/entity/P902]) bind03 --> bind0 bind04([http://www.wikidata.org/entity/P6194]) bind04 --> bind0 bind05([http://www.wikidata.org/entity/P8130]) bind05 --> bind0 bind06([http://www.wikidata.org/entity/P2924]) bind06 --> bind0 bind07([http://www.wikidata.org/entity/P1986]) bind07 --> bind0 bind08([http://www.wikidata.org/entity/P8341]) bind08 --> bind0 bind09([http://www.wikidata.org/entity/P5080]) bind09 --> bind0 bind010([http://www.wikidata.org/entity/P3217]) bind010 --> bind0 bind011([http://www.wikidata.org/entity/P6829]) bind011 --> bind0 bind012([http://www.wikidata.org/entity/P1254]) bind012 --> bind0 bind013([http://www.wikidata.org/entity/P7928]) bind013 --> bind0 bind014([http://www.wikidata.org/entity/P2180]) bind014 --> bind0 bind015([http://www.wikidata.org/entity/P7941]) bind015 --> bind0 bind016([http://www.wikidata.org/entity/P2753]) bind016 --> bind0 bind017([http://www.wikidata.org/entity/P1907]) bind017 --> bind0 bind018([http://www.wikidata.org/entity/P2745]) bind018 --> bind0 v2 --"wikibase:directClaim"--> v2 v2 --"p:direct/P1630"--> v3 v4 -->v2--> v5 v4 --"p:direct/P5739"--> c5 bind1[/"replace(?url_formatter,'\$1',?bioid)"/] v3 --o bind1 v5 --o bind1 bind1 --as--o v6