@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix ex: <http://example.org/> .

ex:bob foaf:name "Bob" ;
       foaf:mbox "bob@example.org" ;
       foaf:knows ex:alice .

ex:bob foaf:knows ex:alice .
ex:bob foaf:knows ex:william .

ex:alice foaf:knows ex:bob .
