query-0af7de239d5447e5169d4343bb260113
PropertiesElectronic Enlightenment ID (P3429)described by source (P1343)
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX schema: <http://schema.org/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?person ?personLabel ?personDescription (URI(CONCAT("https://doi.org/10.13051/ee:bio/", ?ee)) AS ?eelink) ?sourcename ?ws
WHERE {
?person wdt:P3429 ?ee.
SERVICE wikibase:label {bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en,fr,de"}
MINUS {?wp schema:about ?person; FILTER CONTAINS(STR(?wp),"wikipedia") }
OPTIONAL { ?person p:P1343/ps:P1343 ?source. ?source rdfs:label ?sourcename filter (lang(?sourcename) = "en")
OPTIONAL { ?ws schema:about ?source; schema:isPartOf <https://en.wikisource.org/> } }
} ORDER BY ?ee
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?ee"):::projected
v7("?eelink")
v3("?person"):::projected
v5("?source")
v2("?sourcename"):::projected
v4("?wp")
v6("?ws"):::projected
a1((" "))
c6(["#91;AUTO_LANGUAGE#93;,en,fr,de"]):::literal
c4(["bd:serviceParam"]):::iri
c13([https://en.wikisource.org/]):::iri
v3 --"p:direct/P3429"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
f1[["contains(str(?wp),'wikipedia')"]]
f1 --> v4
v4 --"schema:about"--> v3
end
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v3 -."p:P1343".-> a1
a1 --"p:statement/P1343"--> v5
v5 --"rdfs:label"--> v2
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v6 -."schema:about".-> v5
v6 --"schema:isPartOf"--> c13
end
end
bind2[/"concat('https://doi.org/10.13051/ee:bio/',?ee)"/]
v1 --o bind2
bind2 --as--o v7