public class QueryMapper extends Object
ModelQueryUtil
which converts a query represented
by a model with jqv: variables into a .graph.query.Query
object.Constructor and Description |
---|
QueryMapper(Model m,
Resource[] variables) |
Modifier and Type | Method and Description |
---|---|
Graph |
getGraph() |
GraphQuery |
getQuery() |
Node[] |
getVariables() |
Graph |
toQueryGraph(Model m) |
Node |
toQueryNode(RDFNode rn) |
Triple |
toQueryTriple(Statement s) |
Node[] |
toQueryVariables(Resource[] vars) |
public Node[] getVariables()
public GraphQuery getQuery()
public Graph getGraph()
Licenced under the Apache License, Version 2.0