BASE = ..
SYNCDIRS =
# TODO consistency check of an OWL ontology with Hets
# $ hets -I -i owl file.omn
# > nodes // this needs to be automated
# > dg basic NODE-NAME
# > cons-checker Pellet // or Fact
# > check-consistency
# 1. expand some OWL entailments
# 2. remove leading whilespace
# 3. filter out any triples with subjects from namespaces that are not part of the dataset:
# * blank nodes: not used in the subgraph that we are interested in
# * local N3 rules
# * OWL, RDFS, and annotation vocabularies
cwm --rdf $< $(OWL) $(RDFS) --n3 $(LIB)/some-owl-inferences.n3 annotate-owl-inverses.n3 --think --ntriples $(CWM_DEFAULT_ARGS) \
| grep -E '^(_:|<http://purl\.net/dol/1\.0)' \
> $@
cp $< $@
$(DEPLOY_DIR)/1.0:
$(MKDIR) $@