Hi Cristian,

that's a problem in our validation. The errors occur in other classes,
not in the one you are editing, but we check the whole ontology and
show all errors.

We should improve the validation and show better error messages. I
don't know when we will have time. You can have look at Validate.scala
[1], ExtractionManager.scala [2] and XMLLogHandler.scala [3] and try
to fix this. The problem is basically that
ExtractionManager.validateOntologyPages has to validate the whole
ontology at once (because classes depend on each other), and
XMLLogHandler collects all error messages. XMLLogHandler should
collect only the error messages that are relevant for the current
page. I'm not sure if that's really possible - some modifications in
the current classes, e.g. changes to the type hierarchy, may cause
errors in other classes - so another strategy could be that the log
entry should at least show the name of the class where the error
occurs.

It would be cool if you or someone else could try to fix this. Here's
a little introduction:
https://github.com/dbpedia/extraction-framework/wiki/Contributing

Or you can add an issue report here:
https://github.com/dbpedia/extraction-framework/issues

Cheers,
JC

[1] 
https://github.com/dbpedia/extraction-framework/blob/master/server/src/main/scala/org/dbpedia/extraction/server/resources/ontology/Validate.scala
[2] 
https://github.com/dbpedia/extraction-framework/blob/master/server/src/main/scala/org/dbpedia/extraction/server/ExtractionManager.scala
[3] 
https://github.com/dbpedia/extraction-framework/blob/master/server/src/main/scala/org/dbpedia/extraction/server/XMLLogHandler.scala

On 23 April 2013 00:12, Cristian Consonni <conso...@fbk.eu> wrote:
> Hi all,
>
> since I have been granted some hours ago the right to make changes to
> the ontology and the mapping I have started with the (seemingly) simple
> task of adding some labels and comments.
>
> So I did this:
> http://mappings.dbpedia.org/index.php?title=OntologyClass%
> 3AAbbey&action=historysubmit&diff=25096&oldid=24867
>
> Being bold (Wikipedia style), I saved anyway but I was getting the
> following:
> *Cannot use equivalent property 'rdfs:label'
> *Cannot use equivalent property 'rdfs:label'
> *Cannot use equivalent property 'foaf:img'
> *Cannot use equivalent property 'rdfs:label'
> *equivalent class 'dct:Location' of class 'Place' not found
> *title=Flag;ns=200/OntologyClass/OntologyClass;language:wiki=mappings,locale=en
>  - Ignoring invalid node '} ' in value of property 'labels'.
>
> which look quite scary. Undoing the addition (i.e. going back to the
> previous version) and validating leads to the same messages. So, should
> just keep ignoring those messages or it is something which can be fixed.
>
> Thank you.
>
> Cristian
>
>
> ------------------------------------------------------------------------------
> Precog is a next-generation analytics platform capable of advanced
> analytics on semi-structured data. The platform includes APIs for building
> apps and a phenomenal toolset for data science. Developers can use
> our toolset for easy data analysis & visualization. Get a free account!
> http://www2.precog.com/precogplatform/slashdotnewsletter
> _______________________________________________
> Dbpedia-discussion mailing list
> Dbpedia-discussion@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Dbpedia-discussion mailing list
Dbpedia-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to