updated RDF creation
updated queries to match new RDF structure
cleaned up debugging prints