kbss-cvut / aircraft-maintenance-planning-system

D2020+ project about Aircraft Mainenance Planning System.
GNU Lesser General Public License v3.0
0 stars 0 forks source link

enhance-wo-text script does work incrementally #221

Open blcham opened 1 year ago

blcham commented 1 year ago

Incremental deployment of annotated wo-text does not work, I mean:

cd enhance-wo-text
./bin/get-input-from-repository.sh
./bin/retrieve-data.sh
./bin/deploy-data.sh

./bin/get-input-from-repository.sh
./bin/retrieve-data.sh
./bin/deploy-data.sh

...

There is query (queries/retrieve-non-annotated-mwo-with-wo-texts.rq) that depends on cm:described-finding to retrieve unannotated wo-texts:

PREFIX cm: <http://onto.fel.cvut.cz/ontologies/csat-maintenance/>

CONSTRUCT {
    <http://onto.fel.cvut.cz/ontologies/csat/enhance-wo-text-0.1-data> a owl:Ontology .
    ?taskStepExecution cm:work-order-text  ?woText .
} WHERE {
    ?taskStepExecution cm:work-order-text  ?woText .
        FILTER NOT EXISTS{ ?taskStepExecution cm:described-finding ?finding}
}

However ouput of the enhance-wo-text does not generate any triples having property cm:described-finding and thus computation cannot be incremental.