jimregan / mlode

Automatically exported from code.google.com/p/mlode
0 stars 0 forks source link

Multiple bugs in tuva1238 #70

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

What steps will reproduce the problem?

Using jena eyeball (http://code.google.com/p/mlode/wiki/DebuggingOntologies):
./eyeball.sh -check 
http://glottolog.livingsources.org/resource/languoid/id/tuva1238 -assume owl dc 
http://xmlns.com/foaf/spec/ http://www.w3.org/2004/02/skos/core# 
Http://purl.org/dc/terms/ http://www.w3.org/2003/01/geo/wgs84_pos# 
http://aims.fao.org/aos/geopolitical.owl#   glottolog.owl > 
tuva1238TestResult.log

What is the expected output? What do you see instead?

Eyeball output (Bug number 1):

On statement:  http://www.glottolog.org/resource/languoid/id/tuva1238 
http://www.glottolog.org/ontologies/glottologhyperlect 
http://www.glottolog.org/resource/hyperlect/id/84411
    predicate not declared in any schema: http://www.glottolog.org/ontologies/glottologhyperlect

Description:
glottologhyperlect is not declared in glottolog ontology.

Eyeball output (Bug number 2):

On statement:  http://www.glottolog.org/resource/languoid/id/tuva1238 
http://www.glottolog.org/ontologies/glottologDirectlyAssociatedLectodoc 
http://www.glottolog.org/resource/reference/id/21949
    predicate not declared in any schema: http://www.glottolog.org/ontologies/glottologDirectlyAssociatedLectodoc

Description:
glottologDirectlyAssociatedLectodoc is not declared in glottolog ontology.

Eyeball output (Bug number 3):

On statement:  http://www.glottolog.org/resource/languoid/id/tuva1238 
skos:provenance "MPI Composite 2011"
    predicate not declared in any schema: skos:provenance 

Description:
provenance in not defined in http://www.w3.org/2004/02/skos/core#

Eyeball output (Bug number 4):

On statement:  http://www.glottolog.org/resource/languoid/id/tuva1238 rdf:type 
http://www.glottolog.org/ontologies/glottologNonterminalLanguoid
    class not declared in any schema: http://www.glottolog.org/ontologies/glottologNonterminalLanguoid

Description:
glottologNonterminalLanguoid is not declared in glottolog ontology.

Eyeball output (Bug number 5):

On statement:  http://www.glottolog.org/resource/languoid/id/tuva1238 
http://www.glottolog.org/ontologies/glottologsuperlanguoid 
http://www.glottolog.org/resource/languoid/id/84346
    predicate not declared in any schema: http://www.glottolog.org/ontologies/glottologsuperlanguoid

Description:
glottologsuperlanguoid is not declared in glottolog ontology.

Eyeball output (Bug number 6):

On statement:  http://www.glottolog.org/resource/languoid/id/tuva1238 
http://www.glottolog.org/ontologies/glottologsublanguoid 
http://www.glottolog.org/resource/languoid/84413
    predicate not declared in any schema: http://www.glottolog.org/ontologies/glottologsublanguoid

Description:
glottologsublanguoid is not declared in glottolog ontology.

Eyeball output (Bug number 7):

On statement:  http://www.glottolog.org/resource/languoid/id/tuva1238 
skos:provenance "MPI Composite 2011"
    not from schema: "http://www.w3.org/2004/02/skos/core#"
    on resource: skos:provenance

Description:
provenance in not defined in http://www.w3.org/2004/02/skos/core# (Repeated bug)

Original issue reported on code.google.com by mohamedd...@gmail.com on 13 Aug 2012 at 3:04

Attachments:

GoogleCodeExporter commented 9 years ago
Issue 66 has been merged into this issue.

Original comment by sebastia...@googlemail.com on 15 Aug 2012 at 8:35

GoogleCodeExporter commented 9 years ago
could you check whether this is resolved now?

Original comment by sebastia...@googlemail.com on 23 Aug 2012 at 2:06

GoogleCodeExporter commented 9 years ago
The following issues are not handled:

- glottolog:hyperlect
- glottolog:NonterminalLanguoid
- glottolog:DirectlyAssociatedLectodoc
- glottolog:superlanguoid
- glottolog:sublanguoid

Validating using:

./eyeball.sh -check 
http://glottolog.livingsources.org/resource/languoid/id/tuva1238 -assume owl dc 
http://xmlns.com/foaf/spec/ http://www.w3.org/2004/02/skos/core# 
Http://purl.org/dc/terms/ http://www.w3.org/2003/01/geo/wgs84_pos# 
http://aims.fao.org/aos/geopolitical.owl# 
http://glottolog.livingsources.org/ontologies/glottolog.owl

Result:

On statement:  http://www.glottolog.org/resource/languoid/id/tuva1238 
glottolog:hyperlect http://www.glottolog.org/resource/hyperlect/id/84411
    predicate not declared in any schema: glottolog:hyperlect

On statement:  http://www.glottolog.org/resource/languoid/id/tuva1238 rdf:type 
glottolog:NonterminalLanguoid
    class not declared in any schema: glottolog:NonterminalLanguoid

On statement:  http://www.glottolog.org/resource/languoid/id/tuva1238 
glottolog:DirectlyAssociatedLectodoc 
http://www.glottolog.org/resource/reference/id/29903
    predicate not declared in any schema: glottolog:DirectlyAssociatedLectodoc

On statement:  http://www.glottolog.org/resource/languoid/id/tuva1238 
glottolog:superlanguoid http://www.glottolog.org/resource/languoid/id/84329
    predicate not declared in any schema: glottolog:superlanguoid

On statement:  http://www.glottolog.org/resource/languoid/id/tuva1238 
glottolog:sublanguoid http://www.glottolog.org/resource/languoid/84412
    predicate not declared in any schema: glottolog:sublanguoid

Original comment by mohamedd...@gmail.com on 23 Aug 2012 at 3:14

GoogleCodeExporter commented 9 years ago
Hm, those predicates and classes are found in 
http://www.glottolog.org/ontologies/glottolog.owl. Maybe something is wrong 
with the namespace? It currently says 
xmlns:glottolog="http://www.glottolog.org/ontologies/glottolog.owl#
In my sense, this should yield  
"http://www.glottolog.org/ontologies/glottolog.owl#NonterminalLanguoid". The 
relevant snippet of glottolog.owl is 
"""
<owl:Class 
rdf:about="http://glottolog.org/ontologies/glottolog.owl#NonterminalLanguoid"><r
dfs:subClassOf 
rdf:resource="http://glottolog.org/ontologies/glottolog.owl#Languoid"/><owl:disj
ointWith 
rdf:resource="http://glottolog.org/ontologies/glottolog.owl#TerminalLanguoid"/><
/owl:Class>
"""

So I do not fully understand why jena complains

Original comment by sebastia...@googlemail.com on 23 Aug 2012 at 9:15

GoogleCodeExporter commented 9 years ago
The URI for NonterminalLanguoid in glottolog.owl is
http://glottolog.org/ontologies/glottolog.owl#NonterminalLanguoid

in the other side the URI for NonterminalLanguoid in tuva1238 is
http://www.glottolog.org/ontologies/glottolog.owl#NonterminalLanguoid

Which are not identical. You can unify both by either add "www" before 
glottolog.org in glottolog.owl or omit "www" from all URIs of the form 
http://glottolog.livingsources.org/resource/languoid/id/..... (I think the 
first solution is simpler)

In order to check it you can try:
rapper http://www.glottolog.org/ontologies/glottolog.owl | grep 
glottolog.owl#NonterminalLanguoid

<http://glottolog.org/ontologies/glottolog.owl#LanguageFamily> 
<http://www.w3.org/2000/01/rdf-schema#subClassOf> 
<http://glottolog.org/ontologies/glottolog.owl#NonterminalLanguoid> .
<http://glottolog.org/ontologies/glottolog.owl#NonterminalLanguoid> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.w3.org/2002/07/owl#Class> .
<http://glottolog.org/ontologies/glottolog.owl#NonterminalLanguoid> 
<http://www.w3.org/2000/01/rdf-schema#subClassOf> 
<http://glottolog.org/ontologies/glottolog.owl#Languoid> .
<http://glottolog.org/ontologies/glottolog.owl#NonterminalLanguoid> 
<http://www.w3.org/2002/07/owl#disjointWith> 
<http://glottolog.org/ontologies/glottolog.owl#TerminalLanguoid> .

rapper http://glottolog.livingsources.org/resource/languoid/id/tuva1238 | grep 
NonterminalLanguoid

<http://www.glottolog.org/resource/languoid/id/tuva1238> 
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
<http://www.glottolog.org/ontologies/glottolog.owl#NonterminalLanguoid> .

And can you please remove other old versions on ontology like in:
http://glottolog.livingsources.org/ontologies/glottolog.owl

Original comment by mohamedd...@gmail.com on 24 Aug 2012 at 11:14

GoogleCodeExporter commented 9 years ago
Hi Sebastian 
The glottolog.livingsources.org vs  www.glottolog.org vs. glottolog.org really 
is a potential source for future problems. Could you clarify which one is 
correct? We should unify everything to this then. 

Original comment by kur...@googlemail.com on 24 Aug 2012 at 11:20

GoogleCodeExporter commented 9 years ago

Original comment by kur...@googlemail.com on 25 Aug 2012 at 7:39

GoogleCodeExporter commented 9 years ago
new ontology online

Original comment by sebastia...@googlemail.com on 27 Aug 2012 at 9:19

GoogleCodeExporter commented 9 years ago
Issue 67 has been merged into this issue.

Original comment by sebastia...@googlemail.com on 27 Aug 2012 at 11:12

GoogleCodeExporter commented 9 years ago
Issue 9 has been merged into this issue.

Original comment by sebastia...@googlemail.com on 27 Aug 2012 at 11:13

GoogleCodeExporter commented 9 years ago
changed in ontology to www.glottolog.... everywhere

Original comment by sebastia...@googlemail.com on 27 Aug 2012 at 11:17

GoogleCodeExporter commented 9 years ago
Issue 84 has been merged into this issue.

Original comment by sebastia...@googlemail.com on 27 Aug 2012 at 11:18

GoogleCodeExporter commented 9 years ago
Verifying using
./eyeball.sh -check 
http://glottolog.livingsources.org/resource/languoid/id/tuva1238 -assume owl dc 
http://xmlns.com/foaf/spec/ http://www.w3.org/2004/02/skos/core# 
http://www.w3.org/2003/01/geo/wgs84_pos# 
http://aims.fao.org/aos/geopolitical.owl# 
http://glottolog.org/ontologies/glottolog.owl dcterms.rdf 

output:
On statement:  languoid:tuva1238 glont:hyperlect 
http://www.glottolog.org/resource/hyperlect/id/84411
    not from schema: "http://www.glottolog.org/ontologies/glottolog.owl#"
    on resource: glont:hyperlect

On statement:  languoid:tuva1238 glont:DirectlyAssociatedLectodoc langdoc:29903
    predicate not declared in any schema: glont:DirectlyAssociatedLectodoc

On statement:  languoid:tuva1238 dcterms:rightsholder " Max Planck Institute 
for Evolutionary Anthropology "
    not from schema: "http://purl.org/dc/terms/"
    on resource: dcterms:rightsholder

On statement:  languoid:tuva1238 glont:hyperlect 
http://www.glottolog.org/resource/hyperlect/id/84411
    predicate not declared in any schema: glont:hyperlect

On statement:  languoid:tuva1238 glont:DirectlyAssociatedLectodoc langdoc:29903
    not from schema: "http://www.glottolog.org/ontologies/glottolog.owl#"
    on resource: glont:DirectlyAssociatedLectodoc

On statement:  languoid:tuva1238 dcterms:rightsholder " Max Planck Institute 
for Evolutionary Anthropology "
    predicate not declared in any schema: dcterms:rightsholder

Description:

- property "hyperlect" did not exist in 
http://glottolog.org/ontologies/glottolog.owl instead "Hyperlect" is exist.
- property "DirectlyAssociatedLectodoc" did not exist in 
http://glottolog.org/ontologies/glottolog.owl at all
- property "rightsholder" did not exist in http://purl.org/dc/terms/ instead 
"rightsHolder" is exist.

Original comment by mohamedd...@gmail.com on 30 Aug 2012 at 11:45

GoogleCodeExporter commented 9 years ago
new ontology and new rdf online

Original comment by sebastia...@googlemail.com on 31 Aug 2012 at 9:18

GoogleCodeExporter commented 9 years ago

Original comment by mohamedd...@gmail.com on 31 Aug 2012 at 11:31