The next step is to create an instance of QueryExecution, a class that represents a single execution of a query.
下一步是创建QueryExecution的实例,这个类表示查询的一个执行。
To obtain a QueryExecution, call QueryExecutionFactory.create (query, model), passing in the query to execute and the model to run it against.
要获得QueryExecution,请调用QueryExecutionFactory . create (query, model),并传入要执行的query以及查询要处理的model。
There are several different execute methods on QueryExecution, each performing a different type of query (see the sidebar entitled "Other types of SPARQL queries" for more information).
QueryExecution上有几种不同的执行方法,每个方法执行一种不同类型的查询(请参阅标题为“其他类型的SPARQL查询”的侧栏,以获得更多信息)。
应用推荐