sparna-git / skos-play

SKOS-Play allows to print SKOS files in HTML or PDF. It also embeds xls2rdf to generate RDF from Excel.
http://labs.sparna.fr/skos-play
GNU Lesser General Public License v3.0
66 stars 12 forks source link

Processing problems #4

Open kidehen opened 5 years ago

kidehen commented 5 years ago

I have this test report for a sample RDF-Turtle doc: http://labs.sparna.fr/skos-testing-tool/test?url=http://www.openlinksw.com/data/turtle/general/GlossaryOfTerms.ttl&rules=anr,chr,dcc,dlv,el,hr,husv,ilc,ipl,ml,mri,ncl,oc,oilt,ol,otc,rc,rrc,strc,tchbc,uc,ucil,urc,usr,var&format=html

But I cannot visualize it when I using: http://labs.sparna.fr/skos-play/upload

The doc is: http://www.openlinksw.com/data/turtle/general/GlossaryOfTerms.ttl

tfrancart commented 5 years ago

Hello Kingsley

There is somehow a cycle in the SKOS hierarchy defined in this file. The SKOS testing tool does not detect this cycle, I can't tell why. Hopelly the extract of the log below can help you find the cycle, involving the concepts "SmartData", "SemanticWeb", etc.. Also make sure you have a skos:prefLabel on every skos:Concept for proper display, I see schema:name is used instead. Can you double-check the hierarchy consistency and let me know ?

The content of the glossary is interesting. i host a dedicated instance of Skosmos at http://vocabs.sparna.fr/fr/ with various SKOS files loaded. Would you be interested to host the content of the glossary here so that it can be browsed/displayed ?

09:33:32.881 DEBUG f.s.rdf.skos.toolkit.SKOSTreeBuilder - Found concept URI : http://data.openlinksw.com/oplweb/glossary-term/SmartData#this
09:33:32.881 TRACE f.s.rdf.rdf4j.toolkit.query.Perform - Executing SPARQL SELECT :
SELECT DISTINCT <http://data.openlinksw.com/oplweb/glossary-term/SmartData#this> ?narrower
WHERE {
 { 
  { 
    <http://data.openlinksw.com/oplweb/glossary-term/SmartData#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?narrowerConcept . 
    ?narrower <http://www.w3.org/2004/02/skos/core#member> ?narrowerConcept . 
    FILTER NOT EXISTS { 
     ?narrower <http://www.w3.org/2004/02/skos/core#member> ?other .
     FILTER NOT EXISTS {
        <http://data.openlinksw.com/oplweb/glossary-term/SmartData#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?other . 
     } 
   } 
  } 
  UNION 
  { 
    <http://data.openlinksw.com/oplweb/glossary-term/SmartData#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?narrower . 
   FILTER NOT EXISTS { 
      ?collection <http://www.w3.org/2004/02/skos/core#member> ?narrower . 
      FILTER NOT EXISTS { 
       ?collection <http://www.w3.org/2004/02/skos/core#member> ?other .
       FILTER NOT EXISTS {
          <http://data.openlinksw.com/oplweb/glossary-term/SmartData#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?other . 
       } 
     } 
   }
  } 
 } 
}
09:33:32.881 DEBUG f.s.rdf.skos.toolkit.SKOSTreeBuilder - Found concept URI : http://data.openlinksw.com/oplweb/glossary-term/LinkedOpenData#this
09:33:32.881 TRACE f.s.rdf.rdf4j.toolkit.query.Perform - Executing SPARQL SELECT :
SELECT DISTINCT <http://data.openlinksw.com/oplweb/glossary-term/LinkedOpenData#this> ?narrower
WHERE {
 { 
  { 
    <http://data.openlinksw.com/oplweb/glossary-term/LinkedOpenData#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?narrowerConcept . 
    ?narrower <http://www.w3.org/2004/02/skos/core#member> ?narrowerConcept . 
    FILTER NOT EXISTS { 
     ?narrower <http://www.w3.org/2004/02/skos/core#member> ?other .
     FILTER NOT EXISTS {
        <http://data.openlinksw.com/oplweb/glossary-term/LinkedOpenData#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?other . 
     } 
   } 
  } 
  UNION 
  { 
    <http://data.openlinksw.com/oplweb/glossary-term/LinkedOpenData#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?narrower . 
   FILTER NOT EXISTS { 
      ?collection <http://www.w3.org/2004/02/skos/core#member> ?narrower . 
      FILTER NOT EXISTS { 
       ?collection <http://www.w3.org/2004/02/skos/core#member> ?other .
       FILTER NOT EXISTS {
          <http://data.openlinksw.com/oplweb/glossary-term/LinkedOpenData#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?other . 
       } 
     } 
   }
  } 
 } 
}
09:33:32.882 DEBUG f.s.rdf.skos.toolkit.SKOSTreeBuilder - Found concept URI : http://data.openlinksw.com/oplweb/glossary-term/SmartData#this
09:33:32.882 TRACE f.s.rdf.rdf4j.toolkit.query.Perform - Executing SPARQL SELECT :
SELECT DISTINCT <http://data.openlinksw.com/oplweb/glossary-term/SmartData#this> ?narrower
WHERE {
 { 
  { 
    <http://data.openlinksw.com/oplweb/glossary-term/SmartData#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?narrowerConcept . 
    ?narrower <http://www.w3.org/2004/02/skos/core#member> ?narrowerConcept . 
    FILTER NOT EXISTS { 
     ?narrower <http://www.w3.org/2004/02/skos/core#member> ?other .
     FILTER NOT EXISTS {
        <http://data.openlinksw.com/oplweb/glossary-term/SmartData#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?other . 
     } 
   } 
  } 
  UNION 
  { 
    <http://data.openlinksw.com/oplweb/glossary-term/SmartData#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?narrower . 
   FILTER NOT EXISTS { 
      ?collection <http://www.w3.org/2004/02/skos/core#member> ?narrower . 
      FILTER NOT EXISTS { 
       ?collection <http://www.w3.org/2004/02/skos/core#member> ?other .
       FILTER NOT EXISTS {
          <http://data.openlinksw.com/oplweb/glossary-term/SmartData#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?other . 
       } 
     } 
   }
  } 
 } 
}
09:33:32.882 DEBUG f.s.rdf.skos.toolkit.SKOSTreeBuilder - Found concept URI : http://data.openlinksw.com/oplweb/glossary-term/DBpediaLinkedData#this
09:33:32.882 TRACE f.s.rdf.rdf4j.toolkit.query.Perform - Executing SPARQL SELECT :
SELECT DISTINCT <http://data.openlinksw.com/oplweb/glossary-term/DBpediaLinkedData#this> ?narrower
WHERE {
 { 
  { 
    <http://data.openlinksw.com/oplweb/glossary-term/DBpediaLinkedData#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?narrowerConcept . 
    ?narrower <http://www.w3.org/2004/02/skos/core#member> ?narrowerConcept . 
    FILTER NOT EXISTS { 
     ?narrower <http://www.w3.org/2004/02/skos/core#member> ?other .
     FILTER NOT EXISTS {
        <http://data.openlinksw.com/oplweb/glossary-term/DBpediaLinkedData#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?other . 
     } 
   } 
  } 
  UNION 
  { 
    <http://data.openlinksw.com/oplweb/glossary-term/DBpediaLinkedData#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?narrower . 
   FILTER NOT EXISTS { 
      ?collection <http://www.w3.org/2004/02/skos/core#member> ?narrower . 
      FILTER NOT EXISTS { 
       ?collection <http://www.w3.org/2004/02/skos/core#member> ?other .
       FILTER NOT EXISTS {
          <http://data.openlinksw.com/oplweb/glossary-term/DBpediaLinkedData#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?other . 
       } 
     } 
   }
  } 
 } 
}
09:33:32.883 DEBUG f.s.rdf.skos.toolkit.SKOSTreeBuilder - Found concept URI : http://data.openlinksw.com/oplweb/glossary-term/LinkedOpenData#this
09:33:32.883 TRACE f.s.rdf.rdf4j.toolkit.query.Perform - Executing SPARQL SELECT :
SELECT DISTINCT <http://data.openlinksw.com/oplweb/glossary-term/LinkedOpenData#this> ?narrower
WHERE {
 { 
  { 
    <http://data.openlinksw.com/oplweb/glossary-term/LinkedOpenData#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?narrowerConcept . 
    ?narrower <http://www.w3.org/2004/02/skos/core#member> ?narrowerConcept . 
    FILTER NOT EXISTS { 
     ?narrower <http://www.w3.org/2004/02/skos/core#member> ?other .
     FILTER NOT EXISTS {
        <http://data.openlinksw.com/oplweb/glossary-term/LinkedOpenData#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?other . 
     } 
   } 
  } 
  UNION 
  { 
    <http://data.openlinksw.com/oplweb/glossary-term/LinkedOpenData#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?narrower . 
   FILTER NOT EXISTS { 
      ?collection <http://www.w3.org/2004/02/skos/core#member> ?narrower . 
      FILTER NOT EXISTS { 
       ?collection <http://www.w3.org/2004/02/skos/core#member> ?other .
       FILTER NOT EXISTS {
          <http://data.openlinksw.com/oplweb/glossary-term/LinkedOpenData#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?other . 
       } 
     } 
   }
  } 
 } 
}
09:33:32.883 DEBUG f.s.rdf.skos.toolkit.SKOSTreeBuilder - Found concept URI : http://data.openlinksw.com/oplweb/glossary-term/SmartData#this
09:33:32.883 TRACE f.s.rdf.rdf4j.toolkit.query.Perform - Executing SPARQL SELECT :
SELECT DISTINCT <http://data.openlinksw.com/oplweb/glossary-term/SmartData#this> ?narrower
WHERE {
 { 
  { 
    <http://data.openlinksw.com/oplweb/glossary-term/SmartData#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?narrowerConcept . 
    ?narrower <http://www.w3.org/2004/02/skos/core#member> ?narrowerConcept . 
    FILTER NOT EXISTS { 
     ?narrower <http://www.w3.org/2004/02/skos/core#member> ?other .
     FILTER NOT EXISTS {
        <http://data.openlinksw.com/oplweb/glossary-term/SmartData#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?other . 
     } 
   } 
  } 
  UNION 
  { 
    <http://data.openlinksw.com/oplweb/glossary-term/SmartData#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?narrower . 
   FILTER NOT EXISTS { 
      ?collection <http://www.w3.org/2004/02/skos/core#member> ?narrower . 
      FILTER NOT EXISTS { 
       ?collection <http://www.w3.org/2004/02/skos/core#member> ?other .
       FILTER NOT EXISTS {
          <http://data.openlinksw.com/oplweb/glossary-term/SmartData#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?other . 
       } 
     } 
   }
  } 
 } 
}
09:33:32.884 DEBUG f.s.rdf.skos.toolkit.SKOSTreeBuilder - Found concept URI : http://data.openlinksw.com/oplweb/glossary-term/DBpediaLinkedData#this
09:33:32.884 TRACE f.s.rdf.rdf4j.toolkit.query.Perform - Executing SPARQL SELECT :
SELECT DISTINCT <http://data.openlinksw.com/oplweb/glossary-term/DBpediaLinkedData#this> ?narrower
WHERE {
 { 
  { 
    <http://data.openlinksw.com/oplweb/glossary-term/DBpediaLinkedData#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?narrowerConcept . 
    ?narrower <http://www.w3.org/2004/02/skos/core#member> ?narrowerConcept . 
    FILTER NOT EXISTS { 
     ?narrower <http://www.w3.org/2004/02/skos/core#member> ?other .
     FILTER NOT EXISTS {
        <http://data.openlinksw.com/oplweb/glossary-term/DBpediaLinkedData#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?other . 
     } 
   } 
  } 
  UNION 
  { 
    <http://data.openlinksw.com/oplweb/glossary-term/DBpediaLinkedData#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?narrower . 
   FILTER NOT EXISTS { 
      ?collection <http://www.w3.org/2004/02/skos/core#member> ?narrower . 
      FILTER NOT EXISTS { 
       ?collection <http://www.w3.org/2004/02/skos/core#member> ?other .
       FILTER NOT EXISTS {
          <http://data.openlinksw.com/oplweb/glossary-term/DBpediaLinkedData#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?other . 
       } 
     } 
   }
  } 
 } 
}
09:33:32.884 DEBUG f.s.rdf.skos.toolkit.SKOSTreeBuilder - Found concept URI : http://data.openlinksw.com/oplweb/glossary-term/StructuredData#this
09:33:32.884 TRACE f.s.rdf.rdf4j.toolkit.query.Perform - Executing SPARQL SELECT :
SELECT DISTINCT <http://data.openlinksw.com/oplweb/glossary-term/StructuredData#this> ?narrower
WHERE {
 { 
  { 
    <http://data.openlinksw.com/oplweb/glossary-term/StructuredData#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?narrowerConcept . 
    ?narrower <http://www.w3.org/2004/02/skos/core#member> ?narrowerConcept . 
    FILTER NOT EXISTS { 
     ?narrower <http://www.w3.org/2004/02/skos/core#member> ?other .
     FILTER NOT EXISTS {
        <http://data.openlinksw.com/oplweb/glossary-term/StructuredData#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?other . 
     } 
   } 
  } 
  UNION 
  { 
    <http://data.openlinksw.com/oplweb/glossary-term/StructuredData#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?narrower . 
   FILTER NOT EXISTS { 
      ?collection <http://www.w3.org/2004/02/skos/core#member> ?narrower . 
      FILTER NOT EXISTS { 
       ?collection <http://www.w3.org/2004/02/skos/core#member> ?other .
       FILTER NOT EXISTS {
          <http://data.openlinksw.com/oplweb/glossary-term/StructuredData#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?other . 
       } 
     } 
   }
  } 
 } 
}
09:33:32.885 DEBUG f.s.rdf.skos.toolkit.SKOSTreeBuilder - Found concept URI : http://data.openlinksw.com/oplweb/glossary-term/LinkedData#this
09:33:32.885 TRACE f.s.rdf.rdf4j.toolkit.query.Perform - Executing SPARQL SELECT :
SELECT DISTINCT <http://data.openlinksw.com/oplweb/glossary-term/LinkedData#this> ?narrower
WHERE {
 { 
  { 
    <http://data.openlinksw.com/oplweb/glossary-term/LinkedData#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?narrowerConcept . 
    ?narrower <http://www.w3.org/2004/02/skos/core#member> ?narrowerConcept . 
    FILTER NOT EXISTS { 
     ?narrower <http://www.w3.org/2004/02/skos/core#member> ?other .
     FILTER NOT EXISTS {
        <http://data.openlinksw.com/oplweb/glossary-term/LinkedData#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?other . 
     } 
   } 
  } 
  UNION 
  { 
    <http://data.openlinksw.com/oplweb/glossary-term/LinkedData#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?narrower . 
   FILTER NOT EXISTS { 
      ?collection <http://www.w3.org/2004/02/skos/core#member> ?narrower . 
      FILTER NOT EXISTS { 
       ?collection <http://www.w3.org/2004/02/skos/core#member> ?other .
       FILTER NOT EXISTS {
          <http://data.openlinksw.com/oplweb/glossary-term/LinkedData#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?other . 
       } 
     } 
   }
  } 
 } 
}
09:33:32.885 DEBUG f.s.rdf.skos.toolkit.SKOSTreeBuilder - Found concept URI : http://data.openlinksw.com/oplweb/glossary-term/DataVirtualization#this
09:33:32.885 TRACE f.s.rdf.rdf4j.toolkit.query.Perform - Executing SPARQL SELECT :
SELECT DISTINCT <http://data.openlinksw.com/oplweb/glossary-term/DataVirtualization#this> ?narrower
WHERE {
 { 
  { 
    <http://data.openlinksw.com/oplweb/glossary-term/DataVirtualization#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?narrowerConcept . 
    ?narrower <http://www.w3.org/2004/02/skos/core#member> ?narrowerConcept . 
    FILTER NOT EXISTS { 
     ?narrower <http://www.w3.org/2004/02/skos/core#member> ?other .
     FILTER NOT EXISTS {
        <http://data.openlinksw.com/oplweb/glossary-term/DataVirtualization#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?other . 
     } 
   } 
  } 
  UNION 
  { 
    <http://data.openlinksw.com/oplweb/glossary-term/DataVirtualization#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?narrower . 
   FILTER NOT EXISTS { 
      ?collection <http://www.w3.org/2004/02/skos/core#member> ?narrower . 
      FILTER NOT EXISTS { 
       ?collection <http://www.w3.org/2004/02/skos/core#member> ?other .
       FILTER NOT EXISTS {
          <http://data.openlinksw.com/oplweb/glossary-term/DataVirtualization#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?other . 
       } 
     } 
   }
  } 
 } 
}
09:33:32.886 DEBUG f.s.rdf.skos.toolkit.SKOSTreeBuilder - Found concept URI : http://data.openlinksw.com/oplweb/glossary-term/ConceptualDataVirtualization#this
09:33:32.886 TRACE f.s.rdf.rdf4j.toolkit.query.Perform - Executing SPARQL SELECT :
SELECT DISTINCT <http://data.openlinksw.com/oplweb/glossary-term/ConceptualDataVirtualization#this> ?narrower
WHERE {
 { 
  { 
    <http://data.openlinksw.com/oplweb/glossary-term/ConceptualDataVirtualization#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?narrowerConcept . 
    ?narrower <http://www.w3.org/2004/02/skos/core#member> ?narrowerConcept . 
    FILTER NOT EXISTS { 
     ?narrower <http://www.w3.org/2004/02/skos/core#member> ?other .
     FILTER NOT EXISTS {
        <http://data.openlinksw.com/oplweb/glossary-term/ConceptualDataVirtualization#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?other . 
     } 
   } 
  } 
  UNION 
  { 
    <http://data.openlinksw.com/oplweb/glossary-term/ConceptualDataVirtualization#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?narrower . 
   FILTER NOT EXISTS { 
      ?collection <http://www.w3.org/2004/02/skos/core#member> ?narrower . 
      FILTER NOT EXISTS { 
       ?collection <http://www.w3.org/2004/02/skos/core#member> ?other .
       FILTER NOT EXISTS {
          <http://data.openlinksw.com/oplweb/glossary-term/ConceptualDataVirtualization#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?other . 
       } 
     } 
   }
  } 
 } 
}
09:33:32.886 DEBUG f.s.rdf.skos.toolkit.SKOSTreeBuilder - Found concept URI : http://data.openlinksw.com/oplweb/glossary-term/SemanticWeb#this
09:33:32.886 TRACE f.s.rdf.rdf4j.toolkit.query.Perform - Executing SPARQL SELECT :
SELECT DISTINCT <http://data.openlinksw.com/oplweb/glossary-term/SemanticWeb#this> ?narrower
WHERE {
 { 
  { 
    <http://data.openlinksw.com/oplweb/glossary-term/SemanticWeb#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?narrowerConcept . 
    ?narrower <http://www.w3.org/2004/02/skos/core#member> ?narrowerConcept . 
    FILTER NOT EXISTS { 
     ?narrower <http://www.w3.org/2004/02/skos/core#member> ?other .
     FILTER NOT EXISTS {
        <http://data.openlinksw.com/oplweb/glossary-term/SemanticWeb#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?other . 
     } 
   } 
  } 
  UNION 
  { 
    <http://data.openlinksw.com/oplweb/glossary-term/SemanticWeb#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?narrower . 
   FILTER NOT EXISTS { 
      ?collection <http://www.w3.org/2004/02/skos/core#member> ?narrower . 
      FILTER NOT EXISTS { 
       ?collection <http://www.w3.org/2004/02/skos/core#member> ?other .
       FILTER NOT EXISTS {
          <http://data.openlinksw.com/oplweb/glossary-term/SemanticWeb#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?other . 
       } 
     } 
   }
  } 
 } 
}
09:33:32.887 DEBUG f.s.rdf.skos.toolkit.SKOSTreeBuilder - Found concept URI : http://data.openlinksw.com/oplweb/glossary-term/SmartData#this
09:33:32.887 TRACE f.s.rdf.rdf4j.toolkit.query.Perform - Executing SPARQL SELECT :
SELECT DISTINCT <http://data.openlinksw.com/oplweb/glossary-term/SmartData#this> ?narrower
WHERE {
 { 
  { 
    <http://data.openlinksw.com/oplweb/glossary-term/SmartData#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?narrowerConcept . 
    ?narrower <http://www.w3.org/2004/02/skos/core#member> ?narrowerConcept . 
    FILTER NOT EXISTS { 
     ?narrower <http://www.w3.org/2004/02/skos/core#member> ?other .
     FILTER NOT EXISTS {
        <http://data.openlinksw.com/oplweb/glossary-term/SmartData#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?other . 
     } 
   } 
  } 
  UNION 
  { 
    <http://data.openlinksw.com/oplweb/glossary-term/SmartData#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?narrower . 
   FILTER NOT EXISTS { 
      ?collection <http://www.w3.org/2004/02/skos/core#member> ?narrower . 
      FILTER NOT EXISTS { 
       ?collection <http://www.w3.org/2004/02/skos/core#member> ?other .
       FILTER NOT EXISTS {
          <http://data.openlinksw.com/oplweb/glossary-term/SmartData#this> <http://www.w3.org/2004/02/skos/core#narrower>|^<http://www.w3.org/2004/02/skos/core#broader> ?other . 
       } 
     } 
   }
  } 
 } 
}
tfrancart commented 5 years ago

I double-checked the SKOS testing tool. The behavior is different when refereing to the URL of the data file or when uploading the file. For the moment, please upload the data file to be validated instead of referering to the file, and you will see the validator gives quite a lot of (hopefully useful) warnings.

tfrancart commented 5 years ago

For example this is the list of concepts missing a prefLabel

http://data.openlinksw.com/oplweb/glossary-term/DataSet#this
http://data.openlinksw.com/oplweb/glossary-term/CPU#this
http://data.openlinksw.com/oplweb/glossary-term/Notation#this
http://data.openlinksw.com/oplweb/glossary-term/Tuple#this
http://data.openlinksw.com/oplweb/glossary-term/SPARQLProtocol#this
http://data.openlinksw.com/oplweb/glossary-term/DataLineage#this
http://data.openlinksw.com/oplweb/glossary-term/HTTPURL#this
http://data.openlinksw.com/oplweb/glossary-term/CSV#this
http://data.openlinksw.com/oplweb/glossary-term/SmartData#this
http://data.openlinksw.com/oplweb/glossary-term/LODCloud#this
http://data.openlinksw.com/oplweb/glossary-term/ODBC#this
http://data.openlinksw.com/oplweb/glossary-term/RDF#this
http://data.openlinksw.com/oplweb/glossary-term/SQLRelationHeader#this
http://data.openlinksw.com/oplweb/glossary-term/LinkedOpenData#this
http://data.openlinksw.com/oplweb/glossary-term/PublicOpenData#this
http://data.openlinksw.com/oplweb/glossary-term/Document#this
http://data.openlinksw.com/oplweb/glossary-term/SQLDBMS#this
http://data.openlinksw.com/oplweb/glossary-term/WAN#this
http://data.openlinksw.com/oplweb/glossary-term/RDFRelation#this
http://data.openlinksw.com/oplweb/glossary-term/URIBurner#this
http://data.openlinksw.com/oplweb/glossary-term/MarketLeadershipDisciplineOptimization#this
http://data.openlinksw.com/oplweb/glossary-term/ODBCUserDSN#this
http://data.openlinksw.com/oplweb/glossary-term/WorldWideWeb#this
http://data.openlinksw.com/oplweb/glossary-term/DataProvenance#this
http://data.openlinksw.com/oplweb/glossary-term/SDQ#this
http://data.openlinksw.com/oplweb/product_family/virtuoso#this
http://data.openlinksw.com/oplweb/glossary-term/NewSQL#this
http://data.openlinksw.com/oplweb/glossary-term/RDFDBMS#this
http://data.openlinksw.com/oplweb/glossary-term/HTTPURI#this
http://data.openlinksw.com/oplweb/glossary-term/NetIDTLSProtocol#this
http://data.openlinksw.com/oplweb/glossary-term/SQLRelation#this
http://data.openlinksw.com/oplweb/glossary-term/GraphDBMS#this
http://data.openlinksw.com/oplweb/glossary-term/LAN#this
http://data.openlinksw.com/oplweb/glossary-term/SemanticWeb#this
http://data.openlinksw.com/oplweb/glossary-term/Cores#this
http://data.openlinksw.com/oplweb/glossary-term/StructuredData#this
http://data.openlinksw.com/oplweb/glossary-term/Type#this
http://data.openlinksw.com/oplweb/glossary-term/DBpediaLinkedData#this
http://data.openlinksw.com/oplweb/glossary-term/Graph#this
http://data.openlinksw.com/oplweb/glossary-term/JDBCDSN#this
http://data.openlinksw.com/oplweb/glossary-term/Tag#this
http://data.openlinksw.com/oplweb/glossary-term/WebID#this
http://data.openlinksw.com/oplweb/glossary-term/Data#this
http://data.openlinksw.com/oplweb/glossary-term/DatabaseConnectivityAPI#this
http://data.openlinksw.com/oplweb/glossary-term/BigData#this
http://data.openlinksw.com/oplweb/glossary-term/Predicate#this
http://data.openlinksw.com/oplweb/glossary-term/TupleStructure#this
http://data.openlinksw.com/oplweb/glossary-term/Argument#this
http://data.openlinksw.com/oplweb/glossary-term/DBpedia#this
http://data.openlinksw.com/oplweb/glossary-term/Name#this
http://data.openlinksw.com/oplweb/glossary-term/LinkedData#this
http://data.openlinksw.com/oplweb/glossary-term/Resource#this
http://data.openlinksw.com/oplweb/glossary-term/LinkedOpenDataConnectivity#this
http://data.openlinksw.com/oplweb/glossary-term/SQLRelationBody#this
http://data.openlinksw.com/oplweb/glossary-term/Symbol#this
http://data.openlinksw.com/oplweb/glossary-term/Database#this
http://data.openlinksw.com/oplweb/glossary-term/OpenDatabaseConnectivity#this
http://data.openlinksw.com/oplweb/glossary-term/Schema#this
http://data.openlinksw.com/oplweb/glossary-term/DBMS#this
http://data.openlinksw.com/oplweb/glossary-term/SQLPrimaryKey#this
http://data.openlinksw.com/oplweb/glossary-term/CoReference#this
http://data.openlinksw.com/oplweb/glossary-term/DataVirtualization#this
http://data.openlinksw.com/oplweb/glossary-term/DataLake#this
http://data.openlinksw.com/oplweb/glossary-term/Denotes#this
http://data.openlinksw.com/oplweb/glossary-term/Handle#this
http://data.openlinksw.com/oplweb/glossary-term/Attribute#this
http://data.openlinksw.com/oplweb/product_feature/AtributeBasedAccessControls#this
http://data.openlinksw.com/oplweb/glossary-term/JDBCDSNConnectString#this
http://data.openlinksw.com/oplweb/glossary-term/Intranet#this
http://data.openlinksw.com/oplweb/glossary-term/SQLRelationship#this
http://data.openlinksw.com/oplweb/glossary-term/SPARQLEndpoint#this
http://data.openlinksw.com/oplweb/glossary-term/R2RML#this
http://data.openlinksw.com/oplweb/glossary-term/IntegratedCircuit#this
http://data.openlinksw.com/oplweb/glossary-term/Token#this
http://data.openlinksw.com/oplweb/glossary-term/TupleRepresentation#this
http://data.openlinksw.com/oplweb/glossary-term/ODBCDSNConnectString#this
http://data.openlinksw.com/oplweb/glossary-term/ODBCFileDSN#this
http://data.openlinksw.com/oplweb/glossary-term/SystemsOfEngagement#this
http://data.openlinksw.com/oplweb/glossary-term/HTTPIRI#this
http://data.openlinksw.com/oplweb/glossary-term/NetID#this
http://data.openlinksw.com/oplweb/glossary-term/IRI#this
http://data.openlinksw.com/oplweb/glossary-term/URI#this
http://data.openlinksw.com/oplweb/glossary-term/RDFRelationship#this
http://data.openlinksw.com/oplweb/glossary-term/SPARQL#this
http://data.openlinksw.com/oplweb/glossary-term/URL#this
http://data.openlinksw.com/oplweb/glossary-term/ODBCSystemDSN#this
http://data.openlinksw.com/oplweb/glossary-term/Identifier#this
http://data.openlinksw.com/oplweb/glossary-term/Relationship#this
http://data.openlinksw.com/oplweb/glossary-term/DigitalTransformation#this
http://data.openlinksw.com/oplweb/glossary-term/Syntax#this
http://data.openlinksw.com/oplweb/glossary-term/ConceptualDataVirtualization#this
http://data.openlinksw.com/oplweb/glossary-term/DataDictionary#this
http://data.openlinksw.com/oplweb/glossary-term/Ontology#this
http://data.openlinksw.com/oplweb/glossary-term/SystemsOfRecord#this
http://data.openlinksw.com/oplweb/glossary-term/DataSmushing#this
http://data.openlinksw.com/oplweb/glossary-term/Entity#this
http://data.openlinksw.com/oplweb/glossary-term/DataUsageReporting#this
http://data.openlinksw.com/oplweb/glossary-term/MarketLeadershipDiscipline#this
http://data.openlinksw.com/oplweb/glossary-term/DatabaseSchema#this
http://data.openlinksw.com/oplweb/glossary-term/SystemsOfIntelligence#this
http://data.openlinksw.com/oplweb/glossary-term/RDBMS#this
http://data.openlinksw.com/oplweb/glossary-term/Semantics#this
http://data.openlinksw.com/oplweb/glossary-term/DBpediaDataSet#this
http://data.openlinksw.com/oplweb/glossary-term/JDBC#this
http://data.openlinksw.com/oplweb/glossary-term/KnowledgeGraph#this
http://data.openlinksw.com/oplweb/glossary-term/NoSQL#this
http://data.openlinksw.com/oplweb/glossary-term/Proposition#this
http://data.openlinksw.com/oplweb/glossary-term/DataAccessControls#this
http://data.openlinksw.com/oplweb/glossary-term/Sign#this
http://data.openlinksw.com/oplweb/glossary-term/RelationalDatabase#this
http://data.openlinksw.com/oplweb/glossary-term/WebIDTLSProtocol#this
http://data.openlinksw.com/oplweb/glossary-term/DBpediaSPARQLEndpoint#this
http://data.openlinksw.com/oplweb/glossary-term/Internet#this
http://data.openlinksw.com/oplweb/glossary-term/Referent#this
http://data.openlinksw.com/oplweb/glossary-term/Relation#this
http://data.openlinksw.com/oplweb/glossary-term/ODBCDSN#this
http://data.openlinksw.com/oplweb/glossary-term/OpenData#this
http://data.openlinksw.com/oplweb/glossary-term/Grammar#this
http://data.openlinksw.com/oplweb/glossary-term/Mark#this
http://data.openlinksw.com/oplweb/glossary-term/Property#this
http://data.openlinksw.com/oplweb/glossary-term/Icon#this
http://data.openlinksw.com/oplweb/glossary-term/ArtificialIntelligence#this
http://data.openlinksw.com/oplweb/glossary-term/LOVCloud#this
http://www.openlinksw.com/data/turtle/general/GlossaryOfTerms.ttl#this
tfrancart commented 5 years ago

Actually, the cycle is pretty clear. The file declares this triple :

<http://data.openlinksw.com/oplweb/glossary-term/StructuredData#this> skos:narrower <http://data.openlinksw.com/oplweb/glossary-term/StructuredData#this> .
tfrancart commented 5 years ago

And I can confirm that removing this triple makes the visualisation work. However you will see a lot of concepts without a proper, as outlined above. Cheers