Dear All,

I am now looking for a method to in the SPIN API open source to
convert the SPIN RDF syntax string below to Jena Query.

@prefix ex:      <http://example.org/demo#> .
@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

[]    a       <http://spinrdf.org/sp#Select> ;
      <http://spinrdf.org/sp#resultVariables>
              (_:b1) ;
      <http://spinrdf.org/sp#where>
              ([ <http://spinrdf.org/sp#object>
                          ex:Person ;
                  <http://spinrdf.org/sp#predicate>
                          rdf:type ;
                  <http://spinrdf.org/sp#subject>
                          _:b1
                ]) .

_:b1  <http://spinrdf.org/sp#varName>
              "person"^^<http://www.w3.org/2001/XMLSchema#string> .

The online service (SPIN RDF Syntax to SPARQL Text Converter)
http://spinservices.org/spinrdfconverter.html provides the desired
function. But which method (in the SPIN API open source) should I use
to create a Query object with the String text stated above? (e.g. a
counterpart of ARQFactory.get().createQuery() to create Query based on
SPIN syntax)

Thanks in advance!

Hong

-- 
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary 
Network (EVN), 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

Reply via email to