VOS.NorthWindREFExample10

  • Topic
  • Discussion
  • VOS.NorthWindREFExample10(1.1) -- DAVWikiAdmin? , 2017-06-13 05:38:22 Edit WebDAV System Administrator 2017-06-13 05:38:22

    Dump all Countries containing in their name "United".


    PREFIX ndw:<http://demo.openlinksw.com/schemas/northwind#>
    PREFIX wgs: <http://www.w3.org/2003/01/geo/wgs84_pos#>
    SELECT ?name ?code ?lat ?long
    WHERE
      { 
        ?cnt a wgs:SpatialThing .
        ?cnt ndw:name ?name .
        ?cnt ndw:code ?code .
        ?cnt wgs:lat ?lat .
        ?cnt wgs:long ?long .
        FILTER REGEX(str(?name), "^United")   
      }
    

    Sample Data (Live Query Results)