Turtle – RDF Graph. Turtle – Basic Syntax Triples are terminated with a full stop URLs are encoded in angle brackets ( ) Literals are enclosed by double.

Slides:



Advertisements
Similar presentations
CH-4 Ontologies, Querying and Data Integration. Introduction to RDF(S) RDF stands for Resource Description Framework. RDF is a standard for describing.
Advertisements

The Semantic Web – WEEK 4: RDF
CSE 428 Semantic Web Topics RDF Jeff Heflin Lehigh University.
RDFa: Embedding RDF Knowledge in HTML Some content from a presentation by Ivan Herman of the W3c, Introduction to RDFa, given at the 2011 Semantic Technologies.
RDF Tutorial.
© Copyright IBM Corporation 2014 Getting started with Rational Engineering Lifecycle Manager queries Andy Lapping – Technical sales and solutions Joanne.
 Copyright 2004 Digital Enterprise Research Institute. All rights reserved. SPARQL Query Language for RDF presented by Cristina Feier.
RDF formats for Linked Data by Mabi Harandi. RDF is not a format, it is a model for data So: It will provide supports for different formats like :  Turtle.
N3 590SW Stanley Kok. What is N3? Notation triple? “Human-writable” vs RDF/XML – machine-processable expresses the same things as RDF/XML RDF express.
Pete Johnston & Andy Powell, Eduserv Foundation 3 October 2006 DC-Text:
Chapter 3 RDF Syntax 1. Topics Basic concepts of RDF resources, properties, values, statements, triples URIs and URIrefs RDF graphs Literals and Qnames.
SPARQL for Querying PML Data Jitin Arora. Overview SPARQL: Query Language for RDF Graphs W3C Recommendation since 15 January 2008 Outline: Basic Concepts.
Dr. Alexandra I. Cristea RDF.
The Semantic Web – WEEK 5: RDF Schema + Ontologies The “Layer Cake” Model – [From Rector & Horrocks Semantic Web cuurse]
Knowledge Technologies Manolis Koubarakis 1 An Introduction to RDF Schema.
More RDF CS 431 – Carl Lagoze – Cornell University Acknowledgements: Eric Miller Dieter Fensel.
Chapter 7: Resource Description Framework (RDF) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley,
JOSH FLECK Semantic Web. What is Semantic Web? Movement led by W3C that promotes common formats for data on the web Describes things in a way that computer.
Semantic Web Bootcamp Dominic DiFranzo PhD Student/Research Assistant Rensselaer Polytechnic Institute Tetherless World Constellation.
Logics for Data and Knowledge Representation SPARQL Protocol and RDF Query Language (SPARQL) Feroz Farazi.
© 2006 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Publishing data on the Web (with.
More on SPARQL. Acknowledgements This presentation is based on the W3C Candidate Recommendation “SPARQL Query Language for RDF” (
RDF (Resource Description Framework) Why?. XML XML is a metalanguage that allows users to define markup XML separates content and structure from formatting.
RDF Data Sources (keyword textbox) Search RDF Data Sources: LOM Binding Schemas (keyword textbox) Search XML Bindings: Dublin Core Application Profiles.
1cs The Need “Most of the Web's content today is designed for humans to read, not for computer programs to manipulate meaningfully.” Berners-Lee,
Introduction to SPARQL. Acknowledgements This presentation is based on the W3C Candidate Recommendation “SPARQL Query Language for RDF” from
Okech Odhiambo Faculty of Information Technology Strathmore University
Logics for Data and Knowledge Representation
The Semantic Web Web Science Systems Development Spring 2015.
Chapter 3 Querying RDF stores with SPARQL. Why an RDF Query Language? Why not use an XML query language? XML at a lower level of abstraction than RDF.
OWL 2 in use. OWL 2 OWL 2 is a knowledge representation language, designed to formulate, exchange and reason with knowledge about a domain of interest.
SPARQL AN RDF Query Language. SPARQL SPARQL is a recursive acronym for SPARQL Protocol And Rdf Query Language SPARQL is the SQL for RDF Example: PREFIX.
SPARQL All slides are adapted from the W3C Recommendation SPARQL Query Language for RDF Web link:
Logics for Data and Knowledge Representation SPARQL -- Exercises Feroz Farazi.
CC L A W EB DE D ATOS P RIMAVERA 2015 Lecture 2: RDF Model & Syntax Aidan Hogan
Chapter 3 RDF Schema. Introduction RDF has a very simple data model RDF Schema (RDFS) enriches the data model, adding vocabulary and associated semantics.
Of 41 lecture 4: rdf – basics and language. of 41 RDF basic ideas the fundamental concepts of RDF  resources  properties  statements ece 720, winter.
Chapter 7: Resource Description Framework (RDF) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley,
RDF & RDF Schema Machine Understandable Metadata for the Web Semantic Web - Spring 2006 Computer Engineering Department Sharif University of Technology.
1 SPARQL A. Emrah Sanön. 2 RDF RDF is quite committed to Semantic Web. Data model Serialization by means of XML Formal semantics Still something is missing!
Semantic Web Basics Dominic DiFranzo PhD Student/Research Assistant Rensselaer Polytechnic Institute Tetherless World Constellation.
Of 35 lecture 5: rdf schema. of 35 RDF and RDF Schema basic ideas ece 627, winter ‘132 RDF is about graphs – it creates a graph structure to represent.
RDF Schema (RDFS) RDF user communities need to define the vocabularies (terms) to indicate that they  are describing specific kinds or classes of resources.
Introduction The Resource Description Framework (RDF) is recommended by the World Wide Web Consortium (W3C) to model meta-data about the resources of the.
Chapter 7: Resource Description Framework (RDF) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley,
Doc.: IEEE /0169r0 Submission Joe Kwak (InterDigital) Slide 1 November 2010 Slide 1 Overview of Resource Description Framework (RFD/XML) Date:
Of 38 lecture 6: rdf – axiomatic semantics and query.
CC L A W EB DE D ATOS P RIMAVERA 2015 Lecture 10: Conclusion Aidan Hogan
Semantic web course – Computer Engineering Department – Sharif Univ. of Technology – Fall RDF & RDF Schema Machine Understandable Metadata for the.
Knowledge Technologies Manolis Koubarakis 1 Some Other Useful Features of RDF.
LegalRuleML Metamodel Tara Athan, Harold Boley, Guido Governatori, Monica Palmirani, Adrian Paschke, Adam Wyner July 13, 2013 RuleML th International.
Semantic Web In Depth Resource Description Framework Dr Nicholas Gibbins –
Semantic Web in Depth RDF Schema Dr Nicholas Gibbins –
Linked Data & Semantic Web Technology The Semantic Web Part 4. Resource Description Framework (1) Dr. Myungjin Lee.
Introduction to RDF Sandro Hawke, Semantic Web Tutorial ISWC 2010.
Charlie Abela Department of Intelligent Computer Systems
Vincenzo Maltese, Fausto Giunchiglia University of Trento
An Introduction to RDF Schema
SPARQL.
Resource Description Framework
Introduction to the Semantic Web (tutorial) 2009 Semantic Technology Conference San Jose, California, USA June 15, 2009 Ivan Herman, W3C
Service-Oriented Computing: Semantics, Processes, Agents
Tutorial on Semantic Web
INF385T: Information Modeling — Class 14 Semantic Web Vocabulary Systems RDF, RDFS, OWL Slides for November 30, 2016 Karen Wickett
ece 720 intelligent web: ontology and beyond
CC La Web de Datos Primavera 2016 Lecture 2: RDF Model & Syntax
RDF 1.1 Concepts and Abstract Syntax
ece 720 intelligent web: ontology and beyond
JSON for Linked Data: a standard for serializing RDF using JSON
Resource Description Framework (RDF)
Presentation transcript:

Turtle – RDF Graph

Turtle – Basic Syntax Triples are terminated with a full stop URLs are encoded in angle brackets ( ) Literals are enclosed by double quotes “Some Text”.

Turtle - Prefixes to shorten URLs ex: –Which enables us to write –ex:thing ex:relation “some text”

Turtle – Triples about same ex:. ex:thing ex:relation "Some Text". ex:thing ex:otherrelation ex:otherthing. can be written ex:. ex:thing ex:relation "Some Text" ; ex:otherrelation ex:otherthing.

Turtle – same ex:. ex:thing ex:relation "Some Text". ex:thing ex:relation ex:otherthing. can be written ex:. ex:thing ex:relation "Some Text", ex:otherthing.

Turtle – Eliminate Redundant ex:. ex:thing ex:relation "Some Text". has same meaning ex:. ex:thing ex:relation "Some Text".

Turtle – blank ex:. _:a ex:relation "Some Text". 'a' is the label - valid only within a single document if above triple appeared in another document it would refer to different node

Turtle – unlabelled blank ex:. ex:thing ex:relation _:a. _:a ex:property "foo". _:a ex:property "bar“. is same as ex:thing ex:relation [ ex:property "foo" ; ex:property "bar" ].

Turtle – literals with language In RDF, literals can have a language Written in Turtle ex:. ex:thing ex:relation ex:thing ex:relation

Turtle – literal with datatypes In RDF, literals can have a datatype Written in Turtle ex:. ex:thing ex:relation "49"^^. Can't have both a datatype and a language

Turtle – Longer foaf: dc:title "Talis Information Ltd." ; dc:description "The home page of Talis" ; dc:publisher [ foaf:name "Talis" ] ; dc:date " ". Interpreted as... the resource denoted by the URI has a title..., a description..., was published by...

Turtle – Longer example

Turtle - Types 'a' keyword is shorthand for the URI dct:. _:x a dct:Collection. Same rdf:. _:x rdf:type dct:Collection.

More on Turtle schemas By convention properties are named using camel case: theProperty Classes are named using title case: TheClass Not universal, just a convention

Turtle Schema example Suppose we have this RDF ex:. ex:Person a rdfs:Class. ex:spouse a rdfs:Property.

Turtle Schema example We could use it like ex:. _:fred a ex:Person ; ex:spouse _:wilma. A query for all things with type ex:Person would return fred

Adding a range ex:Person a rdfs:Class. ex:spouse a rdfs:Property ; rdfs:range ex:Person. Now whenever we use the property ex:spouse we can infer that the value is a ex:Person A query against the data will now return wilma as well.

Adding a domain We can simplify by adding a domain for the property ex:Person a rdfs:Class. ex:spouse a rdfs:Property ; rdfs:range ex:Person. rdfs:domain ex:Person. Which lets us omit the type from our data - we can infer it ex:. _:fred ex:spouse _:wilma. Fred is a person