semantic web and coldfusion

Download Semantic Web And Coldfusion

If you can't read please download the document

Upload: williamgreenly

Post on 16-Apr-2017

2.213 views

Category:

Documents


4 download

TRANSCRIPT

The Semantic Web and Coldfusion

William Greenly29th July 2010

Introduction

New technology

New revenue stream

That thing 10 years ago was the Semantic Web and somewhere between now and then it got lost

Principles and fundamentals

URI's and Triples

RDF/XML, OWL/XML, RDFa, SPARQL

Protocols

URI's / Triples

Identifiers for things e.g:http://dbpedia.org/resource/Boston

mailto:[email protected]

mid:1276004540.10196.1.camel@waldron

Triple consists of a subject, predicate and object e.g:Will knows Tim

RDF/XML

RDF has an XML representation

This can be resolved as triples

OWL/XML

Web Ontology Language / has an XML representation

Essentially a set of axioms that can be used to create vocabularies of terms to describe data

Also used for reasoning over data

RDFa

Means to embed RDF in an HTML web page

Typically parsed and stored as triples

SPARQL

Query language for RDF

Designed for querying distributed data

Sophisticated and feature rich

Protocols

SPARQL Protocol

Interface for triplestores (databases) over the web

Based on HTTP

Use Case 1

HTML+RDFaSPARQLEndpointApplicationApplicationApplicationDataDataDataTriplestore

Nutch/SolrRDFa Parser

Use Case 2

HTML+RDFaSPARQLEndpointApplicationApplicationApplicationTriplestore

Nutch/SolrRDFa Parser

Basic Techniques

Jena

CFQUERY

CF_RDF

CF_OWL

CFQUERY

CF_RDF / CF_OWL

Advanced Techniques

Binding to an RDF Model

Hibernate

PropertyEventListenersJava Beans

JCR

AnnotationsJPA Empire

Groovy/Grails plugins

Implicit getters and setters for , but no listeners

ColdFusion ORM supports listeners/event handlers for CRUD operations

But SPARQL cannot be treated as a SQL/Hibernate dialect

JPA - Empire

Groovy/Grails plugins

Further Reading

Semantic Web Standards:http://www.w3.org/standards/semanticweb/

Communityhttp://semanticweb.org/

Semantic Web Programminghttp://amzn.com/047041801X

Development Tools

Jenahttp://jena.sourceforge.net/

sparql4jdbc driver:http://code.google.com/p/jdbc4sparql/

CF_RDF/CF_OWLhttp://code.google.com/p/cfsemantics/

Empirehttp://github.com/clarkparsia/Empire

RDFa Grails Pluginhttp://www.grails.org/plugin/rdfa

Recommended Triplestores

Garlikhttp://www.4store.org/

Intellidimensionhttp://www.intellidimension.com/

Common Vocabularies

E-Commercehttp://purl.org/goodrelations/v1

People, Businesses, Placeshttp://www.w3.org/2001/vcard-rdf/3.0#

http://xmlns.com/foaf/0.1/

Dublin Corehttp://purl.org/dc/elements/1.1/