SPARQL queries to list classes and properties, and src/schema.rb CLI to run them against any graph file. Includes bundler/setup for compatibility with Ruby 4.0 without bundle exec.
4 lines
65 B
SPARQL
4 lines
65 B
SPARQL
SELECT DISTINCT ?class WHERE {
|
|
?s a ?class .
|
|
}
|
|
ORDER BY ?class
|