Querying: Difference between revisions

Jump to navigation Jump to search
No edit summary
Line 13: Line 13:


=== Label ===
=== Label ===
All items that are vilayets, as well as their English language label:


  SELECT ?vilayet ?vilayetLabel
  SELECT ?vilayet ?vilayetLabel
Line 18: Line 19:
  {
  {
   ?vilayet wdt:P6 wd:Q5 .  
   ?vilayet wdt:P6 wd:Q5 .  
   ?vilayet rdfs:label ?vilayetLabel .
   optional {
      ?vilayet rdfs:label ?vilayetLabel
      filter langMatches(lang(?vilayetLabel), "en")
    }
  }
  }

Navigation menu