On Jun 3, 2010, at 2:21 AM, Rita Marnau wrote: > Hi everyone, > > for my thesis I compare different technologies to realize constraint checking > for ontologies. > I am currently interested between the difference between SPARQL and > SWRL/SQWRL. > In the FAQ (http://spinrdf.org/faq.html) it is said that " SPIN is more > expressive than SWRL, because SPARQL has various features such as UNIONs and > FILTER expressions" > > In the Protege Mailinglist, the opposite is affirmed. > (https://mailman.stanford.edu/pipermail/protege-owl/2009-September/012148.html) > "SPARQL can be used to query OWL ontologies if they are serialized as RDF > triples but has no understanding of the semantics associated with those > triples." > Martin O'Connor gives an example that can be expressed in SQWRL but not in > SPARQL.
Hi Rita, in addition to the details provided by Irene and Scott, you may want to ask the Protege people again, pointing to our responses if needed. The false statement that SPARQL cannot be used with OWL semantics is being repeated again and again, and is often stated to defend the need for SWRL. SWRL is really unnecessary nowadays, and will hopefully disappear over time. SPARQL is a W3C standard syntax that is more expressive and better supported by native RDF stores. Also note that SPARQL 1.1 will contain property path expressions such as rdfs:subClassOf* that will allow you to directly simulate many aspects of OWL reasoning, even without stacking SPARQL on top of an OWL inference engine. Finally, a huge advantage of SPIN is that it supports user-defined SPARQL functions and magic properties, that greatly extend the expressivity of SPIN over normal SPARQL, including recursive rules. Regards, Holger -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include TopBraid Composer, TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/topbraid-users?hl=en
