query-740c1492c19135636580b2f23b8ac6a6

rq turtle/ttl

]reply[12:35, 6 July 2023 (UTC)) talk (Dnshitobu Thank you for your suggestion. We explored all those properties but the property constraints wouldn't allow us use it. Anyway, we will explore those options again. Vladimir Alexiev@ ]reply[12:45, 30 June 2023 (UTC)) talk (Vladimir Alexievhope to help! -- To reiterate: since you've added all of ISCED as WD entities, you don't need a special prop to link to these entities: you can use an existing one.]reply[12:46, 30 June 2023 (UTC)) talk (Vladimir Alexiev See reason above --Oppose After interactive discussion today: :(P279)subclass of is not needed because all the links from curricula to ISCED are "narrower" and because P4390 is an allowed qualifier only for "external-ID" properties. You can get the parent (or all ancenstors) of a course classification using (P4390)mapping relation type

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?co ?coLabel ?isced ?iscedLabel ?iscedParent ?iscedParentLabel WHERE {
  ?co wdt:P279 ?isced. # course/curriculum is classified with an ISCED field. Replace "subclass of" with "ISCED Field" when/if approved
  ?isced wdt:P31 wd:Q113586463. # instance of ISCED Field of Education and Training
  ?isced wdt:P279 ?iscedParent.
  ?iscedParent wdt:P31 wd:Q113586463.
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?co"):::projected v2("?isced"):::projected v3("?iscedParent"):::projected c5(["bd:serviceParam"]):::iri c3(["wd:Q113586463"]):::iri c7(["#91;AUTO_LANGUAGE#93;,en"]):::literal v1 --"wdt:P279"--> v2 v2 --"wdt:P31"--> c3 v2 --"wdt:P279"--> v3 v3 --"wdt:P31"--> c3 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c5 --"wikibase:language"--> c7 end