fixed potential bug where a literal "foaf:Person" would get expanded
as if it was a resource.
added "a" as a shortcut for rdf:type