Dump all Customers (subclass of Organizations)


PREFIX ndw:<http://demo.openlinksw.com/schemas/northwind#>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
SELECT ?company ?contact ?address
WHERE
  { 
    ?aa rdf:type foaf:Organization.
    ?aa ndw:companyName ?company .
    ?aa ndw:contactName ?contact .
    ?aa ndw:address ?address .
  }

Sample Data (Live Query Results)