Repository navigation
Ontology: Add annotations (e.g. for OWL import) #146
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
Open
jochenchrist
wants to merge
16
commits into
apache:main
Choose a base branch
from
jochenchrist:feat/ontology-custom-properties
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+132
−0
Open
Changes from 3 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
7b36b97
Add custom_properties for carrying data not covered by the spec
jochenchrist 9388fec
Document language-tagged literals in custom_properties
jochenchrist 118776e
Move root custom_properties below the ontology key in example
jochenchrist 830f905
Merge branch 'main' into feat/ontology-custom-properties
jochenchrist ebe5e89
Flatten concept declaration in foaf example
jochenchrist e134875
Merge remote-tracking branch 'origin/main' into feat/ontology-custom-…
jochenchrist 9d97812
Merge remote-tracking branch 'origin/main' into feat/ontology-custom-…
jochenchrist 7856958
ontology: drop language-tag and CURIE conventions from custom_properties
jochenchrist 412e557
ontology: use the uri field instead of an iri custom property in exam…
jochenchrist 8ec0f51
ontology: metrics-style custom_properties example; QName keys in FOAF…
jochenchrist c8b373c
Merge remote-tracking branch 'origin/main' into feat/ontology-custom-…
jochenchrist c114388
Merge remote-tracking branch 'origin/main' into feat/ontology-custom-…
jochenchrist 5bf47ec
Use the FOAF import as the custom_properties example
jochenchrist 83abbd8
Rename custom_properties to annotations
jochenchrist 5f6583b
Merge remote-tracking branch 'origin/main' into feat/ontology-custom-…
jochenchrist a11c6e5
Merge remote-tracking branch 'origin/main' into feat/ontology-custom-…
jochenchrist File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| version: 0.2.0.dev0 | ||
| name: foaf | ||
| description: > | ||
| Small ontology imported from the FOAF (Friend of a Friend) OWL vocabulary, | ||
| demonstrating how custom_properties preserves OWL/RDF data (IRIs, labels, and | ||
| axioms) that the core OSI spec does not model, so the source can be round-tripped. | ||
| ontology: | ||
| - concept: | ||
| name: Person | ||
| type: EntityType | ||
| custom_properties: | ||
| iri: "http://xmlns.com/foaf/0.1/Person" | ||
| rdfs:label@en: "Person" | ||
| rdfs:label@fr: "Personne" | ||
| rdfs:comment@en: "A person." | ||
| owl:equivalentClass: "https://schema.org/Person" | ||
| relationships: | ||
| - name: name | ||
| roles: | ||
| - concept: String | ||
| verbalizes: [ "{Person} has name {String}" ] | ||
| multiplicity: ManyToOne | ||
| custom_properties: | ||
| iri: "http://xmlns.com/foaf/0.1/name" | ||
| rdfs:label@en: "name" | ||
| - name: knows | ||
| roles: | ||
| - concept: Person | ||
| name: acquaintance | ||
| custom_properties: | ||
| rdfs:range: "http://xmlns.com/foaf/0.1/Person" | ||
| verbalizes: [ "{Person} knows {Person:acquaintance}" ] | ||
| custom_properties: | ||
| iri: "http://xmlns.com/foaf/0.1/knows" | ||
| rdfs:label@en: "knows" | ||
| owl:inverseOf: "http://xmlns.com/foaf/0.1/knows" | ||
| custom_properties: | ||
| owl:Ontology: "http://xmlns.com/foaf/0.1/" | ||
| dc:title: "Friend of a Friend (FOAF) vocabulary" | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.