dear all
i have an ontology that it doesnt have only one root class. it has 4 seperated classes(4 sub graph)
---1---- with listclasses() method i can't access 3 of them. this method lists one root class and its subclasses!
i want to get all classes of ontology.then i want to get "Thing" class to access all of classes!!! is this possib...
Hello,
I am new to Jena. I want to create a new OntModel and need to imports some other ontology to this model.If I write it to file, I expect the file can show something like follow:
<owl:Ontology rdf:about="">
<owl:imports rdf:resource="http://test.owl#"/>
</owl:Ontology>
Right now, I dont know how to import other ontolo...
Hi,
I have an ontology file (in RDF) which expresses the entities in the app that I am writing. I am using Jena, and can access the Concepts and create/access the resources by directly manipulating triples.
To make things easier, I created a set of Java classes, one for each type of resource in my ontology, keeping in mind their inherit...
Hello,
I have a question about jena and owl property type.
If the property is an ontology property, I can know its property type by different type defination such as datatypeproperty, objectproperty. But if the property I get from some other place, such as http://www.w3.org/2003/01/geo/wgs84_pos. How can I know its property type by jen...
I would like to send updates to a remote endpoint over http.
I have found that joseki serves as such an endpoint.
However, how do i send update queries to this endpoint, if I only know the uri of the endpoint?
// To do a select-query you can use this:
QueryExecution qe = QueryExecutionFactory.sparqlService(serviceURI, query);
// (Side...
Hi,
I am using a library (ARQ, with Jena), that uses javax.management.ObjectName. Sadly, it appears that the package javax.management is not included in android.
Has anyone else faced (and successfully bypassed) this issue? Pointers will be deeply appreciated.
Thanks.
...
This web application is about posting different kind of posts to the web application where users can search those posts by a text-based search. Basically a post has following attributes.
Title
Description
Category
Budget
Submit_date
End_date
Currently, Post content is store in sql server database under 'Post' table....
I got this error 'java.lang.ClassNotFoundException: com.hp.hpl.jena.rdf.model.Model' when I run my java web service which implement a jena framework function such as OWL reading function. But it worked as a standalone java application and read the owl file correctly. But when I host it as web service and execute the read method in a .net...
I'm uncertain as to the behaviour of the AllegroGraph triple store in regard to transactions. The tutorial talks about using two connections, but does not mention Jena models.
If I use Model's begin(), commit(), and abort() methods, do I still need to use two connections? How does a model interact with the connection's auto-commit setti...
I'm a noob to jena, and am having trouble running a a basic GWT web app with the jena libraries added to the build path. Does anyone know how to run Jena on google app engine, or any good resources for this?
Thanks
...
Hello!!!
Im working in a project where I have to load any ontology (is chosen by the user) in .owl language and display its graph as a tree menu. It means the ontology can be any size.
The goal is to show a Taxanomy to be able to classify learning objects.
At the moment, using jena I can load the ontology, but I wonder how to show the...
I am currently working on a mobile application which uses OWL ontologies.
I am planning on using the androjena lib which is a port of the java jena lib.
http://code.google.com/p/androjena/
As instructed in the documentation, I have added the 5 .jar files included with Androjena to the build path of the Android Project.
This results i...
dear all
I am using Jena
please help me.
i need to compute distances between classes from a specific class.
how can i calculate Distance(number of links) between two resources in an ontology,please?
thanks
...
dear all
i am using jena
how can i get mincardinality of a property?
thanks...
...
I create a simple query to show subjects with value of DataType property.
this query run in the Protege3.4.3.but when i run in the Jena i revive this title "com.hp.hpl.jena.sparql.engine.ResultSetStream@16be68f".why?
this is my query:
PREFIX VB:http://VBnet#
SELECT ?x ?y
WHERE {
?x rdf:type VB:LearnerInformation .
?x VB:Name ?y
Lear...
I create this query:
PREFIX VB: <http://VBnet#>
SELECT ?x ?y
WHERE
{
?x VB:HasName ?y
}
HasName is one datatype property. When I run this query in Protege, system show me just the subject without any value for datatype property. mwans ?y is empty. Also when I run in jena system show me just:(String)
How can I see the val...
I have instance1 of class1 and instance2 of class2. Also i have defined HasName(object property)in my ontology .Now, how can i add the tiple (instance1 HasName instance2) to my ontology by jena?
...
Hi every one.
I created my ontology by Protege. my ontology has some classes and instances. Now i'm going to add other classes and instances by jena that's why i write the below code to create a new class and one instance in this class. the name of new class is "person" and the name of new instance is "base". when i run this code in jav...
Hello everyone,
I am new to Jena and would like to ask for some guidelines:
Could some one please advise some good source of information on Jena? jena.sourceforge.net seems to have more theory, but I cannot find any practical examples.
So, if you have some experience with Jena, please share how you gained that expertise.
Many thanks i...