Skip to content
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

Add Schema.org Ontology #733

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions models/build.bash
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ rm docs/models/{BUILD,build.bash}

./enola -vvv docgen --load=file:"docs/models/**.ttl" --output=file://"$PWD"/docs/models/

# Work around Schema.org TTL containing rdfs:comment like "See [documentation](/docs/cdc-covid.html) for details"
find docs/models/schema.org/ -type f -not -path '*/\.*' -name "*.md" -exec sed -i 's/\/docs\//https:\/\/schema.org\/docs\//g' {} +

# TODO Support GLOBs in rosetta like in docgen? (Low priority, because DocGen will gen. embedded JSON-LD anyway.)
./enola -v rosetta --in=file:models/enola.ttl --out=file:docs/models/enola.jsonld

Expand Down
8 changes: 8 additions & 0 deletions models/cache-mirror.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ models/example.org/pizza.owl:
mirrors:
- https://github.com/owlcs/pizza-ontology/blob/master/pizza.owl

# TODO Rename wine.rdf to wine.owl? (Because that's what it is; check "canoncial" recommended extension...)
models/example.org/wine.rdf:
origin: https://www.w3.org/TR/owl-guide/wine.rdf
contexts:
Expand All @@ -30,6 +31,13 @@ models/example.org/wine.rdf:
mirrors:
- https://github.com/UCDavisLibrary/wine-ontology/blob/master/ontologies/www.example.org/wine.owl.xml

models/schema.org/schemaorg-current-https.ttl:
origin: https://raw.githubusercontent.com/schemaorg/schemaorg/main/data/releases/27.01/schemaorg-current-https.ttl
mirrors:
- https://schema.org/version/latest/schemaorg-current-https.ttl
contexts:
- https://schema.org/docs/developers.html

models/schema.org/schemaorg.owl:
origin: https://raw.githubusercontent.com/schemaorg/schemaorg/main/data/releases/27.01/schemaorg.owl
mirrors:
Expand Down
66 changes: 0 additions & 66 deletions models/schema.org/properties.ttl

This file was deleted.

Loading