Giter VIP home page Giter VIP logo

zhangtaihao / simplerdf Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 5.05 MB

Simple RDF is a Drupal module for automatic mapping of values of Drupal objects (e.g. node) to RDF properties. Simple RDF provides RDF mapping configuration for the node, user, and term object types per classification, such as content type in the case of nodes. This module is released under GPLv2 (http://www.gnu.org/licenses/gpl-2.0.txt).

Home Page: http://drupal.org/project/simplerdf

JavaScript 0.49% PHP 99.51%

simplerdf's People

Contributors

zhangtaihao avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

simplerdf's Issues

Document significance of resolvable object URI in formatters

In the API documentation for URI formatters, the point needs to be made that if a formatter produces resolvable URIs, RDF triples where the object URI is made with the formatter enable semantic crawlers to follow through and find the RDF metadata of related objects.

A similar message needs also to be added in the custom URI pattern form.

Add data type mapping

Need to add data type mapping. This possibly involves stitching on an additional (optional) layer of plugins to provide certain data types (and subsequently data formatting) for field types. At this point, how this will influence the "fields" present for term and user mapping I have no idea.

Custom fields validation error

When saving a basic custom field, I get the following error:

Warning: array_filter() [function.array-filter]: The first argument should be an array in _simplerdf_custom_fields_admin_edit_basic_form_validate() (line 259 of /simplerdf/modules/simplerdf_custom_fields/simplerdf_custom_fields.admin.inc).

On reediting the field, the "Applicable object type" is unchecked.

User RDF publishing

Minimal information needs to be published for user. Specifically:

  • Name
  • Email
  • Homepage

Unify node, term, and user mappings

This task is to generalize the mapper concept into a "meta-mapper". This will necessarily mean strapping on a simplistic entity-like subsystem to base node, term, and user mappers upon.

Show RDF conflict message

When view path is node/%/rdf and RDF is turned on, show a warning in mappings and settings forms.

Display dashboard using tabs

The dashboard is sprawled out at the moment. It needs to be collapsed into individual tabs, possibly via jQuery.

Date mapper

Two aspects to consider:

  • Granularity
  • Start/end (possibly repeat)

Taxonomy RDF publishing

Generally, vocabularies and terms need to have basic metadata. Specifically:

  • Vocabulary/term mappings:
    • Class
    • Name
    • Description
  • Term-only mappings:
    • Parent
    • Related
    • Synonym

These settings should be per vocabulary and stored as variables (so as to be easily exportable via Strongarm).

SPARQL endpoint

Add a CRUD-triggered SPARQL endpoint that indexes the site for Simple RDF-built triples.

Automatically re-index RDF on mappings save

In Simple RDF SPARQL, when mappings are changed, cached RDF data become stale.

This task consists of two parts:

  • An option in the SPARQL settings form for specifying whether or not to automatically re-index RDF on mappings change (still need to consider whether to split option by type, though probably not).
  • If the option is checked, on saving mappings the admin will be directed to a batch execution screen for indexing. Otherwise, a warning message is shown advising the admin to re-index manually.

Mapping field ordering

Add ordering to the mapping page.

  • Add a new entry in mapper plugin to specify whether it wants to allow reordering.
  • If reordering is enabled, add callback to revert ordering to default (for example, reverting to CCK weights).
  • If a feature default ordering is present, use this ordering as default instead of the regular defaults.

Rename 'field types' to 'field modules' for content mapper plugin

It now makes more sense to specify "field modules" to provide for in a content mapper. Originally, it was envisioned that mappers providing for field modules can detect specific field metadata on their own. However, we need to account for a possibility to provide for field modules as well as (or alternatively to) field types.

Add content mappers

At the very least, provide what RDF CCK provides:

  • Link
  • Number
  • FileField
  • ImageField (UPDATE: 2010-12-02; moved to #13)
  • Node reference (?)
  • User reference (?)

The question marks above refer to the fact that links are local and may therefore be useless.

Style SPARQL endpoint

At the moment, the SPARQL endpoint is directly from ARC2. The visual styles are not consistent with the rest of the site. Ideally, this should be under the site's theme.

This will most likely involve extending ARC2_StoreEndpoint.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.