I am planning to develop a web application in Java which could integrate:
RDF data model (Protege 5) + Jena Engine + SPARQL
or
Relational data model + MySQL + ORM library (such as MyBatis).
I wonder which development could be faster considering…
I have read some articles commenting about the Apache Jena engine and I have found it really interesting. At their site I have found that in order to store the triples, TDB could be used.
In my case, I would like to know if, from a Jena application…
I'm generating Apache Jena Graph from DBpedia dumps and now I want iterate through all "dbpedia-owl:abstract".
So I do something like this:
ExtendedIterator iterator = Graph.find(Node.ANY, NodeFactory.createURI("dbpedia-owl:abstract"),…
Hi I want to accept sparql from my exposed rest services for adhoc queries the user wants to issue .My current framework is based on spring data rest and jpa which does most of the heavy lifting for exposes HAL based endpoints but I need to provide…
I am a bit new to sparql Query and I am having a lot of trouble producing a simple data set. Basically here's what I am trying to do. Given the following data structure:
Data
-Composition
-ElementName:"A"
-Value …
So, I have a Java Project with Jena that reads an Ontology (With several imports) and I'm trying to port it into a Dynamic Web Project.
The problem is that, in the DWP, the program cant read the ontology imports. I dont know why, but it always give…
I try to acces DBpedia (de) data on my local machine. Having downloaded and unzipped some ttl-Files I tried to test a very simple SPARQL query.
PREFIX rdf:
PREFIX skos:…
I'm using Jena in Java with Pellet as the reasoner. Now I need to query the class of a specific URI, but the problem is is that I don't know before hand what kind of instance it is, in what kind of class hierarchy, so I can't use filter options.…
I am trying to use Jena's read method to read big size datasets(more than 1 gb) yet I am receiving out of memory error. I tried increasing tomcat heapsize (-Xmx parameter) up to 2048, also the same parameter in eclipse.ini file. However I wasn't…
I've been at this for a few hours now, trying to get Pellet to work with Jenna. Now I finally got to the point it was working. Querying classes and inferenced classes is going well. For example:
SELECT * WHERE { ?x rdf:type uni:Adult}
However when…
I'm trying to use the Jena libraries from inside an eclipse plugin.
If I use it normally, I can write code like this:
public static void main(String[] args) {
Query query = QueryFactory.create("SELECT * {} LIMIT 10");
//…
I have a Apache Jena ARQ SPARQL query of the form
SELECT DISTINCT (count(*) AS ?rowCount) ......
The rowCount value is coming in as 1^^http://www.w3.org/2001/XMLSchema#integer
This is causing problems in parsing the integer value , how do I…
i learning jena for websemantic. I was tried made a function getAllSubClass for read ontology(.owl) which i made.
level1->level2 subclass level1->level3 subclass level2->level4
subclass level3->level5 subclass level4
this my code :
public void…
the following code is used to send rdf data to a sparql endpoint.
It has worked fine until i've tried to add a reasoner to the OntoModel.
Now the compiler says:
"cannot convert from com.hp.hpl.jena.ontology.OntModelspec to…