On 9/10/14 6:01 AM, Bernard Vatant wrote:
Hi all

Following an off-list answer to Kingsley on the G+ LOV community conversation [1]

- The current state of affair needs to follow the ov:defines predicates in the ontology description to each of its elements to get the full description of the ontology content (classes and propertie). I tried to replace those by owl:imports predicates and submit the file to Protégé, but after more than one hour it was still struggling with importing the 3480 elements from their URI, with so many queries on DBpedia servers. Cleraly not the good solution.

- So I tried otherwise, sending to the SPARQL endpoint this very basic query.

CONSTRUCT {?s ?p ?o}

WHERE {   ?s rdfs:isDefinedBy <http://dbpedia.org/ontology/>.
                  ?s ?p ?o}

This is a compact URI for this query result (in RDF/XML) http://bit.ly/1xHzpv5 which I successfully submitted to either Protégé or the LOV-Bot. So, seems to me if the ontology namespace had a conneg to such a query it would be all we need. Or, if you keep the things as they are, we will take internally in LOV such a URI to feed the LOV-Bot.

[1] https://plus.google.com/+BernardVatant/posts/jVVSVbxuDfq

Bernard,

Alternatively, we can implement the following, which basically leverages the much underutilized <http://www.w3.org/2007/05/powder-s#describedby> relation as a mechanism for incorporating an external (outside quad store) ontology terms description document into the DBpedia Ontology description:

## DBpedia Ontology Fix

# Ontology IRI: <http://dbpedia.org/ontology/>
# Named Graph IRI: <http://dbpedia.org/ontology/definitions#>
# Ontology Definitions Document URLs: <http://dbpedia.org/ontology/data/definitions.ttl>,
# <http://dbpedia.org/ontology/data/definitions.jsonld>, etc..
# URL Re-write rule:
# for all lookups requests for: <http://dbpedia.org/ontology/>
# resolve to (subject to Accept: headers), a SPARQL URL for:
# DESCRIBE <http://dbpedia.org/ontology/> FROM <http://dbpedia.org/ontology/definitions#>
#
# HTTP/WebDAV accessible Docs, generated by internal indirection of SPARQL DESCRIBE or CONSTRUCT:
#  <http://dbpedia.org/ontology/data/definitions.ttl>,
#  <http://dbpedia.org/ontology/data/definitions.jsonld>, etc..

 INSERT
  {GRAPH  <http://dbpedia.org/ontology/definitions#>
         {
              ?s rdfs:isDefinedBy <http://dbpedia.org/ontology/>.
<http://dbpedia.org/ontology/> <http://open.vocab.org/terms/defines> ?s.
              <http://dbpedia.org/ontology/> a owl:Ontology .
?s <http://www.w3.org/2007/05/powder-s#describedby> <http://dbpedia.org/ontology/data/definitions.ttl> . <http://dbpedia.org/ontology/dqta/definitions.ttl> <http://open.vocab.org/terms/describes> ?s .
          }
  }
  WHERE
  {GRAPH <http://dbpedia.org/ontology/definitions#>
          {
              {?s rdfs:subClassOf ?o}
              UNION
              {?s rdfs:subPropertyOf ?o}
              UNION
              {?s owl:equivalentClass ?o}
              UNION
              {?s owl:equivalentProperty ?o}
              UNION
              {?s a ?o}
          }
   }

ETA for this going live:  next 20 - 60 minutes.

Kingsley

2014-09-09 23:51 GMT+02:00 Kingsley Idehen <[email protected] <mailto:[email protected]>>:

    On 9/9/14 9:43 AM, Bernard Vatant wrote:
    Understood, great!

    Please ping us when this is done, and/or suggest the ontology URI
    to http://lov.okfn.org/dataset/lov/suggest/

    Looking forward for a LOV-ed DBpedia ontology :)


    Done.

    [1] http://dbpedia.org/c/9BV46KCN - DBpedia Ontology

    [2] http://dbpedia.org/c/9336LB2 - Class description

    [3] http://dbpedia.org/ontology/PoloLeague -- HTTP URI that
    identifies a class.

-- 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  
<http://www.openlinksw.com/blog/%7Ekidehen>
    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




--
*Bernard Vatant
*
Vocabularies & Data Engineering
Tel : + 33 (0)9 71 48 84 59
Skype : bernard.vatant
http://google.com/+BernardVatant
--------------------------------------------------------
*Mondeca*****
35 boulevard de Strasbourg 75010 Paris*
*
www.mondeca.com <http://www.mondeca.com/>
Follow us on Twitter : @mondecanews <http://twitter.com/#%21/mondecanews>
----------------------------------------------------------


--
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

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

Reply via email to