Thanks, Andy. We're trying to:
1. convert xsd:dateTime to timeInMsec
2. do some simple multiplication/division
On Jun 11, 2014, at 12:04 PM, Andy Seaborne wrote:
On 11/06/14 17:44, Cindy A McMullen wrote:
Hi -
In a SPARQL query, is there a way to convert xsd:dateTime to 'time
Problem solved. The literals need to be constructed as something like
Cindy^^xsd:string, or 10^^xsd:int
On May 14, 2014, at 2:49 PM, Cindy A McMullen wrote:
Correction inline in bold below:
On May 14, 2014, at 2:15 PM, Cindy A McMullen wrote:
Hi,
I'm using Jena 11.2.1. My graph has
Hi,
I'm using Jena 11.2.1. My graph has a triple that looks like this:
{s=http://www.oracle.com/osn/osn.owl#User100,
p=http://www.oracle.com/osn/osn.owl#name,
o=Cindy^^http://www.w3.org/2001/XMLSchema#string}
I want to use DELETE DATA, and my update stanza looks like this:
PREFIX w:
Hi, Andy -
Answers inline.
On May 3, 2014, at 4:53 AM, Andy Seaborne wrote:
On 05/03/14 00:02, Cindy A McMullen wrote:
Unfortunately, we're using an older version of Jena (2.7.2) for
compatibility with the Oracle Jena adapter. I see more recent versions
have these methods on OntModel
Unfortunately, we're using an older version of Jena (2.7.2) for compatibility
with the Oracle Jena adapter. I see more recent versions have these methods
on OntModel:
listClasses()
listDatatypeProperties()
and so on. How can I do the equivalent using Jena 2.7.2?
Thanks -
-- Cindy
Hi -
Is there a way to check the consistency of triples with one's ontology prior to
insertion into the graph? If not, are there APIs to validate the existing
graph against one's ontology?
Thanks -
Found a good example here (#5):
http://programcreek.com/java-api-examples/index.php?api=com.hp.hpl.jena.reasoner.Reasoner
On Apr 27, 2014, at 5:41 AM, Cindy A McMullen wrote:
Hi -
Is there a way to check the consistency of triples with one's ontology prior
to insertion into the graph
\ . +
?opportunity w:status ?status . +
} } GROUP BY ?status;
On Mar 21, 2014, at 1:21 PM, james anderson wrote:
good evening;
On 21 Mar 2014, at 20:11, Cindy A McMullen cindy.mcmul...@oracle.com wrote:
Thanks, James. Can you give an example?
look here
.mbox/%3c51B1A7FB
.4070...@apache.org%3e
On 8/2/13 8:26 AM, Cindy A McMullen cindy.mcmul...@oracle.com wrote:
SDB is deprecated? Where in the docs might I have learned that?
http://jena.apache.org/documentation/sdb/
Are there any other Jena frameworks that might support MySQL
SDB is deprecated? Where in the docs might I have learned that?
http://jena.apache.org/documentation/sdb/
Are there any other Jena frameworks that might support MySQL?
On Aug 2, 2013, at 3:57 AM, Andy Seaborne wrote:
On 01/08/13 23:08, Cindy A McMullen wrote:
I'll check with our DB guys
:31 AM, Cindy A McMullen wrote:
Which version if jena-sdb goes with these jars:
include name=jena-core-2.7.2.jar/
include name=jena-arq-2.9.2.jar/
include name=jena-iri-0.9.2.jar/
Must it be these versions?
You can see the Apache Jena SDB versions and check their versions by looking
I want to load triples into an empty SDB Store. Here's what I'm trying:
Store store = getStore();
GraphSDB graph = new GraphSDB(store);
DatasetGraph datasetGraph = DatasetGraphFactory.create(graph);
if (datasetGraph.isEmpty())
{
System.out.println(Empty dataset graph); // yes, it is
}
I have a graph that is referenced 'Event1' in my default graph, with object
properties w:userFollowed and w:occurred.This query works:
SELECT DISTINCT ?graph ?time WHERE { ?graph w:action w:userFollowed;
w:occurred ?time }
This query works as well (which is in the named graph, Event1):
Disregard -- this was a test data issue, not a SPARQL query issue.
On Jun 11, 2013, at 9:39 AM, Cindy A McMullen wrote:
I have a graph that is referenced 'Event1' in my default graph, with object
properties w:userFollowed and w:occurred.This query works:
SELECT DISTINCT ?graph ?time
I've been using TDB, but now want to set up a test environment with in-memory
graphs. Using TDB, I could create a Dataset to query as:
String directory = /scratch/tdb/demo1 ;
Dataset ds = TDBFactory.createDataset(directory) ;
Query query = QueryFactory.create(q) ;
QueryExecution qe =
How do I add a named graph to an in-memory Dataset? This code works with TDB,
but the in-memory implementation throws:
Exception in thread main com.hp.hpl.jena.shared.JenaException: No such graph:
ns:Event1
at
with the Dataset abstraction and only go to the
lower level DatasetGraph where necessary.
Rob
On 5/30/13 3:10 PM, Cindy A McMullen cindy.mcmul...@oracle.com wrote:
How do I add a named graph to an in-memory Dataset? This code works with
TDB, but the in-memory implementation throws
The requirement to support MySQL in addition to Oracle, in production.
On May 25, 2013, at 3:57 AM, Andy Seaborne wrote:
On 24/05/13 23:17, David Jordan wrote:
Yes.
On May 24, 2013, at 5:43 PM, Cindy A McMullen wrote:
I've used quads and named graphs with TDB, but don't see any
18 matches
Mail list logo