From 940ebd85ea86cba6f077205079b75f8060b48fd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20David?= <Jerome.David@univ-grenoble-alpes.fr> Date: Mon, 8 Nov 2010 11:33:45 +0000 Subject: [PATCH] bug in retrieving annotations corrected --- .../inrialpes/exmo/ontowrap/skoslite/SKOSLiteThesaurus.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/fr/inrialpes/exmo/ontowrap/skoslite/SKOSLiteThesaurus.java b/src/fr/inrialpes/exmo/ontowrap/skoslite/SKOSLiteThesaurus.java index 56804168..e59e79e0 100644 --- a/src/fr/inrialpes/exmo/ontowrap/skoslite/SKOSLiteThesaurus.java +++ b/src/fr/inrialpes/exmo/ontowrap/skoslite/SKOSLiteThesaurus.java @@ -48,6 +48,7 @@ public class SKOSLiteThesaurus implements HeavyLoadedOntology<Model> { protected final static String SKOS_CONCEPT=SKOS_NS+"Concept"; protected final static String SKOS_PREFLABEL=SKOS_NS+"prefLabel"; protected final static String SKOS_NOTE=SKOS_NS+"note"; + //protected final static String SKOS_SCOPENOTE=SKOS_NS+"scopeNote"; protected final static String SKOS_NOTATION=SKOS_NS+"notation"; protected final static String SKOS_BROADERTRANSITIVE=SKOS_NS+"broaderTransitive"; protected final static String SKOS_NARROWERTRANSITIVE=SKOS_NS+"narrowerTransitive"; @@ -216,7 +217,7 @@ public class SKOSLiteThesaurus implements HeavyLoadedOntology<Model> { if (it==null) it=ontoInf.listObjectsOfProperty((Resource) o,ontoInf.getProperty(t)); else - it.andThen(ontoInf.listObjectsOfProperty((Resource) o,ontoInf.getProperty(t))); + it=it.andThen(ontoInf.listObjectsOfProperty((Resource) o,ontoInf.getProperty(t))); } while (it.hasNext()) { Node n = it.next().asNode(); @@ -235,7 +236,7 @@ public class SKOSLiteThesaurus implements HeavyLoadedOntology<Model> { if (it==null) it=ontoInf.listObjectsOfProperty((Resource) o,ontoInf.getProperty(t)); else - it.andThen(ontoInf.listObjectsOfProperty((Resource) o,ontoInf.getProperty(t))); + it=it.andThen(ontoInf.listObjectsOfProperty((Resource) o,ontoInf.getProperty(t))); } while (it.hasNext()) { Node n = it.next().asNode(); -- GitLab