Re: Re: How to export uri prefixes within a resourse value

2013-10-30 Thread Chris Dollin
On Tuesday, October 29, 2013 08:01:33 PM Martynas Jusevičius wrote: What you want can be done on the syntactic XML level using entities: rdf:type rdf:resource=rdfs;Resource/ This would require a local entity definition however: !DOCTYPE rdf:RDF [ !ENTITY rdfs

TDB record timestamp of triples?

2013-10-30 Thread Jean-Marc Vanel
Hi Does Jena TDB record timestamp of triples? ( I noticed that tdbdump outputs triples in chronological order ). -- Jean-Marc Vanel Déductions SARL - Consulting, services, training, Rule-based programming, Semantic Web http://deductions-software.com/ +33 (0)6 89 16 29 52 Twitter: @jmvanel ;

SPARQL and FundRef RDF Registry

2013-10-30 Thread Coeus[TM]
Hi, May I seek for someone's help on how to construct a query for FundRef RDFregistry please. The idea is to simply search a funding source (e.g. skosxl:literalForm xml:lang=enNational Science Foundation/skosxl:literalForm) by Id (e.g. skos:Concept

Re: SPAM-HIGH: TDB record timestamp of triples?

2013-10-30 Thread Rob Vesse
No it does However since triples are stored in B+Tree based indexes there is an ordering to the triples within the internal storage so when tdbdump outputs the contents of the database the triples will be serialized out in that order. Rob On 30/10/2013 10:20, Jean-Marc Vanel

Re: SPAM-HIGH: TDB record timestamp of triples?

2013-10-30 Thread Andy Seaborne
On 30/10/13 11:10, Jean-Marc Vanel wrote: Thanks for the answer , which is not surprising . This suggests new questions: - 1. would it be difficult to add this feature, and make timestamp available through the API ? Contributions are always welcome (but this looks like a distinctly

Re: SPARQL and FundRef RDF Registry

2013-10-30 Thread Coeus[TM]
Hi Milorad, I appreciate you introducing me to the service. Unfortunately, it did not solve the problem as I was asking for a SPARQL construct. Thanks! On Wed, Oct 30, 2013 at 6:37 PM, Coeus[TM] coeus...@gmail.com wrote: Hi, May I seek for someone's help on how to construct a query for

Re: Streaming and error recovery

2013-10-30 Thread Andy Seaborne
On 29/10/13 15:16, Norman Walsh wrote: Hi folks, I'm parsing some RDF documents in streaming mode: ...blah blah blah... try { ErrorHandler handler = new ParserErrorHandler(fsname); ParserProfile prof = RiotLib.profile(lang, fsname, handler);

RE: Writing big models to disk

2013-10-30 Thread Nikolaos Konstantinou
Thanks a lot for the prompt answer, it works now. All I had to do was close the stream afterwards. The following code does it, using jena 2.10.1: BufferedWriter out = new BufferedWriter(new FileWriter(file.rdf));resultModel.write(out, N-TRIPLE);out.close(); Best,Nikos Date: Tue, 29 Oct 2013

Re: Re: How to export uri prefixes within a resourse value

2013-10-30 Thread Ralph Perniciaro
Thanks! I will check. On Wed, Oct 30, 2013 at 3:23 AM, Chris Dollin chris.dol...@epimorphics.comwrote: On Tuesday, October 29, 2013 08:01:33 PM Martynas Jusevičius wrote: What you want can be done on the syntactic XML level using entities: rdf:type rdf:resource=rdfs;Resource/ This would

Should model.read emit addedStatements ?

2013-10-30 Thread Altmann, Michael
I am trying to upgrade our application from Jen 2.7.3 to 2.11.0 It appears that in Jena 2.7.3 model.read(stream, null, RDF/XML) fired a single ModelChangedListener.addedStatements whereas model.read(stream, null, TTL) fired separate addedStatement events. Now in 2.11.0, both types of load emit

Re: SPARQL and FundRef RDF Registry

2013-10-30 Thread Milorad Tosic
Hi, I probably didn't understand what you need. The following query may help? SELECT ?r ?lf WHERE { BIND(http://dx.doi.org/10.13039/10001 as ?r)  ?r http://www.w3.org/2008/05/skos-xl#prefLabel ?l . ?l http://www.w3.org/2008/05/skos-xl#literalForm ?lf . } Regards, Milorad

GeoSpatial properties and relationships

2013-10-30 Thread Ralph Perniciaro
All, I have a requirement to associate geospatial geometries to resources and then be able to search for resources based on geospatial relationships such as intersects, near, etc. I would like to do this using jena, but not sure what has been done. If anyone has done this or has suggestions

Re: GeoSpatial properties and relationships

2013-10-30 Thread Ying Jiang
Hi, You can try out jena-spatial: http://jena.apache.org/documentation/query/spatial-query.html Best regards, Ying Jiang On Thu, Oct 31, 2013 at 2:44 AM, Ralph Perniciaro ralph.pernici...@eagles.usm.edu wrote: All, I have a requirement to associate geospatial geometries to resources and

Re: GeoSpatial properties and relationships

2013-10-30 Thread Ralph Perniciaro
Thanks! Right under my nose. :) On Wed, Oct 30, 2013 at 7:05 PM, Ying Jiang jpz6311...@gmail.com wrote: Hi, You can try out jena-spatial: http://jena.apache.org/documentation/query/spatial-query.html Best regards, Ying Jiang On Thu, Oct 31, 2013 at 2:44 AM, Ralph Perniciaro