culturecreates / artsdata-planet-lavitrine Goto Github PK
View Code? Open in Web Editor NEWExport pipeline from Artsdata to LaVitrine
Export pipeline from Artsdata to LaVitrine
Each Event has startDate and EndDate. However, the datatype can be xsd:dateTime or xsd:date. This works with JSON-LD but is not very JSON friendly.
I propose the following mapping:
When the date and time are known --> call the property startDateTime or endDateTime
When only the date (2023-11-01) is known --> call the property startDate or endDate
Example Event JSON
http://api.artsdata.ca/query.json?limit=2&offset=60&frame=lavitrine/events4&sparql=lavitrine/events4&graph=http://kg.artsdata.ca/culture-creates/footlight/placedesarts-com
The latest proposal was to alias "@none" to appear as "none" in the @context.
Following a recent W3C meeting that recommended against this practice, I will remove the alias from the @context of the JSON-LD. The W3C group is planning to publish as developer note on keeping @language related symbols in part to assist junior developers is understanding that @language objects are special and should be handled with libraries rather than manual.
This issue will close when the change is committed.
Create a SHACL to validate event data from Artsdata is compliant.
Use the Wikidata Place tree for administrative regions to lookup all towns/villages in Quebec with Events.
Create multi-lingual fields.
All language strings have a prefix "en", "fr" or other language. When there is no language defined at all, then add "@none".
Example:
"name": {
"fr": "Édifice Wilder - Espace Danse",
"en": "Wilder Building - Dance Space",
"@none": "Wilder Building - Dance Space"
}
configure the "Frame" to not include 'offers' in the data feed when the Event type is "ExhibitionEvent".
Using the "JSON-LD Frame" context, a schema:EventSeries should have the label "Spectacle" and the schema:Event that are part of the EventSeries should have the label "Représentation".
Using a SPARQL to transform data, all Events that are not part of an Event Series should be converted to an EventSeries with a single subEvent.
See discussion #2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.