Open kostobog opened 1 year ago
LGTM, although I would wait for text analysis from Matej and refactor this pull request according to it
This pull request contains queries to compute the component failure classes of work order executions. Each work order execution has one or more steps and each step has work order text in which failure component terms are annotated. Each work order text is annotated with one component and its failure failure terms. Component classes are created as follows:
cm:component-failure--task
- for each work order execution an ordered list is created where elements in the list are constructed from execution step index and its component and failure terms. The list is ordered by the step index and it is hashed with MD5. The hash is used to construct the IRI that represents the component class failure. See query construct-component-failure-class.sparqlAlternatively the work order execution classes can be created without using the index. There are two alternatives which can be analyzed.
This pull request introduces several changes