Hi. I am getting the following error when performing inferencing:

 WARN [Thread-25] (E_Function.java:89) - URI 
<http://INSERT-PATH-HERE/data#dailyWITIcalc> has no registered function 
factory

The function data:dailyWITIcalc is SPIN function that I created. Presumably 
it is not properly defined. How do I go about debugging this error?

I am using TBC-SE v.4.5.0 on a Mac.

Thanks, Rich

PS: The function definition is below.

data:dailyWITIcalc  a    owl:Class ;
        rdfs:label       "dailyWITIcalc"^^xsd:string ;
        rdfs:subClassOf  spin:Functions ;
        spin:body        [ a                   sp:Select ;
                           sp:resultVariables  ( [ sp:expression  [ 
a              sp:Sum ;
                                                                    
sp:expression  [ sp:varName  "hourlyWITI"^^xsd:string ]
                                                                  ] ;
                                                   sp:varName     
"dailyWITI"^^xsd:string
                                                 ] ) ;
                           sp:where            ( [ sp:object     
data:ASPMhourlyARecord ;
                                                   sp:predicate  rdf:type ;
                                                   sp:subject    [ 
sp:varName  "hourlyData"^^xsd:string ]
                                                 ] [ sp:object     [ 
sp:varName  "nasday"^^xsd:string ] ;
                                                     sp:predicate  
data:reportingNday ;
                                                     sp:subject    
spin:_arg1
                                                   ] [ sp:object     
spin:_arg1 ;
                                                       sp:predicate  
data:hasWITIdata ;
                                                       sp:subject    [ 
sp:varName  "air"^^xsd:string ]
                                                     ] [ sp:object     [ 
sp:varName  "hourlyData"^^xsd:string ] ;
                                                         sp:predicate  
data:hasASPMhourlyData ;
                                                         sp:subject    [ 
sp:varName  "air"^^xsd:string ]
                                                       ] [ sp:object     [ 
sp:varName  "nasday"^^xsd:string ] ;
                                                           sp:predicate  
data:reportingNday ;
                                                           sp:subject    [ 
sp:varName  "hourlyData"^^xsd:string ]
                                                         ] [ sp:object     
[ sp:varName  "hourlyWITI"^^xsd:string ] ;
                                                             sp:predicate  
spin:_arg2 ;
                                                             sp:subject    
[ sp:varName  "hourlyData"^^xsd:string ]
                                                           ] )
                         ] ;
        spin:constraint  [ a              spl:Argument ;
                           spl:predicate  sp:arg1
                         ] ;
        spin:constraint  [ a              spl:Argument ;
                           spl:predicate  sp:arg2
                         ] .


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