query-5541703c52a17c0fdcd13e3d4d8a7943

rq turtle/ttl

QueriesAfter an initial overview of the data on anabindata we tested the sample queries from WIKIDATA. It was great and impressive to see how fast the examples of great graphics and maps can be created. That definitely inspired our imagination how many great queries we could do for Mauritius and the project. Our highly motivated goal was to create the following questions: • Which university offers a specific degree in a specific major? • What degrees does a university offer? • What degree-granting universities does a city have? • What currently existing universities are located in a specific city? • What degree-granting universities does a country have in which city? • Which universities of the country are recognised as higher education institutions (accredited, attested)? • Which country offers a specific degree in a specific major in which city? • How many universities do award a specific degree or a specific major in a country? With this motivation we started to create first queries and our motivation got first damper. We realized that to work with the wikidata query service was very time consuming because of many Query timeout limit reached etc. what is the difference and when to use which. Based on this difficulties we mainly on the queries we thought might be useful and we are able to create with information we have and can add. There was the question to show the universities on the island. shortcuts wd, wdt, p, ps, bderrors and long loading times. Additionally it was quite complicated to differentiate between all the With the geolocation we added it looks like this

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#>
#Locations of universities in Mauritius
#defaultView:Map
SELECT ?universityLabel ?universityDescription ?website ?coord WHERE {
  ?university (wdt:P31/wdt:P279*) wd:Q3918.
  ?university wdt:P17 wd:Q1027.
  ?university wdt:P625 ?coord.
  OPTIONAL { ?university wdt:P856 ?website. }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en,de". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?coord"):::projected v1("?university") v3("?website"):::projected a1((" ")) c9(["bd:serviceParam"]):::iri c11(["en,de"]):::literal c3(["wd:Q3918"]):::iri c5(["wd:Q1027"]):::iri v1 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c3 v1 --"wdt:P17"--> c5 v1 --"wdt:P625"--> v2 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P856".-> v3 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c9 --"wikibase:language"--> c11 end