Query
-
class omexmeta::Query
make a Sparql
- param query
on the rdf graph represented by
- param model.
Public Functions
-
Query(const std::string &query, LibrdfModel &model)
-
ResultsMap asMap()
return query results as a ResultsMap, where sparql variables are bound as keys in a map and values are vectors containing nodes associated with the ith position in the query results.
-
std::string asString(const std::string &format)
return query results as a string in the format of your choosing.
valid formats are “xml”, “json”, “table”, “csv”, “mkr”, “tsv”, “html”,”turtle”, “rdfxml”,