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.
5 lines
148 B
SPARQL
5 lines
148 B
SPARQL
SELECT DISTINCT ?property WHERE {
|
|
?s ?property ?o .
|
|
FILTER(?property != <http://www.w3.org/1999/02/22-rdf-syntax-ns#type>)
|
|
}
|
|
ORDER BY ?property
|