• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Designing Semantic Web Application
 

Designing Semantic Web Application

on

  • 899 views

 

Statistics

Views

Total Views
899
Views on SlideShare
793
Embed Views
106

Actions

Likes
3
Downloads
19
Comments
0

3 Embeds 106

http://www.rhomeapi.com 91
http://rhomeapi.com 14
http://gabrielmama 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Designing Semantic Web Application Designing Semantic Web Application Presentation Transcript

    • Mark van Berkel, Foundermark@hunchmanifest.com@vberkel March 2013, Hunch Manifest Inc
    • lastName “van Berkel”Mark March 2013, Hunch Manifest Inc
    • lastName “van Berkel” Mark studied M.Eng. foundedHunch Manifest March 2013, Hunch Manifest Inc
    • lastName “van Berkel” Mark studied M.Eng. founded includedHunch Manifest M.Eng. offers Project offers Servicedat RHomeApi.com Home.com March 2013, Hunch Manifest Inc
    • lastName “van Berkel” Mark studied M.Eng. founded includedHunch Manifest M.Eng. offers Project offers produced produced Servicedat RHomeApi.com Home.com Research Report SAP Labs Prototype March 2013, Hunch Manifest Inc
    • lastName “van Berkel” Mark studied M.Eng. founded presents included “DesigningHunch Manifest Semantic Web Apps” basedOn basedOn M.Eng. offers Project offers basedOn produced produced Servicedat RHomeApi.com Home.com Research Report SAP Labs Prototype March 2013, Hunch Manifest Inc
    • Making connections may be the noblest work ofman Ralph Caplan, author, public speaker, and designerDigital technology and the Internet have suddenlyopened up a dramatic flood of new connectionsand connectivity that’s confusing in its intensityand reach. Traditional media are being challengedby unexpected new media that have beenspawned by these new connections. Bill Moggridge, Founder IDEOBig data without context is just noise Expert System ? March 2013, Hunch Manifest Inc
    • Why?Basic semantic web applications vs idealisticdesignsData CollectionBasic Queries, CRUD operationsAdvanced Queries, Transactions, using ContextsSecurityPublishing informationPlatform and Infrastructure.Ecosystem and complimentary technologies.Opportunities and Challenges March 2013, Hunch Manifest Inc
    • Search & Discovery: ALL kinds of information is unified Do More: Better context, content for User Actions Knowledge Graph: Generate assertions and automated reasoning Business Control: Shift from techies to Knowledge workers (eg ODapps) Adaptive & Robust: Easily extended, integrate syntax, structure, meaning. Lower Costs: Integrate w/out rearchitecting, single model Domain Rationale: Elegant method to solve data explosionSource: http://www.mkbergman.com/1626/seven-arguments-for-semantic-technologies/
    • March 2013, Hunch Manifest Inc
    • Additive Technologies March 2013, Hunch Manifest Inc
    • Additive Technologies March 2013, Hunch Manifest Inc
    • Start with a Graph databaseLoad some data (Data Collection) RDB to RDF Mapping Language ( R2RML ) Load some LinkedData, e.g. DBPedia.orgCustom Application Integration Test the SPARQL Query Find a Sem Web Library for your language [see Ecosystem Slide] March 2013, Hunch Manifest Inc
    • March 2013, Hunch Manifest Inc
    • Partial R2RML mapping document will produce thetriples from the EMP table:http://d2rq.org can generate mappings & SPARQLread access to content of relational databases March 2013, Hunch Manifest Inc
    • March 2013, Hunch Manifest Inc
    • March 2013, Hunch Manifest Inc
    • March 2013, Hunch Manifest Inc
    • March 2013, Hunch Manifest Inc
    • Franz AllegroGraph Semantic Entity Tracking March 2013, Hunch Manifest Inc
    • TopBraid SuiteLeverages emerging technology to help customers connect silos of data, systems and infrastructure and to build flexible applications from linked data models. March 2013, Hunch Manifest Inc
    • Ontology Defines all the elements involved in a business ecosystem and organizes them by their relationship to each other. Upper Level Ontology Domain Specific Ontology Generate Reasoning & Dynamic Insights March 2013, Hunch Manifest Inc
    • INSERT DATA { d:i8301 ab:homeTel "(718) 440-9821” . ab:Person a rdfs:Class . } Preview dynamic inserts CONSTRUCT { ?person a ab:Person . } WHERE { ?person ab:firstName ?firstName ; ab:lastName ?lastName . } Dynamic Insert INSERT { ?person a ab:Person . } WHERE { ?person ab:firstName ?firstName ; ab:lastName ?lastName . }DuCharme, Bob (2011-07-14). Learning SPARQL. OReilly Media - March 2013, Hunch Manifest IncA. Kindle Edition.
    • SELECT * WHERE { ?person rdf:type ab:Person } SELECT ?child ?predicate ?object WHERE { ?person rdf:type ab:Person . ?person ab:LastName “Smith” . ?person ab:child ?child . ?child ?predicate ?object . } Lots of options: Can use FILTER, regex, test data types, in a list, LIMIT result count, OFFSET results, SORT / ORDER BY, CONCAT, etc.DuCharme, Bob (2011-07-14). Learning SPARQL. OReilly Media - March 2013, Hunch Manifest IncA. Kindle Edition.
    • DELETE and INSERT behave similarly Specific Delete DELETE { d:i8301 an:name "Tommy_Potter" . d:i8301 ab:homeTel "(718) 440-9821” } Test dynamic DELETE first with CONSTRUCT CONSTRUCT { ?s ?p "Tommy_Potter" } WHERE { ?s ?p "Tommy_Potter" } And execute: DELETE { ?s ?p "Tommy_Potter" } WHERE { ?s ?p "Tommy_Potter" }DuCharme, Bob (2011-07-14). Learning SPARQL. OReilly Media - March 2013, Hunch Manifest IncA. Kindle Edition.
    • Uses DELETE and INSERT together DELETE { ?s ab:email ?o } INSERT { ?s foaf:mbox ?o } WHERE {?s ab:email ?o } Alternative using RDF transactions followsDuCharme, Bob (2011-07-14). Learning SPARQL. OReilly Media - March 2013, Hunch Manifest IncA. Kindle Edition.
    • Transactions, depends on database andSPARQL version supported Some graph databases are ACID compliant ▪ Atomicity, Consistency, Isolation, and DurabilityQuery with ReasoningFederated Query with SPARQL SERVICEUsing specific or multiple GRAPHS March 2013, Hunch Manifest Inc
    • • Transactions, depends on database, this is the format I use with AllegroGraph<transaction> <add> <bnode>person4</bnode> <uri>http://www.w3.org/1999/02/22-rdf-syntax- ns#type</uri> <uri>http://www.franz.com/simple#person</uri> </add> <add> <bnode>person4</bnode> <uri>http://www.franz.com/simple#birth</uri> <literal datatype=“xmls#date">1917-05-29</literal> </add> <remove> <null/> <uri>http://www.franz.com/simple#first-name</uri> <null/> </remove> <clear> <uri>http://franz.com/simple#context1</uri> </clear></transaction> March 2013, Hunch Manifest Inc
    • Depends on databaseAllegrograph, with HTTP query simply specify&infer=true rdfs++ reasoning ▪ rdf:type and rdfs:subClassOf ▪ rdfs:range and rdfs:domain ▪ rdfs:subPropertyOf ▪ owl:sameAs ▪ owl:inverseOf ▪ owl:TransitivePropertyQueries take longer, well designed will be subsecond butcan be unpredictable, orders of magnitude longerAllegrograph now was a Materializer to generate triplesapplying a set of rules which places triples in the store March 2013, Hunch Manifest Inc
    • Common newbie challenge is metadata Where did the data come from? When was it loaded? Who created the data? Data Provenance From Tripleshr:Mark rdf:type ho:Person .hr:Mark ho:lastName “van Berkel” .hr:Mark ho:founded hr:HunchManifestInc . March 2013, Hunch Manifest Inc
    • To Quadshr:Mark rdf:type ho:Person hr:Context123 .hr:Mark ho:lastName “van Berkel” hr:Context123 .hr:Mark ho:founded hr:HunchManifest hr:Context123 .hr:Context123 ho:source “Mark’s head” .hr:Context123 ho:createdOn “2013-03-25”^^xsd:date .hr:Context123 ho:createdBy hr:Mark . Now you can SELECT and FILTER by source, createdOn, createdBy. March 2013, Hunch Manifest Inc
    • Depends on technologyHow I solve it with AllegroGraph Authorized for DoD .mil networkTransport Layer security / encryption Http or Https SSL handshakeManagement of Access Control for various adminfunctionsUser / Role Management Triple/Quad Level Security Fine grained flexible access for read / write Restricts access according to security filters, user views March 2013, Hunch Manifest Inc
    • Linked Data Publishing covered last month by James 5 Stars for publishing★ make your stuff available on the Web (whatever format) under an open license★★ make it available as structured data (e.g., Excel instead of image scan of a table)★★★ use non-proprietary formats (e.g., CSV instead of Excel)★★★★ use URIs to denote things, so that people can point at your stuff★★★★★ link your data to other data to provide context A user-view of the database March 2013, Hunch Manifest Inc
    • Cloud platforms providers great to getstarted Azure, Amazon Web Services, etcHow to get data in? Use RDFizers or google “XYZ to RDF” Openlink Virtuoso, great middleware I like Mule ESB and Talend ▪ big data integration, open source softwarePlan ahead and make it a Service OrientedArchitecture March 2013, Hunch Manifest Inc
    • Platforms, Open source vs ProprietaryTradeoffs include Cost Licenses Support Documentation Integratation with other tools Inactive vs Active Development Scalability March 2013, Hunch Manifest Inc
    • Range from Hosting, Open Source Projects, eCommercestandards, Graph databases, data integration, numerouscode libraries.More tools than I can list: http://www.w3.org/2001/sw/wiki/Tools http://semanticweb.org/wiki/Category:ToolA couple platforms to get going Callimachus Drupal with its RDFa pluginGet a graph database / triplestore Franz AllegroGraph, Neo4J, BigData, 4store, Jena, etcOpen source tools Protege, modeling tool Apache ... March 2013, Hunch Manifest Inc
    • Respect to Apache 0 employee &2,663 volunteers: www.any23.org – any URI to triples jena.apache.org – Framework for building SemWeb Apps, APIs, graph storage, server, etc stanbol.apache.org – set of components for Semantic Content Enhancement incubator.apache.org/clerezza/ - Semantically Linked Data through RESTful Web Services lucene.apache.org/solr/ - Search server which can use Triplestores March 2013, Hunch Manifest Inc
    • Scaling graphs databases recent challenge Horizontal, across clusters of machines Vertical, e.g. Super computers , YarcDatas uRiKASemantic Web Stack RDF, SPARQL, RDFS, OWL fairly mature OWL and Rules standardized but not easy Logic, Proof, Trust not matureFinding people with ExperiencePredicting a Return on Investment March 2013, Hunch Manifest Inc
    • March 2013, Hunch Manifest Inc
    • mark@hunchmanifest.com @vberkel March 2013, Hunch Manifest Inc