text: SELECT*WHERE { ?pizza pizza:purchasedByCustomer ?customer} 
  
  This will show you the two pizzas where the purchase relation was asserted on the instance of Pizza rather 
  than on the instance of Customer. 
  
  Suppose you wanted to see all of the things that are objects of Customer? With a couple of new 
  constructs this is simple. First, in SPARQL a shortcut to identify the type of any entity is to use the 
  keyword a as the predicate. This is just shorthand for rdf:type. Second, when you have multiple 
  statements in a WHERE clause you need to end each one with a period. 
  
  Replace the current query with the following: 
  
  SELECT*
  
  WHERE { ?customer a pizza:Customer. 
  
   ?customer ?relation ?relatedToCustomer.} 
  
  This will provide a long list of everything in the graph that is an object of some instance of the Customer 
  class. I.e., any entity that is the object of a predicate with a Customer as the subject. 
  
  Suppose you wanted to count the number of Pizzas purchased by Customers so far. For this you use the 
  SPARQL function COUNT. Here is what it would look like: 
  
  SELECT (COUNT(?pizza) AS ?pcount) 
  
  WHERE {?customer pizza:purchasedPizza ?pizza} 