-
-
Notifications
You must be signed in to change notification settings - Fork 232
Wrong rdfs namespace in cwltool --print-rdf #427
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Could it be because - name: SchemaBase
type: record
abstract: true
fields:
- name: label
type:
- "null"
- string
jsonldPredicate: "rdfs:label"
doc: "A short, human-readable label of this object." yet does not declare $namespaces:
cwl: "https://w3id.org/cwl/cwl#"
sld: "https://w3id.org/cwl/salad#" |
I think that might be it. |
Solved by common-workflow-language/common-workflow-language#461 hopefully |
@MarkRobbo Yes, I'll make the PR to update the git sub-tree next |
@MarkRobbo I made a new release of |
@mr-c Thanks a lot! |
Although the namespace is now present, so still is the incorrect one under "ns1" and that is the one being used.
|
@MarkRobbo Ah, I thought you had tested the other fix :-P |
FYI: The
Does this information get us closer to a fix? |
Workaround for common-workflow-language/cwltool#427
Expected Behavior
cwltool --print-rdf should use conventional valid namespaces where they exist.
Actual Behavior
Wrong prefix for the
rdfs
namespace, seems to be caused by<rdfs:comment>
being interpreted as an URI instead of a qname mapped to the rdfs namespacehttp://www.w3.org/2000/01/rdf-schema#
Workflow Code
https://rawgit.com/common-workflow-language/workflows/master/workflows/hello/hello.cwl
Full Traceback
Your Environment
The text was updated successfully, but these errors were encountered: