templates with rdfstore, general rdf property reader function