Re: rdf:parseType="literal" vs. rdf:datatype="...XMLLiteral"

2024-04-25 Thread Thomas Francart
Hello Andy Le lun. 22 avr. 2024 à 21:03, Andy Seaborne a écrit : > > On 22/04/2024 08:02, Thomas Francart wrote: > > Hello > > > > This is 3.17.0. Pretty old, due to other dependency with TopQuadrant > SHACL > > API. > > It's not perfect in 5.0.0 eith

Re: rdf:parseType="literal" vs. rdf:datatype="...XMLLiteral"

2024-04-22 Thread Thomas Francart
Hello This is 3.17.0. Pretty old, due to other dependency with TopQuadrant SHACL API. Thomas Le sam. 20 avr. 2024 à 18:06, Andy Seaborne a écrit : > Hi Thomas, > > Which version of Jena is this? > > Andy > > On 19/04/2024 17:18, Thomas Francart wrote: > >

rdf:parseType="literal" vs. rdf:datatype="...XMLLiteral"

2024-04-19 Thread Thomas Francart
L queries: 13:08:04.775 WARN o.apache.jena.sparql.expr.NodeValue - Datatype format exception: "https://xx.xx.xx/PC\ "/>"^^rdf:XMLLiteral The encoded XML is however valid. Is it possible to explicitely create literals with XMLLiteral datatype in RDF/XML by setting this datatype explicitely ? Thanks Thomas --

Re: Problem with federated queries

2023-08-29 Thread Thomas Francart
Le mar. 29 août 2023 à 18:30, a écrit : > > > Orange Restricted > > -Message d'origine- > De : Thomas Francart > ... > No, that's not true. This is a possible implementation for federated > querying (*"Implementers of SPARQL 1.1 Federated Q

Re: Problem with federated queries

2023-08-29 Thread Thomas Francart
and the problem. Or maybe Jena has a parameter itself to debug the queries it sends to external services ? Thomas > > > Orange Restricted > > -Message d'origine- > De : RAMPARANY Fano INNOV/IT-S > Envoyé : mardi 29 août 2023 10:58 > À : users@jena.apache.org >

Re: Problem with federated queries

2023-08-28 Thread Thomas Francart
i ce message a ete altere, deforme ou > falsifie. Merci. > > This message and its attachments may contain confidential or privileged > information that may be protected by law; > they should not be distributed, used or copied without authorisation. > If you have received this email in

Re: Training offer for SPARQL

2023-01-15 Thread Thomas Francart
I take this opportunity to advertise my CC-BY licensed SPARQL training material : https://www.slideshare.net/thomasfrancart/sparql-introduction-and-training-130-slides-with-exercices Cheers Thomas Le sam. 14 janv. 2023 à 13:06, Andy Seaborne a écrit : > Not forgetting there's a b

Re: SHACL-based data extraction from a knowledge graph

2022-04-27 Thread Thomas Francart
code when ready. Thomas Le lun. 28 mars 2022 à 21:26, Andy Seaborne a écrit : > Some inspiration from ShEx may help. The "validation" process is defined > by assigning triples to non-overlapping partitions defined by > constraints. There can be more then one way to pa

Re: SHACL-based data extraction from a knowledge graph

2022-03-09 Thread Thomas Francart
) The idea would be to use the Validator as a "filter" that emits the triples valid according to shapes, so that they can be aggregated in an output graph. Le mer. 9 mars 2022 à 13:45, Florian Kleedorfer < florian.kleedor...@austria.fm> a écrit : > Am 2022-03-09 13:22, schrieb Thomas

Re: SHACL-based data extraction from a knowledge graph

2022-03-09 Thread Thomas Francart
sh:property, but this does not guarantee that the triple is valid. Wouldn't this require to know whether each individual triples has matched all the constraints of the shape to output it or not ? Thanks again ! Thomas > That last bit requires you to wrap the original data graph object in a >

Re: Aw: Re: SHACL validation doesn't show an error

2020-11-02 Thread Thomas Francart
ht be adjusted in the future, especially regarding inheritance mechanisms and closed shapes. Best Regards Thomas > So my suggestion, write the SHACL shapes or rethink your infrastructure > if you don't want to stick to Jena + SHACL > > > On 02.11.20 03:49, alexander.fan...@web.d

Re: Federated update query with SERVICE Wikidata : no change in TDB (1)

2020-07-20 Thread Thomas Francart
t; > > > Not rsparql. > > > > sparql. > > > > You have sent the qhowl queyr to wikidata, not the SERVICE and LIMIT wil > > be done there. > > > > > where localhost is semantic_forms server (Jena based) ; > > > or by: > > > ~/apps/apache-jena-3.16.0/bin/rsparql --debug --verbose --service= > > > https://query.wikidata.org/sparql --query taxref-alignments.rq > > > > > > NOTE 2: I also tried with a more ordinary graph ( fictitious ) URI : < > > > http://alignments.taxref.org> > > > > > > Jean-Marc Vanel > > > < > > > http://semantic-forms.cc:9112/display?displayuri=http://jmvanel.free.fr/jmv.rdf%23me > > > > > > +33 (0)6 89 16 29 52 > > > Twitter: @jmvanel , @jmvanel_fr ; chat: irc:// > irc.freenode.net#eulergui > > > Chroniques jardin > > > < > > > http://semantic-forms.cc:1952/history?uri=http%3A%2F%2Fdbpedia.org%2Fresource%2FChronicle > > > > > > > > > -- *Thomas Francart* -* SPARNA* Web de *données* | Architecture de l'*information* | Accès aux *connaissances* blog : blog.sparna.fr, site : sparna.fr, linkedin : fr.linkedin.com/in/thomasfrancart tel : +33 (0)6.71.11.25.97, skype : francartthomas

Re: super slow filter

2020-01-21 Thread Thomas Francart
Hello Have you tried using VALUES instead of FILTER ? Thomas Le mar. 21 janv. 2020 à 19:24, Élie Roux a écrit : > Dear all, > > I have a (relatively large) dataset in Fuseki (default optimization > settings) which I attached the relevant triples. The following query > tak

Re: Mapping and alignment

2019-04-30 Thread Thomas Francart
ntology > > > Do u have any idea or tools that could help me in this process > > Thank u in advance > Best Regards > Elio Hbeich > -- *Thomas Francart* -* SPARNA* Web de *données* | Architecture de l'*information* | Accès aux *connaissances* blog : blog.sparna.fr, si

Re: Getting EnhGraph / ModelCom from Resource / Model ?

2019-04-03 Thread Thomas Francart
son.class); System.out.println(person.getName()); ``` Any help in filling the blanks above would be appreciated ! Thanks Thomas > ajs6f > > > On Apr 2, 2019, at 3:48 PM, Thomas Francart > wrote: > > > > Hello > > > > I would like to declare data structure with an

Getting EnhGraph / ModelCom from Resource / Model ?

2019-04-02 Thread Thomas Francart
associated to the corresponding Java classes. I am lost here, could someone shed some light on this design pattern ? Thanks Thomas -- *Thomas Francart* -* SPARNA* Web de *données* | Architecture de l'*information* | Accès aux *connaissances* blog : blog.sparna.fr, site : sparna.fr

Re: statement identifiers

2018-09-19 Thread thomas lörtsch
navigate from A to B to C etc. So: statement IDs and back links to the rescue (hopefully, maybe…). The complex mothership then might even be an RDBMS table, a tree structure, who knows - but that’s already RDF 3.0 I fear. Thanks for your interest! I hope this wasn’t too much detail. Thomas > One

Re: statement identifiers

2018-09-18 Thread thomas lörtsch
.html > > Does that meet your use case? No, unfortunately not. I need the graph name too. Thomas > ajs6f > >> On Sep 18, 2018, at 3:37 PM, thomas lörtsch wrote: >> >> Hi, >> >> a questions (and my apologies upfront that I don’t take the time to dive &g

statement identifiers

2018-09-18 Thread thomas lörtsch
thought it might be worth to ask. If Jena does provide such IDs I would like to use them as reification IDs and my next question would be about how hard it is to access them. Thanks, Thomas

Re: SELECT only one predicate among many with same URI

2017-05-03 Thread Rurik Thomas Greenall
Perhaps something like: prefix ex: SELECT ?title (sample(?b) as ?subject) WHERE { ?uri ex:title ?title ; ex:subject ?b ; } GROUP BY ?uri ?title On Thu, May 4, 2017 at 7:15 AM, Laura Morales wrote: > Let's say I have this simple model

Re: SELECTing s properties in the same query

2017-04-15 Thread Rurik Thomas Greenall
In a trivial way, perhaps you can specify something like: SELECT * WHERE { ?property ?object OPTIONAL { ?object ?subProperty ?subObject . FILTER (isBlank(?object)) } } This assumes nothing about structure and may perform badly. On Fri, Apr 14, 2017 at 4:17 PM, Laura Morales

Re: Limited HTTP API

2017-03-26 Thread Rurik Thomas Greenall
Hi Laura, Perhaps worth configuring timeouts < https://jena.apache.org/documentation/fuseki2/fuseki-configuration.html>, which should prevent the situations you aim to prevent. Regards, Rurik On Sun, Mar 26, 2017 at 5:49 PM, Laura Morales wrote: > This seems to be about

Measuring cold-boot query execution times. Unexplained 2 seconds difference with official release.

2017-01-04 Thread Thomas Krijnen
/rdfhdt/hdt-java [1] https://gist.github.com/anonymous/8e73584121c043b2e2914e2eaf314942 [2] https://gist.github.com/anonymous/d6de2cdaf05100a2b76894901c170a43 Kind regards, Thomas

ModelFactory.createFileModelMaker

2016-10-04 Thread McDermott, Thomas E
This method was deprecated and then removed last year. Is there a replacement? Thanks

Re: Using variable assignment with QueryBuilder

2015-03-31 Thread Rurik Thomas Greenall
Hi Andy, Of course, that should have occurred to me. Thanks, Rurik On Mon, Mar 30, 2015 at 6:51 PM, Andy Seaborne a...@apache.org wrote: On 24/03/15 14:25, Rurik Thomas Greenall wrote: Is there any way to do BIND assignments with QueryBuilder (ConstructBuilder)? I'm attempting to return

Using variable assignment with QueryBuilder

2015-03-24 Thread Rurik Thomas Greenall
Is there any way to do BIND assignments with QueryBuilder (ConstructBuilder)? I'm attempting to return plain string literals from PREFIX dcterms: http://purl.org/dc/terms/ PREFIX ex: http://example.com/onto/ CONSTRUCT {?url dcterms:date ?date } WHERE { ?url dcterms:date ?d BIND (str(?d) as

Re: Time series (energy data) in jena

2015-01-28 Thread Rurik Thomas Greenall
Hi Ashley, I worked for a large Norwegian oil company on sensor readings in relation to time-series data from data historians. For numerous reasons (including the sheer number of triples), we planned to move away from the idea of storing the data directly as RDF, but rather mapped data from the

Re: question about getting properties from a class

2014-02-19 Thread Thomas Marsh
ok, sorry to be thick here, but how do I make a model without inferencing? I am using: jenaModel = ModelFactory.createOntologyModel(); and then just reading my owl file: jenaModel.read(file) and then not setting a reasoner. is that right? -thomas On 2/19/14, 12:40 AM, Dave Reynolds wrote

Re: question about getting properties from a class

2014-02-19 Thread thomas marsh
oh my goodness. I can't believe I missed that in the javadoc. thank you so much! -thomas On 02/19/2014 10:03 AM, Dave Reynolds wrote: On 19/02/14 17:45, Thomas Marsh wrote: ok, sorry to be thick here, but how do I make a model without inferencing? I am using: jenaModel

question about getting properties from a class

2014-02-18 Thread Thomas Marsh
hello again jena folks, is there a way to list properties of a class without listing the inferred properties? I am using OntClass.listProperties() and it gives me inferred subClassOf statements. I need a way to differentiate the asserted ones from the inferred ones. thanks, -thomas

question about OntDocumentManager

2014-02-14 Thread Thomas Marsh
files are imported implicitly by import statements. Because of this, I think jena is caching the imports somehow, but I can't see where this is happening or how to get it to stop. is there something anyone can recommend here? thanks! -thomas marsh

finding where an anonymous individual came from

2013-11-27 Thread Thomas Marsh
it came from, and so I can't tell which namespace to put it into. is there an easy way to do this? or just to associate the individual with the Ontology object from which it came? -thomas

Re: finding where an anonymous individual came from

2013-11-27 Thread Thomas Marsh
On 11/27/13, 10:55 AM, Joshua TAYLOR wrote: On Wed, Nov 27, 2013 at 1:27 PM, Thomas Marsh tma...@thetus.com wrote: my problem is that when I get to an anonymous individual, I can't tell which file it came from, and so I can't tell which namespace to put it into. What do you mean put

Re: finding where an anonymous individual came from

2013-11-27 Thread Thomas Marsh
On 11/27/13, 1:44 PM, Joshua TAYLOR wrote: On Wed, Nov 27, 2013 at 2:42 PM, Thomas Marsh tma...@thetus.com wrote: On 11/27/13, 10:55 AM, Joshua TAYLOR wrote: On Wed, Nov 27, 2013 at 1:27 PM, Thomas Marsh tma...@thetus.com wrote: my problem is that when I get to an anonymous individual, I

making unit tests with jena

2013-11-06 Thread Thomas Marsh
are able to specify. We don't want to have to make an OWL file to do this. Do you have any suggestions? thanks! -thomas

problem with Descriptions?

2013-08-27 Thread thomas
the main file and the one it references together in a single read? thanks in advance! -thomas marsh

Re: ReverseProxy

2013-02-08 Thread Rurik Thomas Greenall
On Fri, Feb 8, 2013 at 9:19 AM, Andy Seaborne a...@apache.org wrote: On 07/02/13 21:46, Rurik Thomas Greenall wrote: I fixed the major issue (Apache2 required being stopped and started again for edits on httpd.conf to take). The current setup is problematic because I have to use a rewrite

Re: ReverseProxy

2013-02-07 Thread Rurik Thomas Greenall
I fixed the major issue (Apache2 required being stopped and started again for edits on httpd.conf to take). The current setup is problematic because I have to use a rewrite and this seems to break many things for Fuseki… RewriteEngine on RewriteRule ^/data/(.*)$ http://localhost:3030/$1 [P]