So I know Jena Arq supports stage reordering as an optimization. (See https://github.com/apache/jena/blob/master/jena-arq/src/main/java/org/apache/jena/sparql/engine/main/StageGeneratorGeneric.java)
On line #70, there is a check for if the input is…
I have a program that uses Jena to load an .owl Ontology designed in Protege. I am trying to do reasoning over it using Pellet in a way that if I add some statements in run time to model be able to check its consistency. For example I have 'Method',…
I am loading data to a named graph in fuseki server using the following command .
How to remove the particular graph from jena fuseki server.Is there any simple commands similarly.
'/home/user/jena-fuseki-1.1.1/./s-put…
I'm working on an Apache Jena project. I've got a Fuseki server running on my localhost.
I want to create a Java Program for my Fuseki server, that shows all the data in the triplestore in a JTable. I just have no idea how to parse the result from…
I have a bunch of code that uses the Apache Jena querybuilder API (SelectBuilder class). I am trying to add a term like this to my existing SPARQL query:
(?a ?b ?c) :hasMagicProperty ?this .
I have verified that this query works in…
I have a dbpedia URL http://dbpedia.org/resource/Chicago_Cubs and want to use Apache Jena to parse this RDF and get the label of the page. It should be Chicago Cubs.
I tried to do
Model model = ModelFactory.createDefaultModel();
Resource teamModel…
I use Jena's OntClass.listDeclaredProperies() functions. Even every class is supposed to have all RDFS properties (e.g. rdfs:comment), listDeclaredProperies never returns any of them. How they are associated with a class and how to get them?
Update…
I'm looking for the way how to get all statements from my model by its property and by a class of an object.
For example I have property :driverOf and individuals either of type Bus or Truck. Then I want to get all statements where the property is…
I was wondering if it was possible to get the exact time stamp in a dateTime format for when a particular property, object or data, was added to the ontology. For example if I have three owl individuals A, B and C and through my code in either OWL…
I'm trying to execute a SPARQL CONSTRUCT query against either a local TDB or a remote SPARQL endpoint. Now execConstruct on the QueryExecution returns a Model, which has no reference (that I know of) to any graph (and thus quads).
Is there a way to…
I'm building a REST API which will serve information about statements stored in my Jena TDB.
It would be great if each statement has its unique ID so I can use this ID in GET request to retrieve information about particular statement. Is there…
Can anyone suggest me how i can use ServiceNow Api's and i did a bit of research on it and found it requires authentication. Is it true?
also
I need jena for java 1.7 inorder to use sparql query.It is showing
major.minor version 52.0 which is…
Is there any version compatible with java 1.7v in Jena
I'm getting following error and i think it is because of incompatibility
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/jena/query/QueryFactory : Unsupported…
so I want to rewrite some SPARQL queries of some old code (which is not from me) with the SPARQL QueryBuilder from the Jena library. The query looks like this:
SELECT ?s ?p ?o {
{
?s ?p ?o.
…