Re: Ontology Imports

2017-04-02 Thread Lorenz B.
Good catch! As Adam pointed out, you're using the read() method with a wrong second argument, i.e. when you use model.read(String url, String base) the second argument is the base IRI. What you probably want is to use the read() method with three arguments having the signature

Re: [!!Mass Mail]Re: Ontology Imports

2017-04-02 Thread Donald Smith
Thanks for helping. Let me get an example in place that demonstrates what I'm seeing. > On Apr 2, 2017, at 10:15 AM, Andy Seaborne wrote: > > > >> On 31/03/17 23:53, Martynas Jusevičius wrote: >> Some of the code (at least OntDocumentManager) is still using >> FileManager I

Re: Ontology Imports

2017-04-02 Thread Andy Seaborne
On 31/03/17 23:53, Martynas Jusevičius wrote: Some of the code (at least OntDocumentManager) is still using FileManager I believe. It does go through to RIOT - org.apache.jena.riot.lang.LangRDFXML.parse is on the stacktrace. But "http://example.com/ExampleOntology.owl; is an HTML page

Re: Fuseki prefixes

2017-04-02 Thread Andy Seaborne
Hi Chris, Your right. Apparently, I don't know how to call grep correctly! Andy On 02/04/17 14:58, Chris Tomlinson wrote: Andy, In at least one configuration qonsole-config.js is loaded. We’re using fuseki.war from apache-jena-fuseki-2.5.0.tar.gz in Tomcat 8 and we update the

Re: Ontology Imports

2017-04-02 Thread A. Soroka
I cannot find a method read(InputStream stream, String Lang) on Model (from which OntModel inherits its "read" methods). Are you by chance using read(InputStream in, String base), which is a very different semantic? --- A. Soroka The University of Virginia Library > On Mar 31, 2017, at 2:38

Re: Fuseki prefixes

2017-04-02 Thread Chris Tomlinson
Andy, In at least one configuration qonsole-config.js is loaded. We’re using fuseki.war from apache-jena-fuseki-2.5.0.tar.gz in Tomcat 8 and we update the qoncole-config.js in tomcat/webapps/fuseki/js/app/ with the various prefixes used in our application. In this configuration it is loaded in

Re: persistent inference on named graphs in Fuseki

2017-04-02 Thread A. Soroka
Datasets are covered very nicely in the RDF core recommendations: https://www.w3.org/TR/rdf11-concepts/#section-dataset --- A. Soroka The University of Virginia Library > On Apr 2, 2017, at 5:38 AM, Dave Reynolds wrote: > > On 02/04/17 10:25, Laura Morales wrote:

Re: Fuseki prefixes

2017-04-02 Thread Claude Warren
Sorry for the confusion, yes it is in the UI that I want to add the prefixes. we = my development team + customer. Customer adds data to a graph, enhancing data produced by the application. They can specify any namespace they wish for the enhancing data. I want to collect those namespaces (for

Re: Config file for standalone Fuseki server

2017-04-02 Thread Andy Seaborne
On 02/04/17 09:26, Laura Morales wrote: My question is: how do I specify the "--port" and "--localhost" parameters in the config file? That isn't possible. Port and locking to the localhost interface are aspects of the jetty server and that starts up before the Fuseki servlets/webapp

Re: How to load RDF dump

2017-04-02 Thread Andy Seaborne
On 02/04/17 02:50, Stian Soiland-Reyes wrote: You can either use jena distribution's tdbloader script into the folder "db" (but stop fuseki first), or if the nt file is small enough (e.g. 50 MB) then you can also upload it in the browser interface (but make sure you run fuseki 2 for this).

Re: Fuseki prefixes

2017-04-02 Thread Andy Seaborne
Claude, Do you mean prefixes in the UI? At one point you seem to be talking about sending the query by API. On 01/04/17 12:20, Claude Warren wrote: I see that the qonsole-config.js where the prefixes for the queries is defined. Is qonsole-config.js evenloaded? It comes from qonsole which

Re: persistent inference on named graphs in Fuseki

2017-04-02 Thread Dave Reynolds
On 02/04/17 10:25, Laura Morales wrote: - 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

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
On 02/04/17 09:31, Laura Morales wrote: 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

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-aware. Thank you

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 for your clarifying answer! I

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

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 no support for

Config file for standalone Fuseki server

2017-04-02 Thread Laura Morales
So far I've always started Fuseki like this $ ./fuseki-server --loc=db --port --localhost --timeout=1 /db but I'm trying to setup a config file such that I no longer have to type in all those arguments. This is my config so far:   @prefix fuseki:  .

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
[Sorry to be slow to respond, I was hoping someone who understands assemblers might take this.] On 31/03/17 08:10, Élie Roux wrote: 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