Querying: Difference between revisions

Jump to navigation Jump to search
Line 23: Line 23:
       filter langMatches(lang(?vilayetLabel), "en")
       filter langMatches(lang(?vilayetLabel), "en")
     }
     }
}
or better still:
SELECT ?vilayet ?vilayetLabel
WHERE
{
  ?vilayet wdt:P6 wd:Q5 .
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" }
  }
  }

Navigation menu