SlideShare uma empresa Scribd logo
1 de 13
Baixar para ler offline
Grails and the Semantic Web

         19/09/2011
Common Misconceptions
•   Is bleeding edge and still experimental
•   Has been around a while and isn’t working
•   Has a high learning curve and adoption cost
•   Is all about unstructured content, nlp and SEO
•   Semantic Web data integration is all about
    query federation (EII) and never about
    warehousing/ETL
Use Cases
•   Query federation
•   Linking data
•   Inferring new data
•   Data management
Core Concepts
•   HTTP / URI’s
•   RDF
•   RDFS, OWL etc.
•   SPARQL
•   RDFa
RDF
• Triples or quads
• N3/Turtle, XML, RDFj (JSON)
@prefix   gr: <http://purl.org/goodrelations/v1#> .
@prefix   foaf: <http://xmlns.com/foaf/0.1/> .
@prefix   rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
@prefix   dc: <http://purl.org/dc/elements/1.1/>.
@prefix   innovation: <http://purl.org/innovation/ns#>.
@prefix   ex: <http://www.example.com/>.
@prefix   dbpedia: <http://dbpedia.org/resource/>.
@prefix   ncicb: <http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#>.

ex:glucose-monitor dc:title "Non invasive testing of blood glucose levels";
                       innovation:embodiedBy ex:lein-2000;
                       innovation:hasImprovement <uuid:aaaaaaaa>.

ex:lein-2000 dc:title "The Lein 2000 blood glucose meter";
               rdf:type gr:ProductOrServiceModel;
               rdf:type innovation:Embodiment;
               rdf:type ncicb:Diagnostic_Therapeutic_and_Research_Equipment;
               innovation:hasUsage <uuid:bbbbbbbb>.

<uuid:bbbbbbbb> innovation:usedBy dbpedia:Physician;
                          innovation:usedOn ex:Diabetics.

<uuid:aaaaaaaa> innovation:improvesEffectivenessOf dbpedia:Medical_Test
SPARQL
•   SPARQL 1.1 Query
•   SPARQL 1.1 Update
•   SPARQL 1.1 Protocol for RDF
•   SPARQL 1.1 Graph Store HTTP Protocol
•   SPARQL 1.1 Entailment Regimes
•   SPARQL 1.1 Service Description
•   SPARQL 1.1 Federation Extensions
Alignment with Grails

GORM              RDF
                  RDFS
                  SPARQL
GSP’s             RDFa
Tools / API’s / Plugins
•   Jena/Sesame
•   Groovy SPARQL
•   RDFa Plugin
•   Triplestores
Jena / Sesame
•   RDF/RDFS/OWL Libraries
•   Ontology + Reasoning
•   SPARQL libraries
•   Development level triplestores
Groovy SPARQL
• Fluent DSL, leveraging Groovy 1.8 features
• Pure Java "Templates" for Jena/SPARQL similar
  to JdbcTemplate/jmsTemplate in Spring
• Object marshalling and GORM / Spring Data
  support
• Sparql / RDF Builder
• Grails plug-in
RDFa Plugin
Triple Stores
• 4Store
• Virtuoso
  – Native JDBC Driver
• Stardog
  – DataSouce and DataSourceFactoryBean for managing
    Stardog connections
  – SnarlTemplate for transaction- and connection-pool
    safe Stardog programming
  – DataImporter for easy bootstrapping of input data
    into Stardog
Known Issues
• Support for SPARQL 1.1
• Reasoning
• Compliance

Mais conteúdo relacionado

Mais procurados

PLNOG 6: Piotr Modzelewski, Bartłomiej Rymarski - Product Catalogue - Case Study
PLNOG 6: Piotr Modzelewski, Bartłomiej Rymarski - Product Catalogue - Case StudyPLNOG 6: Piotr Modzelewski, Bartłomiej Rymarski - Product Catalogue - Case Study
PLNOG 6: Piotr Modzelewski, Bartłomiej Rymarski - Product Catalogue - Case Study
PROIDEA
 

Mais procurados (19)

Normalizing Data for Migrations
Normalizing Data for MigrationsNormalizing Data for Migrations
Normalizing Data for Migrations
 
あなたが創るセマンティックウェブ
あなたが創るセマンティックウェブあなたが創るセマンティックウェブ
あなたが創るセマンティックウェブ
 
VALA Tech Camp 2017: Intro to Wikidata & SPARQL
VALA Tech Camp 2017: Intro to Wikidata & SPARQLVALA Tech Camp 2017: Intro to Wikidata & SPARQL
VALA Tech Camp 2017: Intro to Wikidata & SPARQL
 
Getting Started With The Talis Platform
Getting Started With The Talis PlatformGetting Started With The Talis Platform
Getting Started With The Talis Platform
 
Data Integration And Visualization
Data Integration And VisualizationData Integration And Visualization
Data Integration And Visualization
 
LinkML presentation to Yosemite Group
LinkML presentation to Yosemite GroupLinkML presentation to Yosemite Group
LinkML presentation to Yosemite Group
 
Linked Data - Exposing what we have
Linked Data - Exposing what we haveLinked Data - Exposing what we have
Linked Data - Exposing what we have
 
Open Source: Liberating your systems
Open Source: Liberating your systemsOpen Source: Liberating your systems
Open Source: Liberating your systems
 
Yann Nicolas - Elag 2018 : From XML to MARC
Yann Nicolas - Elag 2018 : From XML to MARCYann Nicolas - Elag 2018 : From XML to MARC
Yann Nicolas - Elag 2018 : From XML to MARC
 
From XML to MARC. RDF behind the scenes.
From XML to MARC. RDF behind the scenes.From XML to MARC. RDF behind the scenes.
From XML to MARC. RDF behind the scenes.
 
PLNOG 6: Piotr Modzelewski, Bartłomiej Rymarski - Product Catalogue - Case Study
PLNOG 6: Piotr Modzelewski, Bartłomiej Rymarski - Product Catalogue - Case StudyPLNOG 6: Piotr Modzelewski, Bartłomiej Rymarski - Product Catalogue - Case Study
PLNOG 6: Piotr Modzelewski, Bartłomiej Rymarski - Product Catalogue - Case Study
 
Metadata - Linked Data
Metadata - Linked DataMetadata - Linked Data
Metadata - Linked Data
 
20 billion triples in production
20 billion triples in production20 billion triples in production
20 billion triples in production
 
WorldCat, Works, and Schema.org
WorldCat, Works, and Schema.orgWorldCat, Works, and Schema.org
WorldCat, Works, and Schema.org
 
Linked Data - Radical Change?
Linked Data -  Radical Change?Linked Data -  Radical Change?
Linked Data - Radical Change?
 
Drupal and the Semantic Web
Drupal and the Semantic WebDrupal and the Semantic Web
Drupal and the Semantic Web
 
Hadoop World 2011: Radoop: a Graphical Analytics Tool for Big Data - Gabor Ma...
Hadoop World 2011: Radoop: a Graphical Analytics Tool for Big Data - Gabor Ma...Hadoop World 2011: Radoop: a Graphical Analytics Tool for Big Data - Gabor Ma...
Hadoop World 2011: Radoop: a Graphical Analytics Tool for Big Data - Gabor Ma...
 
Rapid Digitization of Latin American Ephemera with Hydra
Rapid Digitization of Latin American Ephemera with HydraRapid Digitization of Latin American Ephemera with Hydra
Rapid Digitization of Latin American Ephemera with Hydra
 
8th TUC Meeting - Zhe Wu (Oracle USA). Bridging RDF Graph and Property Graph...
8th TUC Meeting -  Zhe Wu (Oracle USA). Bridging RDF Graph and Property Graph...8th TUC Meeting -  Zhe Wu (Oracle USA). Bridging RDF Graph and Property Graph...
8th TUC Meeting - Zhe Wu (Oracle USA). Bridging RDF Graph and Property Graph...
 

Destaque

Data translation with SPARQL 1.1
Data translation with SPARQL 1.1Data translation with SPARQL 1.1
Data translation with SPARQL 1.1
andreas_schultz
 

Destaque (6)

Docker build, test and deploy saa s applications
Docker  build, test and deploy saa s applicationsDocker  build, test and deploy saa s applications
Docker build, test and deploy saa s applications
 
Semantic Web And Coldfusion
Semantic Web And ColdfusionSemantic Web And Coldfusion
Semantic Web And Coldfusion
 
Web of things
Web of thingsWeb of things
Web of things
 
Data translation with SPARQL 1.1
Data translation with SPARQL 1.1Data translation with SPARQL 1.1
Data translation with SPARQL 1.1
 
Virtuoso RDF Triple Store Analysis Benchmark & mapping tools RDF / OO
Virtuoso RDF Triple Store Analysis Benchmark & mapping tools RDF / OOVirtuoso RDF Triple Store Analysis Benchmark & mapping tools RDF / OO
Virtuoso RDF Triple Store Analysis Benchmark & mapping tools RDF / OO
 
Advanced Replication Internals
Advanced Replication InternalsAdvanced Replication Internals
Advanced Replication Internals
 

Semelhante a Grails And The Semantic Web

SPARQL 1.1 Update (2013-03-05)
SPARQL 1.1 Update (2013-03-05)SPARQL 1.1 Update (2013-03-05)
SPARQL 1.1 Update (2013-03-05)
andyseaborne
 
Comparative Study That Aims Rdf Processing For The Java Platform
Comparative Study That Aims Rdf Processing For The Java PlatformComparative Study That Aims Rdf Processing For The Java Platform
Comparative Study That Aims Rdf Processing For The Java Platform
Computer Science
 
Rdf Processing Tools In Java
Rdf Processing Tools In JavaRdf Processing Tools In Java
Rdf Processing Tools In Java
DicusarCorneliu
 
Not Your Father’s Data Warehouse: Breaking Tradition with Innovation
Not Your Father’s Data Warehouse: Breaking Tradition with InnovationNot Your Father’s Data Warehouse: Breaking Tradition with Innovation
Not Your Father’s Data Warehouse: Breaking Tradition with Innovation
Inside Analysis
 

Semelhante a Grails And The Semantic Web (20)

RDF Graph Data Management in Oracle Database and NoSQL Platforms
RDF Graph Data Management in Oracle Database and NoSQL PlatformsRDF Graph Data Management in Oracle Database and NoSQL Platforms
RDF Graph Data Management in Oracle Database and NoSQL Platforms
 
ISWC GoodRelations Tutorial Part 2
ISWC GoodRelations Tutorial Part 2ISWC GoodRelations Tutorial Part 2
ISWC GoodRelations Tutorial Part 2
 
GoodRelations Tutorial Part 2
GoodRelations Tutorial Part 2GoodRelations Tutorial Part 2
GoodRelations Tutorial Part 2
 
SPARQL 1.1 Update (2013-03-05)
SPARQL 1.1 Update (2013-03-05)SPARQL 1.1 Update (2013-03-05)
SPARQL 1.1 Update (2013-03-05)
 
8th TUC Meeting -
8th TUC Meeting - 8th TUC Meeting -
8th TUC Meeting -
 
RDFa: introduction, comparison with microdata and microformats and how to use it
RDFa: introduction, comparison with microdata and microformats and how to use itRDFa: introduction, comparison with microdata and microformats and how to use it
RDFa: introduction, comparison with microdata and microformats and how to use it
 
Semantic Web use cases in outcomes research
Semantic Web use cases in outcomes researchSemantic Web use cases in outcomes research
Semantic Web use cases in outcomes research
 
Access Control for HTTP Operations on Linked Data
Access Control for HTTP Operations on Linked DataAccess Control for HTTP Operations on Linked Data
Access Control for HTTP Operations on Linked Data
 
RDFauthor (EKAW)
RDFauthor (EKAW)RDFauthor (EKAW)
RDFauthor (EKAW)
 
HTAP Queries
HTAP QueriesHTAP Queries
HTAP Queries
 
Comparative Study That Aims Rdf Processing For The Java Platform
Comparative Study That Aims Rdf Processing For The Java PlatformComparative Study That Aims Rdf Processing For The Java Platform
Comparative Study That Aims Rdf Processing For The Java Platform
 
Pig on Spark
Pig on SparkPig on Spark
Pig on Spark
 
Scaling Spark Workloads on YARN - Boulder/Denver July 2015
Scaling Spark Workloads on YARN - Boulder/Denver July 2015Scaling Spark Workloads on YARN - Boulder/Denver July 2015
Scaling Spark Workloads on YARN - Boulder/Denver July 2015
 
PHP, the GraphQL ecosystem and GraphQLite
PHP, the GraphQL ecosystem and GraphQLitePHP, the GraphQL ecosystem and GraphQLite
PHP, the GraphQL ecosystem and GraphQLite
 
Producing, publishing and consuming linked data - CSHALS 2013
Producing, publishing and consuming linked data - CSHALS 2013Producing, publishing and consuming linked data - CSHALS 2013
Producing, publishing and consuming linked data - CSHALS 2013
 
Stardog 1.1: Easier, Smarter, Faster RDF Database
Stardog 1.1: Easier, Smarter, Faster RDF DatabaseStardog 1.1: Easier, Smarter, Faster RDF Database
Stardog 1.1: Easier, Smarter, Faster RDF Database
 
Stardog 1.1: An Easier, Smarter, Faster RDF Database
Stardog 1.1: An Easier, Smarter, Faster RDF DatabaseStardog 1.1: An Easier, Smarter, Faster RDF Database
Stardog 1.1: An Easier, Smarter, Faster RDF Database
 
Rdf Processing Tools In Java
Rdf Processing Tools In JavaRdf Processing Tools In Java
Rdf Processing Tools In Java
 
Not Your Father’s Data Warehouse: Breaking Tradition with Innovation
Not Your Father’s Data Warehouse: Breaking Tradition with InnovationNot Your Father’s Data Warehouse: Breaking Tradition with Innovation
Not Your Father’s Data Warehouse: Breaking Tradition with Innovation
 
Practical Cross-Dataset Queries with SPARQL (Introduction)
Practical Cross-Dataset Queries with SPARQL (Introduction)Practical Cross-Dataset Queries with SPARQL (Introduction)
Practical Cross-Dataset Queries with SPARQL (Introduction)
 

Grails And The Semantic Web

  • 1. Grails and the Semantic Web 19/09/2011
  • 2. Common Misconceptions • Is bleeding edge and still experimental • Has been around a while and isn’t working • Has a high learning curve and adoption cost • Is all about unstructured content, nlp and SEO • Semantic Web data integration is all about query federation (EII) and never about warehousing/ETL
  • 3. Use Cases • Query federation • Linking data • Inferring new data • Data management
  • 4. Core Concepts • HTTP / URI’s • RDF • RDFS, OWL etc. • SPARQL • RDFa
  • 5. RDF • Triples or quads • N3/Turtle, XML, RDFj (JSON) @prefix gr: <http://purl.org/goodrelations/v1#> . @prefix foaf: <http://xmlns.com/foaf/0.1/> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>. @prefix dc: <http://purl.org/dc/elements/1.1/>. @prefix innovation: <http://purl.org/innovation/ns#>. @prefix ex: <http://www.example.com/>. @prefix dbpedia: <http://dbpedia.org/resource/>. @prefix ncicb: <http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#>. ex:glucose-monitor dc:title "Non invasive testing of blood glucose levels"; innovation:embodiedBy ex:lein-2000; innovation:hasImprovement <uuid:aaaaaaaa>. ex:lein-2000 dc:title "The Lein 2000 blood glucose meter"; rdf:type gr:ProductOrServiceModel; rdf:type innovation:Embodiment; rdf:type ncicb:Diagnostic_Therapeutic_and_Research_Equipment; innovation:hasUsage <uuid:bbbbbbbb>. <uuid:bbbbbbbb> innovation:usedBy dbpedia:Physician; innovation:usedOn ex:Diabetics. <uuid:aaaaaaaa> innovation:improvesEffectivenessOf dbpedia:Medical_Test
  • 6. SPARQL • SPARQL 1.1 Query • SPARQL 1.1 Update • SPARQL 1.1 Protocol for RDF • SPARQL 1.1 Graph Store HTTP Protocol • SPARQL 1.1 Entailment Regimes • SPARQL 1.1 Service Description • SPARQL 1.1 Federation Extensions
  • 7. Alignment with Grails GORM RDF RDFS SPARQL GSP’s RDFa
  • 8. Tools / API’s / Plugins • Jena/Sesame • Groovy SPARQL • RDFa Plugin • Triplestores
  • 9. Jena / Sesame • RDF/RDFS/OWL Libraries • Ontology + Reasoning • SPARQL libraries • Development level triplestores
  • 10. Groovy SPARQL • Fluent DSL, leveraging Groovy 1.8 features • Pure Java "Templates" for Jena/SPARQL similar to JdbcTemplate/jmsTemplate in Spring • Object marshalling and GORM / Spring Data support • Sparql / RDF Builder • Grails plug-in
  • 12. Triple Stores • 4Store • Virtuoso – Native JDBC Driver • Stardog – DataSouce and DataSourceFactoryBean for managing Stardog connections – SnarlTemplate for transaction- and connection-pool safe Stardog programming – DataImporter for easy bootstrapping of input data into Stardog
  • 13. Known Issues • Support for SPARQL 1.1 • Reasoning • Compliance