introduction to rdf and rdfs editor mr 3 n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
Introduction to RDF and RDFS Editor: MR 3 PowerPoint Presentation
Download Presentation
Introduction to RDF and RDFS Editor: MR 3

Loading in 2 Seconds...

play fullscreen
1 / 32

Introduction to RDF and RDFS Editor: MR 3 - PowerPoint PPT Presentation


  • 180 Views
  • Uploaded on

OSM 2011, Lecture and Exercise, Web Intelligence. Introduction to RDF and RDFS Editor: MR 3. Susumu Tamagawa. Contents. Overview of MR 3 Fundamental Concepts of RDF and RDFS Issues Detail of MR 3 Tutorial of MR 3 Exercises. Overview of MR 3. Graphical RDF and RDFS editor

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

Introduction to RDF and RDFS Editor: MR 3


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
    Presentation Transcript
    1. OSM 2011, Lecture and Exercise, Web Intelligence Introduction to RDF and RDFS Editor: MR3 Susumu Tamagawa

    2. Contents • Overview of MR3 • Fundamental Concepts of RDF and RDFS • Issues • Detail of MR3 • Tutorial of MR3 • Exercises

    3. Overview of MR3 • Graphical RDF and RDFS editor • MR3: Meta-Model Management based on RDFs Revision Reflection • Main feature • Managing some relationships between RDF and RDFS contents • Place to obtain • http://mr3.sourceforge.net/

    4. Fundamental Concepts ofRDF (Resource Description Framework) • Resource • an object, a “thing” we want to talk about • Property • a special kind of resources • relations between resources • Statement • an object-attribute-value triple • Literal • an atomic value • the object of an RDF statement (not the subject or the predicate) values (resource or literal)

    5. An example of RDF statements Model rdf:type Person object (Resource) William hasFather Charles subject (Resource) predicate (Property) object (Literal) Statement Syntax (XML) Resource <rdf:Description about=“William”> <hasFather>Charles</hasFather> <rdf:type resource=“Person”/> </rdf:Description> Property Literal

    6. Fundamental Concepts ofRDFS (RDF Vocabulary Description Language,RDF Schema ) • Providing modeling primitives for expressing the RDF model • Class • Defining groups of related resources • Hierarchical relationships between classes • rdfs:subClassOf property • Property • Defining the relationships between resources • Hierarchical relationships between properties • rdfs:subPropertyOf property • Domain and range of a property • rdfs:domain and rdfs:range property

    7. Syntax (XML) <rdf:Class rdf:about=“Person”> <rdfs:subClassOf resource=“&rdfs;Resource”/> </rdf:Class> <rdf:Property rdf:about=“hasFather”></rdf:Property> RDFS = Meta-Model An example of RDFS statements Note Model RDFS model and syntax are same as RDF Class rdf:type rdfs:Class Person rdfs:Resource rdfs:domain rdfs:subClassOf Property rdf:type hasFather rdf:Property

    8. Issues • High cost of building up RDF and RDFS contents manually • Conventional Tools • Displaying XML based contents with RDF model RDFS model + RDF model

    9. An example of RDF and RDFS contents of academic domain • Web Intelligence is taught by Takahira Yamaguchi. • Professor, Associate Professor, Assistant Professor, Academic Staff Member, Staff Member, and Course are classes • All Professors, Associate Professors, and Assistant Professors are Academic Staff Members • All Academic Staff Members are Staff Members • Courses must be taught by academic staff members only <?xml version="1.0"?> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:mr3="http://mmm.semanticweb.org/mr3#" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xml:base="http://mmm.semanticweb.org/mr3#"> <rdfs:Classrdf:about="#Academic Staff Member"> <rdfs:subClassOf> <rdfs:Classrdf:about="#Staff Member"/> </rdfs:subClassOf> </rdfs:Class> <rdfs:Classrdf:ID="Course"/> <rdfs:Classrdf:ID="Professor"> <rdfs:subClassOfrdf:resource="#Academic Staff Member"/> </rdfs:Class> <rdfs:Classrdf:about="#Assistant Professor"> <rdfs:subClassOfrdf:resource="#Academic Staff Member"/> </rdfs:Class> <rdfs:Classrdf:about="#Associate Professor"> <rdfs:subClassOfrdf:resource="#Academic Staff Member"/> </rdfs:Class> <rdf:Propertyrdf:ID="isTaughtBy"> <rdfs:domainrdf:resource="#Course"/> <rdfs:rangerdf:resource="#Academic Staff Member"/> </rdf:Property> <mr3:Professor rdf:about="#Takahira Yamaguchi"/> <mr3:Course rdf:about="#Web Intelligence"> <mr3:isTaughtBy rdf:resource="#Takahira Yamaguchi"/> </mr3:Course> </rdf:RDF> RDF/XML English Statements convert into machine readable

    10. An example of RDF and RDFS contents of academic domain rdfs:Class Staff Member rdf:Property rdfs:subClassOf Academic Staff Member rdfs:range rdfs:domain rdfs:subClassOf isTaughtBy rdfs:subClassOf rdfs:subClassOf Professor Associate Professor Assistant Professor Course isTaughtBy Web Intelligence Takahira Yamaguchi rdf:type

    11. (2) (3) (1) (1) Graphical editing functions of RDF contents (2) Graphical editing functions of RDFS contents (3) RDF and RDFS model management facilities MR3 RDFS Data Graph RDFS Document <rdf:RDF xmlns:rdfs=“…rdf-schema#"> <rdfs:Class rdf:about="http://purl.org/rss/1.0..." <rdf:Property rdf:about="http://purl.org/rss/1.0..." </rdf:RDF> Class Property RDF Document RDF Data Graph <rdf:RDF xmlns:rdfs=“…rdf-syntax-ns”> <image rdf:about="http://..."> <title>…</title></image>… </rdf:RDF> Property Resource Literal

    12. RDF and RDFS model management facilities(Overview) RDFS model rdfs:Resource Property Class is-a Academic Staff Member is-a isTaughtBy Course Professor RDF model type of resources Course Professor isTaughtBy Web Intelligence Takahira Yamaguchi

    13. RDF and RDFS model management facilities(Detail) • Manipulation of an RDFS Class • Replace RDFS Class • Removal of RDFS Class • Manipulation of an RDFS Property • Replace RDFS Property • Removal of RDFS Property • Replacing the Type of an RDF Resource • Replace the RDFS class name with that referred to before the use replaced the type of the RDF resource • Create a new RDFS class that has yet to be defined • Replacing the RDF Property • Replace the RDFS property name with that referred to before the user replaced the RDF property • Create a new RDFS property that has yet to be defined O->M facilities M->O facilities

    14. RDF and RDFS model management facilities(Example: Replace RDFS Class) RDFS model rdfs:Resource Property Class is-a Academic Staff Member is-a isTaughtBy Class Course Professor RDF model Course Class Professor isTaughtBy Web Intelligence Takahira Yamaguchi Class Course Professor isTaughtBy Machine Learning Akito Sakurai

    15. Tutorial of MR3 • How to install MR3 • Importing RDF and RDFS documents • Mapping namespace and prefix • Class Editor • Inserting, Editing, Deleting, and Connecting is-a relationships between classes • Property Editor • Inserting RDFS property and Defining domain and range of RDFS property • RDF Editor • Inserting RDF literal and resource • Exporting RDF and RDFS model

    16. How to install MR3 • Install JRE(Java Runtime Environment) • http://www.oracle.com/technetwork/java/javase/downloads/index.html • Download MR3_1_0RC5.zip • http://sourceforge.net/projects/mr3/files/MR_3/MR_3%201.0%20RC5/ • Unzip the download file and execute run.bat

    17. Screenshot of MR3 Class Editor Property Editor Attribute Dialog RDFEditor Namespace Table

    18. Importing RDF and RDFS documents 1 2 3 OR 4 Other Serialization (N3, N-Triple, Turtle)

    19. After importing example_academic_domain.rdf Space character is not supported in MR3. Please replace space characters by underbars. Staff Member -> Staff_Member Academic Staff Member -> Academic_Staff_Member Associate Professor -> Associate_Professor Web Intelligence -> Web_Intelligence Takahira Yamaguchi -> Takahira_Yamaguchi

    20. Mapping namespace and prefix

    21. Class EditorInserting class

    22. Class EditorEditing class spell miss

    23. Class EditorRemoving class

    24. Class EditorConnecting is-a relationships between classes connect mode move mode drag & drop Excercise Let’s insert exp:Assistant Professor class and connect is-a relationships between Assistant Professor class and Academic Staff Member class.

    25. Property EditorInserting RDFS property

    26. Property EditorDefining domain and range of RDFS property

    27. RDF EditorInserting RDF literal Professor Takahira Yamaguchi's phone number is 045-566-1614.

    28. RDF EditorInserting RDF resource (1) Machine Learning Course is taught by Professor Akito Sakurai.

    29. RDF EditorInserting RDF resource (2) Machine Learning Course is taught by Professor Akito Sakurai.

    30. Exporting RDF and RDFS model

    31. Exercises • Convert the following English statements to an RDF and RDFS model. • All trucks, vans, passenger vehicles are motor vehicles. • All mini vans are passenger vehicles and vans. • All Toyota Corollas are passenger vehiecles. • Taro owns a toyota corolla. • Taro is a person. • Toyota motor corporation makes Toyota Corollas. • Toyota motor corporation is a automobile company. • Taro's vehicle registration number is xxxx-xxxx. • Persons only have motor vehicles. • Motor vehicles must be owned by persons only. • Vehicle registration numbers must be owned by motor vehicles only. • Motor vehicles must be made by automobile companies only. • Construct an RDFS ontology including a set of instances about your interest (music, computer, sports, etc). • Create at least 10 classes and at least 5 properties with domain and range classes • Use at least 5 subClassOf statements.

    32. References • http://people.csail.mit.edu/pcm/Hendler.pdf • http://people.csail.mit.edu/pcm/Hawke.pdf • A Semantic Web Primer, 2nd Edition • ISBN-13: 978-0262012423 • http://mr3.sourceforge.net/