Hey I made the protege tutorial for pizzas. I got an owl file. I saved the file as RDF/XML format. Now I try to get some information about the data in the file.
Things like:
"Select * where {
?s rdfs:subClassOf owl:Thing
}
work.
Now I want to get…
I'm using Apache Jena to fetch a huge amount of data from Dbpedia and write it into a CSV file. However, I'm only able to get about 10,000 triples and not the entire data. I need it to fetch all triples in the query. I can't identify whether it is…
I try to make a RDF document with Apache Jena in which I want some information about museums. I make the resources and the model, but when I print out the final output it will give me the properties for all museums into first museum resource.
What…
I have developed a web application where I use a POST webservice from my HTML page with AngularJS to post a variable in my java class.
I use this variable to update my graph in a Fuseki RDF store that I have.
For some reason I get a…
I have an owl file classes and individuals are in the same file.
Complaint and User (classes).
I create users' complaints as individuals.
An complaint class has dataProperties (id, num of read, title, tags, content etc. )
I wrote a sparql query…
I tried to connect Jena to my custom file which I stored on a public directory on Dropbox with the following link https://www.dropbox.com/s/d3gfidqqfwvo4e9/foaf.ttl?dl=1.
I've intentionally changed the link to dl=1 instead of dl=0 so the link would…
I am trying to clear most of the graphs contained in my local Virtuoso triple store, using Apache Jena, as part of my clean up process before and after my unit tests. I think that something like this should be done. First, I retrieve the graph URIs…
I consider migrating a project to Apache Jena but can't get my mind around Jena's architecture. In this example...
https://github.com/apache/jena/tree/master/jena-permissions/src/example/java/org/apache/jena/permissions/example
... we make use of…
I have built an ontology for live concerts, Concert_Ontology.ttl. This contains definitions for concerts, artists, repertoires, and songs. I want to match the artists in my ontology and the artists in the dbpedia Person ontology based on the…
I'm new to using Apache Jena!
Following is my code. Exception at exec.execSelect(),can anyone tell why?
public static void main(String [] args){
ParameterizedSparqlString qs = new ParameterizedSparqlString(""
+ "prefix rdfs: …
I am using Apache Jena. I have created the data property, its range as xsd:string and restriction that is added as a superclass to specific (already created) class:
DatatypeProperty dataProperty = model.createDatatypeProperty(baseURI +…
I understand Model like this :
It consists of triplets ( Subject Predicate/Property Object)
A B C
C D E
E F G
G H I
X Y Z
And We can represent above set of Triplets with Nodes and Edges in Graph.
I want to get Subject 'A' value which can have…
I have some RDF data structured like this:
[ pref:ip_address "127.0.0.1" ;
pref:time "1459630844.482" ;
pref:url "https://google.com" ;
pref:user "johndoe"
] .
I need query that will return all results matching given…