- From: Etienne Morency <etienne.morency@gmail.com>
- Date: Tue, 3 Nov 2009 16:48:58 -0500
- To: OWL Dev <public-owl-dev@w3.org>
- Message-ID: <16a7e8ec0911031348x624b40base42ae4487c4b24ca@mail.gmail.com>
Hi everyone, We are using sequences in our project and we are having difficulties finding a way to query our ontology to get all items of a sequence using SPARQL. The sequence in our ontology looks like this : <rdf:Seq rdf:about="http://www.url.com/someonto.owl#1317<http://www.datashaper.org/owl/2009/10/generic.owl#GENERIC_1317> "/> <rdf:Seq rdf:about="http://www.url.com/someonto.owl#1317<http://www.datashaper.org/owl/2009/10/generic.owl#GENERIC_1317> "/> <rdf:_1 rdf:resource="http://www.url.com/someonto.owl#<http://www.datashaper.org/owl/2009/10/generic.owl#GENERIC_1317> 314 <http://www.datashaper.org/owl/2009/10/generic.owl#GENERIC_314>"/> </rdf:Description> <rdf:Seq rdf:about="http://www.url.com/someonto.owl#1317<http://www.datashaper.org/owl/2009/10/generic.owl#GENERIC_1317> "/> <rdf:_2 rdf:resource="http://www.url.com/someonto.owl#<http://www.datashaper.org/owl/2009/10/generic.owl#GENERIC_1317> 194 <http://www.datashaper.org/owl/2009/10/generic.owl#GENERIC_194>"/> </rdf:Description> <rdf:Seq rdf:about="http://www.url.com/someonto.owl#1317<http://www.datashaper.org/owl/2009/10/generic.owl#GENERIC_1317> "/> <rdf:_3 rdf:resource="http://www.url.com/someonto.owl#<http://www.datashaper.org/owl/2009/10/generic.owl#GENERIC_1317> GENERIC_113 <http://www.datashaper.org/owl/2009/10/generic.owl#GENERIC_113> "/> </rdf:Description> We are able to find the sequence "http://www.url.com/someonto.owl#1317<http://www.datashaper.org/owl/2009/10/generic.owl#GENERIC_1317>" with the following query : SELECT ?sequence WHERE { ?sequence <" + RDF.TYPE + "> <" + RDF.SEQ + "> } But is there a way to have a query that will return the items _1, _2 and _3 directly ? Thank you, Etienne Morency-Bachand
Received on Wednesday, 4 November 2009 23:55:08 UTC