... That depends on what you mean by "C1 has an ObjectProperty P whose value is C2". If you mean that there's a statement C1 P C2 then you get C1 from C2 by...
I want to Separating classes and instances in OWL. I have an owl file with classes and properties. I use protege to build it. I use jena to open it and ...
Hi Daniel, ... I think you are right, this looks like an error in the documentation. The CONSTRUCT, DESCRIBE and ASK examples all have the wrong method, but...
... a ... "code ... ; ... but ... Yes - I've fixed the documentation in CVS. ... Depends on what you are trying to do. That turns a result set into a model...
Hello Mahbub, ... This query says "select x and y where x has writer y". There is only one such resource in your source data (i.e. harry), and indeed that is...
Hello Bratsis, ... I'm not really clear what you want to do. Are you authoring this ontology, or are you using someone else's ontology? If you are authoring...
... Another possibility is that Bratsas has the ontology from Protege and wants to create instance data in Jena but wants it to store the instance data in a...
Dear all, this question is probably quite basic, anyway I was not able to solve it in a nice way... Let's say, I have an OntResource and want to give three...
... You can use listLabels() to get all the labels, and select the one with no language code. ... I would use resource.listProperties( RDFS.label, null ) to...
Hi, Here are some rule behaviours I do not understand. The following rules file +++++++++++++++++++++++++++++++++++++ @prefix : <#>. -> tableAll() . (:a :b :c)...
Ian, Thanks for your helpful reply. I wanted to follow up to let you know that it turns out that when I create a model with no reasoner things perform much...
thank you Andy "Seaborne, Andy" <andy.seaborne@...> escreveu: ... A "join" is by extending the pattern - all the triple patterns must match for the whole...
Thank you all (Ian, Dave, Michal). Yes Dave you have understood my problem. Thanks Michal for your code. Best Regards Bratsas Charalampos - Dipl.Mathematics ,...
Hi Michael, ... Seems a reasonable explanation. ... Not that I know (Dave may know of a way, since it's his code :-). Rather than copying en masse to an inf...
guys.. I´m working whith an ontology(owl file) made in protege. I´m using eclipse and I´m trying to select some classes by an date atribute (datatype in...
... Because there are no statements with P as predicate and C2 as object in your OWL above. ... C2 rdf:type owl:Class. ... C1 rdf:type owl:Class. ... P...
... Err - this query seems to be very old syntax SPARQL (or BRQL). What system and version are you using? It's not RDQL because RDQL does not have "PREFIX",...
... Humm, looks like there is a problem with handling of pattern-less rules. I'll look into it. The common uses of rules are to fire off patterns and sometimes...
... Because listStatements() is overloaded on it's third argument, whicgh can be eg a String, an Object, or an RDFNode; since `null` is a legal value for all...
... There isn't a "turn off inferencing" flag. As Ian says, the nearest equivalent is to create an InfModel over your base data, work with the base model and...
... Firstly, if you don't show us the exceptions it's hard to guess what's going on. Secondly, if you don't show us your code - a /complete, minimal/ example -...
Hi, all: I started to learn ontologies for my master´s thesis. I´m a beginner user of Protege and I would like to try the Jena PersistentOntology example,...
When I run the following code: public static main(String[] args){ Calendar input = Calendar.getInstance(/*TimeZone.getTimeZone("GMT")*/); input.clear(); ...
Hi Marisa, It looks like there's a problem with the Jena 2.3 zip file. Sorry about that! I've attached the missing example files, and we'll look at getting the...