You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Two commands are provided to generate output from a SPARQL query and one or more input graphs. Input graphs can be any graph, such as instance data or supplementary ontology files that supply custom class definitions or other external ontologies.
68
68
69
+
These commands can be used with any RDF files to run arbitrary SPARQL queries. They have one additional behavior tailored to CASE: If a path query is used for subclasses, the CASE subclass hierarchy will be loaded to supplement the input graph. An expected use case of this feature is subclasses of `ObservableObject`. For instance, if a data graph included an object with only the class `uco-observable:File` specified, the query `?x a/rdfs:subClassOf* uco-observable:ObservableObject` would match `?x` against that object.
help="Ontology version to use to supplement query, such as for subclass querying. Does not require networking to use. Default is most recent CASE release."
52
+
)
53
+
parser.add_argument(
54
+
"--disallow-empty-results",
55
+
action="store_true",
56
+
help="Raise error if no results are returned for query."
help="Ontology version to use to supplement query, such as for subclass querying. Does not require networking to use. Default is most recent CASE release."
67
+
)
68
+
parser.add_argument(
69
+
"--disallow-empty-results",
70
+
action="store_true",
71
+
help="Raise error if no results are returned for query."
72
+
)
73
+
parser.add_argument(
74
+
"out_table",
75
+
help="Expected extensions are .html for HTML tables or .md for Markdown tables."
0 commit comments