Hello , i have a strange Problem. In this java.sql.Statement stmt; ResultSet rs; stmt = conn.createStatement(); String query= "Prefix ex:<...> "+ "Prefix...
You need to escape any characters in the string rdfCommObject that have meaning in an SQL string. Here, the string has a ‘ (single quote in it). That...
... Looking for interfaces or abstract classes would find likely places. A common idiom I use is to have a base implementation of an interface, so composites...
... How do you know that ?obj is always a Literal? What if it's a Resource (ie ?pre is an ObjectProperty, not a DatatypeProperty). As I ... What Andy said,...
... On Behalf ... A common idiom I use is to have a base implementation of an interface, so composites can be interface and abstract class. I'm not a strong...
... Yes: as given in the `table` declarations in the ruleset being used. ... I'm pretty sure that's handled correctly (Dave isn't around right now to be ...
... What specifically do you mane by `Id` here? ... No, you don't, for two different reasons. The first is: as far as I can tell, within a single document, you...
... If `p` contains the prefix and `pm` is the PrefixMapping, you use `pm.getNsPrefixURI(p)` to get the Ns Prefix's URI, and then you can construct the string ...
INQLE (Intelligent Network of Querying and Learning Engines) is a free, open source semantic server, which automates data mining. It enables nonprofessionals...
Hello, All, I have been using an older version of Jena from about two years ago and were building SPARQL queries programmatically, using classes that were not...
Hello, All, To build a rule reasoner, apparently Triples of Nodes are required. Same used to be true for building queries in earlier versions, though I don't...
Good to know that your problem is solved; please consider making it clear how you solved the issue, though. Try to put yourself in the position of someone with...
... At least! ... This is building the syntax - this exists still (different package arrangement) ... ... ... better to build the algebra expression you want: ...
... Use a subquery to find the sum in a variable and then use LET to calculate and return the difference. (untested) SELECT ?s ?marks (?f - ?marks) { ?s...
... Yes - query (syntax and algebra) works at the Graph/Triple/Node level and results come back in Model/Statement/Resource level. ... You can get the Node of...
Hello Andy, All, On Mon, Mar 2, 2009 at 1:18 PM, Seaborne, Andy ... I did develop some wrappers to implement something like that, at least in part. I am not...
... A key difference between Resource and Node is that Resources know which model they are in, and Nodes are general. That's what makes resource.getProperty()...
Hi, I'm developing an application were real time reasoning is desireble but more important is to have a fast query response. In this application users can...
... Yes - that's the way to work if possible; the hard part is if you want update from the querying application as well. The access patterns of reasoners and...
... No - there's no implicit distinctness asserted by owl:oneOf. By the way: owl:oneOf applies to individuals and values, but not classes, in OWL-DL. The...
I'm not sure but you could use Pellet in an OntModel to test this. Load a model with the statement in, and a different model without the statement, then test...
Hello everyone: I'm studying "Jena 2 Inference support" which I found at the url of http://jena.sourceforge.net/! There are so many good examples in this...
38306
Paolo Castagna
paolo.castagna@...
Mar 3, 2009 7:01 am
... You can download Jena and source code from: http://jena.sourceforge.net/downloads.html Many of the examples included in the documentation are short and you...