public class GoalInstantiationProducer
extends java.lang.Object
| Constructor and Description |
|---|
GoalInstantiationProducer(org.apache.jena.query.Dataset atom1,
org.apache.jena.query.Dataset atom2,
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 atoms.
|
java.util.Collection<GoalInstantiationResult> |
createAllGoalInstantiationResults()
create all possible goal instantiations between two atoms.
|
java.util.Collection<GoalInstantiationResult> |
createGoalInstantiationResultsForAtom1() |
java.util.Collection<GoalInstantiationResult> |
createGoalInstantiationResultsForAtom2() |
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 atoms using all the atom data, the conversation data and the
shapes data of the goal.
|
static GoalInstantiationResult |
findInstantiationForGoalInDataset(org.apache.jena.query.Dataset atom,
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 atom1,
org.apache.jena.query.Dataset atom2,
org.apache.jena.query.Dataset conversation,
java.lang.String variableUriPrefix,
java.lang.String blendingUriPrefix)
atom1 - Dataset of atom 1atom2 - Dataset of atom 2conversation - Dataset of the conversation between two atomsvariableUriPrefix - 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 atom1 or atom2public static GoalInstantiationResult findInstantiationForGoalInDataset(org.apache.jena.query.Dataset atom, org.apache.jena.rdf.model.Resource goal, org.apache.jena.rdf.model.Model model)
atom - Dataset of the atom to retrieve the goalShapesModel fromgoal - resource referencing goal from atom1 or atom2model - Model that should be checked for goal validitypublic java.util.Collection<GoalInstantiationResult> createAllGoalCombinationInstantiationResults()
public java.util.Collection<GoalInstantiationResult> createAllGoalInstantiationResults()
public java.util.Collection<GoalInstantiationResult> createGoalInstantiationResultsForAtom1()
public java.util.Collection<GoalInstantiationResult> createGoalInstantiationResultsForAtom2()
Copyright © 2019. All Rights Reserved.