Ⅳ. 인문지식 시맨틱 웹 - digerati.aks.ac.krdigerati.aks.ac.kr/paper/I2DH/I2DH0204.pdf · -...
Transcript of Ⅳ. 인문지식 시맨틱 웹 - digerati.aks.ac.krdigerati.aks.ac.kr/paper/I2DH/I2DH0204.pdf · -...
-
- 1 -
.
. (Semantic Web) .1) , .2)
-1. ?
(individuals) , .3) . (Linked Data) , , (Linked Open Data, LOD) .4)
1) , (World Wide Web) . . 1998 , (World Wide Web Consortium: W3C) .
2) . , .
3) . (Berners-Lee et al. The Semantic Web, Scientific American (May 2001) )
4) (Semantic Web) LOD(Linked Open Data): Linked Data Linked Open Data .
Tim Berners-Lee, Linked Data, W3C Desing Issues (2006, 2009), https://www.w3.org/DesignIssues/LinkedData.html , LOD
HTTP URI(Uniform Resource Identifier) RDF(Resource Describing Framework)
-
- 2 -
.
[]
[1-1] Google Maps
[1-2] DB
[1-3]
, .
-
- 3 -
[1-4]
[1-5] DB
[1-6]
[1-7]( ) DB
7
-
- 4 -
. . , ? - - , . . .
- (IRI: Internationalized Resource Identifier) 5)
N1: N2: N3: D1: [1-1] D2: [1-2] D3: [1-3] D4: [1-4] D5: [1-5] D6: [1-6] D7: [1-7]
-
N1 N2. N2 N3. D1 N1 . D2 N1 . D3 N1 .
5) IRI(Internationalized Resource Identifier): . URI(Uniform Resource Identifier) ASCII ( ) IRI , (Unicode/ISO 10646) . IETF(Internet Engineering Task Force) 2005 .
http://tools.ietf.org/html/rfc3987
-
- 5 -
D4 N2 . D5 N2 . D6 N2 . D7 N3 . [ 3] , . .
-
- 6 -
-2. RDF
-, , , , - . , RDF(Resource Description Framework) .6) . A B ~ ~ RDF .
RDF RDF . , (a), (b) . (b) (a) . . , . RDF
6) RDF(the Resource Description Framework) . 2004 W3C(World Wide Web Consortium) , . RDF , .
http://www.w3.org/RDF/
-
- 7 -
. , . (a) (b) .
(a) : http://digerati.aks.ac.kr/terms/person#
(b) : http://digerati.aks.ac.kr/terms/bibliography#
. , (URI IRI)7) . . ~ ~ .
[p] : ~ ~ http://purl.org/dc/terms/creator
RDF . . http://purl.org/dc/terms/ (Dublin Core Schema) . http://purl.org/dc/terms/creator ~ ~ . , , 3 RDF RDF .
[] RDF
7) 5) .
-
- 8 -
http://digerati.aks.ac.kr/terms/bibliography#
http://purl.org/dc/terms/creator
http://digerati.aks.ac.kr/terms/person#
[] RDF Graph
[] RDF/XML8)
RDF , . 3 HTML HTML . .9)
8) RDF/XML: RDF XML W3C(World Wide Web Consortium) . https://www.w3.org/TR/rdf-syntax-grammar/9) RDF HTML RDFa(Resource Description Framework
in Attributes) . W3C(World Wide Web Consortium) .
https://www.w3.org/TR/xhtml-rdfa-primer/
-
- 9 -
[] 1: doc1.htm : :
: www.xuanflute.com
.....[] 2: doc2.htm
-
- 10 -
[] 3: doc3.htm .....
,
,2012.
.....
. RDF . RDF RDF .
-
- 11 -
[] 1 1 [ ] # [ ] ,
RDF GRAPH
RDF/XML
www.xuanflute.com
[] 2 2 [ ] # [ ] ,
RDF GRAPH
RDF/XML
.....
-
- 12 -
[] 3 # [~ ~ ] #
RDF GRAPH
RDF/XML
2012
, . # # , , ( ) . , , , .
[] 1, 2, 3
-
- 13 -
-3.
. , . , RDF . (ontology) .
1)
.10) . () . .11) , (class) , (individuals) (attribute) , (relation) .
10) (ontology) (Gruber, Thomas. 1959~ ) (explicit specification of a conceptualization). (Gruber, A Translation Approach to Portable Ontology Specifications, Knowledge Systems Laboratory Technical Report KSL 92-71, Stanford University, 1992) (conceptualization) , , , . (specification) , , , (explicit) (machine readable) .
11) , - -, 28 (2005)
-
- 14 -
.
[] 40
( )
40
() () . (, 1503~1577) () . () () , . () , (: ) (: ) . 31(1775) () . , . 5 .
-
- 15 -
() . , .
, ,
, , () () 31(1775)
(), ()
(Contextual Element). , , . , .
(individual)
, . . , (node).
-
- 16 -
Individuals:
(class)
, . . / , . . , . , 12 .
-
- 17 -
Class:
Thing . , , , , 5 , , , . ( 40) , , . . (), () .
(attribute)
, (individual) , . , ,
-
- 18 -
(, , , ), , . . , . .
Attributes:
Class
(relation)
, . RDF(Resource Description Framework) . (, domain) , (, range) . 17 .12)
12) . , . . () .
-
- 19 -
Relations:Relation Domain (A) Range (B)
created A B creator A B renovator A B ()depicts A B isDepictedIn A B hasDescendant A B isDescendantOf A B hasDisciple A B isDiscipleOf A B hasPart A B isPartOf A B hasSon A B isSonOf A B isEnshrinedIn A B isFriendOf A B isLocatedIn A B
isRelatedTo, ,
, , A B
(individual) ,
.13) , , .
Individual * Class: > * Attribute : : * Relation
13) (Relational Database, RDB) (Ontology Based Database, ODB) . ODB .
-
- 20 -
hasPart: hasPart: hasPart: isDepictedIn: creator: renovator:
Individual: * Class: * Attribute:
: 1503: 1557:
* Relation hasDescendant: isDiscipleOf:
12 (indviduals) .
.
-
- 21 -
[] [] .[] [] .[] [] .[] []/ .[] []// .[] [] .[] [] .[] [] 31 .[] [] .[] [] .
. (Machine-Readable) ? . , , . . . , . .
-
- 22 -
. ?, ? , . , .
2)
. , , , , . , . RDF(Resource Description Framework) . RDF . , RDF . , , , RDF
-
- 23 -
OWL owl:Ontologyowl:Class owl:ObjectProperty owl:DatatypePropertyowl:NamedIndividualrdfs:subClassOf rdfs:domain rdfs:rangerdf:datatype
RDFS(RDF Schema) OWL(Web Ontology Language) .14) RDF, RDFS, OWL , .
xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
OWL (Name Space)
OWL , , , , , .
OWL(Web Onlology Language)
14) RDF Schema: Resource Description Framework Schema. RDFS, RDF(S), RDF-S, RDF/S . RDFS RDF (vocabulary) . RDF Schema 1998 W3C , 2004 .
https://www.w3.org/TR/rdf-schema/ OWL(Web Onlogogy Language) RDFS . W3C 2004
, OWL2 2009 . https://www.w3.org/TR/owl2-overview/
-
- 24 -
-
- 25 -
. http://digerati.aks.ac.kr/terms/CHoKorea , RDF , , . , ? . .
3)
, . (Ontology Editor) . , , . , , , , . , .
-
- 26 -
ProtgTM15)
15) ProtgTM: . (Stanford Center for Biomedical Informatics Research) . . http://protege.stanford.edu/
-
- 27 -
4) SPARQL
(Ontology Based Database, ODB) . (SPARQL, Simple Protocol and RDF Query Language) RDF .16) .
SPARQL PREFIX chk: PREFIX dc: SELECT ?pictureWHERE{
chk: chk:hasDisciple ?X.?Y dc:creator ?X.?Y chk:isDepictedIn ?picture.
}
X Y ?
PREFIX chk: PREFIX dc: SELECT ?siteWHERE{
chk:_ dc:creator ?X.?Y chk:isFriendOf ?X.?Y chk:isEnshrinedIn ?site.
} _
X Y ?
_
PREFIX chk: PREFIX rdf: SELECT ?site ?partWHERE{
{?site rdf:type chk:}UNION{?site chk:hasPart ?part
}
site part____ _ _ _
?
16) SPARQL(Simple Protocol and RDF Query Language): RDF . W3C(World Wide Web Consortium) 2008 . 2013 SPARQL 1.1 W3C . https://www.w3.org/TR/sparql11-query/
-
- 28 -
. , PREFIX (prefix) , (, , , ) . .
-3.
, , , . , . , . , , . . , . , , . , , , . 3 , , ,
-
- 29 -
. , , . ? . . . , . , .
:
,
-
- 30 -
. , , , . , . , , . . , , . , . , , , , . , , , , . , ? . , , , . , , , .
-
- 31 -
. , , . , , . , , . ? . . , , . .17) . , , . , , ,
17) ( RDF ) .
:
/ /
, , ,
, , , /
-
- 32 -
# , # , # , # , # , . ? (SPARQL) , . . 18) , .
. , . ,
18) http://www.data.go.kr
-
- 33 -
. , , . .