VOS.NorthWindREFExample2

  • Topic
  • Discussion
  • VOS.NorthWindREFExample2(1.1) -- DAVWikiAdmin? , 2017-06-13 05:41:15 Edit WebDAV System Administrator 2017-06-13 05:41:15

    Dump of Products with details for product name; category; supplier; supplier company name and phone, for all categories with name containing "Sea".


    PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
    PREFIX ndw:<http://demo.openlinksw.com/schemas/northwind#>
    SELECT distinct  ?p_name ?p_category ?s_company ?s_phone
    WHERE
      { 
        ?prs rdf:type ndw:Product .
        ?prs ndw:productName ?p_name.
        ?prs ndw:has_category ?hcg.
        ?prs ndw:has_supplier ?hp.
        ?hp ndw:companyName ?s_company .
        ?hp ndw:phone ?s_phone .
        ?hcg ndw:categoryName ?p_category.
        FILTER REGEX(str(?p_category), "^Sea") .
      }
    LIMIT 2
    

    Sample Data (Live Query Results)