RE: parsing and matching triples

2018-05-15 Thread Nouwt, B. (Barry)
16:58 To: users@jena.apache.org Subject: Re: parsing and matching triples I will add this (for the next release). On 14/05/18 17:49, Andy Seaborne wrote: > Hi Barry, > > Sorry, no, there isn't. > > SSE started out for is for SPARQL and SPARQL does not have ANY, it has > n

Re: parsing and matching triples

2018-05-15 Thread Andy Seaborne
t:pred ANY)”); Regards, Barry Verzonden vanaf mijn Windows 10-telefoon Van: Andy Seaborne<mailto:a...@apache.org> Verzonden: maandag 14 mei 2018 13:33 Aan: Nouwt, B. (Barry)<mailto:barry.no...@tno.nl> Onderwerp: Re: parsing and matching triples Barry - could you send questions to the lis

Re: parsing and matching triples

2018-05-14 Thread Andy Seaborne
e<mailto:a...@apache.org> Verzonden: maandag 14 mei 2018 13:33 Aan: Nouwt, B. (Barry)<mailto:barry.no...@tno.nl> Onderwerp: Re: parsing and matching triples Barry - could you send questions to the list please? Thanks Andy On 14/05/18 06:50, Nouwt, B. (Barry) wrote: Hi Andy, Regardi

Re: parsing and matching triples

2018-05-08 Thread Andy Seaborne
Barry, As a general concept "matching" happens at different levels. Triple.match corresponds to the matching done by Graph.find - RDF terms (URI, bnode, literal) match exactly, and Node.ANY is a wildcard. Triple t1 = Triple.ANY; Triple t2 = SSE.parseTriple("(:s :p :o)"); t1.matches(t2) ->