W3C home > Mailing lists > Public > public-rdfa@w3.org > September 2014

Re: RDFa and SPARQL

From: Kingsley Idehen <kidehen@openlinksw.com>
Date: Tue, 16 Sep 2014 19:34:35 -0400
Message-ID: <5418C90B.9070306@openlinksw.com>
To: public-rdfa@w3.org
On 9/16/14 6:26 PM, gig graham | ontomatica wrote:
>
> I have a 2 part RDFa question.
>
> Part 1
>
> For this site:
>
> http://ontomatica.com/public/test/3_infotext.html
>
> I am using several ontologies where terms are coded. Example:
>
> edam:data_1177
>
> iao:IAO_0000027
>
> Unlike schema.org and some other controlled vocabularies which use 
> words, e.g.
>
> foaf:Person or schema:dataset
>
> one wouldn't know that:
>
> edam:data_1177 is ' MeSH concept ID'
>
> iao:IAO_0000027 is ' data item'
>
> I can overload rel='' with multiple space separated CURIEs.
>
> But how can I write RDFa so that I can separate the CURIEs and 
> associate content='' with each?
>
> The reason why it's important is that Google Rich Snippets will parse 
> and retain the value of content=''.
>
> For example:
>
> http://www.google.com/webmasters/tools/richsnippets?q=http%3A%2F%2Fontomatica.com%2Fpublic%2Ftest%2F3_infotext.html
>
> Google sees property='' and associates content='' with the term.
>
> Here is the constraint.
>
> I need to be able to SPARQL the page.
>
> If I put rel='' and content='' into <span></span>, SPARQL will not 
> properly parse the relationships.
>
> Is there a method to write RDFa where content='' is associated with 
> multiple relationship-terms AND which can be SPARQLed?
>
> Part 2 build on Part 1.
>
> How to nest a relationship in RDFa that can be SPARQLed?
>
> For example, I would like to associate the first term ("Authority: US 
> NLM MeSH") with each term under the category " Semantic Types Ontology".
>
> But all attempts so far have failed, and I'm left with a "naked," 
> not-related assertion.
>
> When there is no requirement to SPARQL a page, the method to 
> nest/recurse the RDFa clause is straight-forward.
>
> But I have not been able to use either <span> or <div> to separate 
> relationships in a form that also can be SPARQLed.
>
> ---
>
> I am prepared for an answer that "what you have" is the best that can 
> be done; that SPARQL is not designed to process an "expressive" RDFa 
> document with multiple <div> or <span>.
>
> But if you know a better way to implement the example that also can be 
> SPARQLed, I'll use it.
>
> /g
>


See:

[1] 
http://linkeddata.uriburner.com/about/html/http/ontomatica.com/public/test/3_infotext.html 
-- basic description page that includes reified RDFa statements etc..

[2] http://linkeddata.uriburner.com/c/9FPGMTQ -- deeper Linked Data 
follow-your-nose variant of the page above

[3] http://linkeddata.uriburner.com/c/9DV36FLI -- random entity description

[4] http://linkeddata.uriburner.com/c/9B574XAN -- SPARQL DESCRIBE

[5] http://linkeddata.uriburner.com/c/9H76W5I -- SPARQL Query Definition

[6] http://linkeddata.uriburner.com/c/9C33C43X -- SPARQL  SELECT

[7] http://linkeddata.uriburner.com/c/9X6O4YS -- SPARQL SELECT Query 
Definition .

-- 
Regards,

Kingsley Idehen	
Founder & CEO
OpenLink Software
Company Web: http://www.openlinksw.com
Personal Weblog 1: http://kidehen.blogspot.com
Personal Weblog 2: http://www.openlinksw.com/blog/~kidehen
Twitter Profile: https://twitter.com/kidehen
Google+ Profile: https://plus.google.com/+KingsleyIdehen/about
LinkedIn Profile: http://www.linkedin.com/in/kidehen
Personal WebID: http://kingsley.idehen.net/dataspace/person/kidehen#this


Received on Tuesday, 16 September 2014 23:35:00 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:04:54 UTC