Thanks Holger!  I was thinking it was some sort of configuration issue.

It is working just fine now.


On Sun, Nov 18, 2012 at 6:47 PM, Holger Knublauch <[email protected]>wrote:

>  Hi Tim,
>
> your rule depends on system triples, esp owl:InverseFunctionalProperty
> rdfs:subClassOf owl:ObjectProperty. While TBC will automatically include
> those system triples into the queries executed by the SPARQL View, the SPIN
> engine does not do this by default. Therefore: In the SPIN inference
> configuration screen, activate the box RDF/OWL in the upper right area, to
> also start with system triples.
>
> HTH
> Holger
>
>
>
> On 11/18/2012 1:02, Tim Smith wrote:
>
> One other piece of data, there are no values for the isLiteral property
> prior to running inferences thus the inference engine is adding both a true
> and false triple whereas executing the same query in the SPARQL view only
> results in one triple being created.
>
>
> On Sat, Nov 17, 2012 at 12:47 AM, Tim Smith <[email protected]> wrote:
>
>> The screenshot did not work, I forgot about that.  It's now attached.
>>
>>
>>  On Sat, Nov 17, 2012 at 12:31 AM, Tim Smith <[email protected]>wrote:
>>
>>> Hi Holger,
>>>
>>> Thanks for the help.
>>>
>>> I changed the SPIN rule to the following:
>>>
>>> DELETE {
>>>     ?this st:isLiteral ?old .
>>> }
>>> INSERT {
>>>     ?this st:isLiteral ?new .
>>> }
>>> WHERE {
>>>     ?this st:predicate ?pred .
>>>     ?pred a ?ptype .
>>>     OPTIONAL {
>>>         ?this st:isLiteral ?old .
>>>     } .
>>>     BIND ((!spl:subClassOf(?ptype, owl:ObjectProperty)) AS ?new) .
>>> }
>>>
>>> There was no change in behavior.
>>>
>>
>>
>>
>>
>>> On Sat, Nov 17, 2012 at 12:23 AM, Holger Knublauch <
>>> [email protected]> wrote:
>>>
>>>>  On 11/17/2012 15:20, Tim Smith wrote:
>>>>
>>>>>  DELETE {
>>>>>     ?this st:isLiteral ?old .
>>>>> }
>>>>> INSERT {
>>>>>     ?this st:isLiteral ?new .
>>>>> }
>>>>> WHERE {
>>>>>     ?this st:predicate ?pred .
>>>>>     ?pred a ?ptype .
>>>>>      BIND (!spl:subClassOf(?ptype, owl:ObjectProperty) AS ?new) .
>>>>> }
>>>>>
>>>>
>>>>  ?old is not bound - you need to get its value in the WHERE clause,
>>>> e.g.
>>>>
>>>>  OPTIONAL {
>>>>
>>>>     ?this st:isLiteral ?old .
>>>> }
>>>>
>>>>   HTH
>>>> Holger
>>>>
>>>> --
>>>> -- 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 Ensemble, 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
> Group "TopBraid Suite Users", the topics of which include Enterprise
> Vocabulary Network (EVN), TopBraid Composer, TopBraid Live,
> TopBraid Ensemble, 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
> Group "TopBraid Suite Users", the topics of which include Enterprise
> Vocabulary Network (EVN), TopBraid Composer, TopBraid Live,
> TopBraid Ensemble, 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
Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary 
Network (EVN), TopBraid Composer, TopBraid Live,
TopBraid Ensemble, 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


Reply via email to