Created
January 16, 2019 20:06
-
-
Save ashepherd/49c9de12199df237b81b868952e17cbf to your computer and use it in GitHub Desktop.
This file contains 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
{ | |
"@context":{ | |
"@vocab": "http://schema.org/", | |
"schema": "http://schema.org/", | |
"time": "http://www.w3.org/2006/time#" | |
}, | |
"@graph":[ | |
{ | |
"@id": "time:TemporalEntity" | |
}, | |
{ | |
"@id": "schema:temporalCoverage", | |
"schema:rangeIncludes": [ | |
"time:TemporalEntity" | |
] | |
} | |
] | |
} |
Q: How do we combine two contexts?
- the schema.org context, and then this new context that maps OWL-Time into schema.org above.
{
"@context": [
{
"@vocab": "http://schema.org/",
"schema": "http://schema.org/",
"time": "http://www.w3.org/2006/time#"
},
"https://gist.githubusercontent.com/ashepherd/49c9de12199df237b81b868952e17cbf/raw/5cbdcf067991dfe2fcfe9e4b9f29eb7e9bdb3e3c/owl-time-schemaorg.jsonld"
],
"@type": "Dataset",
"temporalConverage": {
"@type": "TemporalEntity",
"time:hasBeginning": {
"@type": "time:Instant",
"time:inXSDDateTimeStamp": "2015-11-01T17:58:16.102Z"
}
}
}
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Because time:TemporalEntity is a superclass from which all other OWL-Time Classes are dervied, we can simply add it to the range of possible types that schema:temporalCoverage can accept.
https://www.w3.org/TR/owl-time/#topology