On 1/7/2015 2:30 PM, David Price wrote:
Yep - that’s defining the prefix. However, using a prefix
(e.g. FILTER <bif:st_intersects>) is where angle
brackets should not be used.
Yes that's correct - the prefix defines a resource (node) already.
I.e. given the above prefix definition, the following are the same
URI:
bif:st_intersects
<http://www.openlinksw.com/schemas/bif#st_intersects>
...however, the original statement was "the rule I execute is
working under TBC Sparql tab". Now that David points this out, I'm
not sure how that is possible (?) The "no registered function
factory" warning should occur and not results will be found.
-- 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
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 .
} .
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.
--
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.
|