query-b0dacdafeb0dd92c7a61f4266118c165
Use with author strings
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
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#>
SELECT ?item ?itemLabel (URI(CONCAT("http://www.treccani.it/enciclopedia/",?ei,"_(Enciclopedia-Italiana)")) AS ?eiUrl) ?author_string
WHERE {
?item p:P4223 ?stat .
?stat ps:P4223 ?ei .
?stat pq:P2093 ?author_string .
SERVICE wikibase:label { bd:serviceParam wikibase:language "it,en" }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?author_string"):::projected
v3("?ei"):::projected
v5("?eiUrl")
v1("?item"):::projected
v2("?stat")
c5(["bd:serviceParam"]):::iri
c7(["it,en"]):::literal
v1 --"p:P4223"--> v2
v2 --"p:statement/P4223"--> v3
v2 --"p:qualifier/P2093"--> v4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c5 --"wikibase:language"--> c7
end
bind0[/"concat('http://www.treccani.it/enciclopedia/',?ei,'_(Enciclopedia-Italiana)')"/]
v3 --o bind0
bind0 --as--o v5