Hi Barry, Kind of odd that PREFIX rdfs:<http://www.w3.org/2000/01/rdf-schema#> PREFIX up:<http://purl.uniprot.org/core/> SELECT REDUCED ?protein WHERE { ?protein a up:Protein ; up:reviewed true ; rdfs:seeAlso ?link . } Does work.
Reduced and Distinct both exist in the sesame algebra as UnaryTupleOperator at least in the 2.7 branch. Regards, Jerven On Apr 5, 2013, at 1:54 PM, Barry Bishop wrote: > Hi Jerven, > > This is simply because REDUCED is not yet supported. > > To be honest, I wasn't aware of this operator until your email, but I see > that it has been around for a long time. > > Now that SPARQL 1.1 has reached recommendation status, I expect there will be > a push to get Sesame/OWLIM in synch. > > Thanks for the observation, > barry > > On 04/05/2013 12:58 PM, Jerven Bolleman wrote: >> Dear OWLIM developers, >> >> PREFIX rdfs:<http://www.w3.org/2000/01/rdf-schema#> >> PREFIX up:<http://purl.uniprot.org/core/> >> SELECT (count(DISTINCT(?protein)) as ?count) WHERE { >> ?protein a up:Protein ; >> up:reviewed true ; >> rdfs:seeAlso ?link . >> } >> Is allowed >> PREFIX rdfs:<http://www.w3.org/2000/01/rdf-schema#> >> PREFIX up:<http://purl.uniprot.org/core/> >> SELECT (count(REDUCED(?protein)) as ?count) WHERE { >> ?protein a up:Protein ; >> up:reviewed true ; >> rdfs:seeAlso ?link . >> } >> throws a malformed query exception. >> How come this the case? >> >> Regards, >> Jerven >> ------------------------------------------------------------------- >> Jerven Bolleman jerven.bolle...@isb-sib.ch >> SIB Swiss Institute of Bioinformatics Tel: +41 (0)22 379 58 85 >> CMU, rue Michel Servet 1 Fax: +41 (0)22 379 58 58 >> 1211 Geneve 4, >> Switzerland www.isb-sib.ch - www.uniprot.org >> Follow us at https://twitter.com/#!/uniprot >> ------------------------------------------------------------------- >> >> _______________________________________________ >> Owlim-discussion mailing list >> Owlim-discussion@ontotext.com >> http://ontomail.semdata.org/cgi-bin/mailman/listinfo/owlim-discussion > ------------------------------------------------------------------- Jerven Bolleman jerven.bolle...@isb-sib.ch SIB Swiss Institute of Bioinformatics Tel: +41 (0)22 379 58 85 CMU, rue Michel Servet 1 Fax: +41 (0)22 379 58 58 1211 Geneve 4, Switzerland www.isb-sib.ch - www.uniprot.org Follow us at https://twitter.com/#!/uniprot ------------------------------------------------------------------- _______________________________________________ Owlim-discussion mailing list Owlim-discussion@ontotext.com http://ontomail.semdata.org/cgi-bin/mailman/listinfo/owlim-discussion