Re: Documentation/tutorial on using dates in Jena rules with GenericRuleReasoner

2019-06-03 Thread Dave Reynolds
rs@jena.apache.org Subject: Re: Documentation/tutorial on using dates in Jena rules with GenericRuleReasoner Hi Pierre, I'm afraid I've lost track of what you are tying to do. Originally it seemed to be a problem running comparisons on date time values but Lorenz has already answered

RE: Documentation/tutorial on using dates in Jena rules with GenericRuleReasoner

2019-06-03 Thread Pierre Grenon
ED RECIPIENT (OR HAVE RECEIVED THIS E-MAIL > IN ERROR) PLEASE NOTIFY THE SENDER IMMEDIATELY AND DESTROY THIS > E-MAIL. ANY UNAUTHORISED COPYING, DISCLOSURE OR DISTRIBUTION OF THE > MATERIAL IN THIS E-MAIL IS STRICTLY FORBIDDEN. > > IN ACCORDANCE WITH MIFID II RULES ON INDUCEMENTS,

RE: Documentation/tutorial on using dates in Jena rules with GenericRuleReasoner

2019-06-03 Thread Pierre Grenon
P IS AUTHORISED AND REGULATED BY THE FINANCIAL CONDUCT AUTHORITY. From: Dave Reynolds [mailto:dave.e.reyno...@gmail.com] Sent: 03 June 2019 11:17 To: users@jena.apache.org Subject: Re: Documentation/tutorial on using dates in Jena rules with GenericRuleReasoner Hi Pierre, I'm afraid I've lo

Re: Documentation/tutorial on using dates in Jena rules with GenericRuleReasoner

2019-06-03 Thread Dave Reynolds
nybody is a taker to hold me by the hand and use this thread to come up with a complete cycle for making a new built in and adding it to my fuseki? If somebody has the time to do this---and I’m happy that it takes what it takes, I can’t on my end make it a high priority--, we could reuse the thread for

RE: Documentation/tutorial on using dates in Jena rules with GenericRuleReasoner

2019-06-02 Thread Pierre Grenon
IN RECEIPT OF INSIDE INFORMATION (AS DESCRIBED IN ARTICLE 7 OF THE MARKET ABUSE REGULATION (EU) NO 596/2014). (https://www.handbook.fca.org.uk/handbook/glossary/G3532m.html) COMPANIES WHO DISCLOSE INSIDE INFORMATION ARE IN BREACH OF REGULATION AND MUST IMMEDIATELY AND CLEARLY NOTIFY ALL ATTENDEES.

RE: Documentation/tutorial on using dates in Jena rules with GenericRuleReasoner

2019-05-23 Thread Pierre Grenon
tdb2:DatasetTDB2 ; tdb2:location "C:\\dev\\apache-jena-fuseki-3.10.0\\run/databases/Conference1" ; tdb2:unionDefaultGraph true. ### END CONFIG 2: Conference_GRR_RDFS.ttl ### > -Original Message- > From: Pierre Grenon > Sent: 23

RE: Documentation/tutorial on using dates in Jena rules with GenericRuleReasoner

2019-05-22 Thread Pierre Grenon
00:00\"^^xsd:dateTime ."; ||    m.read(new StringReader(s), null, "Turtle");|| || ||    String rule =|| ||        " [ruleMissedDeadline2: (?conference <http://test.org/hasDeadline> ?date) now(?now) greaterThan(?now, ?date) " +|| ||    &q

RE: Documentation/tutorial on using dates in Jena rules with GenericRuleReasoner

2019-05-22 Thread Pierre Grenon
orizon-asset.co.uk/market-soundings/. HORIZON ASSET LLP IS AUTHORISED AND REGULATED BY THE FINANCIAL CONDUCT AUTHORITY. From: Dave Reynolds [mailto:dave.e.reyno...@gmail.com] Sent: 17 May 2019 09:01 To: users@jena.apache.org Subject: Re: Documentation/tutorial on using dates in Jena rules with

RE: Documentation/tutorial on using dates in Jena rules with GenericRuleReasoner

2019-05-22 Thread Pierre Grenon
List rules = Rule.parseRules(rule);|| ||Reasoner reasoner = new GenericRuleReasoner(rules);|| ||Model infModel = ModelFactory.createInfModel(reasoner, m);|| ||infModel.write(System.out, "N-Triples");| > Give a shout. > > Thanks, > Pierre > > From:

Re: Documentation/tutorial on using dates in Jena rules with GenericRuleReasoner

2019-05-18 Thread Lorenz B.
iples");| > Give a shout. > > Thanks, > Pierre > > From: Lorenz B. [mailto:buehm...@informatik.uni-leipzig.de] > Sent: 17 May 2019 07:24 > To: users@jena.apache.org > Subject: Re: Documentation/tutorial on using dates in Jena rules with > GenericRuleReasoner

Re: Documentation/tutorial on using dates in Jena rules with GenericRuleReasoner

2019-05-17 Thread Dave Reynolds
a dataset and config file as well. Again, anybody willing to hold my hand? Give a shout. Thanks, Pierre From: Lorenz B. [mailto:buehm...@informatik.uni-leipzig.de] Sent: 17 May 2019 07:24 To: users@jena.apache.org Subject: Re: Documentation/tutorial on using dates in Jena rules with GenericRuleReasone

RE: Documentation/tutorial on using dates in Jena rules with GenericRuleReasoner

2019-05-17 Thread Pierre Grenon
Subject: Re: Documentation/tutorial on using dates in Jena rules with GenericRuleReasoner Hi, > Hi Lorenz, > > Thank you for your answer. > > Quick follow up. > > I think the issue for me is the documentation of the built-ins is too > abstract or relies on understanding the s

Re: Documentation/tutorial on using dates in Jena rules with GenericRuleReasoner

2019-05-16 Thread Lorenz B.
o combine it with Fuseki. And in the end, yes, you have to repackage Fuseki I think as long as you modify the existing BuiltinRegistry. Maybe there is also some other kind of plugin system here, but that can only be answered by Andy, Dave, Adam, etc. [1] https://issues.apache.org/jira/browse/JENA

RE: Documentation/tutorial on using dates in Jena rules with GenericRuleReasoner

2019-05-16 Thread Pierre Grenon
est path for me at the moment. Many thanks, Pierre From: Lorenz B. [mailto:buehm...@informatik.uni-leipzig.de] Sent: 16 May 2019 08:33 To: users@jena.apache.org Subject: Re: Documentation/tutorial on using dates in Jena rules with GenericRuleReasoner I'm not aware of any tutorial, but a

Re: Documentation/tutorial on using dates in Jena rules with GenericRuleReasoner

2019-05-16 Thread Lorenz B.
I'm not aware of any tutorial, but afaik you can't do what you did here with SPARQL in Jena rules without writing custom built-ins or by extending the existing ones because: * the "difference" built-in does only work for numbers right now [1] * there is no support for duration type at all it look

Documentation/tutorial on using dates in Jena rules with GenericRuleReasoner

2019-05-15 Thread Pierre Grenon
Hello, Could people recommend a good reference/tutorial on how to use built-ins (greaterThan, difference, now etc) with dates (e.g., datetime, duration and so on) in rules for the GenericRuleReasoner? Example: Assume a KB of conferences with their deadlines as xsd:dateTime. Here are exampl