ontolog-forum
[Top] [All Lists]

Re: [ontolog-forum] Data, Silos, Interoperability, and Agility

To: ontolog-forum@xxxxxxxxxxxxxxxx
From: Kingsley Idehen <kidehen@xxxxxxxxxxxxxx>
Date: Tue, 24 Sep 2013 09:25:35 -0400
Message-id: <524192CF.3070706@xxxxxxxxxxxxxx>
On 9/24/13 8:51 AM, Kingsley Idehen wrote:
>
> A very basic query example:
>
> -- SPASQL Demo
> -- Looking up an Email Address using SPARQL Query like a SQL View en 
> route to
> -- A resultset modified (conditionally) using CASE WHEN
>
> SELECT T.email, CASE WHEN
>                 CAST(T.email AS VARCHAR) = 
> 'mailto:kidehen@xxxxxxxxxxxxxx'
>                 THEN 'Y'
>                 ELSE 'N'
>           END AS X
> FROM (SPARQL
>       SELECT DISTINCT ?email
>       WHERE {  ?s
>                     a <http://xmlns.com/foaf/0.1/Person>;
> <http://xmlns.com/foaf/0.1/mbox> ?email .
>              }
>      LIMIT 50) AS T     (01)

I forgot to add a live permalink for query above:    (02)

[1] http://bit.ly/1akUgVk -- live query showcasing combined use of SQL 
and SPARQL .    (03)

--     (04)

Regards,    (05)

Kingsley Idehen 
Founder & CEO
OpenLink Software
Company Web: http://www.openlinksw.com
Personal Weblog: http://www.openlinksw.com/blog/~kidehen
Twitter/Identi.ca handle: @kidehen
Google+ Profile: https://plus.google.com/112399767740508618350/about
LinkedIn Profile: http://www.linkedin.com/in/kidehen    (06)

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


_________________________________________________________________
Message Archives: http://ontolog.cim3.net/forum/ontolog-forum/  
Config Subscr: http://ontolog.cim3.net/mailman/listinfo/ontolog-forum/  
Unsubscribe: mailto:ontolog-forum-leave@xxxxxxxxxxxxxxxx
Shared Files: http://ontolog.cim3.net/file/
Community Wiki: http://ontolog.cim3.net/wiki/ 
To join: http://ontolog.cim3.net/cgi-bin/wiki.pl?WikiHomePage#nid1J    (01)

<Prev in Thread] Current Thread [Next in Thread>