query-a5eea4a6336bae4ef0ca13b0452fcd4c
PropertiesEarly Modern Letters Online person ID (P1802)
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?person ?personLabel (URI(CONCAT("http://emlo.bodleian.ox.ac.uk/profile/person/",?emlo1)) AS ?emlolink1) (URI(CONCAT("http://emlo.bodleian.ox.ac.uk/profile/person/",?emlo2)) AS ?emlolink2)
WHERE {
?person wdt:P1802 ?emlo2;
wdt:P1802 ?emlo1.
FILTER (?emlo1 > ?emlo2)
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" }
}
ORDER BY ?personLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?emlo1"):::projected
v3("?emlo2"):::projected
v5("?emlolink1")
v6("?emlolink2")
v4("?person"):::projected
v1("?personLabel"):::projected
c3(["bd:serviceParam"]):::iri
c5(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[["?emlo1 > ?emlo2"]]
f0 --> v2
f0 --> v3
v4 --"wdt:P1802"--> v3
v4 --"wdt:P1802"--> v2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c3 --"wikibase:language"--> c5
end
bind1[/"concat('http://emlo.bodleian.ox.ac.uk/profile/person/',?emlo1)"/]
v2 --o bind1
bind1 --as--o v5
bind2[/"concat('http://emlo.bodleian.ox.ac.uk/profile/person/',?emlo2)"/]
v3 --o bind2
bind2 --as--o v6