The rule needs to be defined against the class in the WHERE that has instances, 
the ss:Cell class.

Cheers,
David

UK +44 7788 561308
US +1 336 283 0606




On 16 Sep 2013, at 13:53, Derek S wrote:

> I have created a spin:rule to make inference from an imported spreadsheet.
> 
> CONSTRUCT {
>     ?broaderConcept a skos:Concept .
>     ?narrowerConcept a skos:Concept .
>     ?broaderConcept skos:narrower ?narrowerConcept .
>     ?broaderConcept rdfs:label ?firstThing .
>     ?narrowerConcept rdfs:label ?secondThing .
> }
> WHERE {
>     {
>         ?cellp a ss:Cell .
>         ?cellp ss:cellContents ?firstThing .
>         ?cellp ss:column 0 .
>         ?cellc a ss:Cell .
>         ?cellc ss:cellContents ?secondThing .
>         ?cellc ss:column 1 .
>     } .
>     BIND 
> (smf:buildURI("<http://data.syngenta.com/RD/DataEntities#{?firstThing}>", 
> ?firstThing) AS ?broaderConcept) .
>     BIND 
> (smf:buildURI("<http://data.syngenta.com/RD/DataEntities#{?secondThing}>", 
> ?secondThing) AS ?narrowerConcept) .
> }
> 
> when I test this from the SPARQL query tab in TBC I get the results - however 
> when adding this as a rule on the Concept class and then running Inference> 
> Run Inferences - I don't get any inferred triples back.
> 
> I have inferencing configured as input:asserted 
> triples>TopSPIN>output:inferred triples
> 
> Derek
> 
> 
> 
> -- 
> -- 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]
> 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
> --- 
> 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/groups/opt_out.

-- 
-- 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]
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
--- 
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/groups/opt_out.

Reply via email to