// (c) Copyright 2002 Hewlett-Packard Development Company, LP
// Tutorial exercise 1
// What are the top level properties for the vCard for "John Smith"
  

SELECT ?property
FROM <vc-db-3.rdf>
WHERE (?person, <vCard:FN>, "John Smith") ,
      (?person, ?property, ?obj)
USING 
   vCard FOR <http://www.w3.org/2001/vcard-rdf/3.0#> ,
   rdf   FOR <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
