fredag 5 januari 2018

Teacher Graf


  1. Exempel med länder som gränsar




SELECT ?personLabel ?studentLabel ?studentOfLabel ?rgb WHERE {
  {
    SELECT ?person WHERE {
      ?person wdt:P31 wd:Q5;
                   wdt:P4607 ?MusicHer.
    }
  }
  ?person wdt:P802 ?student.   #Students
  ?person wdt:P1066 ?studentOf.   #Students of
  
  VALUES ?switch { true false }
#  BIND(IF(?switch, ?landlocked1, ?coastal) AS ?country1)
#  BIND(IF(?switch, ?coastal, ?landlocked2) AS ?country2)
#  BIND(IF(?switch, "FFBB33", "0033CC") AS ?rgb)
  SERVICE wikibase:label { bd:serviceParam wikibase:language "sv,en". }
}

Inga kommentarer:

Skicka en kommentar