This is a Wordpress plugin that adds shortcodes for retrieving and displaying data from Artsdata and Wikidata in a WordPress site. This plugin is currently only used to power the CAPACOA LIVE directory, but it could be used to power other kinds of directories on WordPress websites.
The 3 shortcodes are:
- [artsdata_orgs] => lists organization names from Artsdata located in a source graph
- [artsdata_id] => displays details of a specific entity using ranked graphs from Artsdata
- [artsdata_admin] => displays buttons for admin to reload CAPACOA database or reload data from Wikidata (https://capacoa.ca/en/artsdata-admin/)
- Download the zip file in the release
- Open WP Admin
- Navigate to the Plugins panel
- Click "Add New"
- Click "Upload Plugin"
- Activate the plugin
The required triples for retrieving venue information are desribed in this diagram:
The following URLs can be used to test data without passing through a cache.
-
list of members in JSON http://api.artsdata.ca/query?sparql=capacoa/members&frame=capacoa/member&format=jsonld&source=http://kg.artsdata.ca/culture-creates/artsdata-planet-capacoa/capacoa-members
-
Example Organization in JSON http://api.artsdata.ca/query?adid=K14-29&sparql=capacoa/member_detail2&frame=capacoa/member2&format=json
-
Example Person in JSON http://api.artsdata.ca/query?adid=K14-141&sparql=capacoa/member_detail2&frame=capacoa/member2&format=json
