RDF & RDFS - 웹정보시스템

Size: px
Start display at page:

Download "RDF & RDFS - 웹정보시스템"

Transcription

1 - - RDF & RDFS Sang-goo Lee School of Computer Science & Engineering Center for E-Business Technology Seoul National University, Seoul, Korea Center for E-Business Technology Seoul National University Seoul, Korea Copyright 2008~2009 SNU Center for E-Business Technology. All rights reserved.

2 The Semantic Web A vision for the World Wide Web Ubiquitous Web: Web for everything & everyone Safe Web: Web of trust and confidence Semantic Web: Web of knowledge The Semantic Web (Web of Data) An extension of the current Web in which information is given welldefined meaning, better enabling computers and people to work in cooperation. T. Berners-Lee, 2001 Current Web: documents for people Semantic Web: data for computer programs RDF & RDFS - 2

3 Web Nodes & Links [Steve Bratt, W3C] RDF & RDFS - 3

4 Web Nodes & Links to a computer! [Steve Bratt, W3C] RDF & RDFS - 4

5 A Semantic Web convener meeting leader place PR website html [Steve Bratt, W3C] RDF & RDFS - 5

6 Ontology The study of being or existence forms the basic subject matter of metaphysics The study of the nature and structure of what is possible Ontology has one basic question: "What is there?" Some other questions in ontology What is existence? Is existence a property? What is a physical object? What are an object's properties or relations and how are they related to the object itself? Aristoteles by Francesco Hayez (1811) [Wikipedia] RDF & RDFS - 6

7 Ontology in Computer Science in Wikipedia a data model that represents a set of concepts within a domain and the relationships between those concepts. It is used to reason about the objects within that domain. Purpose enable computers to deal with semantics (meaning) An ontology language usually introduces concepts (aka classes, entities), properties of concepts (aka slots, attributes, roles), relationships between concepts (aka associations), and additional constraints. Related technology RDF, OWL, DL, RDF & RDFS - 7

8 XML Structure of XML Data XML Document Schema Querying and Transformation

9 extensible Markup Language Defined by the WWW Consortium (W3C) Originally intended as a document markup language not a database language Documents have tags giving extra information about sections of the document E.g. <title> XML </title> <slide> Introduction </slide> Derived from SGML (Standard Generalized Markup Language), but simpler to use SGML is too complex => nobody uses it! Goal was (is?) to replace HTML as the language for publishing documents on the Web RDF & RDFS - 9

10 HTML vs XML Extensible unlike HTML users can add new tags, and separately specify how the tag should be handled for display HTML is not fit for data exchange HTML tags are predefined mainly deal with how to handle the display of texts and images HTML tags do not annotate the meaning of the data Example: <H1> aaa </H1> specifies that aaa should appear as header in the display RDF & RDFS - 10

11 HTML vs XML Example HTML <H1>Invoice</H1> <B>From: PC World </B><P> To: SGLee <P> Date: 2001/11/16 <P> Amount: $100 <P> XML <Invoice> <From>PC World </From> <To> SGLee </To> <Date year= 2001 month= 11 day= 16 /> <Amount unit= dollars > 100</Amount> </Invoice> RDF & RDFS - 11

12 XML, HTML, & SGML subset SGML instance DTD HTML XML instance DTD / Schema Order Invoice Transcode XSL Display on browser RDF & RDFS - 12

13 Structure of XML Data Tag label for a section of data Element: section of data beginning with <tagname> and ending with matching </tagname> Elements must be properly nested Proper nesting <account> <balance> </balance> </account> Improper nesting <account> <balance> </account> </balance> Formally: every start tag must have a unique matching end tag, that is in the context of the same parent element. Every document must have a single top-level element RDF & RDFS - 13

14 XML Data Example <bank-1> <customer> <customer-name> Hayes </customer-name> <customer-street> Main </customer-street> <customer-city> Harrison </customer-city> <account> <account-number> A-102 </account-number> <branch-name> Perryridge </branch-name> <balance> 400 </balance> </account> <account> </account> </customer>.. </bank-1> RDF & RDFS - 14

15 Attributes Elements can have attributes <account acct-type = checking > <account-number> A-102 </account-number> <branch-name> Perryridge </branch-name> <balance> 400 </balance> </account> Attributes are specified by name=value pairs inside the starting tag of an element An element may have several attributes, but each attribute name can only occur once <account acct-type = checking monthly-fee= 5 > RDF & RDFS - 15

16 Attributes Vs. Subelements In the context of documents attributes are part of markup, subelement contents are part of the basic document contents In the context of data representation the difference is unclear and may be confusing Same information can be represented in two ways OR <account account-number = A-101 > </account> <account> <account-number>a-101</account-number> </account> Suggestion: Use attributes for identifiers of elements, and use subelements for contents RDF & RDFS - 16

17 XML Document Schema Database schemas constrain what information can be stored, and the data types of stored values XML documents are not required to have an associated schema However, schemas are very important for XML data exchange Otherwise, a site cannot automatically interpret data received from another site Two mechanisms for specifying XML schema Document Type Definition (DTD) Original spec. Simpler but limited XML Schema Newer, more complicated but with more features RDF & RDFS - 17

18 Document Type Definition (DTD) The type of an XML document can be specified using a DTD DTD constraints structure of XML data What elements can occur What attributes can/must an element have What subelements can/must occur inside each element, and how many times. DTD does not constrain data types All values represented as strings in XML DTD syntax <!ELEMENT element (subelements-specification) > <!ATTLIST element (attributes) > RDF & RDFS - 18

19 Bank Element <!DOCTYPE bank [ ]> <!ELEMENT bank ( ( account customer depositor)+)> <!ELEMENT account (account-number branch-name balance)> <!ELEMENT customer(customer-name customerstreet customer-city)> <!ELEMENT depositor (customer-name accountnumber)> <!ELEMENT account-number (#PCDATA)> <!ELEMENT branch-name (#PCDATA)> <!ELEMENT balance (#PCDATA)> <!ELEMENT customer-name (#PCDATA)> <!ELEMENT customer-street (#PCDATA)> <!ELEMENT customer-city (#PCDATA)> <bank> <account> <account_number> A-101 </account_number> <branch_name> Downtown </branch_name> <balance> 500 </balance> </account> <customer> <customer_name> Johnson </customer_name> <customer_street> Alma </customer_street> <customer_city> Palo Alto </customer_city> </customer> <depositor> <account_number> A101 </account_number> <customer_name> Johnson </customer_name> <depositor> </bank> RDF & RDFS - 19

20 XML Schema XML Schema is a more sophisticated schema language Addresses the drawbacks of DTDs. Typing of values E.g. integer, string, etc Also, constraints on min/max values User defined types Is itself specified in XML syntax, unlike DTDs More standard representation, but verbose Is integrated with namespaces Many more features List types, uniqueness and foreign key constraints, inheritance.. Significantly more complicated than DTDs but with more power RDF & RDFS - 20

21 XML Schema Version of Bank DTD <xsd:schema xmlns:xsd= <xsd:element name= bank type= BankType /> <xsd:element name= account > <xsd:complextype> <xsd:sequence> <xsd:element name= account-number type= xsd:string /> <xsd:element name= branch-name type= xsd:string /> <xsd:element name= balance </xsd:squence> </xsd:complextype> </xsd:element>.. definitions of customer and depositor. <xsd:complextype name= BankType > <xsd:squence> <xsd:element ref= account type= xsd:decimal /> minoccurs= 0 maxoccurs= unbounded /> <xsd:element ref= customer minoccurs= 0 maxoccurs= unbounded /> <xsd:element ref= depositor minoccurs= 0 maxoccurs= unbounded /> </xsd:sequence> </xsd:complextype> </xsd:schema> RDF & RDFS - 21

22 Namespaces XML data has to be exchanged between organizations Same tag name may have different meaning in different organizations, causing confusion on exchanged documents Solution Using (globally) unique element names avoids confusion Two part solution: unique-name:element-name Avoid using long unique names all over document by using XML namespaces (kind of an) abbreviated prefix <bank xmlns:fb= > <FB:branch> <FB:branchname>Downtown</FB:branchname> <FB:branchcity> Brooklyn </FB:branchcity> </FB:branch> </bank> RDF & RDFS - 22

23 Querying and Transforming XML Data Translation of information from one XML schema to another Querying on XML data Above two are closely related, and handled by the same tools Standard XML querying/translation languages XSLT Simple language designed for translation from XML to XML and XML to HTML XPath Simple language consisting of path expressions XQuery An XML query language with a rich set of features RDF & RDFS - 23

24 Tree Model of XML Data An XML document is modeled as a tree with nodes corresponding to elements and attributes Query and transformation languages are based on a tree model of XML data Element nodes have child nodes which can be attributes or subelements Text in an element is modeled as a text node child of the element Children of a node are ordered according to their order in the XML document Element and attribute nodes (except for the root node) have a single parent, which is an element node The root node has a single child which is the root element of the document RDF & RDFS - 24

25 XPath Select parts of documents using path expressions A path expression is a sequence of steps separated by / Similar to a directory hierarchy Result of path expression E.g. set of values that match the specified path (along with their containing elements/attributes) /bank/customer/customer_name evaluated on the data shown in figure 10.1 returns <customer_name> Johnson </customer_name> <customer_name> Hayes </customer_name> /bank/customer/customer_name/text( ) returns the same names, but without the enclosing tags RDF & RDFS - 25

26 XPath (Cont.) The initial / denotes root of the document (above the top-level tag) Path expressions are evaluated left to right Each step operates on the set of instances produced by the previous step Selection predicates may follow any step in a path, in [ ] E.g. /bank/account[balance > 400] returns account elements with a balance value greater than 400 /bank/account[balance] returns account elements containing a balance subelement RDF & RDFS - 26

27 XSLT Stylesheet stores formatting options for a document usually separately from document HTML style sheet may specify font colors and sizes for headings, etc. XML Stylesheet Language (XSL) A general-purpose XML transformation language was originally designed for generating HTML from XML Can translate XML to XML, as well as XML to HTML XSLT transformations are expressed using rules called templates Templates combine selection using XPath with construction of results RDF & RDFS - 27

28 XSLT Example <xsl:template match= /bank/customer > <name> <xsl:value-of select= customer_name /> </name> </xsl:template> <xsl:template match= * /> Result: <name> Johnson </name> <name> Hayes </name> RDF & RDFS - 28

29 RDF

30 Basic Ideas of RDF Basic building block: object-attribute-value triple It is called a statement RDF has been given a syntax in XML This syntax inherits the benefits of XML Other syntactic representations of RDF possible <course name="discrete Maths"> <lecturer>david Billington</lecturer> </course> The fundamental concepts of RDF are: resources properties statements RDF & RDFS - 30

31 Resources A resource is an object, a thing we want to talk about E.g. authors, books, publishers, places, people, hotels Every resource has a URI, a Universal Resource Identifier A URI can be a URL (Web address) or some other kind of unique identifier Advantages of using URIs: Α global, worldwide, unique naming scheme Reduces the homonym problem of distributed data representation RDF & RDFS - 31

32 Properties Properties are a special kind of resources They describe relations between resources E.g. written by, age, title, etc. Properties are also identified by URIs Statements Statements assert the properties of resources A statement is an object-attribute-value triple It consists of a resource, a property, and a value Values can be resources or literals Literals are atomic values (strings) RDF & RDFS - 32

33 Three Views of a Statement A triple A pair of linked nodes An XML element Thus an RDF document can be viewed as: A set of triples A graph (semantic net) An XML document RDF & RDFS - 33

34 Statements as Triples ( David Billington, The triple (x,p,y) can be considered as a logical formula P(x,y) Binary predicate P relates object x to object y RDF offers only binary predicates (properties) RDF & RDFS - 34

35 Statements as a Piece of Graph A directed graph with labeled nodes and arcs from the resource (the subject of the statement) to the value (the object of the statement) Known in AI as a semantic net The value of a statement may be a resource Ιt may be linked to other resources RDF & RDFS - 35

36 Statements in XML Syntax Graphs are a powerful tool for human understanding but The Semantic Web vision requires machine-accessible and machine-processable representations There is a 3rd representation based on XML But XML is not a part of the RDF data model E.g. serialisation of XML is irrelevant for RDF <rdf:rdf xmlns:rdf=" xmlns:mydomain=" <rdf:description rdf:about=" <mydomain:site-owner> David Billington </mydomain:site-owner> </rdf:description> </rdf:rdf> 36 RDF & RDFS - 36

37 Statements in XML An RDF document is represented by an XML element with the tag rdf:rdf The content of this element is a number of descriptions, which use rdf:description tags. Every description makes a statement about a resource, identified in 3 ways: an about attribute, referencing an existing resource an ID attribute, creating a new resource without a name, creating an anonymous resource RDF & RDFS - 37

38 RDF Examples DB Table on CDs Title Artist 제조국 레이블 가격 발매일 The Sentimental Cord SG Wanna Be+ Korea Poibos 11, Come Away With Me Norah Jones USA EMI 15, <?xml version="1.0"?> <rdf:rdf xmlns:rdf=" / / 02/ 22- rdf- syntax- ns# " xmlns:cd=" / cd# "> <rdf:description rdf:about=" / cd/ SGWannaBe# 4"> <cd:artist cd:artist>sg Wanna Be+</ cd:artist> <cd cd: 제조국 >Korea</ cd: 제조국 > <cd cd: 레이블 >Poibos Poibos</ cd: 레이블 > <cd cd: 가격 >11,900</ cd: 가격 > <cd cd: 발매일 >2007</ cd: 발매일 > </ rdf:description> <rdf:description rdf:about=" / cd/ Come Away With Me"> <cd:artist cd:artist>norah Jones</ cd:artist> <cd cd: 제조국 >USA</ cd: 제조국 > <cd cd: 레이블 >EMI</ cd: 레이블 > <cd cd: 가격 >15,700</ cd: 가격 > <cd cd: 발매일 >2004</ cd: 발매일 > </ rdf:description>... </ rdf:rdf> RDF & RDFS - 38

39 Example of University Courses <rdf:rdf xmlns:rdf=" xmlns:xsd=" xmlns:uni=" <rdf:description rdf:about="949318"> <uni:name>david Billington</uni:name> <uni:title>associate Professor</uni:title> <uni:age rdf:datatype="&xsd:integer">27<uni:age> </rdf:description> <rdf:description rdf:about="cit1111"> <uni:coursename>discrete Maths</uni:courseName> <uni:istaughtby>david Billington</uni:isTaughtBy> </rdf:description> <rdf:description rdf:about="cit2112"> <uni:coursename>programming III</uni:courseName> <uni:istaughtby>michael Maher</uni:isTaughtBy> </rdf:description> </rdf:rdf> RDF & RDFS - 39

40 Introducing Structure to RDF: rdf:type <rdf:description rdf:id="cit1111"> <rdf:type rdf:resource=" <uni:coursename>discrete Maths</uni:courseName> <uni:istaughtby rdf:resource="#949318"/> </rdf:description> <rdf:description rdf:id="949318"> <rdf:type rdf:resource=" <uni:name>david Billington</uni:name> <uni:title>associate Professor</uni:title> </rdf:description> RDF & RDFS - 40

41 Abbreviated Syntax <rdf:description rdf:id="cit1111" uni:coursename="discrete Maths"> <rdf:type rdf:resource=" <uni:istaughtby rdf:resource="#949318"/> </rdf:description> <uni:course rdf:id="cit1111" uni:coursename="discrete Maths"> <uni:istaughtby rdf:resource="#949318"/> </uni:course> RDF & RDFS - 41

42 Reification Sometimes we wish to make statements about other statements We must be able to refer to a statement using an identifier RDF allows such reference through a reification mechanism which turns a statement into a resource <rdf:description rdf:about="#949352"> </rdf:description> reifies as <uni:name>grigoris Antoniou</uni:name> <rdf:statement rdf:id="statementabout949352"> </rdf:statement> <rdf:subject rdf:resource="#949352"/> <rdf:predicate rdf:resource=" uni-ns#name"/> <rdf:object>grigoris Antoniou</rdf:object> RDF & RDFS - 42

43 RDF Schema (RDFS)

44 Basic Ideas of RDF Schema RDF is a universal language that lets users describe resources in their own vocabularies RDF does not assume, nor does it define semantics of any particular application domain The user can do so in RDF Schema using: Classes and Properties Class Hierarchies and Inheritance Property Hierarchies RDF & RDFS - 44

45 Classes and their Instances We must distinguish between Concrete things (individual objects) in the domain: Discrete Maths, David Billington etc. Sets of individuals sharing properties called classes: lecturers, students, courses etc. Individual objects that belong to a class are referred to as instances of that class The relationship between instances and classes in RDF is through rdf:type RDF & RDFS - 45

46 Class Hierarchies Classes can be organised in hierarchies A is a subclass of B if every instance of A is also an instance of B Then B is a superclass of A A subclass graph need not be a tree A class may have multiple superclasses RDF & RDFS - 46

47 Inheritance in Class Hierarchies Range restriction: Courses must be taught by academic staff members only Michael Maher is a professor He inherits the ability to teach from the class of academic staff members This is done in RDF Schema by fixing the semantics of is a subclass of It is not up to an application (RDF processing software) to interpret is a subclass of RDF & RDFS - 47

48 Property Hierarchies Hierarchical relationships for properties E.g., is taught by is a subproperty of involves If a course C is taught by an academic staff member A, then C also involves Α The converse is not necessarily true E.g., A may be the teacher of the course C, or a tutor who marks student homework but does not teach C P is a subproperty of Q, if Q(x,y) is true whenever P(x,y) is true RDF & RDFS - 48

49 RDF Layer vs RDF Schema Layer (2) RDF & RDFS - 49

50 RDF Schema in RDF The modeling primitives of RDF Schema are defined using resources and properties (RDF itself is used!) To declare that lecturer is a subclass of academic staff member Define resources lecturer, academicstaffmember, and subclassof define property subclassof Write triple (subclassof,lecturer,academicstaffmember) We use the XML-based syntax of RDF RDF & RDFS - 50

51 Core Classes rdfs:resource, the class of all resources rdfs:class, the class of all classes rdfs:literal, the class of all literals (strings) rdf:property, the class of all properties. rdf:statement, the class of all reified statements <rdfs:class rdf:about="#lecturer"> <rdfs:subclassof rdf:resource="#staffmember"/> </rdfs:class> RDF & RDFS - 51

52 Core Properties rdf:type, which relates a resource to its class The resource is declared to be an instance of that class rdfs:subclassof, which relates a class to one of its superclasses All instances of a class are instances of its superclass rdfs:subpropertyof, relates a property to one of its superproperties rdfs:domain, which specifies the domain of a property P The class of those resources that may appear as subjects in a triple with predicate P If the domain is not specified, then any resource can be the subject rdfs:range, which specifies the range of a property P The class of those resources that may appear as values in a triple with predicate P RDF & RDFS - 52

53 Example: A University <rdfs:class rdf:id="lecturer"> <rdfs:subclassof rdf:resource="#academicstaffmember"/> </rdfs:class> <rdfs:class rdf:id="course"> <rdfs:comment>the class of courses</rdfs:comment> </rdfs:class> <rdf:property rdf:id= involves"> <rdfs:domain rdf:resource="#course"/> <rdfs:range rdf:resource= #lecturer"/> </rdf:property> <rdf:property rdf:id="istaughtby"> <rdfs:comment> Inherits its domain ("course") and range ("lecturer") from its superproperty "involves" </rdfs:comment> <rdfs:subpropertyof rdf:resource="#involves"/> </rdf:property> RDF & RDFS - 53

54 Subclass Hierarchy of Primitives of RDFS RDF & RDFS - 54

55 Instance Relationships RDF & RDFS - 55

56 Instance Relationships - Core Properties of RDF and RDFS RDF & RDFS - 56

57 The Namespace of RDF <rdfs:class rdf:id="statement" rdfs:comment="the class of triples consisting of a predicate, a subject and an object (that is, a reified statement)"/> <rdfs:class rdf:id="property" rdfs:comment="the class of properties"/> <rdfs:class rdf:id="bag" rdfs:comment="the class of unordered collections"/> <rdf:property rdf:id="predicate" </rdf:property> rdfs:comment="identifies the property of a statementin reified form"/> <rdfs:domain rdf:resource="#statement"/> <rdfs:range rdf:resource="#property"/> RDF & RDFS - 57

58 The Namespace of RDF Schema <rdfs:class rdf:id="resource" rdfs:comment="the most general class"/> <rdfs:class rdf:id="class" rdfs:comment="the concept of classes. All classes are resources"/> <rdfs:subclassof rdf:resource="#resource"/> </rdfs:class> <rdf:property rdf:id="subpropertyof"> <rdfs:domain rdf:resource= " <rdfs:range rdf:resource= " </rdf:property> <rdf:property rdf:id="subclassof"> <rdfs:domain rdf:resource="#class"/> <rdfs:range rdf:resource="#class"/> </rdf:property> RDF & RDFS - 58

59 Namespace versus Semantics Consider rdfs:subclassof The namespace specifies only that it applies to classes and has a class as a value The meaning of being a subclass not expressed The meaning cannot be expressed in RDF If it could RDF Schema would be unnecessary External definition of semantics required Respected by RDF/RDFS processing software RDF & RDFS - 59

60 Axiomatic Semantics We formalize the meaning of the modeling primitives of RDF and RDF Schema By translating into first-order logic We make the semantics unambiguous and machine accessible We provide a basis for reasoning support by automated reasoners manipulating logical formulas RDF & RDFS - 60

61 Basic Predicates PropVal(P,R,V) A predicate with 3 arguments, which is used to represent an RDF statement with resource R, property P and value V An RDF statement (triple) (P,R,V) is represented as PropVal(P,R,V). Type(R,T) Short for PropVal(type,R,T) Specifies that the resource R has the type T Type(?r,?t) PropVal(type,?r,?t) RDF & RDFS - 61

62 RDF Classes Constants: Class, Resource, Property, Literal All classes are instances of Class Type(Class,Class) Type(Resource,Class) Type(Property,Class) Type(Literal,Class) Resource is the most general class: every class and every property is a resource Type(?p,Property) Type(?p,Resource) Type(?c,Class) Type(?c,Resource) The predicate in an RDF statement must be a property PropVal(?p,?r,?v) Type(?p,Property) RDF & RDFS - 62

63 The type Property type is a property PropVal(type,type,Property) type can be applied to resources (domain) and has a class as its value (range) Type(?r,?c) (Type(?r,Resource) Type(?c,Class)) RDF & RDFS - 63

64 The Auxiliary FuncProp Property P is a functional property if, and only if, it is a property, and there are no x, y1 and y2 with P(x,y1), P(x,y2 ) and y1 y2 Type(?p, FuncProp) (Type(?p, Property)?r?v1?v2 (PropVal(?p,?r,?v1) PropVal(?p,?r,?v2)?v1 =?v2)) RDF & RDFS - 64

65 Subclass subclassof is a property: Type(subClassOf,Property) If a class C is a subclass of a class C', then all instances of C are also instances of C': PropVal(subClassOf,?c,?c') (Type(?c,Class) Type(?c',Class)?x (Type(?x,?c) Type(?x,?c'))) RDF & RDFS - 65

66 Subproperty P is a subproperty of P', if P'(x,y) is true whenever P(x,y) is true: Type(subPropertyOf,Property) PropVal(subPropertyOf,?p,?p') (Type(?p,Property) Type(?p',Property)?r?v (PropVal(?p,?r,?v) PropVal(?p',?r,?v))) RDF & RDFS - 66

67 Domain and Range If the domain of P is D, then for every P(x,y), x D PropVal(domain,?p,?d)?x?y (PropVal(?p,?x,?y) Type(?x,?d)) If the range of P is R, then for every P(x,y), y R PropVal(range,?p,?r)?x?y (PropVal(?p,?x,?y) Type(?y,?r)) RDF & RDFS - 67

68 Semantics based on Inference Rules Semantics in terms of RDF triples instead of restating RDF in terms of first-order logic and sound and complete inference systems This inference system consists of inference rules of the form: IF E contains certain triples THEN add to E certain additional triples where E is an arbitrary set of RDF triples RDF & RDFS - 68

69 Examples of Inference Rules IF E contains the triple (?x,?p,?y) THEN E also contains (?p,rdf:type,rdf:property) IF E contains the triples (?u,rdfs:subclassof,?v) and (?v,rdfs:subclassof,?w) THEN E also contains the triple (?u,rdfs:subclassof,?w) IF E contains the triples (?x,rdf:type,?u) and (?u,rdfs:subclassof,?v) THEN E also contains the triple (?x,rdf:type,?v) RDF & RDFS - 69

70 Examples of Inference Rules (2) Any resource?y which appears as the value of a property?p can be inferred to be a member of the range of?p This shows that range definitions in RDF Schema are not used to restrict the range of a property, but rather to infer the membership of the range IF E contains (?x,?p,?y) and (?p,rdfs:range,?u) THEN E also contains the triple (?y,rdf:type,?u) RDF & RDFS - 70

71 Summary RDF provides a foundation for representing and processing metadata RDF has a graph-based data model RDF has an XML-based syntax to support syntactic interoperability. XML and RDF complement each other because RDF supports semantic interoperability RDF has a decentralized philosophy and allows incremental building of knowledge, and its sharing and reuse RDF & RDFS - 71

72 Summary (2) RDF is domain-independent RDF Schema provides a mechanism for describing specific domains RDF Schema is a primitive ontology language It offers certain modelling primitives with fixed meaning Key concepts of RDF Schema are class, subclass relations, property, subproperty relations, and domain and range restrictions There exist query languages for RDF and RDFS RDF & RDFS - 72

73 RDF, RDFS Center for E-Business Technology Seoul National University Seoul, Korea Copyright 2008~2009 SNU Center for E-Business Technology. All rights reserved.

XML-Based Syntax of RDF

XML-Based Syntax of RDF RDF XML-Based Syntax of RDF An RDF document consists of an rdf:rdf element The content of that element is a number of descriptions A namespace mechanism is used Disambiguation Namespaces are expected to

More information

Describing Web Resources in RDF

Describing Web Resources in RDF Describing Web Resources in RDF CSE 595 Semantic Web Instructor: Dr. Paul Fodor Stony Brook University http://www3.cs.stonybrook.edu/~pfodor/courses/cse595.html Lecture Outline Current Web RDF: Data Model

More information

EMERGING TECHNOLOGIES. XML Documents and Schemas for XML documents

EMERGING TECHNOLOGIES. XML Documents and Schemas for XML documents EMERGING TECHNOLOGIES XML Documents and Schemas for XML documents Outline 1. Introduction 2. Structure of XML data 3. XML Document Schema 3.1. Document Type Definition (DTD) 3.2. XMLSchema 4. Data Model

More information

Sematic Web. Lecture Outline. Reasoning. Holger Wache SS 2008

Sematic Web. Lecture Outline. Reasoning. Holger Wache SS 2008 Sematic Web Reasoning Holger Wache SS 2008 1 Lecture Outline 1. Axiomatic Semantics for RDF and RDFS 2. Direct Semantics based on Inference Rules 3. Querying of RDF/RDFS Documents using RQL 2 1 Copyright

More information

SEMANTIC WEB 05 RDF SCHEMA MODELLING SEMANTICS IMRAN IHSAN ASSISTANT PROFESSOR, AIR UNIVERSITY, ISLAMABAD

SEMANTIC WEB 05 RDF SCHEMA MODELLING SEMANTICS IMRAN IHSAN ASSISTANT PROFESSOR, AIR UNIVERSITY, ISLAMABAD SEMANTIC WEB 05 RDF SCHEMA MODELLING SEMANTICS IMRAN IHSAN ASSISTANT PROFESSOR, AIR UNIVERSITY, ISLAMABAD WWW.IMRANIHSAN.COM INTRODUCTION RDF has a very simple data model RDF Schema (RDFS) enriches the

More information

Introduction. " Documents have tags giving extra information about sections of the document

Introduction.  Documents have tags giving extra information about sections of the document Chapter 10: XML Introduction! XML: Extensible Markup Language! Defined by the WWW Consortium (W3C)! Originally intended as a document markup language not a database language " Documents have tags giving

More information

Introduction. " Documents have tags giving extra information about sections of the document

Introduction.  Documents have tags giving extra information about sections of the document Chapter 10: XML Introduction! XML: Extensible Markup Language! Defined by the WWW Consortium (W3C)! Originally intended as a document markup language not a database language " Documents have tags giving

More information

ADT 2005 Lecture 7 Chapter 10: XML

ADT 2005 Lecture 7 Chapter 10: XML ADT 2005 Lecture 7 Chapter 10: XML Stefan Manegold Stefan.Manegold@cwi.nl http://www.cwi.nl/~manegold/ Database System Concepts Silberschatz, Korth and Sudarshan The Challenge: Comic Strip Finder The Challenge:

More information

Chapter 3. RDF Schema

Chapter 3. RDF Schema Chapter 3 RDF Schema Introduction l RDF has a very simple data model l RDF Schema (RDFS) enriches the data model, adding vocabulary & associated semantics for Classes and es Properties and sub-properties

More information

SEMANTIC WEB 04 RDF SYNTAX TURTLE, RDF/XML, N-TRIPLES, N3 IMRAN IHSAN ASSISTANT PROFESSOR, AIR UNIVERSITY, ISLAMABAD

SEMANTIC WEB 04 RDF SYNTAX TURTLE, RDF/XML, N-TRIPLES, N3 IMRAN IHSAN ASSISTANT PROFESSOR, AIR UNIVERSITY, ISLAMABAD SEMANTIC WEB 04 RDF SYNTAX TURTLE, RDF/XML, N-TRIPLES, N3 IMRAN IHSAN ASSISTANT PROFESSOR, AIR UNIVERSITY, ISLAMABAD WWW.IMRANIHSAN.COM INTRODUCTION Problem: What does an XML document mean? XML is about

More information

Chapter 3 RDF Syntax

Chapter 3 RDF Syntax Chapter 3 RDF Syntax RDF Overview l RDF Syntax -- the XML encoding l RDF Syntax variations including N3 l RDF Schema (RDFS) l Semantics of RDF and RDFS Axiomatic Semantics Operational semantics based on

More information

KDI RDF. Fausto Giunchiglia and Mattia Fumagallli. University of Trento

KDI RDF. Fausto Giunchiglia and Mattia Fumagallli. University of Trento KDI RDF Fausto Giunchiglia and Mattia Fumagallli University of Trento Roadmap Title (font gill sans MT) XML From HTML to XML Similarities and differences XML features and limits RDF Syntax Language and

More information

RDF(S) Resource Description Framework (Schema)

RDF(S) Resource Description Framework (Schema) RDF(S) Resource Description Framework (Schema) Where are we? OWL Reasoning DL Extensions Scalability OWL OWL in practice PL/FOL XML RDF(S) Practical Topics 2 Where are we? PL, FOL, XML Today: RDF Purposes?

More information

XML. Structure of XML Data XML Document Schema Querying and Transformation Application Program Interfaces to XML Storage of XML Data XML Applications

XML. Structure of XML Data XML Document Schema Querying and Transformation Application Program Interfaces to XML Storage of XML Data XML Applications Chapter 10: XML XML Structure of XML Data XML Document Schema Querying and Transformation Application Program Interfaces to XML Storage of XML Data XML Applications Introduction XML: Extensible Markup

More information

XML: extensible Markup Language

XML: extensible Markup Language Datamodels XML: extensible Markup Language Slides are based on slides from Database System Concepts Silberschatz, Korth and Sudarshan See www.db-book.com for conditions on re-use Many examples are from

More information

Lecture 7 Introduction to XML Data Management

Lecture 7 Introduction to XML Data Management Lecture 7 Introduction to XML Data Management Shuigeng Zhou April 16, 2014 School of Computer Science Fudan University Outline Structure of XML Data XML Document Schema Querying and Transformation Application

More information

RDF. Charlie Abela Department of Artificial Intelligence

RDF. Charlie Abela Department of Artificial Intelligence RDF Charlie Abela Department of Artificial Intelligence charlie.abela@um.edu.mt Last Lecture Introduced XPath and XQuery as languages that allow for accessing and extracting node information from XML Problems?

More information

RDF Schema. Mario Arrigoni Neri

RDF Schema. Mario Arrigoni Neri RDF Schema Mario Arrigoni Neri Semantic heterogeneity Standardization: commitment on common shared markup If no existing application If market-leaders can define de-facto standards Translation: create

More information

XML and Semantic Web Technologies. III. Semantic Web / 1. Ressource Description Framework (RDF)

XML and Semantic Web Technologies. III. Semantic Web / 1. Ressource Description Framework (RDF) XML and Semantic Web Technologies XML and Semantic Web Technologies III. Semantic Web / 1. Ressource Description Framework (RDF) Prof. Dr. Dr. Lars Schmidt-Thieme Information Systems and Machine Learning

More information

Semantic Web In Depth: Resource Description Framework. Dr Nicholas Gibbins 32/4037

Semantic Web In Depth: Resource Description Framework. Dr Nicholas Gibbins 32/4037 Semantic Web In Depth: Resource Description Framework Dr Nicholas Gibbins 32/4037 nmg@ecs.soton.ac.uk RDF syntax(es) RDF/XML is the standard syntax Supported by almost all tools RDF/N3 (Notation3) is also

More information

Structured documents

Structured documents Structured documents An overview of XML Structured documents Michael Houghton 15/11/2000 Unstructured documents Broadly speaking, text and multimedia document formats can be structured or unstructured.

More information

Parallel/Distributed Databases XML

Parallel/Distributed Databases XML Parallel/Distributed Databases XML Mihai Pop CMSC424 most slides courtesy of Amol Deshpande Project due today Admin Sign up for demo, if you haven't already myphpbib.sourceforge.net - example publication

More information

Outline RDF. RDF Schema (RDFS) RDF Storing. Semantic Web and Metadata What is RDF and what is not? Why use RDF? RDF Elements

Outline RDF. RDF Schema (RDFS) RDF Storing. Semantic Web and Metadata What is RDF and what is not? Why use RDF? RDF Elements Knowledge management RDF and RDFS 1 RDF Outline Semantic Web and Metadata What is RDF and what is not? Why use RDF? RDF Elements RDF Schema (RDFS) RDF Storing 2 Semantic Web The Web today: Documents for

More information

ADT XML, XPath & XQuery

ADT XML, XPath & XQuery Introduction to XML, XPath & XQuery Chapter 10 in Silberschatz, Korth, Sudarshan Database System Concepts Stefan Manegold Stefan.Manegold@cwi.nl http://www.cwi.nl/~manegold/ 2 Google Hits of 3-letter combinations

More information

Copyright 2007 Ramez Elmasri and Shamkant B. Navathe. Slide 27-1

Copyright 2007 Ramez Elmasri and Shamkant B. Navathe. Slide 27-1 Slide 27-1 Chapter 27 XML: Extensible Markup Language Chapter Outline Introduction Structured, Semi structured, and Unstructured Data. XML Hierarchical (Tree) Data Model. XML Documents, DTD, and XML Schema.

More information

XML Origin and Usages

XML Origin and Usages Kapitel 1 XML Outline XML Basics DTDs, XML Schema XPath, XSLT, XQuery SQL/XML Application Programming Integration N. Ritter, WfWS, Kapitel1, SS 2005 1 XML Origin and Usages Defined by the WWW Consortium

More information

RDF /RDF-S Providing Framework Support to OWL Ontologies

RDF /RDF-S Providing Framework Support to OWL Ontologies RDF /RDF-S Providing Framework Support to OWL Ontologies Rajiv Pandey #, Dr.Sanjay Dwivedi * # Amity Institute of information Technology, Amity University Lucknow,India * Dept.Of Computer Science,BBA University

More information

OSM Lecture (14:45-16:15) Takahira Yamaguchi. OSM Exercise (16:30-18:00) Susumu Tamagawa

OSM Lecture (14:45-16:15) Takahira Yamaguchi. OSM Exercise (16:30-18:00) Susumu Tamagawa OSM Lecture (14:45-16:15) Takahira Yamaguchi OSM Exercise (16:30-18:00) Susumu Tamagawa TBL 1 st Proposal Information Management: A Proposal (1989) Links have the following types: depends on is part of

More information

Mustafa Jarrar: Lecture Notes on RDF Schema Birzeit University, Version 3. RDFS RDF Schema. Mustafa Jarrar. Birzeit University

Mustafa Jarrar: Lecture Notes on RDF Schema Birzeit University, Version 3. RDFS RDF Schema. Mustafa Jarrar. Birzeit University Mustafa Jarrar: Lecture Notes on RDF Schema Birzeit University, 2018 Version 3 RDFS RDF Schema Mustafa Jarrar Birzeit University 1 Watch this lecture and download the slides Course Page: http://www.jarrar.info/courses/ai/

More information

Semantic Web. RDF and RDF Schema. Morteza Amini. Sharif University of Technology Spring 90-91

Semantic Web. RDF and RDF Schema. Morteza Amini. Sharif University of Technology Spring 90-91 بسمه تعالی Semantic Web RDF and RDF Schema Morteza Amini Sharif University of Technology Spring 90-91 Outline Metadata RDF RDFS RDF(S) Tools 2 Semantic Web: Problems (1) Too much Web information around

More information

SPARQL เอกสารหล ก ใน มคอ.3

SPARQL เอกสารหล ก ใน มคอ.3 SPARQL SLIDES REFERENCE: SEMANTIC WEB PRIMER BOOK เอกสารหล ก ใน มคอ.3 Why an RDF Query Language? Different XML Representations XML at a lower level of abstraction than RDF There are various ways of syntactically

More information

Semistructured Data Management Part 3 (Towards the) Semantic Web

Semistructured Data Management Part 3 (Towards the) Semantic Web Semistructured Data Management Part 3 (Towards the) Semantic Web Semantic Web - 1 1 Today's Question 1. What is the "Semantic Web"? 2. Semantic Annotation using RDF 3. Ontology Languages Semantic Web -

More information

HTML vs. XML In the case of HTML, browsers have been taught how to ignore invalid HTML such as the <mymadeuptag> element and generally do their best

HTML vs. XML In the case of HTML, browsers have been taught how to ignore invalid HTML such as the <mymadeuptag> element and generally do their best 1 2 HTML vs. XML In the case of HTML, browsers have been taught how to ignore invalid HTML such as the element and generally do their best when dealing with badly placed HTML elements. The

More information

Web Science & Technologies University of Koblenz Landau, Germany. RDF Schema. Steffen Staab. Semantic Web

Web Science & Technologies University of Koblenz Landau, Germany. RDF Schema. Steffen Staab. Semantic Web Web Science & Technologies University of Koblenz Landau, Germany RDF Schema RDF Schemas Describe rules for using RDF properties Are expressed in RDF Extends original RDF vocabulary Are not to be confused

More information

Introduction to Semistructured Data and XML. Contents

Introduction to Semistructured Data and XML. Contents Contents Overview... 106 What is XML?... 106 How the Web is Today... 108 New Universal Data Exchange Format: XML... 108 What is the W3C?... 108 Semistructured Data... 110 What is Self-describing Data?...

More information

Logic and Reasoning in the Semantic Web (part I RDF/RDFS)

Logic and Reasoning in the Semantic Web (part I RDF/RDFS) Logic and Reasoning in the Semantic Web (part I RDF/RDFS) Fulvio Corno, Laura Farinetti Politecnico di Torino Dipartimento di Automatica e Informatica e-lite Research Group http://elite.polito.it Outline

More information

XML: Extensible Markup Language

XML: Extensible Markup Language XML: Extensible Markup Language CSC 375, Fall 2015 XML is a classic political compromise: it balances the needs of man and machine by being equally unreadable to both. Matthew Might Slides slightly modified

More information

An Introduction to the Semantic Web. Jeff Heflin Lehigh University

An Introduction to the Semantic Web. Jeff Heflin Lehigh University An Introduction to the Semantic Web Jeff Heflin Lehigh University The Semantic Web Definition The Semantic Web is not a separate Web but an extension of the current one, in which information is given well-defined

More information

RDF Schema Sebastian Rudolph

RDF Schema Sebastian Rudolph FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES RDF Schema Sebastian Rudolph RDF Schema TU Dresden Foundations of Semantic Web Technologies slide 2 of 53 RDF Schema TU Dresden Foundations of Semantic Web Technologies

More information

Design and Implementation of an RDF Triple Store

Design and Implementation of an RDF Triple Store Design and Implementation of an RDF Triple Store Ching-Long Yeh and Ruei-Feng Lin Department of Computer Science and Engineering Tatung University 40 Chungshan N. Rd., Sec. 3 Taipei, 04 Taiwan E-mail:

More information

Adding formal semantics to the Web

Adding formal semantics to the Web Adding formal semantics to the Web building on top of RDF Schema Jeen Broekstra On-To-Knowledge project Context On-To-Knowledge IST project about content-driven knowledge management through evolving ontologies

More information

RDF. Mario Arrigoni Neri

RDF. Mario Arrigoni Neri RDF Mario Arrigoni Neri WEB Generations Internet phase 1: static contents HTML pages FTP resources User knows what he needs and where to retrieve it Internet phase 2: web applications Custom presentation

More information

10.3 Answer: 10.5 Answer:

10.3 Answer: 10.5 Answer: C H A P T E R 1 0 XML Exercises 10.1 Answer: a. XML representation of data using attributes:

More information

Semantic Web Technologies: RDF + RDFS

Semantic Web Technologies: RDF + RDFS Semantic Web Technologies: RDF + RDFS RDF Language RDF Schema The limits of my language are the limits of my world. Ludwig Wittgenstein RDF Expressiveness & Semantics RDF Programming Introduction The Semantic

More information

Contents. G52IWS: The Semantic Web. The Semantic Web. Semantic web elements. Semantic Web technologies. Semantic Web Services

Contents. G52IWS: The Semantic Web. The Semantic Web. Semantic web elements. Semantic Web technologies. Semantic Web Services Contents G52IWS: The Semantic Web Chris Greenhalgh 2007-11-10 Introduction to the Semantic Web Semantic Web technologies Overview RDF OWL Semantic Web Services Concluding comments 1 See Developing Semantic

More information

Semantic Web. MPRI : Web Data Management. Antoine Amarilli Friday, January 11th 1/29

Semantic Web. MPRI : Web Data Management. Antoine Amarilli Friday, January 11th 1/29 Semantic Web MPRI 2.26.2: Web Data Management Antoine Amarilli Friday, January 11th 1/29 Motivation Information on the Web is not structured 2/29 Motivation Information on the Web is not structured This

More information

Querying the Semantic Web

Querying the Semantic Web Querying the Semantic Web CSE 595 Semantic Web Instructor: Dr. Paul Fodor Stony Brook University http://www3.cs.stonybrook.edu/~pfodor/courses/cse595.html Lecture Outline SPARQL Infrastructure Basics:

More information

RDF Schema Sebastian Rudolph

RDF Schema Sebastian Rudolph FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES RDF Schema Sebastian Rudolph Dresden, 12 Apr 2013 Content Overview & XML 9 APR DS2 Hypertableau II 7 JUN DS5 Introduction into RDF 9 APR DS3 Tutorial 5 11 JUN DS2

More information

Chapter 11 XML Data Modeling. Recent Development for Data Models 2016 Stefan Deßloch

Chapter 11 XML Data Modeling. Recent Development for Data Models 2016 Stefan Deßloch Chapter 11 XML Data Modeling Recent Development for Data Models 2016 Stefan Deßloch Motivation Traditional data models (e.g., relational data model) primarily support structure data separate DB schema

More information

The Semantic Web. Mansooreh Jalalyazdi

The Semantic Web. Mansooreh Jalalyazdi 1 هو العليم 2 The Semantic Web Mansooreh Jalalyazdi 3 Content Syntactic web XML Add semantics Representation Language RDF, RDFS OWL Query languages 4 History of the Semantic Web Tim Berners-Lee vision

More information

Knowledge Management with the WWW

Knowledge Management with the WWW Knowledge Management with the WWW Knowledge management must increasingly deal with Web-based knowledge, but the WWW does not support knowledge management well: Main use by keyword-based search engines

More information

Semantic Web Technologies

Semantic Web Technologies 1/57 Introduction and RDF Jos de Bruijn debruijn@inf.unibz.it KRDB Research Group Free University of Bolzano, Italy 3 October 2007 2/57 Outline Organization Semantic Web Limitations of the Web Machine-processable

More information

FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES

FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES Semantics of RDF(S) Sebastian Rudolph Dresden, 25 April 2014 Content Overview & XML Introduction into RDF RDFS Syntax & Intuition Tutorial 1 RDFS Semantics RDFS

More information

RDF AND SPARQL. Part III: Semantics of RDF(S) Dresden, August Sebastian Rudolph ICCL Summer School

RDF AND SPARQL. Part III: Semantics of RDF(S) Dresden, August Sebastian Rudolph ICCL Summer School RDF AND SPARQL Part III: Semantics of RDF(S) Sebastian Rudolph ICCL Summer School Dresden, August 2013 Agenda 1 Motivation and Considerations 2 Simple Entailment 3 RDF Entailment 4 RDFS Entailment 5 Downsides

More information

Part II. Representation of Meta-Information

Part II. Representation of Meta-Information Part II Representation of Meta-Information 43 As we have seen in Chapter 3, quality-based information filtering policies rely on different types of meta-information about information itself, the information

More information

Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley. Chapter 7 XML

Copyright 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley. Chapter 7 XML Chapter 7 XML 7.1 Introduction extensible Markup Language Developed from SGML A meta-markup language Deficiencies of HTML and SGML Lax syntactical rules Many complex features that are rarely used HTML

More information

Developing markup metaschemas to support interoperation among resources with different markup schemas

Developing markup metaschemas to support interoperation among resources with different markup schemas Developing markup metaschemas to support interoperation among resources with different markup schemas Gary Simons SIL International ACH/ALLC Joint Conference 29 May to 2 June 2003, Athens, GA The Context

More information

XML. COSC Dr. Ramon Lawrence. An attribute is a name-value pair declared inside an element. Comments. Page 3. COSC Dr.

XML. COSC Dr. Ramon Lawrence. An attribute is a name-value pair declared inside an element. Comments. Page 3. COSC Dr. COSC 304 Introduction to Database Systems XML Dr. Ramon Lawrence University of British Columbia Okanagan ramon.lawrence@ubc.ca XML Extensible Markup Language (XML) is a markup language that allows for

More information

Semistructured Data Management Part 3 (Towards the) Semantic Web

Semistructured Data Management Part 3 (Towards the) Semantic Web Semistructured Data Management Part 3 (Towards the) Semantic Web 2003/4, Karl Aberer, EPFL-SSC, Laboratoire de systèmes d'informations répartis Semantic Web - 1 1 Today's Question 1. What is the "Semantic

More information

7.1 Introduction. extensible Markup Language Developed from SGML A meta-markup language Deficiencies of HTML and SGML

7.1 Introduction. extensible Markup Language Developed from SGML A meta-markup language Deficiencies of HTML and SGML 7.1 Introduction extensible Markup Language Developed from SGML A meta-markup language Deficiencies of HTML and SGML Lax syntactical rules Many complex features that are rarely used HTML is a markup language,

More information

Semantic Web Fundamentals

Semantic Web Fundamentals Semantic Web Fundamentals Web Technologies (706.704) 3SSt VU WS 2018/19 with acknowledgements to P. Höfler, V. Pammer, W. Kienreich ISDS, TU Graz January 7 th 2019 Overview What is Semantic Web? Technology

More information

Digital Asset Management 3. Multimedia Database System

Digital Asset Management 3. Multimedia Database System Digital Asset Management 3. Multimedia Database System 2015-10-13 QoS Outline 1. MM content organization 2. MM database system architecture 3. MM system service model 4. Multimedia Data Storage 5. Multimedia

More information

XML Metadata Standards and Topic Maps

XML Metadata Standards and Topic Maps XML Metadata Standards and Topic Maps Erik Wilde 16.7.2001 XML Metadata Standards and Topic Maps 1 Outline what is XML? a syntax (not a data model!) what is the data model behind XML? XML Information Set

More information

An RDF-based Distributed Expert System

An RDF-based Distributed Expert System An RDF-based Distributed Expert System NAPAT PRAPAKORN*, SUPHAMIT CHITTAYASOTHORN** Department of Computer Engineering King Mongkut's Institute of Technology Ladkrabang Faculty of Engineering, Bangkok

More information

FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES

FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES FOUNDATIONS OF SEMANTIC WEB TECHNOLOGIES Semantics of RDF(S) Sebastian Rudolph Dresden, 16 April 2013 Agenda 1 Motivation and Considerations 2 Simple Entailment 3 RDF Entailment 4 RDFS Entailment 5 Downsides

More information

The Resource Description Framework and its Schema

The Resource Description Framework and its Schema The Resource Description Framework and its Schema Fabien Gandon, Reto Krummenacher, Sung-Kook Han, Ioan Toma To cite this version: Fabien Gandon, Reto Krummenacher, Sung-Kook Han, Ioan Toma. The Resource

More information

Ontological Modeling: Part 2

Ontological Modeling: Part 2 Ontological Modeling: Part 2 Terry Halpin LogicBlox This is the second in a series of articles on ontology-based approaches to modeling. The main focus is on popular ontology languages proposed for the

More information

Semantic Web Knowledge Representation in the Web Context. CS 431 March 24, 2008 Carl Lagoze Cornell University

Semantic Web Knowledge Representation in the Web Context. CS 431 March 24, 2008 Carl Lagoze Cornell University Semantic Web Knowledge Representation in the Web Context CS 431 March 24, 2008 Carl Lagoze Cornell University Acknowledgements for various slides and ideas Ian Horrocks (Manchester U.K.) Eric Miller (W3C)

More information

Today: RDF syntax. + conjunctive queries for OWL. KR4SW Winter 2010 Pascal Hitzler 3

Today: RDF syntax. + conjunctive queries for OWL. KR4SW Winter 2010 Pascal Hitzler 3 Today: RDF syntax + conjunctive queries for OWL KR4SW Winter 2010 Pascal Hitzler 3 Today s Session: RDF Schema 1. Motivation 2. Classes and Class Hierarchies 3. Properties and Property Hierarchies 4. Property

More information

CWI. Multimedia on the Semantic Web. Jacco van Ossenbruggen, Lynda Hardman, Frank Nack. Multimedia and Human-Computer Interaction CWI, Amsterdam

CWI. Multimedia on the Semantic Web. Jacco van Ossenbruggen, Lynda Hardman, Frank Nack. Multimedia and Human-Computer Interaction CWI, Amsterdam Multimedia on the Semantic Web Jacco van Ossenbruggen, Lynda Hardman, Frank Nack Multimedia and Human-Computer Interaction, Amsterdam Short history of the Web in three generations (see thesis for long

More information

XML and information exchange. XML extensible Markup Language XML

XML and information exchange. XML extensible Markup Language XML COS 425: Database and Information Management Systems XML and information exchange 1 XML extensible Markup Language History 1988 SGML: Standard Generalized Markup Language Annotate text with structure 1992

More information

The Semantic Web Revisited. Nigel Shadbolt Tim Berners-Lee Wendy Hall

The Semantic Web Revisited. Nigel Shadbolt Tim Berners-Lee Wendy Hall The Semantic Web Revisited Nigel Shadbolt Tim Berners-Lee Wendy Hall Today sweb It is designed for human consumption Information retrieval is mainly supported by keyword-based search engines Some problems

More information

Formalising the Semantic Web. (These slides have been written by Axel Polleres, WU Vienna)

Formalising the Semantic Web. (These slides have been written by Axel Polleres, WU Vienna) Formalising the Semantic Web (These slides have been written by Axel Polleres, WU Vienna) The Semantics of RDF graphs Consider the following RDF data (written in Turtle): @prefix rdfs: .

More information

Resource Description Framework (RDF)

Resource Description Framework (RDF) Where are we? Semantic Web Resource Description Framework (RDF) # Title 1 Introduction 2 Semantic Web Architecture 3 Resource Description Framework (RDF) 4 Web of data 5 Generating Semantic Annotations

More information

SWAD-Europe Deliverable 8.1 Core RDF Vocabularies for Thesauri

SWAD-Europe Deliverable 8.1 Core RDF Vocabularies for Thesauri Mon Jun 07 2004 12:07:51 Europe/London SWAD-Europe Deliverable 8.1 Core RDF Vocabularies for Thesauri Project name: Semantic Web Advanced Development for Europe (SWAD-Europe) Project Number: IST-2001-34732

More information

Semistructured Data Management Part 3 (Towards the) Semantic Web

Semistructured Data Management Part 3 (Towards the) Semantic Web Semistructured Data Management Part 3 (Towards the) Semantic Web Semantic Web - 1 1 Today's Question 1. What is the "Semantic Web"? 2. Semantic Annotation using RDF 3. Ontology Languages Semantic Web -

More information

Chapter 13 XML: Extensible Markup Language

Chapter 13 XML: Extensible Markup Language Chapter 13 XML: Extensible Markup Language - Internet applications provide Web interfaces to databases (data sources) - Three-tier architecture Client V Application Programs Webserver V Database Server

More information

Linking Data with RDF

Linking Data with RDF Linking Data with RDF Wiltrud Kessler Institut für Maschinelle Sprachverarbeitung Universität Stuttgart Semantic Web Winter 2014/15 This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike

More information

Semantic Web Technologies: Web Ontology Language

Semantic Web Technologies: Web Ontology Language Semantic Web Technologies: Web Ontology Language Motivation OWL Formal Semantic OWL Synopsis OWL Programming Introduction XML / XML Schema provides a portable framework for defining a syntax RDF forms

More information

RDF Schema. Philippe Genoud, UFR IM2AG, UGA Manuel Atencia Arcas, UFR SHS, UGA

RDF Schema. Philippe Genoud, UFR IM2AG, UGA Manuel Atencia Arcas, UFR SHS, UGA RDF Schema Philippe Genoud, UFR IM2AG, UGA Manuel Atencia Arcas, UFR SHS, UGA 1 RDF Schema (RDF-S) Introduc)on Classes in RDF- S Proper@es in RDF- S Interpreta@on of RDF- S statements Descrip@on of classes

More information

Multi-agent and Semantic Web Systems: RDF Data Structures

Multi-agent and Semantic Web Systems: RDF Data Structures Multi-agent and Semantic Web Systems: RDF Data Structures Fiona McNeill School of Informatics 31st January 2013 Fiona McNeill Multi-agent Semantic Web Systems: RDF Data Structures 31st January 2013 0/25

More information

Database Management Systems (CPTR 312)

Database Management Systems (CPTR 312) Database Management Systems (CPTR 312) Preliminaries Me: Raheel Ahmad Ph.D., Southern Illinois University M.S., University of Southern Mississippi B.S., Zakir Hussain College, India Contact: Science 116,

More information

OWL a glimpse. OWL a glimpse (2) requirements for ontology languages. requirements for ontology languages

OWL a glimpse. OWL a glimpse (2) requirements for ontology languages. requirements for ontology languages OWL a glimpse OWL Web Ontology Language describes classes, properties and relations among conceptual objects lecture 7: owl - introduction of#27# ece#720,#winter# 12# 2# of#27# OWL a glimpse (2) requirements

More information

A tutorial report for SENG Agent Based Software Engineering. Course Instructor: Dr. Behrouz H. Far. XML Tutorial.

A tutorial report for SENG Agent Based Software Engineering. Course Instructor: Dr. Behrouz H. Far. XML Tutorial. A tutorial report for SENG 609.22 Agent Based Software Engineering Course Instructor: Dr. Behrouz H. Far XML Tutorial Yanan Zhang Department of Electrical and Computer Engineering University of Calgary

More information

XML. Rodrigo García Carmona Universidad San Pablo-CEU Escuela Politécnica Superior

XML. Rodrigo García Carmona Universidad San Pablo-CEU Escuela Politécnica Superior XML Rodrigo García Carmona Universidad San Pablo-CEU Escuela Politécnica Superior XML INTRODUCTION 2 THE XML LANGUAGE XML: Extensible Markup Language Standard for the presentation and transmission of information.

More information

RDF Semantics by Patrick Hayes W3C Recommendation

RDF Semantics by Patrick Hayes W3C Recommendation RDF Semantics by Patrick Hayes W3C Recommendation http://www.w3.org/tr/rdf-mt/ Presented by Jie Bao RPI Sept 4, 2008 Part 1 of RDF/OWL Semantics Tutorial http://tw.rpi.edu/wiki/index.php/rdf_and_owl_semantics

More information

Main topics: Presenter: Introduction to OWL Protégé, an ontology editor OWL 2 Semantic reasoner Summary TDT OWL

Main topics: Presenter: Introduction to OWL Protégé, an ontology editor OWL 2 Semantic reasoner Summary TDT OWL 1 TDT4215 Web Intelligence Main topics: Introduction to Web Ontology Language (OWL) Presenter: Stein L. Tomassen 2 Outline Introduction to OWL Protégé, an ontology editor OWL 2 Semantic reasoner Summary

More information

Helmi Ben Hmida Hannover University, Germany

Helmi Ben Hmida Hannover University, Germany Helmi Ben Hmida Hannover University, Germany 1 Summarizing the Problem: Computers don t understand Meaning My mouse is broken. I need a new one 2 The Semantic Web Vision the idea of having data on the

More information

Web Services: OWL-S 2. BPEL and WSDL : Messages

Web Services: OWL-S 2. BPEL and WSDL : Messages OWL-S BPEL and WSDL : Messages Web s: OWL-S 2 Messaging and Message-Oriented Modeling Fundamental in composition: how and when the processes communicate Synchronous, asynchronous Conversations However,

More information

XML. Solutions to Practice Exercises

XML. Solutions to Practice Exercises C H A P T E R 1 0 XML Solutions to Practice Exercises 10.1 a. The XML representation of data using attributes is shown in Figure 10.1. b. The DTD for the bank is shown in Figure 10.2. 10.2 Query: 10.3

More information

Session [2] Information Modeling with XSD and DTD

Session [2] Information Modeling with XSD and DTD Session [2] Information Modeling with XSD and DTD September 12, 2000 Horst Rechner Q&A from Session [1] HTML without XML See Code HDBMS vs. RDBMS What does XDR mean? XML-Data Reduced Utilized in Biztalk

More information

H1 Spring B. Programmers need to learn the SOAP schema so as to offer and use Web services.

H1 Spring B. Programmers need to learn the SOAP schema so as to offer and use Web services. 1. (24 points) Identify all of the following statements that are true about the basics of services. A. If you know that two parties implement SOAP, then you can safely conclude they will interoperate at

More information

7.1 Introduction. 7.1 Introduction (continued) - Problem with using SGML: - SGML is a meta-markup language

7.1 Introduction. 7.1 Introduction (continued) - Problem with using SGML: - SGML is a meta-markup language 7.1 Introduction - SGML is a meta-markup language - Developed in the early 1980s; ISO std. In 1986 - HTML was developed using SGML in the early 1990s - specifically for Web documents - Two problems with

More information

EMERGING TECHNOLOGIES

EMERGING TECHNOLOGIES EMERGING TECHNOLOGIES XML (Part 3): XQuery Outline 1. Introduction 2. Structure of XML data 3. XML Document Schema 3.1. Document Type Definition (DTD) 3.2. XMLSchema 4. Data Model for XML documents. 5.

More information

KNOWLEDGE GRAPHS. Lecture 3: Modelling in RDF/Introduction to SPARQL. TU Dresden, 30th Oct Markus Krötzsch Knowledge-Based Systems

KNOWLEDGE GRAPHS. Lecture 3: Modelling in RDF/Introduction to SPARQL. TU Dresden, 30th Oct Markus Krötzsch Knowledge-Based Systems KNOWLEDGE GRAPHS Lecture 3: Modelling in RDF/Introduction to SPARQL Markus Krötzsch Knowledge-Based Systems TU Dresden, 30th Oct 2018 Review: RDF Graphs The W3C Resource Description Framework considers

More information

2. Knowledge Representation Applied Artificial Intelligence

2. Knowledge Representation Applied Artificial Intelligence 2. Knowledge Representation Applied Artificial Intelligence Prof. Dr. Bernhard Humm Faculty of Computer Science Hochschule Darmstadt University of Applied Sciences 1 Retrospective Introduction to AI What

More information

The Semantic Web. What is the Semantic Web?

The Semantic Web. What is the Semantic Web? The Semantic Web Alun Preece Computing Science, University of Aberdeen (from autumn 2007: School of Computer Science, Cardiff University) What is the Semantic Web, and why do we need it now? How does the

More information

Introduction to Ontologies

Introduction to Ontologies Introduction to Ontologies Jon Atle Gulla Ontology (from the Greek nominative ὤν: being, genitive ὄντος: of being (participle of εἶναι: to be) and -λογία: science, study, theory) is a study of conceptions

More information

Introduction to Semistructured Data and XML. Overview. How the Web is Today. Based on slides by Dan Suciu University of Washington

Introduction to Semistructured Data and XML. Overview. How the Web is Today. Based on slides by Dan Suciu University of Washington Introduction to Semistructured Data and XML Based on slides by Dan Suciu University of Washington CS330 Lecture April 8, 2003 1 Overview From HTML to XML DTDs Querying XML: XPath Transforming XML: XSLT

More information