Examples of SKOSConcept


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
Copyright © 2018 www.massapi.com. 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.