DOREMUS-ANR / knowledge-base

Repository containing controlled vocabularies and data published by DOREMUS
http://data.doremus.org/
Apache License 2.0
16 stars 7 forks source link

mode.ttl uses literal not URL for topConceptOf #9

Closed VladimirAlexiev closed 8 years ago

VladimirAlexiev commented 8 years ago

mode.ttl:

<http://data.doremus.org/vocabulary/mode/1> a skos:Concept ;
    skos:topConceptOf "http://data.doremus.org/vocabulary/mode" ;

A simple syntax mistake: the latter should be URL not literal.

Also, I think it's better to have a trailing slash in the scheme since then one can use prefix notation to refer to both concepts and the scheme (with empty local-name). Eg in turtle (but same applies to sparql):

@prefix doremus-mode: <http://data.doremus.org/vocabulary/mode/>.

doremus-mode: a skos:ConceptScheme.
doremus-mode:1 a skos:Concept; skos:inScheme doremus-mode: .

GVP uses this convention, and you use it eg in iaml.ttl

VladimirAlexiev commented 8 years ago

@pasqLisena Not fixed:

skos:topConceptOf <http://data.doremus.org/vocabulary/mode>  VS
skos:inScheme <http://data.doremus.org/vocabulary/mode/> 

Cheers!

pasqLisena commented 8 years ago

have you checked this for all schemes? (I read only the start of the commit, and it talks only about the /mode scheme)

It is right, I checked only on the mode scheme. I am planning in the beginning of the next week a complete revision of them.