Named graphs

2017-04-05 Thread Laura Morales
If I've read the W3 standards correctly, labels for graphs must be IRIs. Jena also seems to enforce this behaviour, as it throws an exception if I use a literal. My question is, why is this enforced at all? Why can't I name my graphs with literals, for example "graph-1" or "graph-2"? And related

Re: Named graphs

2017-04-06 Thread Conal Tuohy
Hi Laura If you're asking "why did the W3 decide that graph names must be absolute IRIs?" then this is probably not the best forum to ask, but anyway ... One reason is so that absolute IRIs can be used as part of the WWW; graph names may actually resolve to serializations of the graph content. Th

Re: Named graphs

2017-04-06 Thread Laura Morales
Thank you for the great response. == Subject: Re: Named graphs Hi Laura If you're asking "why did the W3 decide that graph names must be absolute IRIs?" then this is probably not the best forum to ask, but anyway ... One re

Re: Named graphs

2017-04-06 Thread A. Soroka
will have pretty strong effects on your ability to refer to named graphs from other contexts than the one in which you created them. On the other hand, as the same recommendation says just a bit later: "SPARQL 1.1 Query Language only allows RDF Graphs to be identified using an IRI." h

tdbloader2 named graphs

2018-01-05 Thread Dimov, Stefan
Hi all, I’m trying to use tdbloader2 to import multiple ttl files into DB. I want (the triples from) certain files to go to certain named graphs, but I don’t know how to specify that – it all goes to the default graph. Does anybody know? Regards, Stefan

nested named graphs

2014-06-20 Thread Yana Panchenko
Hi, I am getting myself familiar with named graphs and with the possibility to include subgraphs into the data. I saw a couple of examples demonstrating signing chains that include nested graphs like this (in Trig format): @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax

Inferred Named Graphs

2016-05-05 Thread Abduladem Eljamel
Hi,,I am justwondering if this scenario is correct or not. I have a TDB dataset containsseveral named graphs and I would like to apply reasoning on all these namedgraphs. I will apply the following steps:1-    Loading the named graphs into models one by one. 2-    Applying reasoning on every

many named graphs

2016-07-04 Thread Chris Jones
Hi All, How many named graphs can Jena gracefully handle? Hundreds, thousands, millions? I've found references to Jena handling large triple stores, with billions of statements; but nothing about how many named graphs. I'm writing a system where I'm considering giving each re

Re: tdbloader2 named graphs

2018-01-05 Thread Dimov, Stefan
Figured it out – gotta convert my .ttl files to .trig format … S. From: Stefan Dimov Date: Friday, January 5, 2018 at 3:31 PM To: "users@jena.apache.org" Subject: tdbloader2 named graphs Hi all, I’m trying to use tdbloader2 to import multiple ttl files into DB. I want (the tr

Re: tdbloader2 named graphs

2018-01-06 Thread Andy Seaborne
ot;users@jena.apache.org" Subject: tdbloader2 named graphs Hi all, I’m trying to use tdbloader2 to import multiple ttl files into DB. I want (the triples from) certain files to go to certain named graphs, but I don’t know how to specify that – it all goes to the default graph. Does anybody k

Re: tdbloader2 named graphs

2018-01-07 Thread Dimov, Stefan
d it out – gotta convert my .ttl files to .trig format … > > S. > > From: Stefan Dimov > Date: Friday, January 5, 2018 at 3:31 PM > To: "users@jena.apache.org" > Subject: tdbloader2 named graphs > > Hi all, > >

Re: nested named graphs

2014-06-20 Thread Joshua TAYLOR
On Fri, Jun 20, 2014 at 10:34 AM, Yana Panchenko wrote: > Hi, > > I am getting myself familiar with named graphs and with the possibility to > include subgraphs into the data. I saw a couple of examples demonstrating > signing chains that include nested graphs like this

Re: nested named graphs

2014-06-20 Thread Joshua TAYLOR
On Fri, Jun 20, 2014 at 10:58 AM, Joshua TAYLOR wrote: > On Fri, Jun 20, 2014 at 10:34 AM, Yana Panchenko > wrote: >> Hi, >> >> I am getting myself familiar with named graphs and with the possibility to >> include subgraphs into the data. I saw a couple of exam

Re: nested named graphs

2014-06-20 Thread Yana Panchenko
eff: Re: nested named graphs On Fri, Jun 20, 2014 at 10:58 AM, Joshua TAYLOR wrote: > On Fri, Jun 20, 2014 at 10:34 AM, Yana Panchenko > wrote: >> Hi, >> >> I am getting myself familiar with named graphs and with the possibility to >> include subgraphs into the d

Re: nested named graphs

2014-06-20 Thread Joshua TAYLOR
On Fri, Jun 20, 2014 at 11:29 AM, Yana Panchenko wrote: > Yes, that's page I found the example. There, G2 is a graph that contains > triples describing the signature of G1 and G1 itself as nested graph (the > latter you omitted from the example in your reply). It not clear to me how > should I rep

Re: nested named graphs

2014-06-20 Thread Yana Panchenko
thanks, you comments are very helpful Von: Joshua TAYLOR An: Yana Panchenko CC: "users@jena.apache.org" Gesendet: 17:48 Freitag, 20.Juni 2014 Betreff: Re: nested named graphs On Fri, Jun 20, 2014 at 11:29 AM, Yana Panchenko wrote: > Yes,

Re: Inferred Named Graphs

2016-05-09 Thread Andy Seaborne
On 05/05/16 19:32, Abduladem Eljamel wrote: Hi,,I am justwondering if this scenario is correct or not. I have a TDB dataset containsseveral named graphs and I would like to apply reasoning on all these namedgraphs. I will apply the following steps:1-Loading the named graphs into models

Re: many named graphs

2016-07-04 Thread Daniel Hernández
Hi Chris, It is possible. In fact, I have loaded 57 million of named graphs and then queried without problem. You can see the details in http://users.dcc.uchile.cl/~dhernand/research/ssws-2015-reifying.pdf Daniel El 04/07/16 a las 19:21, Chris Jones escribió: Hi All, How many named graphs

Re: many named graphs

2016-07-05 Thread Al Shapiro
uot;, to create multiple Named Graphs based on the value of "user _number"? Thank you for help... Al  On Monday, July 4, 2016 8:38 PM, Daniel Hernández wrote: Hi Chris, It is possible. In fact, I have loaded 57 million of named graphs and then queried without p

Re: many named graphs

2016-07-05 Thread Daniel Hernández
created, for example, I have successfully used GRAPH qm:g1 to create a Named Graph "g1", can I substitute a variable for "g1" such as "user _number", to create multiple Named Graphs based on the value of "user _number"? Thank you for help... Al

Re: many named graphs

2016-07-05 Thread Al Shapiro
Daniel, Thank you, this gives me part of the answer... Can you give me an example(s) of the IRI's that you used to name your Named Graphs and how they are defined as an IRI, in Sparql?. Please withhold any proprietary info... Thank you again, Al   On Tuesday, July 5, 2016 9:55 PM, D

Re: many named graphs

2016-07-06 Thread Daniel Hernández
I suggest that you first translate your data to RDF using an script (e.g., in Ruby, Python, etc.) to generate a text file in one of the RDF serialization formats that support named graphs (e.g., nquads). Then, you can load the data into jena using tdbloader. Daniel El 06/07/16 a las 01:10

Re: many named graphs

2016-07-06 Thread Al Shapiro
rmats that support named graphs (e.g., nquads). Then, you can load the data into jena using tdbloader. Daniel El 06/07/16 a las 01:10, Al Shapiro escribió: > Daniel, > Thank you, this gives me part of the answer... > Can you give me an example(s) of the IRI's that you used to name your

Re: many named graphs

2016-07-07 Thread A. Soroka
Wednesday, July 6, 2016 6:45 AM, Daniel Hernández > wrote: > > > I suggest that you first translate your data to RDF using an script > (e.g., in Ruby, Python, etc.) to generate a text file in one of the RDF > serialization formats that support named graphs (e.g., nquads). Th

Re: many named graphs

2016-07-07 Thread Al Shapiro
ggest that you first translate your data to RDF using an script > (e.g., in Ruby, Python, etc.) to generate a text file in one of the RDF > serialization formats that support named graphs (e.g., nquads). Then, > you can load the data into jena using tdbloader. > > Daniel > > E

Re: many named graphs

2016-07-08 Thread Lorenz B.
to know how to generate the Named Graph based on IRI? >> Do I create a NameSpace for the IRI? >> Please give me an example... >> Thank you, >> Al >> >> On Wednesday, July 6, 2016 6:45 AM, Daniel Hernández >> wrote: >> >> >> I suggest t

Re: many named graphs

2016-07-08 Thread Andy Seaborne
NameSpace for the IRI? Please give me an example... Thank you, Al On Wednesday, July 6, 2016 6:45 AM, Daniel Hernández wrote: I suggest that you first translate your data to RDF using an script (e.g., in Ruby, Python, etc.) to generate a text file in one of the RDF serialization formats that

Re: many named graphs

2016-07-08 Thread Al Shapiro
>> I need to know how to generate the Named Graph based on IRI? >>> Do I create a NameSpace for the IRI? >>> Please give me an example... >>> Thank you, >>> Al >>> >>>      On Wednesday, July 6, 2016 6:45 AM, Daniel Hernández >>>

Named graphs and inference

2024-08-26 Thread Scott Henninger
Is it possible to configure Fuseki to run inferences across named graphs and have the triples, including the inferred triples, appear in the default graph? In my attempt to do this, included below (along with the triples I'm testing with), I have a configuration that will run the inferenc

Copy triples in named graphs

2020-10-15 Thread Mikael Pesonen
Hi, is it possible to copy all data from one Jena instance to other which is running and containing data already? So I want to dump all NQuads (triples in named graphs) in one db and insert them into other running db without affecting existing data. All I know is sparql construct which

Handling named graphs in Jena.

2016-11-01 Thread Jason Koh
Dear all, This might be due to my lack of knowledge on SPARQL syntax. 1. I try to construct a named graph via SPARQL query, but it fails. so What I did is like following /// Model model = ModelFactory.createDefaultModel(); String queryStr ="CONSTRUCT {GRAPH { .} } W

Reasoner works on named graphs

2017-06-20 Thread Rui Zhang
cific graph data and then insert new information data frequently, and I also want to keep some basic knowledge data in the default graph. 3. In the ttl configuration file, the "tdb:unionDefaultGraph true" is set, the expected result should be the data from the union named graphs, if se

Problem inserting into named graphs

2012-06-11 Thread Eric Scott
I'm encountering a problem inserting into named graphs when doing so programmatically. Pardon my clojure, but I think its intent is pretty clear, let me know and I'll translate to java-ish pseudocode: (let [model (TDBFactory/createModel (ensure-directories-exist "/home/

Text search and named graphs

2013-08-07 Thread Howard Burrows
Is the text search module named graph aware and capable of being configured (assembled) such that each named graph in a dataset can have its own text indexes configured separately with their own EntityMap definitions? I have a TDB dataset composed of multiple named graphs (i.e. one per 'v

transitive reasoning and named graphs

2013-10-09 Thread Guy Laden
We are running into an issue trying to use reasoning with Fuseki over owl:TransitiveProperties. Our example (below) works when the triples are uploaded into the default graph but when we upload them to a named graph reasoning doesn't seem to work. (We have tried querying both the named graph and

Jena Support for named graphs

2023-03-01 Thread Ghinwa FAKIH
Hello, I was trying to load a toy example on named graphs approach in Jena and test it using some queries. While doing this, the syntax below didn't work for me: |ex:G rdfg:isGraph { ex:B ex:prop2 ex:C } | But instead this syntax using GraphLiteral works. ex:G rdfg:isGraph "ex:

Re: Named graphs and inference

2024-08-27 Thread Andy Seaborne
On 26/08/2024 22:57, Scott Henninger wrote: Is it possible to configure Fuseki to run inferences across named graphs and have the triples, including the inferred triples, appear in the default graph? I don't think it's possible if you want to more complicated in the inference

Re: Copy triples in named graphs

2020-10-15 Thread Andy Seaborne
I want to dump all NQuads (triples in named graphs) in one db and insert them into other running db without affecting existing data. POST = "add into" N-Quads will miss prefixes, if that matters. All I know is sparql construct which doesn't work here I think. Br, Mikael

Re: Copy triples in named graphs

2020-10-16 Thread Mikael Pesonen
data from one Jena instance to other which is > > running and containing data already? > > Yes - pull the data out of one store (GET) and push it into another POST. > > See the thread "Streaming data to Fuseki" > > > So I want to dump all NQuads (triples in n

Re: Copy triples in named graphs

2020-11-09 Thread Mikael Pesonen
te: Hi, is it possible to copy all data from one Jena instance to other which is running and containing data already? Yes - pull the data out of one store (GET) and push it into another POST. See the thread "Streaming data to Fuseki" So I want to dump all NQuads (triples in named grap

Re: Copy triples in named graphs

2020-11-09 Thread Martynas Jusevičius
Are you sure you have named graphs in that dataset? On Mon, Nov 9, 2020 at 12:42 PM Mikael Pesonen wrote: > > > Hi, > > this command returns triplets although content-type is set as requested: > > curl -H "Accept: application/n-quads" http://localhost:3030/ds >

Re: Copy triples in named graphs

2020-11-09 Thread Mikael Pesonen
: application/n-quads" -X POST --data-binary "select * WHERE{GRAPH ?g {?s ?p ?o}} limit 5" -H 'Content-Type: application/sparql-query' http://localhost:3030/ds BR, Mikael On 09/11/2020 13.50, Martynas Jusevičius wrote: Are you sure you have named graphs in that datase

Re: Copy triples in named graphs

2020-11-09 Thread Martynas Jusevičius
ot;select * > WHERE{GRAPH ?g {?s ?p ?o}} limit 5" -H 'Content-Type: > application/sparql-query' http://localhost:3030/ds > > BR, > Mikael > > On 09/11/2020 13.50, Martynas Jusevičius wrote: > > Are you sure you have named graphs in that dataset? > > >

Re: Copy triples in named graphs

2020-11-09 Thread Mikael Pesonen
t-Type: application/sparql-query' http://localhost:3030/ds BR, Mikael On 09/11/2020 13.50, Martynas Jusevičius wrote: Are you sure you have named graphs in that dataset? On Mon, Nov 9, 2020 at 12:42 PM Mikael Pesonen wrote: Hi, this command returns triplets although content-type is set

Re: Copy triples in named graphs

2020-11-09 Thread Andy Seaborne
ql-results+xml curl -H "Accept: application/n-quads" -X POST --data-binary "select * WHERE{GRAPH ?g {?s ?p ?o}} limit 5" -H 'Content-Type: application/sparql-query' http://localhost:3030/ds BR, Mikael On 09/11/2020 13.50, Martynas Jusevičius wrote: Are you sure you have

Re: Copy triples in named graphs

2020-11-09 Thread Mikael Pesonen
cation/sparql-query' http://localhost:3030/ds BR, Mikael On 09/11/2020 13.50, Martynas Jusevičius wrote: Are you sure you have named graphs in that dataset? On Mon, Nov 9, 2020 at 12:42 PM Mikael Pesonen wrote: Hi, this command returns triplets although content-type is set as requested:

Re: Copy triples in named graphs

2020-11-09 Thread Andy Seaborne
On 09/11/2020 14:16, Mikael Pesonen wrote: We are also using 3.16.0 Just noticed with GET there is this warning, if it's related Well, you aren't going to get an results! The connection was closed early. Client issue. 16:10:35 INFO  Fuseki  :: [125415] GET http://localhost:303

Re: Copy triples in named graphs

2020-11-09 Thread Mikael Pesonen
Sorry disconnect, not timeout. On 09/11/2020 17.05, Mikael Pesonen wrote: Okay, weird... I'm making the curl call on same server, what could cause the timeout then? On 09/11/2020 16.18, Andy Seaborne wrote: On 09/11/2020 14:16, Mikael Pesonen wrote: We are also using 3.16.0 Just not

Re: Copy triples in named graphs

2020-11-09 Thread Mikael Pesonen
Okay, weird... I'm making the curl call on same server, what could cause the timeout then? On 09/11/2020 16.18, Andy Seaborne wrote: On 09/11/2020 14:16, Mikael Pesonen wrote: We are also using 3.16.0 Just noticed with GET there is this warning, if it's related Well, you aren't going

Re: Handling named graphs in Jena.

2016-11-01 Thread Martynas Jusevičius
1. You haven't followed the example. You are missing Syntax.syntaxARQ in QueryFactory.create(), I guess this makes a difference since CONSTRUCT with quads is not standard SPARQL. 2. Because INSERT is an update and not a query? Se UpdateFactory: https://jena.apache.org/documentation/javadoc/arq/org

Re: Handling named graphs in Jena.

2016-11-01 Thread Jason Koh
Thanks for the answers! It solved the error. But I got a followup question... After constructing a named graph with the previous code, I tried to SELECT all the triples in the graph by the following query, and it gives nothing... / String selectQueryStr = "SELECT ?s ?p ?o where{GRAPH

Re: Handling named graphs in Jena.

2016-11-02 Thread Andy Seaborne
On 02/11/16 02:28, Jason Koh wrote: Thanks for the answers! It solved the error. But I got a followup question... After constructing a named graph with the previous code, I tried to SELECT all the triples in the graph by the following query, and it gives nothing... / String select

Problems with SPARQL and named graphs

2016-12-21 Thread George News
Hi all, I’m trying to understand how SPARQL with named graphs works within Jena, but I’m having strange results. I have defined one default graph and two named graphs. Very basic example. |Dataset dataset = TDBFactory.createDataset(tdbPath); Model m = dataset.getDefaultModel(); m.add

Re: Reasoner works on named graphs

2017-06-21 Thread Andy Seaborne
sert new information data frequently, and I also want to keep some basic knowledge data in the default graph. 3. In the ttl configuration file, the "tdb:unionDefaultGraph true" is set, the expected result should be the data from the union named graphs, if selecting data in default. Bu

Re: Reasoner works on named graphs

2017-06-21 Thread Dave Reynolds
er to start over and loose all the prior work so performance would be terrible. Fundamentally the current inference engines are not well suited to a world of TDB-backed named graphs :( Dave On 20/06/17 22:05, Rui Zhang wrote: Hi, I face a problem, when I try to let my reasoner work on specific

Inference and persistence for named graphs

2016-05-19 Thread Maxim Kolchin
o have inference and persistence for named graphs? I've found that some other triplestores do not, e.g. Blazegraph which supports persistence, but doesn't support inference on named graphs ("quads" in their terms). Notes: - Each partition of triples only partially shares the s

Re: Problem inserting into named graphs

2012-06-12 Thread Andy Seaborne
On 12/06/12 02:15, Eric Scott wrote: I'm encountering a problem inserting into named graphs when doing so programmatically. Pardon my clojure, but I think its intent is pretty clear, let me know and I'll translate to java-ish pseudocode: (let [model (TDBFactory/createModel (ensure-d

Re: Problem inserting into named graphs

2012-06-12 Thread Eric Scott
Argh. That's right. The ol' model/dataset distinction. Sorry about that. Thanks, On 06/12/2012 02:43 AM, Andy Seaborne wrote: On 12/06/12 02:15, Eric Scott wrote: I'm encountering a problem inserting into named graphs when doing so programmatically. Pardon my clojure,

Fuseki: Named graphs disappear after restart

2012-10-31 Thread Carsten Keßler
wever, once I shut down and start Fuseki again, the named graphs are gone. The triples I have inserted are still there, though – sitting in the union graph. Any hints on what might be going wrong here appreciated! Thanks Carsten --- http://carsten.io

Query the union of named graphs

2013-06-10 Thread Cindy A McMullen
I'm using the in-memory Jena implementation (not TDB). How do I query across the union of named graphs?

Combining default graph with named graphs

2013-06-11 Thread Cindy A McMullen
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)

Re: Text search and named graphs

2013-08-08 Thread Andy Seaborne
a TDB dataset composed of multiple named graphs (i.e. one per 'vendor') which I would like to index using the text search module and then search using named graph semantics. Some of my SPARQL queries reference all graphs and some reference just a single graph so splitting the data into multiple d

Loading named graphs from trig files?

2013-09-17 Thread Norman Walsh
Hi, I attempted to load the trig example from the spec, but Jena says: WARN jena.riot: Only triples or default graph data expected : named graph data ignored What knob do I have to turn for Jena to provide access to the named graphs? Be seeing you

Re: transitive reasoning and named graphs

2013-10-09 Thread Andy Seaborne
> <#dataset> rdf:type ja:RDFDataset ; > ja:defaultGraph <#model_inf> ; > . > > <#model_inf> a ja:InfModel ; > ja:baseModel <#tdbGraph> ; > ja:reasoner [ > #ja:reasonerURL > #ja:reasonerURL

Re: transitive reasoning and named graphs

2013-10-10 Thread Guy Laden
o store do the inference on an in-memory model and then store the materialized graph in Fuseki. How does this sound to you? Thanks, Guy From: Andy Seaborne To: users@jena.apache.org, Date: 09/10/2013 06:05 PM Subject:Re: transitive reasoning and named graphs > <#d

Re: transitive reasoning and named graphs

2013-10-11 Thread Andy Seaborne
10/2013 06:05 PM Subject:Re: transitive reasoning and named graphs > <#dataset> rdf:type ja:RDFDataset ; > ja:defaultGraph <#model_inf> ; > . > > <#model_inf> a ja:InfModel ; > ja:baseModel <#tdbGraph>

Re: Jena Support for named graphs

2023-03-01 Thread Andy Seaborne
On 01/03/2023 13:16, Ghinwa FAKIH wrote: Hello, I was trying to load a toy example on named graphs approach in Jena and test it using some queries. While doing this, the syntax below didn't work for me: |ex:G rdfg:isGraph { ex:B ex:prop2 ex:C } | That's N3 syntax for a g

Re: Jena Support for named graphs

2023-03-02 Thread Ghinwa FAKIH
Thank you! On 01/03/2023 14:16, Ghinwa FAKIH wrote: Hello, I was trying to load a toy example on named graphs approach in Jena and test it using some queries. While doing this, the syntax below didn't work for me: |ex:G rdfg:isGraph { ex:B ex:prop2 ex:C } | But instead this syntax

Inference across named graphs in Fuseki

2024-07-29 Thread Scott Henninger
I am looking for a way to run inference in Jena Fuseki across named graphs, preferably the union graph (i.e. across all of the named graphs). Is this possible? Below I have a configuration that will successfully infer triples in the default graph, but not across the named graphs. Is there a

Re: Problems with SPARQL and named graphs

2016-12-21 Thread Andy Seaborne
" + " FROM NAMED <http://example.org/bob>" + " WHERE " + " { \n" + " ?graph dc:publisher ?who . " + " GRAPH ?graph { ?x foaf:mbox ?mbox . } " + " }"; Take out the FROM NAMED. Adding FROM or FROM NAMED creates a view of the original data - in this case with just 2 named graphs. You don't want a view - you want the real thing. Andy

Re: Problems with SPARQL and named graphs

2016-12-21 Thread George News
?mbox" >> + " FROM NAMED <http://example.org/alice>" + " FROM NAMED >> <http://example.org/bob>" + " WHERE " + " { \n" + " ?graph dc:publisher >> ?who . " + " GRAPH ?graph { ?x foaf:mbox ?mbox . } " + "

Re: Problems with SPARQL and named graphs

2016-12-21 Thread Andy Seaborne
SELECT ?graph ?who ?mbox" + " FROM NAMED <http://example.org/alice>" + " FROM NAMED <http://example.org/bob>" + " WHERE " + " { \n" + " ?graph dc:publisher ?who . " + " GRAPH ?graph { ?x foaf:mbox ?mbox . } " + " }";

Re: Problems with SPARQL and named graphs

2016-12-21 Thread George News
/example.org/bob>" + " WHERE " + " { \n" + " ?graph dc:publisher >>>> ?who . " + " GRAPH ?graph { ?x foaf:mbox ?mbox . } " + " }"; >>> >>> Take out the FROM NAMED. >>> >>> Adding FROM or FROM

Re: Problems with SPARQL and named graphs

2016-12-22 Thread Andy Seaborne
. " + " GRAPH ?graph { ?x foaf:mbox ?mbox . } " + " }"; Take out the FROM NAMED. Adding FROM or FROM NAMED creates a view of the original data - in this case with just 2 named graphs. You don't want a view - you want the real thing. Andy But then, how can

persistent inference on named graphs in Fuseki

2017-03-30 Thread Élie Roux
Hello, I am currently setting up a Fuseki server with the following specs in mind: - everything persistent in TDB (it works) - many different named graph, with the default graph being the union of them (it works, but without inference) - very simple inferencing (works but not with named

persistent inference on named graphs in Fuseki

2017-03-31 Thread Élie Roux
Hello, I am currently setting up a Fuseki server with the following specs in mind: - everything persistent in TDB (it works) - many different named graph, with the default graph being the union of them (it works, but without inference) - very simple inferencing (works but not with named graphs

Re: Inference and persistence for named graphs

2016-05-19 Thread Dave Reynolds
of the Fuseki. Is it supported by Fuseki at all, to have inference and persistence for named graphs? Short ans: no, no persistence of inferred graphs automatically. Longer ans: Fueski obviously supports persistence and named graphs through TDB, so without inference you would be fine. However, the i

Re: Inference and persistence for named graphs

2016-05-21 Thread Maxim Kolchin
uery to >> delete a specific partition of triples and leave the rest untouched. >> Therefore I tried to use a separate named graph for each partition and >> I was able to configure RDFS inference for them. >> >> But the problem is that I can't find a way to make all t

Re: Fuseki: Named graphs disappear after restart

2012-11-01 Thread Andy Seaborne
named graph specified in the request. However, once I shut down and start Fuseki again, the named graphs are gone. The triples I have inserted are still there, though – sitting in the union graph. Any hints on what might be going wrong here appreciated! Thanks Carsten --- http://carsten.io

Re: Fuseki: Named graphs disappear after restart

2012-11-01 Thread Carsten Keßler
and OWL-Mini >> inference (the full configuration file: >> https://gist.github.com/3990276). When I upload triples through the >> graph store endpoint, this works fine and the triples end up in the >> named graph specified in the request. However, once I shut down and >>

Re: Fuseki: Named graphs disappear after restart

2012-11-02 Thread Andy Seaborne
docs and googling around for a whole afternoon and couldn't find any example of how to set this up. Best, Carsten You can have inference on an existing graph - it's the fact you added new (named) graphs, not altered an existing graph, that caused your disappearing data. (I hope so

Re: Query the union of named graphs

2013-06-11 Thread Andy Seaborne
On 10/06/13 21:52, Cindy A McMullen wrote: I'm using the in-memory Jena implementation (not TDB). How do I query across the union of named graphs? Union of named graphs is really a feature of the storage and not as uniformly treated as I would like. For an in-memory dataset, this

Re: Combining default graph with named graphs

2013-06-11 Thread Cindy A McMullen
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

Re: Query the union of named graphs

2013-06-12 Thread Andy Seaborne
On 11/06/13 16:06, Andy Seaborne wrote: On 10/06/13 21:52, Cindy A McMullen wrote: I'm using the in-memory Jena implementation (not TDB). How do I query across the union of named graphs? Union of named graphs is really a feature of the storage and not as uniformly treated as I would

Default and named graphs within TDB/Fuseki

2013-07-09 Thread Rob Walpole
Hi, I could use some help to understand default and named graphs within Jena (TDB/Fuseki)... In the following example taken from the W3C SPARQL 1.1 spec what needs to go in place of... FROM <http://example.org/dft.ttl> ...assuming I have loaded dft.ttl into the 'default' gra

Re: Loading named graphs from trig files?

2013-09-17 Thread Andy Seaborne
On 17/09/13 16:09, Norman Walsh wrote: Hi, I attempted to load the trig example from the spec, but Jena says: WARN jena.riot: Only triples or default graph data expected : named graph data ignored What knob do I have to turn for Jena to provide access to the named graphs

How to write queries using named graphs?

2013-10-31 Thread Maria Jackson
I think jena employs named graphs as a way to achieve reification. As named graphs can achieve reification by attaching only one statement with named graphs. Is it possible to express information of the following form using named graphs, if yes then can someone please help me write this

Counting all triples performance and named graphs

2022-09-21 Thread Simon Bin
Hi, we have a data set with 500 million triples. Single named graph, fuseki tdb2. We observe different performance between select (count(*) as ?cnt) { ?s ?p ?o } ~4 minutes select (count(*) as ?cnt) { graph  { ?s ?p ?o } } ~3 minutes select (count(*) as ?cnt) fr

Re: persistent inference on named graphs in Fuseki

2017-04-02 Thread Dave Reynolds
the default graph being the union of them (it works, but without inference) - very simple inferencing (works but not with named graphs) - inferenced triples stored in TDB The first question is the following: is it realistic? Sorry, not really. Whether it's practical at all depends o

Re: persistent inference on named graphs in Fuseki

2017-04-02 Thread Laura Morales
> Plus, as you already know, it's not named-graphs-aware. what does this mean?

Re: persistent inference on named graphs in Fuseki

2017-04-02 Thread Dave Reynolds
On 02/04/17 09:18, Laura Morales wrote: Plus, as you already know, it's not named-graphs-aware. what does this mean? The rule-based inference engines only know about Graphs/Models, not Datasets. There's no built in support for inference over a dataset as a whole. There's

Re: persistent inference on named graphs in Fuseki

2017-04-02 Thread Laura Morales
> There's no built in support for inference over a dataset as a > whole. There's no support for rules which test which graph a triple is > in or which assert results into difference graphs etc. - no inference over the whole graph, only inference on a single graph - no support to test which graph a

Re: persistent inference on named graphs in Fuseki

2017-04-02 Thread Élie Roux
Hello, > Jena's inference is purely in memory so running over a TDB store is > possible but doesn't give you any scalability and is slower than > running over an in-memory copy of the same data. Plus, as you already > know, it's not named-graphs-aware. Thank you fo

Re: persistent inference on named graphs in Fuseki

2017-04-02 Thread Dave Reynolds
On 02/04/17 10:04, Élie Roux wrote: Hello, Jena's inference is purely in memory so running over a TDB store is possible but doesn't give you any scalability and is slower than running over an in-memory copy of the same data. Plus, as you already know, it's not named-graphs-awa

Re: persistent inference on named graphs in Fuseki

2017-04-02 Thread Dave Reynolds
asets and named graphs existed. Over the years Datasets, rather than single Graphs, have been the central concept for a lot of RDF processing and if you were designing an inference system now you would take that into account. Dave

Re: persistent inference on named graphs in Fuseki

2017-04-02 Thread Laura Morales
>> - no inference over the whole graph, only inference on a single graph > > No inference support over the whole *Dataset*. "whole graph" I mean 2 or more graphs loaded into the server, that together make a larger graph. Isn't this the same thing as "dataset"? Or am I missing something?

Re: persistent inference on named graphs in Fuseki

2017-04-02 Thread Dave Reynolds
ing as "dataset"? Or am I missing something? A Dataset is a collection of graph comprising one default graph and zero or more named graphs. The default graph in a dataset may be completely distinct from the named graphs or may contain some precomputed combination of them or (e.g

Re: persistent inference on named graphs in Fuseki

2017-04-02 Thread A. Soroka
me thing as "dataset"? Or am I missing >> something? >> > > A Dataset is a collection of graph comprising one default graph and zero or > more named graphs. > > The default graph in a dataset may be completely distinct from the named > graphs or may

TDB Assembly: Multiple Named Graphs with RDFS Inferencing

2018-04-03 Thread Greg Albiston
Hello, I'm trying to setup a TDB dataset that contains multiple named graphs which each use RDFS inferencing and a schema. I've tried to follow the website documentation but there are several gaps on this topic. For example, the RDFS section on https://jena.apache.org/documen

Persisting named graphs in TDB with jena-fuseki

2014-05-11 Thread Сергей Антоненко
Hello everybody. I have jena-fuseki-1.0.1 configured using this file: /// @prefix :<#> . @prefix fuseki: . @prefix rdf: . @prefix rdfs: . @prefix tdb:

  1   2   3   >