Dear all, It was my mistake in writing and testing the code. Today I saw what it was and I corrected it. So the conclusion to this time are: 1. Indeed Jena...
Hi All, I am having difficulties getting the object values from my model in Jena e.g. if I want to find out what activity(s) a particular schedule has, I am...
Hi, I am creating a RDF Model with ontmodel = ModelFactory.createOntologyModel(ProfileRegistry.RDFS_LANG); I want to use relative URIs. Jena doesn't accept...
I am new to Jena and I think it is great work. Thanks to all of those who worked and still work on it. I am trying to use the FileModelMaker to write and read...
... Hi, to have the relative URIs in the output, there should be a method in Writer to set the base URI. In the code, just define your namespace variable: ...
... Hi, seems that somewhere in your code you are creating a resource using the file path rather than an URI; to have it correct, you should add a protocol...
You ca find the onologies here: http://jena.sourceforge.net/examples/persistent-ont-model/index.html However you ca modify a little bit the code and load your...
Could I clarify this, I'm actually trying to get instance/individual's values from my ontology. I have for example, individuals with properties which are XML...
I have an individual like this - <BeowulfSystem rdf:ID="gsdfgd"> <operating_system rdf:datatype="http://www.w3.org/2001/XMLSchema#string">windows</opera ...
... Please folks (Ivor and Elizae85 in partcular, but it's a general comment) just think about this for a moment: Jena is widely used by many people, so if...
statements are like this [http://monet.nag.co.uk/owl#gsdfgd, http://www.w3.org/1999/02/22-rdf- syntax-ns#type, http://monet.nag.co.uk/owl#BeowulfSystem] ...
... Printing a Java object just gives you whatever text the designer decided would be useful information to show, typically aimed at a debugging context. It's...
Hi, When I start the following query, the variables ?h and ?s are not matched / unified, so that I get a cross product as result. SELECT ?h, ?v, ?s, ?t WHERE ...
... essentially ... "what would ... fake it[*]. ... Thanks for your help. It's very useful for me. I got another question to think this scenario as "a...
... Hi, there is a MsSQL driver included in the Jena CVS (more up to date wrt the one at http://www.ur.se/jena/Jena2MsSql.zip - the Jena database layout has...
Hi all, I wonder if it is possible to pass the value of a java variable to an ARQ query. The scenario is as follows: A function receive a parameter a String...
Hi Eduard, ... I use java.text.MessageFormat for such cases (in fact, most situations where I have to build strings dyanamically). It works very well. E.g: ...
... Hi, try enclosing the string in quotes: "your string here" and using it in your query: ...{?x ns:myProperty "string"} It's the way it is described in the...
Hi all, Thanks for the answers to the previous question. I have now a new one.I want to build an application that works with multiple KB that are stored in a...
... As Ignazio says, you have to use a Writer with the base URI set. Relative URIs are just a convenience in the serialisation - RDF only has complete URIs...
... Not without seeing the data and the values of propertyURI and subjectURI. All together now, "Minimal Complete Example Please". -- Chris "1620x1050" Dollin ...
... Andy is away this week, but I seem to recall that ARQ has a way of pre-binding variables for a query. You'll have to decide what the string means, of...
Hi, ... Last week Andy wrote an email related to this (Subject "SPARQL: Cloning ... If you just want to create a new Query (no cloning), the solution suggested...
... <fx:caveat>I Am Not Andy.</> The first argument to regex is a string. Subjects are never strings. So your filter can never be satisfied. You need to...