public class GoalInstantiationProducer
extends java.lang.Object
| Constructor and Description |
|---|
GoalInstantiationProducer(org.apache.jena.query.Dataset need1,
org.apache.jena.query.Dataset need2,
org.apache.jena.query.Dataset conversation,
java.lang.String variableUriPrefix,
java.lang.String blendingUriPrefix)
Initialize the GoalInstantiationProducer
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<GoalInstantiationResult> |
createAllGoalCombinationInstantiationResults()
create all possible goal instantiations between two needs.
|
java.util.Collection<GoalInstantiationResult> |
createAllGoalInstantiationResults()
create all possible goal instantiations between two needs.
|
java.util.Collection<GoalInstantiationResult> |
createGoalInstantiationResultsForNeed1() |
java.util.Collection<GoalInstantiationResult> |
createGoalInstantiationResultsForNeed2() |
GoalInstantiationResult |
findInstantiationForGoal(org.apache.jena.rdf.model.Resource goal)
Create a goal instantiation result from the attempt to instantiate one goal with data of two needs using all
the need data, the conversation data and the shapes data of the goal.
|
static GoalInstantiationResult |
findInstantiationForGoalInDataset(org.apache.jena.query.Dataset need,
org.apache.jena.rdf.model.Resource goal,
org.apache.jena.rdf.model.Model model)
Create a goal instantiation result from the attempt to instantiate one goal with data given in the dataset
The data is extracted and validated against the shacl shape of the goal.
|
public GoalInstantiationProducer(org.apache.jena.query.Dataset need1,
org.apache.jena.query.Dataset need2,
org.apache.jena.query.Dataset conversation,
java.lang.String variableUriPrefix,
java.lang.String blendingUriPrefix)
need1 - Dataset of need 1need2 - Dataset of need 2conversation - Dataset of the conversation between two needsvariableUriPrefix - uri prefix defines which resource URIs are considered for blendingblendingUriPrefix - uri prefix that is used to generate the result URIs of blended resourcespublic GoalInstantiationResult findInstantiationForGoal(org.apache.jena.rdf.model.Resource goal)
goal - resource referencing goal from need1 or need2public static GoalInstantiationResult findInstantiationForGoalInDataset(org.apache.jena.query.Dataset need, org.apache.jena.rdf.model.Resource goal, org.apache.jena.rdf.model.Model model)
need - Dataset of the need to retrieve the goalShapesModel fromgoal - resource referencing goal from need1 or need2model - Model that should be checked for goal validitypublic java.util.Collection<GoalInstantiationResult> createAllGoalCombinationInstantiationResults()
public java.util.Collection<GoalInstantiationResult> createAllGoalInstantiationResults()
public java.util.Collection<GoalInstantiationResult> createGoalInstantiationResultsForNeed1()
public java.util.Collection<GoalInstantiationResult> createGoalInstantiationResultsForNeed2()
Copyright © 2018. All Rights Reserved.