query-79839c7ce48edd1851b6d631c1bce0e7
PropertiesEarly Modern Letters Online person ID (P1802)instance of (P31)subclass of (P279)
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT ?emlo ?idlabel ?value WHERE {
{
SELECT DISTINCT ?item ?emlo WHERE {
?item wdt:P1802 ?emlo
}
}.
?id wikibase:propertyType wikibase:ExternalId; wikibase:claim ?p; wikibase:statementProperty ?ps; wdt:P31/wdt:P279* wd:Q19595382 FILTER( ?id != wd:P1802 ).
?item ?p [ ?ps ?value ] .
?id rdfs:label ?idlabel FILTER (lang(?idlabel) = "en").
} ORDER BY ?idlabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?emlo"):::projected
v2("?id")
v1("?idlabel"):::projected
v3("?item")
v5("?p")
v6("?ps")
v7("?value"):::projected
a1((" "))
a2((" "))
c10(["wd:Q19595382"]):::iri
c5(["wikibase:ExternalId"]):::iri
f0[["?idlabel = 'en'"]]
f0 --> v1
f1[["?id != 'wd:P1802'"]]
f1 --> v2
v3 --"wdt:P1802"--> v4
v2 --"wikibase:propertyType"--> c5
v2 --"wikibase:claim"--> v5
v2 --"wikibase:statementProperty"--> v6
v2 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c10
a2 -->v6--> v7
v3 -->v5--> a2
v2 --"rdfs:label"--> v1