query-561ca05c86ede09392c5a1696136b7e2
Palotabarát
Use at
- https://query.wikidata.org/sparql
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
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 ?person ?personLabel ?maior ?maiorLabel WHERE {
?person wdt:P31 wd:Q5;
p:P69 ?almaMater.
?almaMater ps:P69 wd:Q1303297; # SZFE-n
pq:P582 ?end.
FILTER (xsd:integer(YEAR(?end)) = 2017). # 2017-ben végzett
OPTIONAL { ?almaMater pq:P812 ?maior. }
SERVICE wikibase:label { bd:serviceParam wikibase:language "hu". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?almaMater")
v1("?end")
v4("?maior"):::projected
v2("?person"):::projected
c10(["bd:serviceParam"]):::iri
c3(["wd:Q5"]):::iri
c6(["wd:Q1303297"]):::iri
c12(["hu"]):::literal
f0[["http://www.w3.org/2001/XMLSchema#integer(year-from-dateTime(?end)) = '2017^^xsd:integer'"]]
f0 --> v1
v2 --"p:direct/P31"--> c3
v2 --"p:P69"--> v3
v3 --"p:statement/P69"--> c6
v3 --"p:qualifier/P582"--> v1
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v3 -."p:qualifier/P812".-> v4
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end