Hi, Scott!
OFYI: the SPIN Tutorial was not updated and till now says to use 
"spif:duration" function.

BTW, an excellent tutorial!
-- Denis

Em domingo, 20 de julho de 2014 17:56:50 UTC-3, Scott Henninger escreveu:
>
>  Monica; Try smf:duration() instead.  We will get the tutorial updated, 
> and in the meantime see TopBraid Composer Help > Reference > SPARQL 
> Functions Reference for a list of SPARQL functions supported by TopBraid.
>
> -- Scott
>
> On 7/20/2014, 11:02 AM, Monika Solanki wrote:
>  
> I am following the SPIN Getting started tutorial on TBC ME. I am trying to 
> add this constraint
>
> # an invoice with no paidDate is > 90 days old
> ASK WHERE {
>     ?this :invoiceDate ?invoiceDate .
>     OPTIONAL {
>         ?this purchases:paidDate ?paidDate .
>     } .
>     FILTER ((!bound(?paidDate)) && (spif:duration("d", ?invoiceDate, 
> afn:now()) > 90)) .
> }
>
> I get the warning below, though I have imported spinf.ttl
>
> WARN [Thread-78] (E_Function.java:89) - URI 
> <http://spinrdf.org/spif#duration> <http://spinrdf.org/spif#duration> has 
> no registered function factory
>
> What am I missing?
>
> Thanks,
>
> Monika
>
>
>  -- 
> -- 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 
> Insight, SPARQLMotion, SPARQL Web Pages and SPIN.
> To post to this group, send email to
> [email protected] <javascript:>
> To unsubscribe from this group, send email to
> [email protected] <javascript:>
> For more options, visit this group at
> http://groups.google.com/group/topbraid-users?hl=en
> --- 
> 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] <javascript:>.
> 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