David, Antonino;  The prefix syntax is correct as defined, i.e.
  PREFIX bif: <http://www.openlinksw.com/schemas/bif#>

-- Scott

On 1/7/2015 2:06 PM, David Price wrote:
Only use angle brackets for full URIs, not when using prefixes.

Cheers,
David

UK +44 7788 561308
US +1 336 283 0606




On 7 Jan 2015, at 14:31, [email protected] wrote:

Hi all,

I'm enjoying experimenting SPIN rules as federated queries to Linked Data cloud and local Virtuoso stored datasets. The queries I'm trying to implement in SPIN are CONSTRUCT with bif: geospatial functions usage.
I have tried this in TBC FE 4.6 but I get a strange behaviour:

the rule I execute is working under TBC Sparql tab (even if raising "- URI <bif:st_point> has no registered function factory" warnings) producing the expected inference outcome. If I try to execute the same as a spin:rule attached to a class with Run Inference I get no results, also Im unable to add the row  PREFIX bif: <http://www.openlinksw.com/schemas/bif# to the rule, this is being deleted after clicking enter.

Query is like:
CONSTRUCT {
    ?this owl:sameAs ?that .
}
WHERE {
    
            ?this foaf:name ?label1 .
            ?this geo:lat ?lat1 .
            ?this geo:long ?long1 .
        SERVICE <http://194.119.214.82:8891/sparql> {
            ?that <http://any23.org/tmp-musei/Nome> ?label2 .
            ?that <http://any23.org/tmp-musei/Latitudine> ?lat2 .
            ?that <http://any23.org/tmp-musei/Longitudine> ?long2 .
        } .
        FILTER <bif:st_intersects>(<bif:st_point>(xsd:float(?lat1), xsd:float(?long1)), <bif:st_point>(xsd:float(?lat2), xsd:float(?long2)), 0.08) .
    } .
} 
 Any suggestion?

Thanks

Antonino Lo Bue
CNR-ICAR Palermo

--
You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary Network (EVN), Reference Data Manager (RDM), TopBraid Composer, TopBraid Live, TopBraid Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to [email protected]
---
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary Network (EVN), Reference Data Manager (RDM), TopBraid Composer, TopBraid Live, TopBraid Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to [email protected]
---
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary Network (EVN), Reference Data Manager (RDM), TopBraid Composer, TopBraid Live, TopBraid Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to [email protected]
---
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to