Package org.semanticweb.skos

Examples of org.semanticweb.skos.SKOSConcept


      String prefLabel = id.replace('_', ' ');

      URI conceptUri = URI.create(namespace + id);
     
      SKOSConcept concept = dataFactory.getSKOSConcept(conceptUri);
      concepts.add(concept);

      // skos:narrower
      objectRelationAssertions.add(dataFactory.getSKOSObjectRelationAssertion(topConcept, dataFactory.getSKOSNarrowerProperty(), concept));
View Full Code Here

TOP

Related Classes of org.semanticweb.skos.SKOSConcept

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.