Re: Need help getting Jena rule to work

2015-12-09 Thread Chris Snyder
I was finally able to get my rule to work. I’m not sure this is the best way to do it though as it seems very clunky. It appears that the reasoner is applied only at the time of the ontModel creation. Since i was updating the reasoner rules after the ontModel was created the model and its infer

Re: How can I implement custom datasources for mappings (e.g. to word or excel files)?

2015-12-09 Thread Benedikt Tröster
Ok, so far: thanks a lot everyone for your kind help and inputs :) I hope I'll be able to use some of that. Maybe I will send you an E-Mail if I have further questions. If someone else has other opinions/inputs: I'm still open for information :) Thanks a lot so far! I really appreciate taking your

Getting all classes and properties from DAML-based ontology

2015-12-09 Thread M. Arif Wicaksana
Hi all, I have a project to use GEDCOM ontology ( http://www.daml.org/2001/01/gedcom/gedcom), enrich it with additional classes and properties, and do some inferences against an RDF file based on the enriched GEDCOM ontology. Currently, I want to print all classes and properties from that ontolog

Need help getting Jena rule to work

2015-12-09 Thread Chris Snyder
Hello, I could use some input on getting my first Jena rule working. I have a simple test ontology here: http://mind-tap.net/kbswt/ruletest.ttl I apply this rule: @prefix : . [ chris1: (?s :isOutput ?p) -> (?s :meOutput ?p) ] And I run this SPARQL query P

Re: Jena reasoner questions

2015-12-09 Thread Rodrigo Antonialli
Hi Lorenz, I didn't know about this API... thanks for sharing! I'll try it later =) regards, Rodrigo C. Antonialli == Rio Claro - SP - Brasil LinkedIn: http://www.linkedin.com/in/rcantonialli Contato: rcantonia...@gmail.com Skype: rc_antonialli

Re: jena-arq: FROM / FROM NAMED clauses of SPARQL queries over in-memory Dataset are ignored

2015-12-09 Thread Andy Seaborne
On 09/12/15 10:38, Claus Stadler wrote: Hi, It appears that the FROM / FROM NAMED clauses of SPARQL queries are ignored when executed over a Dataset. For the general dataset, supplying the dataset directly to QueryExecutionFactory overrides any query dataset description. In the example bel

Re: Jena reasoner questions

2015-12-09 Thread Lorenz Bühmann
Hello Rodrigo, the explanations in Protege are computed by using the API from Matthew Horridge, which is pretty easy to use and implements his brilliant PhD thesis. The project is located here: https://github.com/matthewhorridge/owlexplanation Kind regards, Lorenz Hi Nicolas, Don't forg

jena-arq: FROM / FROM NAMED clauses of SPARQL queries over in-memory Dataset are ignored

2015-12-09 Thread Claus Stadler
Hi, It appears that the FROM / FROM NAMED clauses of SPARQL queries are ignored when executed over a Dataset. In the example below, I would expect the first result set to yield the content of the file, whereas I expect the second one to be empty as the specified named graph does not exist, yet