Re: group_concat and parameters

2022-07-13 Thread Andy Seaborne
On 12/07/2022 11:41, robert.ba...@tiscali.it wrote: hi, about the group_concat function I found many posts where we talk about the following parameters: * ROW_LIMIT * PRE * SUFFIX Those are AnzoGraph extensions. for instance: group_concat (? chapterTitle; se

Re: Fuseki https certificate problems

2022-07-07 Thread Andy Seaborne
issue. The culprit was an unrelated certificate generation script that omitted the provided password when calling openssl. In any case the xml provided back in February is good. NB On Thu, Jul 7, 2022 at 12:42 PM Andy Seaborne wrote: Hi Nikolaos, On 06/07/2022 11:04, Nikolaos Beredimas wrote: W

Re: Fuseki https certificate problems

2022-07-07 Thread Andy Seaborne
Hi Nikolaos, On 06/07/2022 11:04, Nikolaos Beredimas wrote: While trying to get Fuseki running over https I found this thread from February https://jena.markmail.org/message/2kqpd2tlinpdzpna?q=ssl+order:date-backward&page=1 1. I can confirm the provided xml works (tested on Fuseki 4.5.0) Tha

Re: TDB: node table VS index disk usage

2022-07-05 Thread Andy Seaborne
On 05/07/2022 11:53, Vilnis Termanis wrote: Hi, A previous thread about TDB disk usage (https://markmail.org/message/u45e63nmwkqnsykc) says: "Nodes are not garbage collected so old blank nodes (and unused URIs and literals) remain in the node table." For TDB2, the indexes are MVCC copy-on-w

Re: How to use reasoning in Jena Fuseki?

2022-07-04 Thread Andy Seaborne
On 04/07/2022 03:28, Dương Hồ wrote: Thanks for reply. I tried using ./fuseki-server --rdfs but this return "No value for argument : rdfs" Can you help me fix this? Give it a schema file to use: --rdfs=FILE Vào Th 7, 2 thg 7, 2022 vào lúc 21:23 Dave Reynolds < dave.e.reyno...@gmail.com

Re: Save snapshot of schema cache?

2022-07-02 Thread Andy Seaborne
Simon, A way to do this is to install a caching proxy and direct web traffic to that proxy. e.g a httpd or nginx setup. Another way is to use the StreamManager/LocationMapper map the URls to a local file and manage that file (e.g. a regular script that updates the local copy. (Beware there a

Re: where is the RDF shapes action?

2022-06-27 Thread Andy Seaborne
Communities: SHACL : https://lists.w3.org/Archives/Public/public-shacl/2021Nov/0007.html Discord invite:https://discord.gg/RTbGfJqdKB ShEx: https://gitter.im/shapeExpressions/Lobby SHACL reports say what validation found; Jena has a similar reports for ShEx (ShEx does not define so m

Re: Jena Fuseki - reasoning on named graphs configuration problem

2022-06-23 Thread Andy Seaborne
Hi Kamal, There is an RDFS reasoner which is dataset-aware. https://jena.apache.org/documentation/rdfs/ but the subsystem around "ja:reasoner" is per-graph. This is true for the Jena supplied reasoners as well as the Openllet integration - the interface is a graph. Openllet is not dataset-awa

Re: How to send post update to jena fuseki

2022-06-22 Thread Andy Seaborne
On 22/06/2022 05:24, Noah from ProvocaTeach wrote: The standard way to talk to RDF databases (such as Fuseki) is with a language called SPARQL: "SPARQL Protocol And RDF Query Language". It is the SQL of RDF land. There are many great resources for learning SPARQL, but you can hardly do bett

Re: Fuseki 503 response, with java.io.IOException in logs

2022-06-21 Thread Andy Seaborne
On 21/06/2022 14:58, Adrian Walker wrote: unsubscribe See https://jena.apache.org/help_and_support/index.html "... list-unsubscr...@jena.apache.org ..." Andy

Re: Fuseki 503 response, with java.io.IOException in logs

2022-06-21 Thread Andy Seaborne
On 21/06/2022 02:24, Noah from ProvocaTeach wrote: Hi all, I took another look at the `journalctl` logs and noticed something in the stack traces: Jun 20 18:15:12 numberphile fuseki-server[8404]: org.apache.jena.assembler.exceptions.AssemblerException: caught: java.io.IOException: No such

Re: SPARQL query won't abort

2022-06-16 Thread Andy Seaborne
On 07/06/2022 19:11, Reid Yoder wrote: Hello, I'm having a problem where I can't stop a SPARQL query mid-execution -- .abort() and .close() are not working. I'm just going to link to my stackoverflow question so there's a central place for discussion: https://stackoverflow.com/questions/72522

Re: Restricting SPARQL update to a single named graph

2022-06-08 Thread Andy Seaborne
On 08/06/2022 09:22, Martynas Jusevičius wrote: On Tue, Jun 7, 2022 at 9:15 PM Andy Seaborne wrote: On 07/06/2022 10:47, Martynas Jusevičius wrote: Hi, I have implemented PATCH method for the Graph Store Protocol: https://www.w3.org/TR/sparql11-http-rdf-update/#http-patch The PATCH is

Re: Restricting SPARQL update to a single named graph

2022-06-07 Thread Andy Seaborne
On 07/06/2022 10:47, Martynas Jusevičius wrote: > Hi, > > I have implemented PATCH method for the Graph Store Protocol: > https://www.w3.org/TR/sparql11-http-rdf-update/#http-patch > > The PATCH is applied to a named graph. I am missing this bit however: > " If a SPARQL 1.1 Update request is used a

Re: Semantics of SERVICE w.r.t. slicing

2022-06-03 Thread Andy Seaborne
JENA-2332 and PR 1364. Andy https://issues.apache.org/jira/browse/JENA-2332 https://github.com/apache/jena/pull/1364 On 03/06/2022 18:29, Andy Seaborne wrote: Probably a bug then. Are you going to be making improvements to query tranformation/optimization as part of your work on the

Re: Semantics of SERVICE w.r.t. slicing

2022-06-03 Thread Andy Seaborne
In the email headers: List-Unsubscribe: More details: https://jena.apache.org/help_and_support/index.html Andy On 03/06/2022 18:32, Adrian Walker wrote: unsubscribe me please.

Re: Semantics of SERVICE w.r.t. slicing

2022-06-03 Thread Andy Seaborne
--query service-query.rq   (join !     (service <https://dbpedia.org/sparql>   (slice _ 5     (bgp (triple ?s <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/MusicalArtist>     (service <https://dbpedia.org/sparql>  

Re: Semantics of SERVICE w.r.t. slicing

2022-06-03 Thread Andy Seaborne
On 02/06/2022 21:19, Claus Stadler wrote: Hi, I noticed some interesting results when using SERVICE with a sub query with a slice (limit / offset). Preliminary Remark: Because SPARQL semantics is bottom up, a query such as the following will not yield bindings for ?x: SELECT * {   SE

Re: Request timeout for rdfconnection

2022-05-31 Thread Andy Seaborne
On 31/05/2022 07:48, Sebastian Trueg wrote: Hi Andy, thx for replying On 30.05.22 17:41, Andy Seaborne wrote: if I want to drop a rather big graph from my Fuseki instance I often run into a timeout. I suppose this is caused by the request taking longer than a few minutes on Fuseki'

Re: Request timeout for rdfconnection

2022-05-30 Thread Andy Seaborne
Hi Sebastian, On 30/05/2022 09:59, Sebastian Trueg wrote: Hello, if I want to drop a rather big graph from my Fuseki instance I often run into a timeout. I suppose this is caused by the request taking longer than a few minutes on Fuseki's end. My problem is that I cannot figure out how to

Re: Graph Store compared to tdb2.tdbloader

2022-05-30 Thread Andy Seaborne
Hi David, On 30/05/2022 07:27, Lorenz Buehmann wrote: Hi David, On 29.05.22 15:34, David Habgood wrote: Hi, I've been running Apache Jena Fuseki 4.5.0 in a docker container. I've loaded data to it two ways: though the graph store protocol, and using tdb2.tdbloader before starting Jena Fuseki.

Re: RDFSTAR with jena version 3

2022-05-27 Thread Andy Seaborne
Hi Robert, On 26/05/2022 11:17, robert.ba...@tiscali.it wrote: Hi, I'm working with an old project developed with java 8. I need to use rdfstar but i can't switch to java 11. For background - why can't you switch? Jena's policy has always been "last 2 releases" which we interpret nowada

Re: Indexing existing TDB2 dataset with assembler file

2022-05-25 Thread Andy Seaborne
There's an example: for version jena 4.5.0: https://github.com/apache/jena/blob/main/jena-fuseki2/examples/config-text-tdb2.ttl The namespace for TDB2 prefix is in the jena.apache.org space: >>> @prefix tdb: . ==> PREFIX tdb2:

Re: SHACLC and RDFLanguages

2022-05-23 Thread Andy Seaborne
PRs welcome. On 23/05/2022 08:51, Martynas Jusevičius wrote: Could RDFParserRegistry::getRegistered and ResultSetReaderRegistry::getRegistered be added? Consistent naming would be registered(). Andy On Fri, May 20, 2022 at 9:01 PM Andy Seaborne wrote: On 20/05/2022 14:05, Martynas

Re: SHACLC and RDFLanguages

2022-05-20 Thread Andy Seaborne
On 20/05/2022 14:05, Martynas Jusevičius wrote: Andy, is that correct? Yes Andy On Tue, May 17, 2022 at 1:33 PM Martynas Jusevičius wrote: On Tue, May 17, 2022 at 1:19 PM Andy Seaborne wrote: RDFLanguages is a general registry of names (Lang's) in the system. It is no

Re: SHACLC and RDFLanguages

2022-05-17 Thread Andy Seaborne
RDFLanguages is a general registry of names (Lang's) in the system. It is not for functionality. RDFParserRegistry RDFWriterRegistry RowSetReaderRegistry, ResultSetReaderRegistry RowSetWriterRegistry, ResultSetWriterRegistry StreamRDFWriter A Lang needs looking up in a registry to see if there

Re: RDF Connection

2022-05-16 Thread Andy Seaborne
ryExecutionCompat.execSelect(QueryExecutionCompat.java:97) at com.mycompany.rad.RDF.(RDF.java:90) at com.mycompany.rad.RDF.main(RDF.java:105) I'm using Graalvm: java -version openjdk version "17.0.3" 2022-04-19 OpenJDK Runtime Environment GraalVM CE 22.1.0 (build 17.0.3+7-jvmci-22

Re: RDF Connection

2022-05-16 Thread Andy Seaborne
On 16/05/2022 16:11, Erich Bremer wrote: It seems in Jena 4.3.X forward HttpClient in RDFConnectionRemoteBuilder was changed from org.apache.http.client.HttpClient to java.net.http.HttpClient. The latter doesn't appear to support Digest Authentication. Is there support for Digest authenticati

Proposed: RDF Dataset Canonicalization and Hash Working Group

2022-05-16 Thread Andy Seaborne
Proposed W3C Charter: RDF Dataset Canonicalization and Hash Working Group https://lists.w3.org/Archives/Public/public-new-work/2022May/0005.html

Re: Java versions?

2022-05-15 Thread Andy Seaborne
11 and later. The project policy is "last two Java versions" and with the new (by Jena timescales!) Java release cycles, we interpret that as 2 LTS. There are Jenkins CI builds with 11(LTS), 17(LTS), 19(early adopter Java latest). Here are the Jenkins jobs for Jena: https://ci-builds.apach

Re: JSON-LD : ERROR with riot, but not with com.apicatalog.jsonld API

2022-05-12 Thread Andy Seaborne
On 11/05/2022 09:12, Jean-Marc Vanel wrote: Another side question, it seems that riot no longer accepts HTTP URL's , only files. It wasn't intended. This is now fixed. Andy

Re: Problems pocessing prefixed URNs containing a slash

2022-05-11 Thread Andy Seaborne
Hi Joeli, This isn't a URN issue. Turtle does not allow / in the local part of a prefixed name. nbn:ex/ample It does allow it with an an escape: nbn:ex\/ample PREFIX : :s/a :p 123 . is also bad syntax. > That is not a UR

Re: JSON-LD : ERROR with riot, but not with com.apicatalog.jsonld API

2022-05-11 Thread Andy Seaborne
On 11/05/2022 14:02, Jean-Marc Vanel wrote: Le mer. 11 mai 2022 à 11:51, Andy Seaborne a écrit : On 11/05/2022 09:12, Jean-Marc Vanel wrote: As a side question, is there a way to configure riot or Jena API to have (more) verbose JSON-LD error messages, possibly with line numbers. Does

Re: JSON-LD : ERROR with riot, but not with com.apicatalog.jsonld API

2022-05-11 Thread Andy Seaborne
On 11/05/2022 09:12, Jean-Marc Vanel wrote: As a side question, is there a way to configure riot or Jena API to have (more) verbose JSON-LD error messages, possibly with line numbers. Does titanium provide this information?

Re: JSON-LD : ERROR with riot, but not with com.apicatalog.jsonld API

2022-05-11 Thread Andy Seaborne
What version of java are you running? Is it 11.0.14? Does 78272_pp-absolute.jsonld use a https URL in @context? You can use --syntax jsonld10 to get jsonld-java. Andy On 11/05/2022 09:12, Jean-Marc Vanel wrote: The context is that I'm debugging a JSON API with JSON-LD keys and an @context

Re: TDB2 persistence and jena fuseki upgrades

2022-05-10 Thread Andy Seaborne
Hi Øyvind, I can't explain what you are seeing - Lorenz questions are good for finding out. On 10/05/2022 06:47, Lorenz Buehmann wrote: Hi, can you verify that querying TDB2 from commandline still works? Can you show the Fuseki assembler config or how do you start Fuseki in general? And d

Re: SPARQL question

2022-05-08 Thread Andy Seaborne
On 06/05/2022 16:34, Nouwt, B. (Barry) wrote: Just tried to move the VALUES clause of the second query inside the WHERE clause and now it gives the same result as the first query. I am using the Query# setValuesDataBlock(...) method to set the values programmatically. Can I control where th

CVE-2022-28890: Apache Jena: Processing external DTDs

2022-05-04 Thread Andy Seaborne
Severity: medium Description: A vulnerability in the RDF/XML parser of Apache Jena allows an attacker to cause an external DTD to be retrieved. This issue affects Apache Jena version 4.4.0 and prior versions. Apache Jena 4.2.x and 4.3.x do not allow external entities. Mitigation: Users

[ANN] Apache Jena 4.5.0

2022-05-04 Thread Andy Seaborne
The Apache Jena development community is pleased to announce the release of Apache Jena 4.5.0 Next release: new in-memory graph In Apache Jena 4.6.0, the implementation of the standard memory graph (GraphMem) will change based on the contribution of a faster, more compact implementation

Re: Interaction between Text indexing, Fuseki services & Data Access Control

2022-05-03 Thread Andy Seaborne
On 03/05/2022 15:56, Vilnis Termanis wrote: (fixing up the quote): My understanding is that, for updates, the stack of datasets is respected when deciding whether access the text index whereas for querying the dataset context is used, which is not stacked. I'm confused. "understanding of w

Re: JSON-LD: 1.0 or 1.1

2022-04-27 Thread Andy Seaborne
Given the input so far, it seems JSON-LD 1.1 should be the default for both parsing and writing in the next release (Jena 4.5.0). Written JSON-LD would not include a @content entry "@version" - that breaks JSON-LD 1.0 processing. Andy On 11/03/2022 10:38, Andy Seaborne wrote

Re: JSON-LD: 1.0 or 1.1

2022-04-25 Thread Andy Seaborne
On Sun, Apr 24, 2022 at 1:23 PM Andy Seaborne wrote: On 24/04/2022 12:05, Dan Brickley wrote: On Sun, 24 Apr 2022 at 11:12, Andy Seaborne wrote: Hi Dan, Could you point to this dependency in the specs because I can't find mention of JSONschema. "schema" mentions are schema

Re: JSON-LD: 1.0 or 1.1

2022-04-24 Thread Andy Seaborne
On 24/04/2022 12:05, Dan Brickley wrote: On Sun, 24 Apr 2022 at 11:12, Andy Seaborne wrote: Hi Dan, Could you point to this dependency in the specs because I can't find mention of JSONschema. "schema" mentions are schema.org (for examples), XMLSchema (for datatypes) and

Re: JSON-LD: 1.0 or 1.1

2022-04-24 Thread Andy Seaborne
3, 2022 at 2:40 PM Paul Tyson wrote: On Apr 23, 2022, at 12:16, Andy Seaborne wrote: What should the default settings be JSON-LD 1.0 or 1.1? 1.1 would better meet my use cases. Thanks, —Paul

Re: JSON-LD: 1.0 or 1.1

2022-04-23 Thread Andy Seaborne
On Fri, Mar 11, 2022 at 11:39 AM Andy Seaborne wrote: Jena has both JSON 1.0, provided by jsonld-java, and JSON-LD 1.1, provided by Titanium. What should the default settings be? For parsing that means what is bound to "application/ld+json" and file extension .jsonld. For writing

Re: querying lots of quad files in block storage

2022-04-20 Thread Andy Seaborne
Justin, Are the query patterns spanning across the files? If not, then Another thought: filter the data in some way. keep the NQ files are the primary copy but if there are subsets of the data that make sense, run a process to extracts relevant part and build the database on that data. A

Apache Jena - 10 years as an Apache Project.

2022-04-18 Thread Andy Seaborne
Today is the 10th anniversary of Apache Jena as a Top Level Project of the Apache Software Foundation!

Re: Interaction between Text indexing, Fuseki services & Data Access Control

2022-04-16 Thread Andy Seaborne
s) - that's really useful. We'll re-rest the aforementioned 2b & 3b cases. Regards, Vilnis On Fri, 8 Apr 2022 at 11:51, Andy Seaborne wrote: Hi Vilnis, On 07/04/2022 11:10, Vilnis Termanis wrote: Hi, In brief: Can Fuseki Data ACL be applied to text indexing? As a general poi

Re: ARQ variables with dashes

2022-04-08 Thread Andy Seaborne
t is to use a parser rule - either full query or modify the parser. Thanks for your help! Best regards, Barry -Original Message- From: Andy Seaborne Sent: dinsdag 5 april 2022 14:07 To: users@jena.apache.org Subject: Re: ARQ variables with dashes Inline. Summary : it didn't

Re: Interaction between Text indexing, Fuseki services & Data Access Control

2022-04-08 Thread Andy Seaborne
Hi Vilnis, On 07/04/2022 11:10, Vilnis Termanis wrote: Hi, In brief: Can Fuseki Data ACL be applied to text indexing? As a general point - a text index itself is not ACL aware. It is setup ahead of time and does not index triples directly. The GeoSPARQL cache is probably similar (I'm less f

Re: ARQ variables with dashes

2022-04-05 Thread Andy Seaborne
Inline. Summary : it didn't consume the whole input, only up to the end of the legal part. On 05/04/2022 12:43, Lorenz Buehmann wrote: Hi Barry, Did you try SPARQL1.1 parser instead? Afaik, ARQ was always beyond SPARQL 1.1 or better said, already before SPARQL 1.1 with some extensions. I

Re: Ontology URI vs document URI

2022-04-01 Thread Andy Seaborne
On 26/03/2022 15:46, Martynas Jusevičius wrote: Hi, Using the ontology API, if one owl:imports an ontology URI such as into ontology model, the imported model gets cached under the "http://www.w3.org/ns/org#"; key. However, given

Re: SHACL-based data extraction from a knowledge graph

2022-03-28 Thread Andy Seaborne
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 partition the triples in a disjunction or conjunction when there are multiple occurrences of triples matching mul

Re: error starting up jena

2022-03-28 Thread Andy Seaborne
Fuseki does not work with Tomcat 10. Tomcat 9 applications are incompatible with Tomcat 10. Tomcat 10 is a migration of JavaEE from javax.* to jakarta.* https://tomcat.apache.org/migration-10.html#Specification_APIs If you can't run Tomcat 9, try their conversion tool: https://tomcat.apache.

Re: Safe delete & insert with Fuseki

2022-03-26 Thread Andy Seaborne
If you put all the changes in one update request, they will be done atomically. DELETE { ... } WHERE { ... } ; INSERT DATA { ... } Also, the WHERE clause in a DELETE-INSERT-WHERE can be used to "switch off" an operation. Andy On 24/03/2022 13:17, Mikael Pesonen wrote: We have occas

Re: NodeTableTRDF/Read exception

2022-03-21 Thread Andy Seaborne
21/03/2022 11:39, Mikael Pesonen wrote: Got this again after few days of little usage after TDB2 was rebuilt from empty. Would you suggest this is hw error? No possibility that its Jena error? On 28/05/2021 17.25, Andy Seaborne wrote: On 28/05/2021 14:59, Mikael Pesonen wrote: I should try

Re: fuseki-4.4.0: --file option forces read-only mode

2022-03-21 Thread Andy Seaborne
Hi olivier, No reason I can think of except being clear that updates to the file will not be written back to the file. Given the user has explicitly given "--update", allowing update seems quite reasonable. Recorded: https://github.com/apache/jena/issues/1228 (we now have github issues ena

Re: SPARQL optional limiting results

2022-03-18 Thread Andy Seaborne
The OPTIONAL uses ?graph. So it isn't simple a matter of "optional adds rows" After the optional happens, there is a new condition on ?graph. The inside of GRAPH ?graph { inner } is executed then joined to ensure ?graph is the right value. On 18/03/2022 12:52, Mikael Pesonen wrote: Hi Mar

Re: "oh dear, already have a slot" exception

2022-03-17 Thread Andy Seaborne
On 17/03/2022 11:56, Élie Roux wrote: Because that is the source being copied from. Is it TIM or TDB1? Oh it's all in memory, I read a dataset in a trig file, extract a graph, modify it, create a new dataset, add the new modified graph and save the file in trig. TIM = "Transactions In Mem

Re: "oh dear, already have a slot" exception

2022-03-17 Thread Andy Seaborne
On 17/03/2022 10:53, Élie Roux wrote: addGraph is copying data from the m.getGraph into the new dataset. "createGeneral" is the version that does not copy, and makes a link to the original. By the way : DatasetGraphFactory Thanks, that actually made the bug disappear! It's still quite uncl

Re: "oh dear, already have a slot" exception

2022-03-17 Thread Andy Seaborne
On 17/03/2022 09:22, Andy Seaborne wrote: On 17/03/2022 08:13, Élie Roux wrote: Dear all, I have some code that write hundreds of thousands of trig files (converting some XML data to RDF). I recently introduced a relatively minor change: some literals are now in a custom datatype, defined

Re: "oh dear, already have a slot" exception

2022-03-17 Thread Andy Seaborne
On 17/03/2022 08:13, Élie Roux wrote: Dear all, I have some code that write hundreds of thousands of trig files (converting some XML data to RDF). I recently introduced a relatively minor change: some literals are now in a custom datatype, defined here: https://github.com/buda-base/xmltoldmi

Re: JSON-LD: 1.0 or 1.1

2022-03-15 Thread Andy Seaborne
On 15/03/2022 18:13, Martynas Jusevičius wrote: Hi, Are the output "flavors" for JSON-LD 1.0 only then? https://jena.apache.org/documentation/io/rdf-output.html#json-ld Yes. On Fri, Mar 11, 2022 at 11:39 AM Andy Seaborne wrote: Jena has both JSON 1.0, provided by jsonld

Github changes : issues and discussions features enabled.

2022-03-14 Thread Andy Seaborne
Hi - we've enabled the github "issues" and "discussions" areas on the code repo. These are additional channels for the project. There are no chanages to JIRA and no existing JIRA reports are lost. Gihub allows people to subscribe and get notifications to your github inbox. As well as github n

JSON-LD: 1.0 or 1.1

2022-03-11 Thread Andy Seaborne
Jena has both JSON 1.0, provided by jsonld-java, and JSON-LD 1.1, provided by Titanium. What should the default settings be? For parsing that means what is bound to "application/ld+json" and file extension .jsonld. For writing, it means what is setup for Lang.JSONLD. This is two decisions -

Re: Streaming JSON RowSets (JENA-2302)

2022-03-10 Thread Andy Seaborne
This PR is looking good. It'll be great to have true stream implementation of JSON results for the normal cases of a result set that "head" then the "results" array. Andy On 09/03/2022 10:37, Claus Stadler wrote: Dear all, I want to inform you of an active PR for making RowSets over ap

Re: Question about Jena capabilities/requirements

2022-03-09 Thread Andy Seaborne
On 09/03/2022 09:33, Goławski, Paweł wrote: Most of data being stored could be treat as dictionaries, so updates will be rather big but rarely. The number of simultaneous reads could be a few hundred maybe. Queries will need also Micro OWL Reasoner (at least) and acceptable response time is

Re: [4.3.2] Cannot invoke "org.apache.jena.rdf.model.Property.asNode()" because "org.apache.jena.vocabulary.RDF.type" is null

2022-03-09 Thread Andy Seaborne
On 09/03/2022 11:16, Martynas Jusevičius wrote: Hi, This appeared after Java upgrade from 11 to 17: WARN LocationMapper:188 - Error in configuration file: Cannot invoke "org.apache.jena.rdf.model.Property.asNode()" because "org.apache.jena.vocabulary.RDF.type" is null May be init related .

Re: Moving triples from named graph to default graph

2022-03-08 Thread Andy Seaborne
SPARQL: MOVE GRAPH TO DEFAULT Doing an API copy then clear will work as well. Because the destination is the default graph and that already exists and may have data in it, it is a copy operation. Andy On 08/03/2022 06:03, Aayush Yadav wrote: Hi, I just wanted to check if there is any

Re: Question about Jena capabilities/requirements

2022-03-08 Thread Andy Seaborne
Hi Paweł, The amount CPU is more determined by the number of concurrent users or other services. Even if a system is supporting 1000's, the number actually active at any given moment is much lower. The kinds of application using the system influence the complexity of the queries as well. A

Re: JSON-LD writer always casts @language tags to lower-case

2022-03-07 Thread Andy Seaborne
es/154 I guess for the time being we could add an option for our users to switch between 1.0 and 1.1. Holger On 2022-03-04 8:10 pm, Andy Seaborne wrote: Jena uses   jsonld-java for JSON-LD 1.0   titanium-json-ld for JSON-LD 1.1. (The default is JSON-LD 1.0.) jsonld-java lowercases titan

Re: count the number of RDF triples

2022-03-06 Thread Andy Seaborne
On 06/03/2022 15:06, Hashim Khan wrote: Hi, I need to know, how can I count the number of RDF triples in a graph using jena? Model.size() https://jena.apache.org/documentation/javadoc/jena/org/apache/jena/rdf/model/Model.html#size() In SPARQL, use COUNT. Andy

Re: Can Fuseki SHACL-validate data before inserting them into the graph?

2022-03-05 Thread Andy Seaborne
On 04/03/2022 17:24, Moritz Orth wrote: Hello everyone, I’m currently playing around with SHACL in Jena and just asked myself: Can Fuseki validate data against SHACL shapes prior to inserting them into the graph, refusing to add them when they don’t conform with the shapes? No, not curren

Re: JSON-LD writer always casts @language tags to lower-case

2022-03-04 Thread Andy Seaborne
Jena uses jsonld-java for JSON-LD 1.0 titanium-json-ld for JSON-LD 1.1. (The default is JSON-LD 1.0.) jsonld-java lowercases titanium-json-ld does not. Is it an option for jsonld-java and jena just does not set it? Please confirm: The graph are isomorphic. c.f. bnodes. FWIW: RDFParser has

Re: Fuseki Data Access Control + Shiro + webapp/fulljar

2022-03-03 Thread Andy Seaborne
:-) Indeed - but Ubuntu 20.04 packaged maven is old (3.6.3) - so I hesitated before installing a standalone one :-) Regards, Vilnis On Wed, 2 Mar 2022 at 16:59, Andy Seaborne wrote: Hi Vilnis, Is it because of UI+admin that you are using Fuseki Webapp? Nothing else? The Metrics API is i

Re: Fuseki Data Access Control + Shiro + webapp/fulljar

2022-03-02 Thread Andy Seaborne
Hi Vilnis, Is it because of UI+admin that you are using Fuseki Webapp? Nothing else? The Metrics API is in Fuseki Main. --ping Enable /$/ping --statsEnable /$/stats --metrics Enable /$/metrics and Shiro can be plugged in to Fuseki

Re: WG: Broken GND dataset after loading with tdb2.xloader+tdb2.tdbloader

2022-02-27 Thread Andy Seaborne
Hi Joachim, Yes, there is a bug in xloader. I have managed to create an example test case using a small amount of data. It is the xloader. Running the load-then-load test case with all other loaders hasn't shown a problem so it isn't the second data load. I'm not sure what the cause is yet

Re: Geo indexing Wikidata

2022-02-21 Thread Andy Seaborne
On 21/02/2022 09:07, Lorenz Buehmann wrote: Any experience or comments so far? Using SubsystemLifecycle, could make the conversions by GeoSPARQLOperations.convertGeoPredicates extensible. Andy But having coordinate location (P625), located on astronomical body (P376) as properti

Re: Broken GND dataset after loading with tdb2.xloader+tdb2.tdbloader

2022-02-21 Thread Andy Seaborne
On 21/02/2022 08:27, Neubert, Joachim wrote: I've reloaded the GND dataset at http://zbw.eu/beta/sparql/gnd/query with 4.5.0-SNAPSHOT. The sources were a 133G .nt.gz file, plus several small .ttl files with ontology etc. I loaded the large one with tdb2.xloader, and immediately after that the

Re: Duplicates in the "Available services" list in UI?

2022-02-20 Thread Andy Seaborne
Available services" list in UI? Maybe we could add help icons to the UI, with a brief description to users about things like the endpoints (including duplicates are OK), the editable sparql endpoint added yesterday, content types, etc. Bruno On Sun, 20 Feb 2022, 08:23 Andy Seaborne, wrot

Re: Duplicates in the "Available services" list in UI?

2022-02-19 Thread Andy Seaborne
On 19/02/2022 17:15, Neubert, Joachim wrote: In the Fuseki UI, I get apparent duplicates in the service list (see also screenshot): SPARQL Update /wikidata/ SPARQL Update /wikidata/update That's fine. That's two endpoints both of which provide update. Because you used fuseki:serviceUpd

Re: Text indexing Wikidata

2022-02-19 Thread Andy Seaborne
On 19/02/2022 08:00, Lorenz Buehmann wrote: Hi, so far you can't do anything else - the whole indexing pipeline is single-threaded as far as I know. It simply iterates all properties declared to be used for fetching the RDF triple values - Lucene indexing itself would be threadsafe, so the

Re: How to check return values of Jena components

2022-02-18 Thread Andy Seaborne
Hi Joachim, Using the development build, I get a return code of 0 from xloader. (The release one is broken) What return code are you getting back? On 18/02/2022 09:08, Neubert, Joachim wrote: In my tdb create script, I have several steps (loading, text indexing etc.) building on each other,

Re: Does Jena need maintainance regarding to disk space?

2022-02-18 Thread Andy Seaborne
On 18/02/2022 11:05, Mikael Pesonen wrote: Yes I think we ran out of disk space also last time and it might corrupt something. How does one dump the database without fuseki? tdb2.tdbdump Thanks! On 17/02/2022 23.07, Andy Seaborne wrote: Mikael, You've had this problem before

Re: Does Jena need maintainance regarding to disk space?

2022-02-17 Thread Andy Seaborne
INFO  Server  :: [Task 1] finishes : Compact 15:40:43 INFO  Admin   :: [21] Tasks Data-0002 folder was created with 2,5G of data (Data-0001 has 88G). On 14/02/2022 21.30, Andy Seaborne wrote: Yes, it's a good idea. TDB2 in Fuseki has the "compact" operation to do t

Re: Loading Wikidata

2022-02-16 Thread Andy Seaborne
On 16/02/2022 11:56, Neubert, Joachim wrote: I've loaded the Wikidata "truthy" dataset with 6b triples. Summary stats is: 10:09:29 INFO Load node table = 3 seconds 10:09:29 INFO Load ingest data = 25165 seconds 10:09:29 INFO Build index SPO = 11241 seconds 10:09:29 INFO Build index

Re: Fuseki HTTPS config

2022-02-16 Thread Andy Seaborne
Hi Vladimir, Thanks for the information! It is good to know what things still work. Does the reload on keystore change work with "Lets Encrypt!"? I've created JENA-2284 [1] to make sure the example gets updated. Fuseki/Main has a special support --https=CONF https certificate access detail

Re: Idiom for creating test instances of Node, Triple, etc?

2022-02-15 Thread Andy Seaborne
There are the functions in SSE. e.g. Node SSE.parseNode(string) It has built-in prefixes so ":s" works. SSE.parseNode(":s") -> NodeFactory.createURI("http://example/s";); Triples are 3-tuples: "(:s :p :o)" or "(triple :s :p :o)" RDF-star supported SSE.parseNode("(qtriple :s :p :o)"); or <<>>

Re: Fuseki context path?

2022-02-14 Thread Andy Seaborne
On 14/02/2022 21:31, Andy Seaborne wrote: On 14/02/2022 20:59, aj...@apache.org wrote: I'm afraid that doesn't work because I'm interested in proxying the entire application, not a single dataset. I want to expose the whole UI, admin, SPARQL editor and all. I've t

Re: Fuseki context path?

2022-02-14 Thread Andy Seaborne
stHeader set X-Forwarded-Proto http PS JENA-2281 for improving the path routing. Adam On Mon, Feb 14, 2022, 2:27 PM Andy Seaborne wrote: On 14/02/2022 17:30, aj...@apache.org wrote: I'm probably missing something obvious, because I haven't looked at Fuseki in quite some t

Re: How to resolve a transaction error

2022-02-14 Thread Andy Seaborne
Hi Erik, Do you have a small example that reproduces this? (outisde of your docker setup) The SLF4J warning shouldn't happen either. Andy On 14/02/2022 16:56, Erik Bijsterbosch wrote: Hi Lorenz, We base all functionality on docker, so we dockerise every new application we develop local

AW: xloader "Can't find gzip program"

2022-02-14 Thread Andy Seaborne
uildNodeTableX.java:198) at java.base/java.util.ArrayList.forEach(ArrayList.java:1541) at org.apache.jena.tdb2.xloader.ProcBuildNodeTableX.lambda$exec2$1(ProcBuildNodeTableX.java:194) at java.base/java.lang.Thread.run(Thread.java:829) Cheers, Joachim -Ursprüngliche Nachri

Re: Does Jena need maintainance regarding to disk space?

2022-02-14 Thread Andy Seaborne
Yes, it's a good idea. TDB2 in Fuseki has the "compact" operation to do this without stopping the server. It creates a new "Data-/" directory and you can delete lower numbered databases. TDB1 - needs the server stopping for a rebuild. If you can stop updates, stop updates, 9server now re

Re: Fuseki context path?

2022-02-14 Thread Andy Seaborne
On 14/02/2022 17:30, aj...@apache.org wrote: I'm probably missing something obvious, because I haven't looked at Fuseki in quite some time. I cannot seem to find any way to set the servlet context path for Fuseki in its standalone (non-WAR) incarnation, which I want to do in order to get it pr

Re: AW: AW: AW: AW: xloader "Can't find gzip program"

2022-02-14 Thread Andy Seaborne
ry or somethign else? -- My experience is that gz is faster to load. bz2 emphases compactness over speed. Andy Cheers, Joachim -Ursprüngliche Nachricht- Von: Andy Seaborne Gesendet: Samstag, 12. Februar 2022 11:15 An: users@jena.apache.org Betreff: Re: AW: AW: AW: xloader "

Re: AW: AW: AW: xloader "Can't find gzip program"

2022-02-12 Thread Andy Seaborne
Hi Joachim, Aside: I've realised why the timestampes are fixed at "2022-01-30 15:03". The build setup is for repeatable builds of releases. Any build from the X.Y.Z release source, with the same JDK, will generate the byte-wise same jar files. Each release build fixes the timestamp and uses

Re: AW: AW: xloader "Can't find gzip program"

2022-02-11 Thread Andy Seaborne
root 2217 Jan 30 15:02 fuseki.service -rw-r--r-- 1 root root 2124 Jan 30 15:02 log4j2.properties drwxr-xr-x 4 root root 121 Jan 30 15:02 webapp Cheers, Joachim -Ursprüngliche Nachricht- Von: Andy Seaborne Gesendet: Freitag, 11. Februar 2022 22:30 An: users@jena.apache

Re: AW: xloader "Can't find gzip program"

2022-02-11 Thread Andy Seaborne
- Von: Andy Seaborne Gesendet: Freitag, 11. Februar 2022 21:07 An: users@jena.apache.org Betreff: Re: xloader "Can't find gzip program" Hi Joachim, https://issues.apache.org/jira/browse/JENA-2277 https://issues.apache.org/jira/browse/JENA-2279 There are two fixes for tdb2.xloade

Re: xloader "Can't find gzip program"

2022-02-11 Thread Andy Seaborne
Hi Joachim, https://issues.apache.org/jira/browse/JENA-2277 https://issues.apache.org/jira/browse/JENA-2279 There are two fixes for tdb2.xloader which are now in the development builds: https://repository.apache.org/content/groups/snapshots/org/apache/jena/ (these are not official releases a

Re: [TDB2 & Fuseki 4.4.0] Huge tdb2 database disk size when performing incremental SPARQL update to endpoint.

2022-02-11 Thread Andy Seaborne
th supported for the time being, but it is highly encouraged to move to the newer one as the old one might not receive support in the near or distant future? Best regards, Cédric -Original Message- From: Andy Seaborne Sent: Thursday, February 10, 2022 6:49 PM To: users@jena.apache.or

<    1   2   3   4   5   6   7   8   9   10   >