tags: Knowledge Graph
Experiment 1 RDF (RDFS) application
purpose:
(1) Understand the semantic web resource description language;
(2) Master the use of RDF(S).
content:
[Exercise 1] Consider the following RDF document:
<rdf:RDF
xmlns:rdf=“http://www.w3.org/1999/02/22-rdf-syntax-ns#”
xmlns:rdfs=“http://www.w3.org/2000/01/rdf-schema#”
xmlns:iswww=“http://sw.edu/#”
<rdf:Description rdf:about=“http://sw.edu/#germany”>
<rdf:type rdf:resource=“http://sw.edu/#country” />
</rdf:Description>
<rdf:Description rdf:about=“http://sw.edu/#capital_of”>
<rdf:type rdf:resource=“http://www.w3.org/1999/02/22-rdf-syntax-ns#Property”/>
<rdfs:domain rdf:resource=“http://sw.edu/#city” />
<rdfs:range rdf:resource=“http://sw.edu/#country” />
</rdf:Description>
<rdf:Description rdf:about=“http://sw.edu/#country”>
<rdf:type rdf:resource=“http://www.w3.org/2000/01/rdf-schema#Class” />
<rdfs:label xml:lang=“de”>Land</rdfs:label>
</rdf:Description>
<rdf:Description rdf:about=“http://sw.edu/#berlin”>
<rdfs:label xml:lang=“en”>Berlin</rdfs:label>
<rdf:type rdf:resource=“http://sw.edu/#city” />
<iswww:capital_of rdf:resource=“http://sw.edu/#germany” />
</rdf:Description>
<rdf:Description rdf:about=“http://sw.edu/#city”>
<rdf:type rdf:resource=“http://www.w3.org/2000/01/rdf-schema#Class” />
<rdfs:label xml:lang=“de”>Stadt</rdfs:label>
</rdf:Description>
</rdf:RDF>
• Describe in natural language the content of this document.
• Draw the graph representation of the above document.
[Exercise 2] Write down the modeled list authors of this book from following RDF graph in Turtle syntax.
Hitzler
Krotzsch
Rudolph
[Exercise 3] Write the following Turtle triple in RDF/XML syntax:
:Person rdfs:comment “Represents the set of all people.”^^xsd:string .
<rdf:RDF xmlns:rdf=“http://www.w3.org/1999/02/22-rdf-syntax-ns#”
xmlns:rdfs=“http://www.w3.org/2000/01/rdf-schema#”>
<rdf:Description rdf:about=“http://Person”>
<rdfs:comment rdf:datatype=“http://www.w3.org/2001/XMLSchema#string”>
Represents the set of all people
</rdfs:comment>
</rdf:Description>
</rdf:RDF>
【Exercise 4】 Represent the following sentences graphically by means of reified triples:
Romeo thought that Juliet was dead.
John believes that Mary wants to marry him.
The dwarf noticed that somebody had been eating from his plate.



...
Article catalog JavaCC Semantic Analysis Experiment First, the experimental purpose: Second, MiniC syntax (grammatics 1, 2, the two choose one of its implementation) Experiment process Source Fourth, ...
Content: Design and implement syntax semantic analysis procedures with multiple simple assignment statements, requiring recursive drop translation. Source code: Test file: begin aa:=2+3564; x:=(a+b)/c...
Write a directory title here refer to data set VOC 2012 data set component Pre -processing data Summarize Code refer to videoLi Mu-Semantic Syllabus and Data Collection 【Should Learn Deep Learning V2】...
First, 6TO4 manual tunnel If a boundary device is to establish a manual tunnel with multiple devices, you need to configure multiple tunnels on the device, configuring trouble. So the manual tunnel is...
** Purpose: ** Using HTML hypertext markup language to make simple pages requires experiments to be able to master the basic structure of HTML files and the creation, editing and saving of documents. ...
web experiment 1 div+css Multiple pages jump to each other to see pictures, play music, etc. Home My Anime Click on Chrysanthemum station will play mv online play jump Visitor interface My Profile Pho...
1. The purpose and requirements of the experiment The use of HTML hypertext markup language to produce simple pages requires experiments to be able to master the basic structure of HTML files and the ...
Chapter 1 Intelligent Search and Knowledge Discovery Based on Semantic Web The Semantic Web is not another Web, it is an extension of the existing Web, where information is given a good definition. Th...
Introduction to Knowledge Graph and Application Scenarios Knowledge GraphIt was first proposed by Google, and it can be calledSemantic Web, Used to describe various entities or concepts and their rela...