Re: tdbdump specific named graph?

2013-12-02 Thread Jindřich Mynarz
not be the best approach. Best, Jindřich -- Jindřich Mynarz http://mynarz.net/#jindrich On Mon, Dec 2, 2013 at 4:24 PM, Andy Seaborne a...@apache.org wrote: On 02/12/13 12:35, Jindřich Mynarz wrote: Hi, is is possible to dump specific named graph from Jena TDB using the command-line utilities? I

Re: Riot CMD: parsing invalid data returns exit code 0

2016-06-20 Thread Jindřich Mynarz
On Mon, Jun 20, 2016 at 9:54 PM, Andy Seaborne wrote: > The "--validate" is a command line tool for checking data and producing a > report. It does multiple files in one run. > OK, I see. Is there another way to run Riot command line tool so that it produces an error exit

Re: Support for non-string plain literals?

2016-06-25 Thread Jindřich Mynarz
Hi Jean-Marc, I'm aware of createTypedLiteral, but I don't want to generate typed literal, but a plain one instead, as I have indicated in my question. For example, 1000 instead of "1000"^^xsd:integer. - Jindřich -- Jindřich Mynarz http://mynarz.net/#jindrich On Sat, Jun 25, 2016 a

Support for non-string plain literals?

2016-06-25 Thread Jindřich Mynarz
-- Jindřich Mynarz http://mynarz.net/#jindrich

Re: Support for non-string plain literals?

2016-06-25 Thread Jindřich Mynarz
This solves my issue. Thanks for your comments! - Jindřich -- Jindřich Mynarz http://mynarz.net/#jindrich On Sat, Jun 25, 2016 at 4:12 PM, Andy Seaborne <a...@apache.org> wrote: > On 25/06/16 11:42, Jean-Marc Vanel wrote: > >> Sorry, now it's clear. >> >> AF

Create Dataset with unionDefaultGraph on

2016-03-25 Thread Jindřich Mynarz
Hi, is it possible to create a Dataset (via org.apache.jena.query.DatasetFactory) so that the default graph is the union of all named graphs, similarly to using tdb:unionDefaultGraph in TDB? Thanks, Jindřich -- Jindřich Mynarz http://mynarz.net/#jindrich

Unequal SPARQL algebras

2016-07-27 Thread Jindřich Mynarz
ence I can spot between the algebras is in the names of the non-distinguished variables ??0 and ??P4. Why are the query algebras treated as different? - Jindřich -- Jindřich Mynarz http://mynarz.net/#jindrich

Re: Unequal SPARQL algebras

2016-07-27 Thread Jindřich Mynarz
Hi Andy, On Wed, Jul 27, 2016 at 11:56 AM, Andy Seaborne wrote: > > Two algebra expressions are equal if they are the same structures, > including variable names. > > ARQ does have some isomorphism support: > >Op.isEqualTo(Op other, NodeIsomorphismMap labelMap) > I found

Re: Query normalization for detection of interchangeable queries

2016-07-28 Thread Jindřich Mynarz
Hi Lorenz, On Thu, Jul 28, 2016 at 11:33 AM, Lorenz Buehmann < buehm...@informatik.uni-leipzig.de> wrote: > > I think you would have to define some kind of deterministic normalization > in a bottom-up or top-down way. I think this would also depend on whether > there is some way to treat a SPARQL

Re: Unequal SPARQL algebras

2016-07-27 Thread Jindřich Mynarz
On Wed, Jul 27, 2016 at 12:36 PM, Andy Seaborne wrote: > > ARQ does have some isomorphism support: >>> >>>Op.isEqualTo(Op other, NodeIsomorphismMap labelMap) >>> >>> >> I found only Op.equalTo ( >> >>

Query normalization for detection of interchangeable queries

2016-07-27 Thread Jindřich Mynarz
ne? Would you suggest a different approach? - Jindřich -- Jindřich Mynarz http://mynarz.net/#jindrich

riot --nocheck raises a NullPointerException

2016-06-29 Thread Jindřich Mynarz
VERSION: 3.1.0 Jena: BUILD_DATE: 2016-05-10T11:59:39+ RIOT: VERSION: 3.1.0 RIOT: BUILD_DATE: 2016-05-10T11:59:39+ - Jindřich -- Jindřich Mynarz http://mynarz.net/#jindrich

Re: Riot CMD: parsing invalid data returns exit code 0

2016-06-20 Thread Jindřich Mynarz
On Mon, Jun 20, 2016 at 10:39 PM, Andy Seaborne wrote: > > Shell magic are be applied: > > capture the output and test it. > > If in a subshell, the exit here will set the out $? > > - > #!/bin/bash > > ( >X="$(riot --validate ... 2&>1)" >if [[ -n "$X" ]] >

RDFS inference produces invalid data

2019-10-22 Thread Jindřich Mynarz
Hi, it is reasonably common in RDF vocabularies to see that a property is defined as an rdfs:subPropertyOf a blank node, such as in this example: ### vocabulary.ttl PREFIX : PREFIX owl: PREFIX rdfs:

Reading UUID URNs from InputStreams in Jena 4

2021-04-27 Thread Jindřich Mynarz
Hi, when reading data with UUID URNs from InputStreams in Jena 4 I get the error "Bad IRI: Not a valid UUID string". For example, when I run the following: Model model = ModelFactory.createDefaultModel(); String data = " < http://ex.org/a> ."; try (ByteArrayInputStream in = new

Re: Reading UUID URNs from InputStreams in Jena 4

2021-04-28 Thread Jindřich Mynarz
which they appear (e.g., when parsing DBpedia or Wikidata). Other times I wanted a strict parser to detect IRI errors in the source under my control. - Jindrich On Wed, 28 Apr 2021 at 11:14, Andy Seaborne wrote: > > > On 28/04/2021 08:00, Jindřich Mynarz wrote: > > Hi

Re: Reading UUID URNs from InputStreams in Jena 4

2021-04-28 Thread Jindřich Mynarz
.errorHandler(eh).lang(Lang.NT).parse(model); > > or set system-wide with: > > ErrorHandlerFactory.setDefaultErrorHandler > > > On 27/04/2021 16:29, Jindřich Mynarz wrote: > > If I read the code correctly, the regular expression for checking UUID > URNs > > is matched to th

Re: Reading UUID URNs from InputStreams in Jena 4

2021-04-27 Thread Jindřich Mynarz
.java#L270) rather than to the fragment trailing after "urn:uuid" that the comment suggests ( https://github.com/apache/jena/blob/main/jena-core/src/main/java/org/apache/jena/irix/IRIProviderJenaIRI.java#L255 ). Is this correct understanding? - Jindrich On Tue, 27 Apr 2021 at 16:59, Ji