query-a21fdc917f2c1b91cf14c912c1b2250a
(2) Map of schoolsNo.2 (2020.10.03T0423 created)
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 bd: <http://www.bigdata.com/rdf#>
# map of schools
# also viewable as table, timeline, and image grid
#defaultView:Map
SELECT DISTINCT ?school ?schoolLabel ?locationLabel ?countryLabel ?image ?coord ?start ?end ?levelLabel
WHERE {
# define "?school, ?starttime, ?endtime, ?level" as:
VALUES (?school ?starttime ?endtime ?level)
# Henan Experimental Primary School (Q5712978), September 1981 (Q3478974), June 1987 (Q16647466), primary school (Q9842)
{(wd:Q5712978 wd:Q3478974 wd:Q16647466 wd:Q9842)
# Zhengzhou No.8 Middle School (Q8070784), September 1987 (Q16676420), June 1990 (Q3188262), junior high school (Q149566)
(wd:Q8070784 wd:Q16676420 wd:Q3188262 wd:Q149566)
# Zhengzhou No.1 High School (Q8070782), September 1990 (Q3478980), June 1993 (Q3188264), senior high school (Q9826)
(wd:Q8070782 wd:Q3478980 wd:Q3188264 wd:Q9826)
# Renmin University of China Law School (Q7313293), September 1993 (Q3478983), June 1997 (Q3188270), Bachelor of Laws (Q798137)
(wd:Q7313293 wd:Q3478983 wd:Q3188270 wd:Q798137)
# Renmin University of China Law School (Q7313293), September 1997 (Q12580249), June 2001 (Q570738), Master of Laws (Q754848)
(wd:Q7313293 wd:Q12580249 wd:Q570738 wd:Q754848)
# Aix-Marseille III University (Q1204304), September 1999 (Q1150759), May 2000 (Q1325528), Master of Laws (Q754848)
(wd:Q1204304 wd:Q1150759 wd:Q1325528 wd:Q754848)
# Yale Law School (Q1143289), September 2001 (Q686187), May 2002 (Q1371846), Master of Laws (Q754848)
(wd:Q1143289 wd:Q686187 wd:Q1371846 wd:Q754848)
# Yale Law School (Q1143289), September 2002 (Q1330468), September 2007 (Q2272047), "JSD candidate"
(wd:Q1143289 wd:Q1330468 wd:Q2272047 "JSD candidate")}
# optional: show ?school's "located in the administrative territorial entity" (P131) as ?location
OPTIONAL {?school wdt:P131 ?location}
# optional: show ?school's country (P17) as ?country
OPTIONAL {?school wdt:P17 ?country}
# optional: show ?school's image (P18) as ?image
OPTIONAL {?school wdt:P18 ?image}
# optional: show ?school's coordinate location (P625) as ?coord
OPTIONAL {?school wdt:P625 ?coord}
# optional: show ?starttime's point in time (P585) as ?start
OPTIONAL {?starttime wdt:P585 ?start}
# optional: show ?endtime's point in time (P585) as ?end
OPTIONAL {?endtime wdt:P585 ?end}
# show label in auto language as default, and English when no default label exists
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;
v8("?coord"):::projected
v6("?country")
v10("?end"):::projected
v3("?endtime")
v7("?image"):::projected
v4("?level")
v5("?location")
v1("?school"):::projected
v9("?start"):::projected
v2("?starttime")
c7(["bd:serviceParam"]):::iri
c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal
bind0[/VALUES ?endtime ?level ?school ?starttime/]
bind0-->v1
bind0-->v2
bind0-->v3
bind0-->v4
bind00(["wd:Q5712978"])
bind00 --> bind0
bind01(["wd:Q3478974"])
bind01 --> bind0
bind02(["wd:Q16647466"])
bind02 --> bind0
bind03(["wd:Q9842"])
bind03 --> bind0
bind04(["wd:Q8070784"])
bind04 --> bind0
bind05(["wd:Q16676420"])
bind05 --> bind0
bind06(["wd:Q3188262"])
bind06 --> bind0
bind07(["wd:Q149566"])
bind07 --> bind0
bind08(["wd:Q8070782"])
bind08 --> bind0
bind09(["wd:Q3478980"])
bind09 --> bind0
bind010(["wd:Q3188264"])
bind010 --> bind0
bind011(["wd:Q9826"])
bind011 --> bind0
bind012(["wd:Q7313293"])
bind012 --> bind0
bind013(["wd:Q3478983"])
bind013 --> bind0
bind014(["wd:Q3188270"])
bind014 --> bind0
bind015(["wd:Q798137"])
bind015 --> bind0
bind016(["wd:Q7313293"])
bind016 --> bind0
bind017(["wd:Q12580249"])
bind017 --> bind0
bind018(["wd:Q570738"])
bind018 --> bind0
bind019(["wd:Q754848"])
bind019 --> bind0
bind020(["wd:Q1204304"])
bind020 --> bind0
bind021(["wd:Q1150759"])
bind021 --> bind0
bind022(["wd:Q1325528"])
bind022 --> bind0
bind023(["wd:Q754848"])
bind023 --> bind0
bind024(["wd:Q1143289"])
bind024 --> bind0
bind025(["wd:Q686187"])
bind025 --> bind0
bind026(["wd:Q1371846"])
bind026 --> bind0
bind027(["wd:Q754848"])
bind027 --> bind0
bind028(["wd:Q1143289"])
bind028 --> bind0
bind029(["wd:Q1330468"])
bind029 --> bind0
bind030(["wd:Q2272047"])
bind030 --> bind0
bind031(["JSD candidate"])
bind031 --> bind0
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P131".-> v5
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P17".-> v6
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P18".-> v7
end
subgraph optional3["(optional)"]
style optional3 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P625".-> v8
end
subgraph optional4["(optional)"]
style optional4 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P585".-> v9
end
subgraph optional5["(optional)"]
style optional5 fill:#bbf,stroke-dasharray: 5 5;
v3 -."wdt:P585".-> v10
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end