Las; You should be able to run the SPARQL query against an endpoint
using the SERVICE keyword.  E.g.:

CONSTRUCT{
    _:b0 a spin:ConstraintViolation .
    _:b0 spin:violationRoot ?s .
    _:b0 spin:violationPath ?arg1 .
}
WHERE{
    SERVICE <service-uri>
    {  ?s ?arg1 ?value .
       FILTER (!regex(str(?value), "^[0-9]{5}$"^^xsd:string))
    }
}

If you're overwhelmed by the SPIN API, you may want to download TBC-SE/
ME/Free (http://www.topquadrant.com/products/TB_install.php) to
experiment with SPIN features before jumping headlong into the API.

-- Scott


On Jul 1, 5:45 am, Las <[email protected]> wrote:
> Hi,
>
> just started playing with SPIN 1.2, and I'm a bit overwhelmed.
>
> Basically, I've managed to load a serialized SPIN template. [1] I'd
> like to set the free template variables and run it against a SPARQL
> endpoint without loading all it's triples into memory (Jena Model).
>
> Can anybody give me some pointers how to do that?
>
> Thx,
> Las
>
> [1]http://semwebquality.org/ontologies/dq-constraints#FiveDigitNumericAll

-- 
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

Reply via email to