|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SKOSDataset
Author: Simon Jupp
Date: Apr 21, 2008
The University of Manchester
Bio-Health Informatics Group
A SKOSDataset
is the central point of access to your SKOS vocabularies.
The SKOS vocabulary is managed by a SKOSManager
. A SKOSDataset can be thought
of as an OWL Ontology which conatins a single or multiple SKOS concept schemes.
Because the SKOS API is built on top of the OWL API we use an OWLOntology to represent our SKOS Vocabularies,
you always have access to the underlying OWLOntology, but in most cases you should be fine just using the SKOSDataset directly.
Method Summary | |
---|---|
java.util.Set<SKOSConcept> |
getConceptsInScheme(SKOSConceptScheme scheme)
Convenience method for getting the set of Concept that are asserted to be in this scheme |
java.util.Set<SKOSDataRelationAssertion> |
getReferencingSKOSDataRelationAssertions(SKOSEntity skosEntity)
Get the set of SKOS object assertions that invove the current SKOS entity |
java.util.Set<SKOSObjectRelationAssertion> |
getReferencingSKOSObjectRelationAssertions(SKOSEntity skosEntity)
Get the set of SKOS object assertions that invove the current SKOS entity |
java.util.Set<SKOSAnnotation> |
getSKOSAnnotations(SKOSEntity entity)
Get the set of SKOS annotations asserted on a SKOS entity |
java.util.Set<SKOSAnnotation> |
getSKOSAnnotationsByURI(SKOSEntity entity,
java.net.URI annotationURI)
Get the set of SKOS annotations by URI asserted on a SKOSEntity |
java.util.Set<SKOSConcept> |
getSKOSConcepts()
The set of Concepts in this vocabualry |
java.util.Set<SKOSConceptScheme> |
getSKOSConceptSchemes()
Get the set of Concept Schemes in this vocabulary |
java.util.Set<SKOSDataRelationAssertion> |
getSKOSDataRelationAssertions(SKOSEntity skosEntity)
Get the set of SKOS entities related to the current entity by SKOS data properties |
java.util.Set<SKOSLiteral> |
getSKOSDataRelationByProperty(SKOSEntity entity,
SKOSDataProperty property)
Get the set of SKOS entities related to a particular concept by a SKOS data property |
SKOSEntity |
getSKOSEntity(java.lang.String shortForm)
Query the vocabulary for a Entity, this will query the URI fragment of the entity URI. |
java.util.Set<SKOSLabelRelation> |
getSKOSLabelRelations(SKOSConcept concept)
Get the set of label relations asserted on a particular concept |
java.util.Set<SKOSObjectRelationAssertion> |
getSKOSObjectRelationAssertions(SKOSEntity skosEntity)
Get the set of SKOS entities related to the current entity by SKOS object properties |
java.util.Set<SKOSEntity> |
getSKOSObjectRelationByProperty(SKOSEntity entity,
SKOSObjectProperty property)
Get the set of SKOS entities related to a particular concept by a SKOS object property |
java.util.Set<SKOSConcept> |
getTopConcepts(SKOSConceptScheme scheme)
Convenience method for getting the set of Concepts that are top concepts in a particular Concept Scheme |
java.net.URI |
getURI()
This is the URI for the OWL Ontology that contains the SKOSVocabularies |
Method Detail |
---|
SKOSEntity getSKOSEntity(java.lang.String shortForm)
shortForm
-
java.net.URI getURI()
java.util.Set<SKOSConceptScheme> getSKOSConceptSchemes()
java.util.Set<SKOSConcept> getSKOSConcepts()
java.util.Set<SKOSConcept> getTopConcepts(SKOSConceptScheme scheme)
scheme
- The concept scheme you want the top cponcepts from
java.util.Set<SKOSConcept> getConceptsInScheme(SKOSConceptScheme scheme)
scheme
- The concept scheme that contains the concepts
java.util.Set<SKOSObjectRelationAssertion> getSKOSObjectRelationAssertions(SKOSEntity skosEntity)
skosEntity
- The entity you want to query
java.util.Set<SKOSObjectRelationAssertion> getReferencingSKOSObjectRelationAssertions(SKOSEntity skosEntity)
skosEntity
- The entity you want to query
java.util.Set<SKOSDataRelationAssertion> getSKOSDataRelationAssertions(SKOSEntity skosEntity)
skosEntity
- The entity you want to query
java.util.Set<SKOSDataRelationAssertion> getReferencingSKOSDataRelationAssertions(SKOSEntity skosEntity)
skosEntity
- The entity you want to query
java.util.Set<SKOSEntity> getSKOSObjectRelationByProperty(SKOSEntity entity, SKOSObjectProperty property)
entity
- The concept you want to queryproperty
- The SKOSObject property to follow
java.util.Set<SKOSLiteral> getSKOSDataRelationByProperty(SKOSEntity entity, SKOSDataProperty property)
entity
- The concept you want to queryproperty
- The SKOSData property to follow
java.util.Set<SKOSAnnotation> getSKOSAnnotationsByURI(SKOSEntity entity, java.net.URI annotationURI)
entity
- The entity you want to queryannotationURI
- The URI for the SKOS annotation
java.util.Set<SKOSAnnotation> getSKOSAnnotations(SKOSEntity entity)
entity
- The entity you want to query
java.util.Set<SKOSLabelRelation> getSKOSLabelRelations(SKOSConcept concept)
concept
- The concept you want to query
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |