Holger,

Thanks - I don't think I'll get into writing plugins but I notice the AG
3.1 release notes include "Added preliminary GEO pattern support to
algebra engine. This allows for fast geospatial querying. (Documentation
coming soon)" - does this imply that some geo-spatial capabilities might
be available through AG-sparql soon?  And would they be available to run
from within Topbraid?

I'm just trying to get the full picture of what's available and what's
on the way.

Thanks,



Stewart Wallace

-----Original Message-----
From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Holger
Knublauch
Sent: Tuesday, 7 October 2008 8:04 AM
To: [email protected]
Subject: [tbc-users] Re: Getting started with functions in FILTER
statements in Topbraid SPARQL


Hi Stewart,

if you want to use additional SPARQL functions that are not part of the
TBC standard binaries, you will need to write a (small) Eclipse plugin
in Java to instruct TBC where to find those additional functions.  For
example you can write an Eclipse plugin that uses the
org.topbraid.core.pluginActivators extension point to register the new
functions with ARQ.

AllegroGraph's native features are probably available through TBC when
you run your query using the AllegroGraph items in the drop down menu of
the SPARQL view.  I say "probably" because I haven't tried those
specific extensions yet with AG.

Holger


Stewart Wallace wrote:
> Gokhan,
> 
> I realise now those functions are available.  I guess what I'm really 
> trying to clarify is whether I can do geo-spatial querying within the 
> sparql engine in Topbraid.  There seem to be a few possibilities but 
> perhaps none of them are possible:
> 
> 1. by incorporating additional ARQ extensions like Leigh Dodd's 
> mentioned below 2. through availability of AllegroGraph's geospatial 
> capabilities in Topbraid sparql 3. by being able to run the AGselect 
> query language from within Topbraid
> 
> I may have picked-up the answer to this from your 28th August webinar 
> where it is mentioned that AGselect capabilities are being considered 
> for incorporation into sparql but that isn't happening yet.
> 
> Perhaps you could just clarify for me whether any of the 3 options 
> above is possible (I get the impression they aren't) and give me some 
> idea of the likely timeframe for incorporation of select-like 
> capabilities into sparql (perhaps that's complicated by the whole 
> standards development process).
> 
> Thanks for your assistance.
> 
> 
> 
> Stewart Wallace
> 
> -----Original Message-----
> From: [email protected]
> [mailto:[EMAIL PROTECTED] On Behalf Of Gokhan 
> Soydan
> Sent: Sunday, 5 October 2008 16:15
> To: [email protected]
> Subject: [tbc-users] Re: Getting started with functions in FILTER 
> statements in Topbraid SPARQL
> 
> 
> Stewart,
> 
> You can use "pf" prefix for ARQ property functions and "fn" prefix for

> ARQ filter functions. These prefixes are implicitly defined for SPARQL

> queries in TopBraid Composer, so you can just use them in a query as 
> for example "pf:splitURI" or "fn:max" etc.
> 
> Gokhan
> 
> 
> 
> Stewart Wallace wrote:
>> Holger,
>>
>> Thanks for that. I'm still wondering whether it's possible run ARQ 
>> Extensions within the Topbraid sparql environment using the java:
>> prefix construct etc.  I'm also interested in trying Leigh Dodds 
>> geosptial extensions
>> (http://xmlarmyknife.com/blog/archives/000281.html) but I'd rather do
> so within Topbraid.  Or can SparqlMotion help with this?
>> Thanks,
>>
>>
>>
>> Stewart Wallace
>>
>> -----Original Message-----
>> From: [email protected]
>> [mailto:[EMAIL PROTECTED] On Behalf Of Holger

>> Knublauch
>> Sent: Saturday, 4 October 2008 3:08
>> To: [email protected]
>> Subject: [tbc-users] Re: Getting started with functions in FILTER 
>> statements in Topbraid SPARQL
>>
>>
>> Hi Stewart,
>>
>> regex expects a string as its first argument, but ?node will be bound

>> to resources only. So you could try
>>
>> FILTER regex(str(?node), "Node3")
>>
>> Good luck,
>> Holger
>>
>>
>> On Oct 3, 2008, at 10:01 AM, Stewart Wallace wrote:
>>
>>   
>>> I'm wondering if someone can just help get started here - I'm not 
>>> really a java programmer but I'm trying to uses functions within 
>>> sparql queries in Topbraid but I can't even get a regex expression 
>>> to
> 
>>> have any affect in something trivial like the following (which I've 
>>> checked at spargl.org and it works there - returns Node3 from a very

>>> small set of rdf):
>>>
>>> SELECT ?node
>>> WHERE
>>> {   ?node rdf:type :Intersection.
>>> FILTER regex(?node, "Node3")
>>> }
>>>
>>> I'm using Topbraid Standard 2.5.1 - do I need Maestro?  Is there a 
>>> package or library I need to import first?  Is there an additonal 
>>> PREFIX statement required?
>>>
>>> I'm really interested in trying some other ARQ extensions that have 
>>> been developed (e.g. geo-related) but can't get to first base at 
>>> this
> 
>>> stage!
>>>
>>> Thanks if someone can assist.
>>>
>>>
>>>
>>> Stewart Wallace
>>>
>>>
>>>     
>>
>>
>>
>>
>> _____________________________________________________________________
>> _ _________________________ This email and any files transmitted with

>> it
> 
>> are intended solely for the use of the addressee(s) and may contain 
>> information that is confidential or subject to legal privilege. If 
>> you
> 
>> receive this email and you are not the addressee (or responsible for 
>> delivery of the email to the addressee), please note that any 
>> copying,
> 
>> distribution or use of this email is prohibited and as such, please 
>> disregard the contents of the email, delete the email and notify the
> sender immediately.
>> _____________________________________________________________________
>> _
>> _________________________
>>
>>
>>   
> 
> 
> 
> 
> 
> ______________________________________________________________________
> _________________________ This email and any files transmitted with it

> are intended solely for the use of the addressee(s) and may contain 
> information that is confidential or subject to legal privilege. If you

> receive this email and you are not the addressee (or responsible for 
> delivery of the email to the addressee), please note that any copying,

> distribution or use of this email is prohibited and as such, please 
> disregard the contents of the email, delete the email and notify the
sender immediately.
> ______________________________________________________________________
> _________________________
> 
> 
> > 




_______________________________________________________________________________________________
This email and any files transmitted with it are intended solely for the use of 
the addressee(s)
and may contain information that is confidential or subject to legal privilege. 
If you receive this
email and you are not the addressee (or responsible for delivery of the email 
to the
addressee), please note that any copying, distribution or use of this email is 
prohibited
and as such, please disregard the contents of the email, delete the email and 
notify the sender
immediately.
_______________________________________________________________________________________________


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TopBraid Composer Users" group.
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-composer-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to