Anda di halaman 1dari 12

See discussions, stats, and author profiles for this publication at: https://www.researchgate.

net/publication/329117617

Rekayasa Web dengan Semantic Web

Book · January 2018

CITATIONS READS

0 1,174

3 authors:

Budi Susanto Umi Proboyekti


Universitas Kristen Duta Wacana Universitas Kristen Duta Wacana
46 PUBLICATIONS 47 CITATIONS 26 PUBLICATIONS 35 CITATIONS

SEE PROFILE SEE PROFILE

Gloria Virginia
Universitas Kristen Duta Wacana
35 PUBLICATIONS 79 CITATIONS

SEE PROFILE

Some of the authors of this publication are also working on these related projects:

REKAYASA REPOSITORI BERBASIS SEMANTIC WEB UNTUK PENYEDIAAN LAYANAN KATALOG INFORMASI OBJEK BUDAYA View project

Integrated IS Strategic Plan View project

All content following this page was uploaded by Budi Susanto on 22 November 2018.

The user has requested enhancement of the downloaded file.


REKAYASA WEB DENGAN SEMANTIC WEB

Budi Susanto
Gloria Virginia
Umi Proboyekti

DUTA WACANA UNIVERSITY PRESS


YOGYAKARTA
2018

i
Rekayasa Web dengan Semantic Web

Budi Susanto
Gloria Virginia
Umi Proboyekti

Penata Naskah dan Sampul


Untung

Duta Wacana University Press Yogyakarta


2018.
123 hlm.; 176 mm x 250 mm

1. Buku Ajar 2. Rekayasa Web dengan Semantic Web I. Judul


II. Budi Susanto III. Gloria Virginia IV. Umi Proboyekti

ii
Kata Pengantar

Buku ini ditulis berdasarkan pengalaman penulis sebagai praktisi di bidang


Teknologi Informasi dan peneliti di bidang Semantic Web, sehingga materi yang
dijelaskan dalam buku ini bersifat praktis dan teoritis. Penjelasan secara teoritis
diperlukan untuk memberikan pemahaman lebih mendalam terhadap penjelasan
yang bersifat praktis. Setelah membaca buku ini, pembaca akan mendapatkan
pengetahuan tentang pembangunan sebuah aplikasi web dengan arsitektur
Semantic Web.

Buku ini berguna bagi mereka yang tertarik untuk membangun sebuah aplikasi web
dengan teknologi Web 3.0. Pembaca diharapkan memiliki pengetahuan umum
tentang teknologi web, bahasa markup language, dan bidang studi Artificial
Intelligence. Pengalaman praktis terhadap hal tersebut akan sangat membantu
dalam memahami materi yang ditawarkan dalam buku ini.

Buku "Rekayasa Web dengan Semantic Web" disusun sebagai buku ajar. Di setiap
awal bab terdapat penjelasan tentang isi dan tujuan yang ingin dicapai dari bab
tersebut, sedangkan di akhir bab, penulis menyediakan beberapa soal latihan untuk
evaluasi diri tentang pemahaman terhadap materi yang dijelaskan. Daftar pustaka
yang berisi rujukan yang digunakan dalam penjelasan juga disediakan untuk setiap
bab sehingga pembaca dapat menelusuri lebih jauh tentang topik yang dibicarakan.

Bagian awal buku ini menjelaskan tentang teknologi web secara umum,
perkembangannya, pentingnya meta data, dan kedudukan Semantic Web terhadap
perkembangan teknologi web. Sebelum masuk ke hal teknis tentang arsitektur
Semantic Web, penjelasan terkait format dokumen XML dijabarkan cukup
mendalam, yaitu tentang spesifikasi standar XML, DTD, XML Schema, Xpath, serta
XSLT. Penjelasan ini dirasa penting karena dalam sistem terdistribusi, XML
berfungsi sebagai format dokumen dan format pertukaran data.

Penjelasan tentang arsitektur Semantic Web tersedia di Bab 3. Pada bab ini,
metadata dalam bentuk Microdata dan RDFa dijelaskan secara detil sehingga
pembaca memiliki pengetahuan yang cukup terkait peran dan format metadata
untuk memperkaya deskripsi suatu sumber daya atau objek di web.

Berangkat dari uraian tentang Metadata yang memperhatikan adanya kandungan


semantik terhadap isi halaman web, pada Bab 4 diuraikan lebih jauh tentang
pemodelan data yang bersifat terbuka dengan menggunakan kerangka RDF

iii
(Resource Description Framework). Dengan kerangka ini dapat dikembangkan suatu
model representasi pengetahuan sederhana dari suatu domain pengetahuan yang
akan disediakan melalui standar Semantic Web. Pemanfaatan RDFS juga menjadi
penekanan di sini.

Bab 5 adalah bab terakhir yang mengulas tentang bagaimana menerapkan query dan
protokol pertukaran data dengan standar SPARQL. Uraian tentang sintak query dan
protokol disampaikan berdasar contoh dengan harapan dapat lebih mempermudah
pembaca dalam memahami sintak dan kebutuhan akan pengambilan fakta dari
triple set yang tersimpan dalam SPARQL end-point. Pada bab ini juga diberikan
contoh tentang pemrograman dengan PHP untuk mengakses SPARQL end-point
tersebut.

Selesainya buku ini tidak dapat lepas dari pimpinan dan tuntunan Tuhan yang Maha
Kasih. Hanya karena anugerah dan berkat dari Tuhan sendiri yang memampukan
penulis untuk menyelesaikan buku ini. Penulis juga mengucapkan terima kasih
kepada RISTEK DIKTI yang telah mendanai penelitian tim penulis untuk tahun 2018
berdasar Surat Kontrak Penelitian Nomor 109/SP2H/LT/DRPM/2018. Penulis juga
mengucapkan banyak terima kasih kepada rekan-rekan mahasiswa dari FTI UKDW
yang bergabung dalam penelitian ini.

Yogyakarta, Oktober 2018


Tim Penulis

iv
Daftar Isi

Kata Pengantar ................................................................................................................ iii


Bab 1. Pendahuluan .......................................................................................................... 1
1.1. Aplikasi Web .......................................................................................................... 1
1.2. Dari WWW ke Web Data ....................................................................................... 2
1.3. Semantic Web ....................................................................................................... 5
1.4. Metadata pada Situs Web ..................................................................................... 8
1.4.1. Definisi Metadata .......................................................................................... 8
1.4.2. Format Metadata untuk Web........................................................................ 9
1.4.3. Semantic Web dan Linked Open Data ......................................................... 11
1.5. Web 3.0 ............................................................................................................... 13
1.6. Penutup ............................................................................................................... 15
1.7. Latihan ................................................................................................................. 15
1.8. Daftar Pustaka ..................................................................................................... 16
Bab 2. Format Dokumen XML ......................................................................................... 19
2.1. Dokumen XML ..................................................................................................... 19
2.2. DOCTYPE XML (DTD)............................................................................................ 22
2.2.1. Bentuk Deklarasi DTD .................................................................................. 22
2.2.2. Aturan Umum Deklarasi DTD ...................................................................... 25
2.3. XML Schema ........................................................................................................ 28
2.3.1. Namespace .................................................................................................. 29
2.3.2. Deklarasi Elemen ......................................................................................... 30
2.4. XPath ................................................................................................................... 38
2.5. XSLT Dasar ........................................................................................................... 40
2.6. Contoh XML Jamu Tradisional ............................................................................. 45
2.7. Latihan ................................................................................................................. 48
2.8. Daftar Pustaka ..................................................................................................... 49
Bab 3. Metadata dan Arsitektur Semantic Web ............................................................. 51
3.1. Semiotic Triangle ................................................................................................. 51
3.2. Identitas Objek pada Web ................................................................................... 53
3.3. Microdata dan RDFa ............................................................................................ 57
3.4. Arsitektur Semantic Web .................................................................................... 62
3.5. Penutup ............................................................................................................... 65
3.6. Latihan ................................................................................................................. 66
3.7. Daftar Pustaka ..................................................................................................... 66
Bab 4. Representasi Pengetahuan Dasar ........................................................................ 69
4.1. Representasi Pengetahuan.................................................................................. 70
4.2. Bahasa RDF/RDFS ................................................................................................ 71
4.2.1. Blank Node................................................................................................... 76
4.2.2. List ................................................................................................................ 79
4.2.3. Reification .................................................................................................... 83
4.3. Bahasa RDF Schema (RDFS) ................................................................................. 85
4.3.1. Class dan Property ....................................................................................... 86

v
4.3.2. Intersection Class dan Property ................................................................... 89
4.3.3. Union Class dan Property ............................................................................ 89
4.3.4. RDFS+ ........................................................................................................... 90
4.4. Bahasa DAML+OIL ............................................................................................... 93
4.5. Protégé ................................................................................................................ 95
4.6. Latihan ................................................................................................................. 99
4.7. Daftar Pustaka ................................................................................................... 101
Bab 5. SPARQL ............................................................................................................... 103
5.1. Prinsip Dasar SPARQL ........................................................................................ 103
5.2. Protokol SPARQL ............................................................................................... 104
5.3. Perintah Query Dasar SPARQL .......................................................................... 106
5.4. Pemrograman PHP Dasar untuk Akses SPARQL ................................................ 112
5.5. Latihan ............................................................................................................... 117
5.6. Daftar Pustaka ................................................................................................... 118
Daftar Pustaka .............................................................................................................. 119
Indeks ............................................................................................................................ 123

vi
Daftar Pustaka
Gill, T. (2008). Metadata and the Web. In Introduction to Metadata: Second Edition (pp. 20-
37). Los Angeles, CA: Getty Publications. Retrieved from
http://www.getty.edu/research/publications/electronic_publications/intrometad
ata/metadata.html
Berners-Lee, T., Hendler, J., & Lassila, O. (2001). The Semantic Web. Scientific American,
284(5), 29-37.
Gilliland, A. J. (2008). Setting the Stage. In M. Baca (Ed.), Introduction to Metadata, Second
Edition (pp. 1-19). Los Angeles, CA: Getty Publications.
Camera & Imaging Products Association. (2016, July). Exchangeable image file format for
digital still cameras: Exif Version 2.31. Retrieved from Camera & Imaging Products
Association: http://www.cipa.jp/std/documents/e/DC-008-Translation-2016-
E.pdf
Adobe Systems Inc. (2014, December 22). Adobe’s Extensible Metadata Platform (XMP).
Retrieved from Adobe: https://www.adobe.com/products/xmp.html
CompuServe Incorporated. (1990). Cover Sheet for the GIF89a Specification. Retrieved from
W3C: https://www.w3.org/Graphics/GIF/spec-gif89a.txt
OASIS. (2011, September 29). OASIS Open Document Format for Office Applications
(OpenDocument) TC. Retrieved from OASIS: https://www.oasis-
open.org/committees/tc_home.php?wg_abbrev=office
Amaglobeli, G. (2012). Semantic Triangle and Linguistic Sign. Scientific Journal in Humanities,
1(1), 37-40.
Jacobs, I. (2004). Architecture of the World Wide Web, Volume One. W3C.
Mozilla. (2018, 01 3). Content negotiation. Retrieved from MDN web docs:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Content_negotiation
W3C. (2018, April 26). HTML Microdata. Retrieved from W3C:
https://www.w3.org/TR/microdata/
Schema.org Markup. (n.d.). Retrieved from Moz: https://moz.com/learn/seo/schema-
structured-data
McCarron, S., Adida, B., Birbeck, M., Kellogg, G., Herman, I., & Pemberton, S. (2015, Maret 17).
HTML+RDFa 1.1 - Second Edition. Retrieved from W3C:
https://www.w3.org/TR/rdfa-in-html/
Domingue, J., Fensel, D., & Hendler, J. A. (2011). Introduction to the Semantic Web
Technologies. In J. Domingue, D. Fensel, & J. A. Hendler (Eds.), Handbook of
Semantic Web Technologies. Berlin: Springer-Verlag Berlin Heidelberg.
Bright, L. (2006). What are OWL Ontologies? Retrieved from CS 410: Scientific Data
Management:
https://homes.cs.washington.edu/~billhowe/cs410/owl_overview.pdf
Bikakis, N. (n.d.). XML and Semantic Web W3C Standards Timeline. Retrieved from nikos
bikakis:
http://www.dblab.ntua.gr/~bikakis/XML%20and%20Semantic%20Web%20W3C
%20Standards%20Timeline-History.pdf
Nations, D. (2018, September 6). Is Web 3.0 Really a Thing? A Brief Intro to Web 3.0 and What
to Expect . Retrieved from Lifewire: https://www.lifewire.com/what-is-web-3-0-
3486623
Horrocks, I., Patel-Schneider, P. F., Boley, H., Tabet, S., Grosof, B., & Dean, M. (2004, Mei 21).
SWRL: A Semantic Web Rule Language Combining OWL and RuleML. Retrieved from
W3C Member Submission: https://www.w3.org/Submission/SWRL/
Susanto, B. (2008, 08). Pemrograman XML Security. Retrieved from Perihal:
https://budsus.files.wordpress.com/2007/08/xmlsecurity.pdf

119
Shannon, V. (2006, Mei 23). A 'more revolutionary' Web. Retrieved from The New York Times
Company: https://www.nytimes.com/2006/05/23/technology/23iht-web.html
Berners-Lee, T. (2001, 10 25). Business Model for the Semantic Web. Retrieved from World
Wide Web Consortium: https://www.w3.org/DesignIssues/Business
Berners-Lee, T. (2017, Maret 01). Webizing existing systems. Retrieved from World Wide
Web Consortium: https://www.w3.org/DesignIssues/Webize
Ankolekar, A., Krötzsch, M., Tran, T., & Vrandecic, D. (2008). TheTwoCultures: Mashing up
Web 2.0 and the Semantic Web. Web Semantics, 6(1), 70–75.
Markoff, J. (2006, November 12). Entrepreneurs See a Web Guided by Common Sense.
Retrieved from The New York Times:
https://www.nytimes.com/2006/11/12/business/12web.html
Sikos, L. F. (2015). Mastering Structured Data on the Semantic Web: From HTML5 Microdata
to Linked Open Data. Apress.
Lifeboat Foundation Scientific Advisory Board. (2015). Web 3.0: The Third Generation Web is
Coming. Retrieved from Lifeboat Foundation Safeguarding Humanity:
https://lifeboat.com/ex/web.3.0
Spivack, N. (2007, November 9). How the WebOS Evolves? Retrieved from NovaSPivack Blog:
http://novaspivack.typepad.com/nova_spivacks_weblog/2007/02/steps_towards_
a.html
Pileggi, S. F., Fern andez-Llatas, C., & Carlos, V. (2012). When the Social Meets the Semantic:
Social Semantic Web or Web 2.5. Future Internet, 4, 852-864.
Lassila, O., & Hendler, J. (2007, Mei 7). Embracing “Web 3.0”. IEEE Internet Computing, 11(3),
pp. 90-93.
W3C. (2006, September 29). Extensible Markup Language (XML) 1.1 (Second Edition).
Retrieved from World Wide Web Consortium: https://www.w3.org/TR/xml11/
Thompson, H., Beech, D., Maloney, M., & Mendelsohn, N. (Eds.). (2004, Oktober 28). XML
Schema Part 1: Structures Second Edition. Retrieved from World Wide Web
Consortium: https://www.w3.org/TR/xmlschema-1/
Biron, P. V., Permanente, K., & Malhotra, A. (Eds.). (2004, Oktober 28). XML Schema Part 2:
Datatypes Second Edition. Retrieved from World Wide Web Consortium:
https://www.w3.org/TR/xmlschema-2/
Stephenson, D. (2004, Desember). XML Schema best practices. Retrieved from Cover Pages:
http://xml.coverpages.org/HP-StephensonSchemaBestPractices.pdf
Bray, T., Hollander, D., Layman, A., Tobin, R., & Thompson, H. (Eds.). (2009, Desember 8).
Namespaces in XML 1.0 (Third Edition). Retrieved from World Wide Web
Consortium: https://www.w3.org/TR/xml-names/
Robie, J., Dyck, M., & Spiegel, J. (Eds.). (2017, Maret 21). XML Path Language (XPath) 3.1.
Retrieved from World Wide Web Consortium:
https://www.w3.org/TR/2017/REC-xpath-31-20170321/
Williamson, H. (2001). XML: The complete reference. Berkeley, California: McGraw-Hill.
Situmorang, H. Y., Susanto, B., & Virginia, G. (2018). Representasi Informasi Jamu Tradisional
Indonesia Berbasis Rdfs. Yogyakarta: Skripsi Informatika UKDW.
Antoniu, G., & Harmelen, F. v. (2004). A Semantic Web Primer. Cambridge, London: MIT
Press.
Gartner, R. (2016). Metadata: Shaping Knowledge from Antiquity to the Semantic Web.
Switzerland: Springer International Publishing.
W3C. (2014, Februari 25). RDF 1.1 Semantics. Retrieved from W3C Recommendations:
https://www.w3.org/TR/2014/REC-rdf11-mt-20140225/
Davis, R., Shrobe, H., & Szolovits, P. (1993). What is a Knowledge Representation? AI
Magazine, 14(1), pp. 17-33. Retrieved from
https://groups.csail.mit.edu/medg/ftp/psz/k-rep.html
Brachman, R. J., & Levesque, H. J. (2004). Knowledge Representation and Reasoning. USA:
Elsevier, Inc.

120
Martin, P. (2002). Knowledge representation in RDF/XML, KIF, Frame-CG and Formalized-
English. 10th International Conference on Conceptual Structures, ICCS 2002 Borovets
(pp. 77-91). Bulgaria: Springer.
Horrocks, I. (2002). DAML+OIL: a Description Logic for the Semantic Web. IEEE Data
Engineering Bulletin, 25, 4-9.
Connolly, D., Harmelen, F., Horrocks, I., McGuinness, D., Patel-Schneider, P., & Stein, L. (2001,
Desember 18). DAML+OIL (March 2001) Reference Description. Retrieved from
W3C Note: https://www.w3.org/TR/daml+oil-reference
W3C. (2014, Februari 25). RDF 1.1 Concepts and Abstract Syntax. Retrieved from W3C
Recommendation: https://www.w3.org/TR/rdf11-concepts/
W3C. (2014, Februari 25). RDF Schema 1.1. Retrieved from W3C Recommendation:
https://www.w3.org/TR/rdf-schema/
W3C. (n.d.). SPARQL Query Language for RDF - Formal Definitions. Retrieved from W3C
SPARQL Query Language:
https://www.w3.org/2001/sw/DataAccess/rq23/sparql-defns.html
W3C. (2008, Februari 15). SPARQL Protocol for RDF. Retrieved from W3C Recommendation:
https://www.w3.org/TR/rdf-sparql-protocol/
DuCharme, B. (2013). Learning SPARQL, Second Edition. Gravenstein Highway North,
Sebastopol, CA: O’Reilly Media.

121
Indeks

Agent-driven Content Negotiation SPARQL, 104


Content Negotiation, 56 RDF, 11
blank node, 76 RDF Schema. See RDFS
constraint faced, 31 RDF Triple Store, 65
Content Negotiation, 55 RDFa, 61
DAML + OIL, 94 RDFS
DELETE Schema, 85
SPARQL, 110 RSS, 6
designatum, 54 Schema, 59, 85
Document Type Declaration, 22 SELECT
Dublin Core, 10 SPARQL, 111
FILTER Semantic Web, 4, 6
SPARQL, 112 Semantik, 51
folksonomy, 12 Semiotic Triangle, 51
INSERT Simple Knowledge Organization System, 64
SPARQL, 108 Sintak, 52
Knowledge Representation, 70 SPARQL, 103
Kontek, 52 sparqllib.php, 113
Linked Data, 6 Taksonomi, 11
mash-up, 13 Uniform Resource Locator, 53
Metadata, 8 Uniform Resource Name, 54
microdata, 10 URI, 53
Microdata, 57 Web 3.0. See Semantic Web
Microformat, 10 Web Service, 2
Namespace, 21, 30 WHERE
Ontology Web Language, 90 SPARQL, 111
Open Linked Data, 11 XML, 19
OPTIONAL XML Schema, 29
SPARQL, 112 XPath, 38
pragmatik, 52 XSD. See XML Schema
Protokol SPARQL XSL Transformation, 40

123

View publication stats

Anda mungkin juga menyukai