Open l00mi opened 7 months ago
Based on our current design principles, the following query will build a BO with all currently valid entities:
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX schema: <http://schema.org/>
PREFIX dcterm: <http://purl.org/dc/terms/>
PREFIX : <https://example.com/>
SELECT ?predicate ?object WHERE {
?entity dcterm:isPartOf :affair;
rdf:predicate ?predicate;
?predicate ?object.
FILTER NOT EXISTS { ?entity prov:wasInvalidatedBy ?activity.}
}
Can we check if the same Activity has multiple Versions (only differing by Date and Entity) that we can get the last Version which are part of an Viewpoint.
We have : E1.1 E1.2 E2.1 E3.1 E3.2 E3.3
Viewpoint shows -> E1.2 E2.1 E3.3
How to describe a Business Object (BO) which is informed by a set of activities (and there attached entities) and potentially automatically create it.