Class ViewTemplateImpl
java.lang.Object
org.aksw.jenax.arq.datashape.viewselector.ViewTemplateImpl
- All Implemented Interfaces:
ViewTemplate
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.aksw.jenax.sparql.fragment.api.Fragment1protected org.aksw.jena_sparql_api.rx.entity.model.EntityQueryImplprotected org.apache.jena.rdf.model.ResourceAn IRI resource that identifies the view template and possibly provides additional information in its model -
Constructor Summary
ConstructorsConstructorDescriptionViewTemplateImpl(org.apache.jena.rdf.model.Resource metadata, org.aksw.jenax.sparql.fragment.api.Fragment1 condition, org.aksw.jena_sparql_api.rx.entity.model.EntityQueryImpl entityQuery) -
Method Summary
Modifier and TypeMethodDescriptionorg.aksw.jenax.sparql.fragment.api.Fragment1A SPARQL graph pattern holding the condition a resource must satisfy in order to qualify as applicable to the vieworg.aksw.jena_sparql_api.rx.entity.model.EntityQueryImplThe SPARQL-based entity query which yields for a resource the corresponding graph fragments TODO This method should not return a full query but just the part the specifying the attributesorg.apache.jena.rdf.model.Resource
-
Field Details
-
metadata
protected org.apache.jena.rdf.model.Resource metadataAn IRI resource that identifies the view template and possibly provides additional information in its model -
condition
protected org.aksw.jenax.sparql.fragment.api.Fragment1 condition -
entityQuery
protected org.aksw.jena_sparql_api.rx.entity.model.EntityQueryImpl entityQuery
-
-
Constructor Details
-
ViewTemplateImpl
public ViewTemplateImpl(org.apache.jena.rdf.model.Resource metadata, org.aksw.jenax.sparql.fragment.api.Fragment1 condition, org.aksw.jena_sparql_api.rx.entity.model.EntityQueryImpl entityQuery)
-
-
Method Details
-
getMetadata
public org.apache.jena.rdf.model.Resource getMetadata()- Specified by:
getMetadatain interfaceViewTemplate
-
getCondition
public org.aksw.jenax.sparql.fragment.api.Fragment1 getCondition()Description copied from interface:ViewTemplateA SPARQL graph pattern holding the condition a resource must satisfy in order to qualify as applicable to the view- Specified by:
getConditionin interfaceViewTemplate- Returns:
-
getEntityQuery
public org.aksw.jena_sparql_api.rx.entity.model.EntityQueryImpl getEntityQuery()Description copied from interface:ViewTemplateThe SPARQL-based entity query which yields for a resource the corresponding graph fragments TODO This method should not return a full query but just the part the specifying the attributes- Specified by:
getEntityQueryin interfaceViewTemplate- Returns:
-