Further attempts to validate RDF models.
authorDiane Trout <diane@caltech.edu>
Fri, 16 Nov 2012 00:01:04 +0000 (16:01 -0800)
committerDiane Trout <diane@caltech.edu>
Fri, 16 Nov 2012 00:01:04 +0000 (16:01 -0800)
commitd7e2e918f005746f70ed75891bfd35e4e4750e22
tree3862b7efed87aeea677a70321559ce55e7ed4437
parent1627e1b61f150fe4d14d6cfc85e3167e873ab514
Further attempts to validate RDF models.

I had a bug caused by lane numbers being langauage tagged strings,
and thus not being found by my sparql query.

I found a solution to filter based on just the contents of a string
ignoring the language tag. However I thought not only should I
make it easier to run my RDF model validation code, I should also
double check the literal types.

Previously I just tagged any literal as rdfs:Literal. For ones
that should have a known type, I've changed it to the xmlschema
types.

This patch doesn't actually fix the bug. Just introduces the
diagnostic tool.
htsworkflow/pipelines/sequences.py
htsworkflow/util/rdfinfer.py
htsworkflow/util/schemas/htsworkflow.turtle
scripts/rdfcheck.py [new file with mode: 0644]