Skip to content

curiosproject/curios

 
 

Repository files navigation

CURIOS: Linked Data CMS

CURIOS: Linked Data CMS is a Drupal 7 module that provides the functionality to perform CRUD operations on RDF data stored in a triple store. The module makes use of a configuration that provides a mapping between OWL classes/properties and Drupal entities.

This version of the module is intended for use with the Hebridean Connections case study for the CURIOS project.

Requirements:

Useful documentation:

Required modules, stable releases:

The module has been tested with the following stable releases. It may also work with newer releases originating from the same branch -- drush should install these dependencies automatically when the module is enabled.

Module Name Release Download
Entity 7.x-1.2
Views 7.x-3.7
CTools 7.x-1.3
Lightbox2 7.x-1.0-beta1
Ckeditor 7.x-1.13
Libraries 7.x-2.1
Views Litepager 7.x-3.0
Imagecache External 7.x-2.0-beta1
Devel 7.x-1.3

Required modules, development snapshots:

These modules should be downloaded manually and extracted to the appropriate directory, either by using the download links below, or by using git to pull the latest development version.

Module Name Snapshot Download Module Directory
Panels 7.x-3.x-dev panels
RDFx 7.x-2.x-dev rdfx
SPARQL sparql11-0.1.0 sparql
SPARQL Views curios-0.1.0 sparql_views
CURIOS: Linked Data CMS master curios

Other dependencies:

The CURIOS module also relies on modified versions of the ARC2 PHP library and Drupal 7 theme.

Name Download Description
ARC2 library sparql11-0.1.0 ARC2 PHP library with support for SPARQL 1.1 remote stores.
CURIOS theme master Hebridean Connections Drupal 7 theme.

Installation Notes

Clean install:

  1. Install Drupal 7 - standard installation.
  2. Download the required Drupal modules.
  3. Download the CURIOS theme and extract it to:

DRUPAL_ROOT/sites/all/themes/curios_theme 4. Download arc2-sparql11 and extract it to:

DRUPAL_ROOT/sites/all/libraries/ARC2/arc 5. Enable the CURIOS module:

     $ drush -v en curios
  1. Load configuration and install CMS entities: * Navigate to Structure > Linked Data CMS settings (admin/structure/ldcms), * Click Load Configuration.

  2. Enable CURIOS Theme and set as default via admin/appearance.

  3. Enable Description Link Filter for Filtered HTML and Full HTML via admin/config/content/formats.

  4. Add www.dotrural.ac.uk to the Imagecache External whitelist (admin/config/media/imagecache_external).

  5. Download and install the standalone CKEditor to the libraries folder as described in: http://docs.cksource.com/CKEditor_for_Drupal/Open_Source/Drupal_7/Installation

  6. Optional: enable Cache pages for anonymous users via admin/config/development/performance.

  7. Finally, clear Drupal's cache:

    $ drush cc all
    

Major update (changes to dataset or module structure):

Steps 1--2 should be performed before updating the module.

  1. Uninstall CMS entities: * Navigate to Structure > Linked Data CMS settings (admin/structure/ldcms), * Under Advanced Options, check Remove fields only, * Click Load Configuration.

  2. Disable and uninstall the CURIOS module:

    $ drush dis curios
    $ drush pm-uninstall curios
    
  3. Pull the latest version of the CURIOS module from GitHub (or download the .zip):

    $ cd sites/all/modules/curios
    $ git pull origin master
    
  4. Enable CURIOS module:

    $ drush en curios
    
  5. Load configuration and install new CMS entities: * Navigate to Structure > Linked Data CMS settings (admin/structure/ldcms), * Click Load Configuration.

  6. Clear Drupal's cache:

    $ drush cc all
    

About

CURIOS: Linked Data CMS -- Drupal 7 module for the CURIOS project.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 76.5%
  • JavaScript 20.1%
  • CSS 3.4%