Re: skos:hasTopConcept mandatory?

> Your issue is that the tools you've used are rather accustomed to
> hierarchical vocabularies. They can't tell from the data whether it's a
> flat list or a hierarchical thesaurus, where one would have expected to
> find top concepts.
>
>
In such a case, and as a first approximation, this simple SPARQL query can
tell you whether a given ConceptScheme contains hierarchical information or
not :

PREFIX skos:<http://www.w3.org/2004/02/skos/core#>
ASK {
  ?concept skos:broader|skos:narrower ?another .
  ?concept skos:inScheme <http://www.exemple.com/myConceptScheme> .
}

If this query returns false, a tool could tell that a ConceptScheme
contains a flat list and not a hierarchical taxonomy.

Thomas

-- 
*
*
*Thomas Francart* - Sparna
Consultant Indépendant
Data, Sémantique, Contenus, Connaissances
web : http://sparna.fr, blog : http://francart.fr
Tel :  +33 (0)6.71.11.25.97
Fax : +33 (0)9.58.16.17.14
Skype : francartthomas

Received on Tuesday, 3 September 2013 17:56:17 UTC