Class ResourcesExtractorRDFProperties
java.lang.Object
de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.util.resourcesExtractors.ResourcesExtractorRDFProperties
- All Implemented Interfaces:
ResourcesExtractor
Extracts RDF properties from a given OntModel.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionIterator<? extends org.apache.jena.ontology.OntResource>
extract
(org.apache.jena.ontology.OntModel model, Properties parameters) This function extracts specific resources of a given OntModel.
-
Constructor Details
-
ResourcesExtractorRDFProperties
public ResourcesExtractorRDFProperties()
-
-
Method Details
-
extract
public Iterator<? extends org.apache.jena.ontology.OntResource> extract(org.apache.jena.ontology.OntModel model, Properties parameters) Description copied from interface:ResourcesExtractor
This function extracts specific resources of a given OntModel. This can be for example all classes, all properties, all object properties etc.- Specified by:
extract
in interfaceResourcesExtractor
- Parameters:
model
- the ontmodel to extract all resources fromparameters
- the properties which are given by the match method. This can contain information about which resources should be matched.- Returns:
- an iterator of the extracted resources.
-