>
> The German chapter is working on ways to automatically import axioms in
> the mappings wiki, so of course this is an option too.


We can more or less do this since we are already inserting labels into the
ontology in batch mode [1]. It would be quite helpful for us if someone
interested in editing the ontology programmatically, would produce a list
of changes  (class name and changed properties, in any kind of machine
readable format you want, even Sparql would be nice). We could then better
experiment and introduce the changes directly into the mappings wiki.
Changing the ontology in the triplestore would create a synchronization
problem, by the next extraction those changes would need to be recomputed
and reintroduced.

Cheers,
Alexandru

[1] https://github.com/ag-csw/missingBot


On Tue, Apr 15, 2014 at 8:06 AM, Dimitris Kontokostas <jimk...@gmail.com>wrote:

> Kingsley's approach is one way to go but I think we should focus on fixing
> the ontology in the source, which is the mappings wiki.
> The German chapter is working on ways to automatically import axioms in
> the mappings wiki, so of course this is an option too.
>
> I think you already pointed out most of your suggested changes so we can
> start working on these. [1]
>
> Cheers,
> Dimitris
>
> [1]
> http://www.mail-archive.com/dbpedia-discussion@lists.sourceforge.net/msg05923.html
>
>
> On Mon, Apr 14, 2014 at 9:46 PM, Kingsley Idehen 
> <kide...@openlinksw.com>wrote:
>
>> On 4/14/14 12:07 PM, Patel-Schneider, Peter wrote:
>>
>>> Aaah, sure I can use SPARQL 1.1 to massage triple stores, including
>>> triple stores that use IRIs from the DBpedia ontology.   In this way, I
>>> could modify the results, perhaps to make them look like certain stuff had
>>> been removed from the DBpedia ontology, although this process can result in
>>> systematic errors if the triples include inferred triples.
>>>
>>> My question was, however, what SPARQL 1.1 has to do with changing the
>>> DBpedia ontology itself.
>>>
>>
>> Answer:
>>
>> It enables you import the data in question, conditionally (via SPARQL
>> query pattern solution), en route to crafting a new ontology or tweaking
>> the existing ontology.
>>
>> You are ultimately going to be doing at least one of the following
>> (locally):
>>
>> 1. adding new RDF statements
>> 2. deleting existing RDF statements
>> 3. updating existing RDF statements (via conditional INSERT and DELETE).
>>
>> Of course, you can forget SPARQL and just import the lot and editing by
>> hand etc..
>>
>> Fundamentally, you can fix DBpedia's ontology by contributing your fixes
>> in the form of RDF statements for consideration by the maintainers. If
>> rejected (for whatever reasons) you can still publish your RDF statements
>> via an RDF document to some location under your control on the Web.
>>
>> Your revised ontology is your set of "context lenses" into the DBepdia
>> dataset.
>>
>> If you don't want to craft the new ontology or fixes to the existing
>> ontology, using the methods suggested, how else can you expect this to
>> happen?
>>
>>
>> Kingsley
>>
>>
>>> peter
>>>
>>> On Apr 14, 2014, at 5:42 AM, Kingsley Idehen <kide...@openlinksw.com>
>>> wrote:
>>>
>>>  On 4/14/14 7:02 AM, Kingsley Idehen wrote:
>>>>
>>>>> How can I use SPARQL 1.1 to change the DBpedia ontology?
>>>>>>
>>>>> You can use SPARQL 1.1 (from your SPARQL 1.1 compliant application) to
>>>>> generate triples is a named graph local to your application, based
>>>>> solutions returned to you from the public SPARQL endpoint.
>>>>>
>>>> Important typo fix. I meant to say:
>>>>
>>>> You can use SPARQL 1.1 (from your SPARQL 1.1 compliant application) to
>>>> generate triples *in* a named graph local to your application, based *on*
>>>> solutions returned to *your app* from the public SPARQL endpoint.
>>>>
>>>> I do this all the time when editing definitions (for classes and
>>>> properties) oriented triples in ontologies.
>>>>
>>>> Typical example, where I am adding missing rdfs:isDefinedBy,
>>>> voca:defines, and wdrs:isdescribedby relations to an existing shared
>>>> ontology.
>>>>
>>>> Note: I am using Virtuoso as my SPARQL 1.1 compliant application (so I
>>>> have the ability to grab data from any SPARQL endpoint and then use SPARQL
>>>> 1.1 for local named graph scoped INSERT and DELETE operations):
>>>>
>>>> ##     The Identity of Resources on the Web ontology (IRW).
>>>> # Ontology URI: <http://www.ontologydesignpatterns.org/ont/web/irw.owl#
>>>> >
>>>> # Ontology Document URL: <http://www.ontologydesignpatterns.org/
>>>> ont/web/irw.owl>
>>>>
>>>> ## I use SPARQL 1.1 LOAD to get the data into Virtuoso
>>>>
>>>> LOAD <http://www.ontologydesignpatterns.org/ont/web/irw.owl> ;
>>>>
>>>> WITH GRAPH <http://www.ontologydesignpatterns.org/ont/web/irw.owl>
>>>> INSERT {
>>>>          ?s <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <
>>>> http://www.ontologydesignpatterns.org/ont/web/irw.owl#> .
>>>> <http://www.ontologydesignpatterns.org/ont/web/irw.owl#> <
>>>> http://open.vocab.org/terms/defines> ?s.
>>>> <http://www.ontologydesignpatterns.org/ont/web/irw.owl#> a
>>>> owl:Ontology .
>>>>         ?s <http://www.w3.org/2007/05/powder-s#describedby> <
>>>> http://www.ontologydesignpatterns.org/ont/web/irw.owl> .
>>>> <http://www.ontologydesignpatterns.org/ont/web/irw.owl>
>>>> foaf:primaryTopic ?s .
>>>>         }
>>>> WHERE {
>>>>         {?s <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?o}
>>>>         UNION
>>>>         {?s <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> ?o}
>>>>         UNION
>>>>         {?s <http://www.w3.org/2002/07/owl#equivalentClass> ?o}
>>>>         UNION
>>>>         {?s <http://www.w3.org/2002/07/owl#equivalentProperty> ?o}
>>>>         UNION
>>>>         {?s a ?o}
>>>>         UNION {
>>>>         ?s <http://www.w3.org/2000/01/rdf-schema#domain> ?o}
>>>>         UNION
>>>>         {?s <http://www.w3.org/2000/01/rdf-schema#range> ?o}
>>>>      }
>>>>
>>>>
>>>> ## COSMO Ontology
>>>>
>>>> ## Ontology URI: <http://micra.com/COSMO/COSMO.owl#>
>>>> ## Ontology Document URL: <http://micra.com/COSMO/COSMO.owl>
>>>>
>>>> ## Using SPARQL 1.1 LOAD to get data into Virtuoso
>>>>
>>>> LOAD <http://micra.com/COSMO/COSMO.owl>  ;
>>>>
>>>> WITH GRAPH <http://micra.com/COSMO/COSMO.owl>
>>>> INSERT {
>>>>          ?s <http://www.w3.org/2000/01/rdf-schema#isDefinedBy> <
>>>> http://micra.com/COSMO/COSMO.owl#> .
>>>>         <http://micra.com/COSMO/COSMO.owl#> <
>>>> http://open.vocab.org/terms/defines> ?s.
>>>>         <http://micra.com/COSMO/COSMO.owl#> a owl:Ontology .
>>>>         ?s <http://www.w3.org/2007/05/powder-s#describedby> <
>>>> http://micra.com/COSMO/COSMO.owl> .
>>>>         <http://micra.com/COSMO/COSMO.owl> foaf:primaryTopic ?s .
>>>>         }
>>>> WHERE {
>>>>         {?s <http://www.w3.org/2000/01/rdf-schema#subClassOf> ?o}
>>>>         UNION
>>>>         {?s <http://www.w3.org/2000/01/rdf-schema#subPropertyOf> ?o}
>>>>         UNION
>>>>         {?s <http://www.w3.org/2002/07/owl#equivalentClass> ?o}
>>>>         UNION
>>>>         {?s <http://www.w3.org/2002/07/owl#equivalentProperty> ?o}
>>>>         UNION
>>>>         {?s a ?o}
>>>>         UNION {
>>>>         ?s <http://www.w3.org/2000/01/rdf-schema#domain> ?o}
>>>>         UNION
>>>>         {?s <http://www.w3.org/2000/01/rdf-schema#range> ?o}
>>>>      }
>>>>
>>>> --
>>>>
>>>> Regards,
>>>>
>>>> Kingsley Idehen
>>>> Founder & CEO
>>>> OpenLink Software
>>>> Company Web: http://www.openlinksw.com
>>>> Personal Weblog: 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
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>
>> --
>>
>> Regards,
>>
>> Kingsley Idehen
>> Founder & CEO
>> OpenLink Software
>> Company Web: http://www.openlinksw.com
>> Personal Weblog: 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
>>
>>
>>
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Learn Graph Databases - Download FREE O'Reilly Book
>> "Graph Databases" is the definitive new guide to graph databases and their
>> applications. Written by three acclaimed leaders in the field,
>> this first edition is now available. Download your free book today!
>> http://p.sf.net/sfu/NeoTech
>> _______________________________________________
>> Dbpedia-discussion mailing list
>> Dbpedia-discussion@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
>>
>>
>
>
> --
> Kontokostas Dimitris
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/NeoTech
> _______________________________________________
> Dbpedia-discussion mailing list
> Dbpedia-discussion@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
>
>
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Dbpedia-discussion mailing list
Dbpedia-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to