On 9/10/14 7:47 AM, Kingsley Idehen wrote:
On 9/10/14 6:01 AM, Bernard Vatant wrote:Hi allFollowing 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/jVVSVbxuDfqBernard,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
Bernard, Done.You can now lookup <http://dbpedia.org/ontology/> and retrieve the entire DBpedia ontology, in your preferred document type.
-- 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
smime.p7s
Description: S/MIME Cryptographic Signature
