Re: [topbraid-users] Abridged summary of topbrai...@googlegroups.com - 2 updates in 1 topic

2015-01-30 Thread Jack Hodges
Sweet, works great! Thanks.

On Thursday, January 29, 2015 at 11:48:31 AM UTC-8, Jack Hodges wrote:
>
> Absolutely. In fact, I am copying the SPARQL out of the SPIN rule window 
> for the rule that I created. I am also attaching the screen grab.
>
> SELECT DISTINCT ?plabel
> WHERE {
> ?cls (rdfs:subClassOf)* act:ASActivity .
> ?cls rdfs:subClassOf ?par .
> ?par rdfs:label ?plabel .
> ?cls rdfs:label ?clabel .
> {
> FILTER fn:contains(fn:upper-case(?plabel), fn:upper-case(?arg1)) .
> }
> UNION
> {
> FILTER fn:contains(fn:upper-case(?clabel), fn:upper-case(?arg1)) .
> }
> UNION
> {
> ?cls skos:altLabel ?alabel .
> FILTER fn:contains(fn:upper-case(?alabel), fn:upper-case(?arg1)) .
> } .
> }
>
> where ?arg1 is a spin:constraint Argument sp:arg1 : xsd:string
>
> I expected that in the Variables and Arguments window I would see every 
> variable and be allowed, as I was for plabel, to associated them with 
> constraints.
>
> This is using V4.2 ME by the way.
>
> Jack
>
> On Thu, Jan 29, 2015 at 2:26 AM,  wrote:
>
>> topbraid-users@googlegroups.com 
>> 
>>   Google 
>> Groups 
>> 
>>   
>> 
>>
>>   Today's topic summary 
>>  View all topics 
>> 
>>  
>>  
>>-  Extract SPIN rule from SPARQL - arguments/parameters 
>>
>> <#CALqBbwv4OUAVcsXaxya9+YsEc0S0BQ_ZjUsO1mjwBEXNDvrBtA@mail.gmail.com_14b353a3c882fc7d_group_thread_0>
>>  
>>- 2 Updates 
>>
>>   Extract SPIN rule from SPARQL - arguments/parameters 
>> 
>>  
>>   Jack Hodges : Jan 28 05:01PM -0800 
>>
>> As a SPIN noobie I was reading the documentation on SPIN rules and noted 
>> (never knew before) that I can right-click on a functional SPARQL query 
>> and 
>> TBC will try to extract a SPIN rule from it. ...more 
>> 
>>  
>>   Holger Knublauch : Jan 29 11:06AM +1000 
>>
>> Hi Jack,
>>  
>> could you send along an example SPARQL query so that we can make this 
>> discussion precise?
>>  
>> Thanks
>> Holger
>>  
>>  
>> On 1/29/2015 11:01, Jack Hodges wrote:
>> ...more 
>> 
>>  
>>   Back to top 
>> <#CALqBbwv4OUAVcsXaxya9+YsEc0S0BQ_ZjUsO1mjwBEXNDvrBtA@mail.gmail.com_14b353a3c882fc7d_digest_top>
>>  
>>You received this digest because you're subscribed to updates for 
>> this group. You can change your settings on the group membership page 
>> 
>> .
>> To unsubscribe from this group and stop receiving emails from it send an 
>> email to topbraid-users+unsubscr...@googlegroups.com.  
>>  
>
>
>
> -- 
> Jack
>  

-- 
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 topbraid-users@googlegroups.com
--- 
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 topbraid-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [topbraid-users] Abridged summary of topbraid-users@googlegroups.com - 2 updates in 1 topic

2015-01-30 Thread Jack Hodges
Great! Thanks. I thought the instructions said to select a valid SPARQL query 
but maybe it did say only the WHERE clause. I like this feature!

Jack

Sent from my iPad

> On Jan 30, 2015, at 2:24 AM, topbraid-users@googlegroups.com wrote:
> 
> 
> topbraid-users@googlegroups.com   Google Groups  
> Today's topic summary 
> View all topics
> Abridged summary of topbraid-users@googlegroups.com - 2 updates in 1 topic - 
> 2 Updates
> Abridged summary of topbraid-users@googlegroups.com - 2 updates in 1 topic
>  
> Jack Hodges : Jan 29 11:48AM -0800 
> 
> Absolutely. In fact, I am copying the SPARQL out of the SPIN rule window
> for the rule that I created. I am also attaching the screen grab.
>  
> SELECT DISTINCT ?plabel
> WHERE {
> ?cls ...more 
> Holger Knublauch : Jan 30 08:58AM +1000 
> 
> Thanks, this clarifies it. You have selected the whole query, including 
> the SELECT statement, which means that it tries to create a nested 
> SELECT for the function. However, the SELECT only returns ...more 
> Back to top
> You received this digest because you're subscribed to updates for this group. 
> You can change your settings on the group membership page.
> To unsubscribe from this group and stop receiving emails from it send an 
> email to topbraid-users+unsubscr...@googlegroups.com.

-- 
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 topbraid-users@googlegroups.com
--- 
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 topbraid-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.