Part II. Property domain and range restriction RDFS allows us to put restriction on the properties by specifying their domain and range, providing the.

Slides:



Advertisements
Similar presentations
RDF Schemata (with apologies to the W3C, the plural is not ‘schemas’) CSCI 7818 – Web Technologies 14 November 2001 Van Lepthien.
Advertisements

An Introduction to RDF(S) and a Quick Tour of OWL
RDF Schema – Syntax and Intuition
1 Semantic Web Technologies: The foundation for future enterprise systems Okech Odhiambo Knowledge Systems Research Group Strathmore University.
Dr. Jim Bowring Computer Science Department College of Charleston CSIS 690 (633) May Evening 2009 Semantic Web Principles and Practice Class 5: 27 May.
1 An Introduction To The Semantic Web. 2 Information Access on the Web Find an mp3 of a song that was on the Billboard Top Ten that features a cowbell.
Chapter 3A Semantic Web Primer 1 Chapter 3 Describing Web Resources in RDF Grigoris Antoniou Frank van Harmelen.
Knowledge Technologies Manolis Koubarakis 1 An Introduction to RDF Schema.
1 Extracting RDF Data from Unstructured Sources Based on an RDF Target Schema Tim Chartrand Research Supported By NSF.
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,
1 Introduction to Semantic Web with XML RDF Dickson K.W. Chiu PhD, SMIEEE Text: Antoniou & van Harmelen: A Semantic Web PrimerA Semantic Web Primer (Chapter.
RDF, RDFS making the Web a better place Ir. Richard Vdovjak, MTD.
LDK R Logics for Data and Knowledge Representation Resource Description Framework (RDF) Fausto Giunchiglia and Biswanath Dutta Fall’2011.
Chapter 2 Describing Web Resources: RDF
RDF Semantics by Patrick Hayes W3C Recommendation Presented by Jie Bao RPI Sept 4, 2008 Part 1 of RDF/OWL Semantics Tutorial.
RDF (Resource Description Framework) Why?. XML XML is a metalanguage that allows users to define markup XML separates content and structure from formatting.
13 Dec. 2006CmpE 583 Fall 2006 OWL Lite- Property Char’s. 1 OWL Lite: Ch. 13- Property Characteristics Atilla ELÇİ.
Chapter 3 RDF Schema.
Okech Odhiambo Faculty of Information Technology Strathmore University
Part II. Reification We can make statements about the RDF statements themselves. This can be used to annotate information In science, it is common to.
OWL – Part II. owl:equivalentProperty  Already we have learned about asserting that two properties behave in the same way  To make two properties equivalent,
Logics for Data and Knowledge Representation
RDF – Resource Description Framework M. Missikoff – F. Taglino LEKS, IASI-CNR Una piattaforma inferenziale per il Web Semantico: Jena2 Roma, 2006 Web Semantico.
© Copyright 2008 STI INNSBRUCK RDF and RDF Schema Semantic Web Lecture Lecture III – xx 2009 Dieter Fensel Slides.
1 Object-Orientation in Ontology Date: April 30, 2007 Byunggul Koh Taeksu Kim.
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.
Chapter 9. 9 RDFS (RDF Schema) RDFS Part of the Ontological Primitive layer Adds features to RDF Provides standard vocabulary for describing concepts.
The Knowledge Presentation Language. Web Ontology Language (OWL)  Web Ontology Language (OWL) extends RDF and RDFS languages by adding several other.
OWL Representing Information Using the Web Ontology Language 1.
Metadata. Generally speaking, metadata are data and information that describe and model data and information For example, a database schema is the metadata.
Chapter 3 RDF Schema. Introduction RDF has a very simple data model RDF Schema (RDFS) enriches the data model, adding vocabulary and associated semantics.
Part I: Set Constructs. RDF Schema (RDFS) RDF does not provide mechanisms to define domain classes and properties RDFS is a vocabulary that provides many.
Chapter 3 RDF and RDFS Semantics. Introduction RDF has a very simple data model But it is quite liberal in what you can say Semantics can be given using.
Chapter 7: Resource Description Framework (RDF) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley,
Semantic Web Exam 1 Review.
RDF & RDF Schema Machine Understandable Metadata for the Web Semantic Web - Spring 2006 Computer Engineering Department Sharif University of Technology.
1 Artificial Intelligence Applications Institute Centre for Intelligent Systems and their Applications Stuart Aitken Artificial Intelligence Applications.
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.
OIL and DAML+OIL: Ontology Languages for the Semantic Web Sungshin Lim TOWARDS THE SEMANTIC WEB: Ontology-driven Knowledge.
Chapter 7: Resource Description Framework (RDF) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley,
Ontology Engineering Lab #5 – September 30, 2013.
Ch 7: RDF schema 현근수, 김영욱, 백상윤, 이용현 Team C. Introduction Semantic web modeling In RDF: simply creates graph structure to represent data In RDFS: about.
Important Concepts from the W3C RDF Vocabulary/Schema Sungtae Kim SNU OOPSLA Lab. August 19, 2004.
RDF/RDFS Tutorial. Introduction The Resource Description Framework (RDF) is recommended by the World Wide Web Consortium (W3C) to model meta-data about.
The Knowledge Presentation Language. Web Ontology Language (OWL)  Web Ontology Language (OWL) extends RDF and RDFS languages by adding several other.
Of 38 lecture 6: rdf – axiomatic semantics and query.
Semantic Web for the Working Ontologist Dean Allemang Jim Hendler SNU IDB laboratory.
Ontology Engineering Lab #4 - September 23, 2013.
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.
An Optimization Technique for RDFS Inference using the Application Order of RDFS Entailment Rules Kisung Kim, Taewhi Lee
Import experiments in Protégé. October 10th © Raúl García-Castro Import experiments in Protégé Raúl García-Castro October 10th, 2005 Interoperability.
Linked Data & Semantic Web Technology The Semantic Web Part 7. RDF Semantics Dr. Myungjin Lee.
Semantic Web in Depth RDF Schema Dr Nicholas Gibbins –
Service-Oriented Computing: Semantics, Processes, Agents
Charlie Abela Department of Intelligent Computer Systems
An Introduction to RDF Schema
The Semantic Web Part 6. RDF Vocabularies: RDF Schema
Chapter 3 RDF Schema.
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
Some Other Useful Features of RDF
Bus Routes.
ece 720 intelligent web: ontology and beyond
Chapter 3 RDF and RDFS Semantics
Semantic-Web, Triple-Strores, and SPARQL
Presentation transcript:

Part II

Property domain and range restriction RDFS allows us to put restriction on the properties by specifying their domain and range, providing the semantic links between classes and properties The rdfs : domain and rdfs : range properties allow us to define the subject and object (both object type and datatype) of a property in a rdf triple, respectively hydro:contaminate rdfs:domain petr:Lead. hydro:contaminate rdfs:range hydro:Groundwater. Do you think the following leads to an error or it is a flaw? bio : cathydro : contaminate sport : basketball Answer: The reasoner assumes basketball is groundwater and that cat is lead; no error, but it is a wrong type matching! We need to put restriction on the domain and range types!

Code in N3 and RDF/XML format contaminate rdfs:domain Lead. contaminate rdfs:range Groundwater.

Property Intersection in RDFS Again, as is the case for classes, rdfs cannot directly model logical intersection and union for properties, although we can use the rdfs:subPropertyOf If we define property P to be the intersection of R and S (i.e., P  R  S), and two resources x and y are related by property P: Semantics: IF x P y THEN x R y x S y xy P AB RS

Example  After precipitation, water infiltrates into the ground and/or runs off on the surface of the ground :infiltrate rdfs:subPropertyOf :recharge  If water infiltrates the Floridan Aquifer (an instance); it recharges it: hydro: Water hydro: infiltratehydro: FloridanAquifer. hydro: Water hydro: rechargehydro: FloridanAquifer.  This is a one way inference, i.e., when water infiltrates an aquifer, it recharges it, but if an aquifer is recharged, it may not be because of infiltration xy infiltrate WaterAquifer recharge

infiltrate subPropertyOf recharge

infiltrate and recharge properties

… </rdf:Description

Combination of set union and rdfs:subClassOf Recall that the union of set A and B (A  B) contains elements that are contained only in A, only in B, or in both A and B Let the union of sets A and B be a member of set C (i.e., A  B  C), which means that each of the A and B sets is a subclass of C (i.e., C is the superclass of both A and B) C BA A  B  C x

Union A rdfs : subClassOf C. B rdfs : subClassOf C. In this case, any member (object x) of A or of B is also a member of set C: x rdf : type A. or x rdf : type B.  implies x rdf : type C. A  B  C x C BA x

Example  K-Ar age and Rb-Sr age are types of isotopic age x rdf : type A. or x rdf : type B. implies x rdf : type C. : KArAgerdfs : subClassOf: IsotopicAge. : RbSrAge: rdfs : subClassOf: IsotopicAge. IsotopicAge RbSrAgeKArAge

Example  If we know: : Age-1 rdf : type: KArAge. : Age-2rdf : type: RbSrAge. : KArAgerdfs : subClassOf: IsotopicAge. : RbSrAge: rdfs : subClassOf: IsotopicAge.  Then, we can infer that both ages are isotopic ages. : Age-1rdf : type: IsotopicAge. : Age-2rdf : type: IsotopicAge.  This inference is uni-directional, i.e., every K-Ar or Rb-Sr age is an isotopic age, but an isotopic age may not be K-Ar or Rb-Sr (it could be U-Th, for example) IsotopicAge RbSrAgeKArAge Age-1Age-2

Short format RDF/XML code

Property Union  This is useful when we combine properties from two different sources which may mean the same thing!  If two source classes use property P and T with same meaning (different names), then a combined property S can be defined using the rdfs:subPropertyOf P rdfs : subPropertyOf S. T rdfs : subPropertyOf S.  If there are two resources x and y, which are related either by P (shown) or T, then we can infer that they are related by S x P y. or x T y. Then x S y. xy S P or T AB

Making two Properties Equivalent  Two groups of geologists (e.g., Geochemistry and Tectonics groups) have knowledge bases, in which one group uses the property studies and the other one uses investigates for a job done by its geologists  Assuming that the ‘investigates’ and ‘studies’ properties mean the same thing, we make them equivalent the following way: geochem : studiesrdfs : subPropertyOf tect : investigates. tect : investigatesrdfs : subPropertyOf geochem : studies.  This way, the two properties of the Geochemistry and Tectonics group become equivalent  Note: we can also use owl:equivalentProperty

Union Alternative  The second way of doing this is by defining a super-property (the union pattern), such as ‘works’, for both properties  This way, different properties of the two groups (which actually mean the same thing) are combined under the same ‘works’ property, making it easy to merge the information from the two sources geochem : studies rdfs : subPropertyOf : works. tect : investigates rdfs : subPropertyOf : works. works studiesinvestigates

Same for ‘investigates’

RDF/XML code

Properties From Different Sources  Importing and equating properties from different sources can be done with the use of the rdfs:subPropertyOf  For example, if hydrogeology knowledge base calls ‘flow’ for what structural geology knowledge base calls ‘transport, we can use the rdfs:subPropertyOf as long as the domain and range of these various properties are the same  That is, we want to say that all uses of ‘transport’ and ‘move’ properties are the same: hydro : transport rdfs : subPropertyOf struc : move

Example If we have a triple: ‘ x hydro:transport y ’ in hydrogeology we can infer ‘ x struc:move y ’ in structural geology as long as x and y are of related types (e.g., water transport ion, fluid move ion) hydro : Water hydro : transportgeochem : Ion. struc : Fluid struc : movegeochem : Ion. struc : move hydro : transport x A y A

RDFS Containers The qualified name rdfs:Container is the general superclass of the rdf:Bag, rdf:Seq, and rdf:Alt, allowing us to mark a resource as a list without defining the specific type The rdfs:ContainerMembershipProperty is a subclass of the rdfs:Property class, and is used to specify containedness of one resource in another River has dissolved load, suspended load, and bed load: hydro:hasLoad rdf:type rdfs:ContainerMembershipProperty hydro:hasDissolvedLoad rdfs: subPropertyOf hydro:hasLoad RiverWaterhasDissolvedLoadIon If cement is contained in a clastic rock, then hasCement rdf:type rdfs:ContainerMembershipProperty

rdfs:member An instance of the rdfs:ContainerMembershipProperty is a subproperty of the rdfs:member property ConglomeratehasCementCement Conglomeraterdfs:memberCement RiverWaterhasDissolvedLoadIon RiverWaterrdfs:memberIon Note: We can also model these with the hasPart and partOf properties

rdfs : label property  The rdfs:label offers a printable label for the name of a resource (class, property, individual) for human consumption. The object of rdfs:label has to be a literal rdfs : label rdfs : range xsd : string Or in RDF/XML Gem  To achieve this, we need to define the properties, with string values, as a rdfs:subPropertyOf the rdfs:label  The labels can then be returned if queried. : MapNamerdfs:subPropertyOfrdfs:label. : InvestigatorNamerdfs:subPropertyOfrdfs:label.

Other rdfs properties The rdfs:seeAlso and rdfs:isDefinedBy provide extra information and link to the primary source of information, respectively, for a resource The object of the rdfs:isDefinedBy property defines the subject (i.e., provides more info about the subject) The rdfs:isDefinedBy is a subproperty of the rdfs:seeAlso

More qnames (URI) rdfs:seeAlso rdf:resource=“ The rdfs:comment property offers a natural language comment for any triple, for example: geochem : precisionrdfs : Comment “Precision relates to the instrument.” Or in RDF/XML: Gems are minerals