query-7584e94625b932cd68ddd66fcc167dc6
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
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/>
SELECT DISTINCT ?qualif WHERE {
?person wdt:P31 wd:Q5;
p:P69 ?almaMater.
?almaMater ps:P69 wd:Q1303297; # SZFE-n
pq:P582 ?end;
?qualif ?qualifValue.
FILTER (xsd:integer(YEAR(?end)) = 2017). # 2017-ben végzett
FILTER (STRSTARTS(STR(?qualif), "http://www.wikidata.org/prop/qualifier/P")).
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?almaMater")
v2("?end")
v3("?person")
v1("?qualif"):::projected
v5("?qualifValue")
c4(["wd:Q5"]):::iri
c7(["wd:Q1303297"]):::iri
f0[["starts-with(str(?qualif),'http://www.wikidata.org/prop/qualifier/P')"]]
f0 --> v1
f1[["http://www.w3.org/2001/XMLSchema#integer(year-from-dateTime(?end)) = '2017^^xsd:integer'"]]
f1 --> v2
v3 --"p:direct/P31"--> c4
v3 --"p:P69"--> v4
v4 --"p:statement/P69"--> c7
v4 --"p:qualifier/P582"--> v2
v4 -->v1--> v5