Re: How to export uri prefixes within a resourse value

2013-10-29 Thread Martynas Jusevičius
What you want can be done on the syntactic XML level using entities: This would require a local entity definition however: http://www.w3.org/2000/01/rdf-schema#";> ]> I don't think it can be done using qualified names as attribute values as in your example. Martynas graphityhq.com On Tue, Oct

How to export uri prefixes within a resourse value

2013-10-29 Thread Ralph Perniciaro
All, Is it possible to include namespace prefixes within resource values on export to rdf. This is done for property names but not values. For example can http://www.w3.org/2000/01/rdf-schema#Resource"/> be exported like based on prefix xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#";

Re: Constructing a GraphStoreNull using DatasetNullAssembler

2013-10-29 Thread Tim Harsch
I discovered DatasetAssemblerVocab which helped me realize I was using a wrong prefix.  So, looks like this will do it: @prefix ja:      . <#dataset> rdf:type      ja:DatasetNull . > On Tuesday, October 29, 2013 11:10 AM, Tim Harsch > wrote: > > Do

Constructing a GraphStoreNull using DatasetNullAssembler

2013-10-29 Thread Tim Harsch
Does anyone have an example of creating a GraphStoreNull or GraphStoreNullTransactional using an assembler configuration file?

Streaming and error recovery

2013-10-29 Thread Norman Walsh
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); parser.setProfile(prof);

Re: On how to miss a language tag

2013-10-29 Thread Bardo Nelgen
Thanks a lot, Andy – next time I come up with such stupid a type of mistake, you herewith will be officially permitted to name me the "list fool"... ;-) Best, Bardo On 29.10.13 13:13, Andy Seaborne wrote: On 29/10/13 11:21, Bardo Nelgen wrote: Thank you for the input guys – though my cu

Re: NPE in QueryHTTPEngine.execModel() (ARQ 2.9.2)

2013-10-29 Thread Andy Seaborne
On 29/10/13 11:34, Martynas Jusevičius wrote: Hey, one of Graphity users has configured it with Sesame SPARQL endpoint, but he gets an NPE in ARQ code: 11:15:54,198 DEBUG DataManager:98 - Remote service http://localhost:8080/openrdf-workbench/repositories/odn/query Query: DESCRIBE ?instance

Re: NPE in QueryHTTPEngine.execModel() (ARQ 2.9.2)

2013-10-29 Thread Rob Vesse
Yes it is possible that Lang comes back as null from the language lookup resulting in a NPE More recent versions of ARQ do the check slightly differently so there is no chance of a NPE occurring. Rob On 29/10/2013 11:34, "Martynas Jusevičius" wrote: >Hey, > >one of Graphity users has configure

Re: On how to miss a language tag

2013-10-29 Thread Andy Seaborne
On 29/10/13 11:21, Bardo Nelgen wrote: Thank you for the input guys – though my current version of Fuseki still does not produce any result. Simpify the query until it does produce something: This part does not match your data: ?PageIRI rdf:type cnt:page . ?PageIRI dct:Identifier ?ucName

NPE in QueryHTTPEngine.execModel() (ARQ 2.9.2)

2013-10-29 Thread Martynas Jusevičius
Hey, one of Graphity users has configured it with Sesame SPARQL endpoint, but he gets an NPE in ARQ code: 11:15:54,198 DEBUG DataManager:98 - Remote service http://localhost:8080/openrdf-workbench/repositories/odn/query Query: DESCRIBE ?instance WHER

Re: On how to miss a language tag

2013-10-29 Thread Bardo Nelgen
Thank you for the input guys – though my current version of Fuseki still does not produce any result. That said, here is the graph example I'm using: http://www.w3.org/2001/XMLSchema#";>]> http://www.w3.org/1999/XSL/Transform"; xmlns:rdf= "http://www.w3.org/1999/02/22-rdf-syntax-ns#"; xmlns

Re: On how to miss a language tag

2013-10-29 Thread Milorad Tosic
Hi, What you are saying is perfectly justified by the RDF/SPARQL background theory. However, let us take a look at a practical scalability issue for a moment.  Let us given a triplestore with N triples where N is a large number and the two queries: Q1: SELECT * WHERE {   ?Version cnt:il8nslug

Re: UnSubscription

2013-10-29 Thread Rob Vesse
Send a blank email to users-unsubscr...@jena.apache.org For full instructions on mailing lists at Apache see http://www.apache.org/foundation/mailinglists.html Rob On 29/10/2013 10:05, "Samir Hamitouche" <21209...@etu.unicaen.fr> wrote: > >Hello, > >please i want UnSubscription, can you help me

Re: On how to miss a language tag

2013-10-29 Thread Rob Vesse
This is how the SPARQL specification does basic graph pattern matching. Only variables act as wildcards, RDF Terms must match exactly. So "home" only matches the literal "home", it is not considered to be equal to "home"@en-us or any other language tagged or data typed literal. If you want to mat

UnSubscription

2013-10-29 Thread Samir Hamitouche
Hello, please i want UnSubscription, can you help me to remove my email from this list of users of jena please i have any more memory space to receive messages thank you very much Best regards Samir - Mail original - De: "Andy Seaborne" À: users@jena.apache.org Envoyé: Mardi 29 O

Re: On how to miss a language tag

2013-10-29 Thread Andy Seaborne
On 29/10/13 09:27, Bardo Nelgen wrote: Hello, this time I'm asking for help with a (to me…) seemingly strange SPARQL matching behavior: When trying to match a statement using a language tag, something like http://resources.semaworx.eu/timed/version#versioncrediblyuniqueid001";> home this wo

Re: Writing big models to disk

2013-10-29 Thread Andy Seaborne
On 29/10/13 08:02, Nikolaos Konstantinou wrote: Dear all, I am trying to write an RDF file to disk, using the following code: Which version of Jena is this? resultModel.write(new BufferedWriter(new FileWriter("file.rdf")), "N3"); Aside: Better top flush the BufferedWriter explicitly: Buffe

On how to miss a language tag

2013-10-29 Thread Bardo Nelgen
Hello, this time I'm asking for help with a (to me…) seemingly strange SPARQL matching behavior: When trying to match a statement using a language tag, something like rdf:about="http://resources.semaworx.eu/timed/version#versioncrediblyuniqueid001";> home this works quite well with ?Versi

Re: AW: New error in TDB 0.10.1, not in 0.9.4, com.hp.hpl.jena.sparql.ARQInternalErrorException: Attempt to reassign...

2013-10-29 Thread Andy Seaborne
HI Andy, The test case in JENA-577 is specific to nested SELECT having a projection in the subsquery; SERVICE does not use projection. It might be a that an analogous situation is arising. Could you add a complete, minimal example to JENA-577 to illustrate your situation? Andy

AW: New error in TDB 0.10.1, not in 0.9.4, com.hp.hpl.jena.sparql.ARQInternalErrorException: Attempt to reassign...

2013-10-29 Thread Nolle, Andreas
Hi, no, it is a coincidence. ;) It looks that it is the same problem, the only difference is that I use a service call instead of a subquery... Thanks and best regards Andy -Ursprüngliche Nachricht- Von: Andy Seaborne [mailto:a...@apache.org] Gesendet: Montag, 28. Oktober 2013 21:42

Writing big models to disk

2013-10-29 Thread Nikolaos Konstantinou
Dear all, I am trying to write an RDF file to disk, using the following code: resultModel.write(new BufferedWriter(new FileWriter("file.rdf")), "N3"); All works ok when the file is less than 100mb. When the file is larger, this has a strange behaviour: the program does not throw an exception, java