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...
Currently I am thinking and searching for the adequate programming languages for a project
(more than one programming language will be used).
Questions:
Is there a big mistake presented in my list (other than my belief of go as a suitable language)?
Any tipps before I start?
project:
opensource project with semantic web (including rdf/...
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?
...
Let's say that, being abstract from any language, we have some ontology made of triples (e.g. subject (S) - predicate (P) - object (O))
Now if I want to, for some reason, annotate any of these triples (nodes), than I'd like to keep links to them that I can use in web documents.
Here are some conditions:
1) Such link must be in a form ...
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...