PowerPoint PresentationSlide 2Slide 3Slide 4Slide 5Slide 6Slide 7Slide 8Slide 9Slide 10Slide 11Slide 12Slide 13Slide 14Slide 15Slide 16Slide 17Slide 18Slide 19Slide 20Slide 21Slide 22Slide 23Slide 24Slide 25Slide 26Slide 27Slide 281RDF in the Real WorldJeffrey PartykaReuse of Popular VocabulariesWhen constructing your own vocabulary in RDF, it is best to not “re-invent the wheel”Use as many popular RDF vocabularies as you can within your own RDF file, as long as the terms you are borrowing make sense to usePopular vocabularies have been scrutinized and optimized by thousands of people, many of whom are experts.If you build your own vocabulary, only you (and maybe a few others) have scrutinized it3Popular RDF VocabulariesDublin Core MetadataFOAF (Friend of a Friend)vCardSIOC4Dublin Core MetadataSet of terms used to describe both Web resources (videos, images, Web pages) as well as physical works (book artwork, CDs)Dublin Core started in Dublin, Ohio, in 1995Consists of two levels of terms: simple and qualifiedMeant to be a set of “metadata terms that are broad and generic for describing a wide range of resources”5Origins of Dublin CoreSemantics of Dublin Core were established and maintained by an international cross-disciplinary group of professionals from: - computer science - librarianship - text encoding - museums - Academia and other fields of scholarship6Dublin Core LevelsSimple Dublin Core consists of 15 terms Qualified Dublin Core includes 3 additional terms (Audience, RightsHolder and Provenance)Qualified Dublin Core also contains qualified terms which are more specific for selected domainsThe 15 Core Dublin Core TermsTitle,Creator,Subject,Description,Publisher,Contributor,Date,Type,Format,Identifier,Source,Language,Relation,Coverage,RightsThe specification of these terms is defined at:http://purl.org/dc/elements/1.1/The Dublin Core Qualified TermsThe specification of these terms is defined at:http://purl.org/dc/terms9Example Usage of Dublin Core in RDFGraph of Previous SlideChapter 3 A Semantic Web PrimerFOAFStands for Friend-of-a-FriendThis is an ontology describing persons, their activities and their relations to other people and objectsA Personal Information Management (PIM) vocabulary12FOAF as part of the Giant Global GraphFOAF allows individuals to describe themselvesGroups of people describing themselves using FOAF forms a Giant Global Graph of personal informationApplications of FOAF can do things like: - Find all people living in Europe - Find all of your friends who are in graduate school studying machine learning13WebID Protocol - FOAF + SSL - A secure, decentralized authentication protocol that uses FOAF profile information- Does not require dedicate certificate authority to perform user authorization- Identity authenticated by FOAF-based Web of TrustFOAF support on Content Management Systems (WordPress, TypePad) FOAF Applications14FOAF ExampleChapter 3 A Semantic Web PrimerFOAF TermsFOAF classes are: Agent | Document | Group | Image | LabelProperty | OnlineAccount | OnlineChatAccount | OnlineEcommerceAccount | OnlineGamingAccount | Organization | Person | PersonalProfileDocument | Project | All other terms in FOAF are propertiesFor more info on FOAF in RDF: http://xmlns.com/foaf/spec/16vCardA standard for electronic business cardsFor Personal Information Management (PIM)Contains some of the same information as FOAF, but meant to be more in a professional contextCan contain name and address info, phone numbers, email, logos, photographs and audio clips17vCard as an interchange formatA person’s vCard is often a file that can be attached to an email, and has a .vcf or .vcard file extensionMedia type for vcard is: text/vcard Can also be used for IM and for RDF/XML representationChapter 3 A Semantic Web PrimervCard Snippet ExampleChapter 3 A Semantic Web PrimervCard UsageIn the RDF representation of vCard, there are 8 classes defined: VCard, Name, Address, Organisation, Location, Label, Tel, and EmailAll other vCard terms are propertiesvCard RDF statements in an RDF file starts with a <v:VCard> and ends with a </v:VCard>20Chapter 3 A Semantic Web PrimerSIOCSemantically Interlinked Online CommunitiesAn RDF/RDFS vocabulary for connecting blogs, forums and message boardsContains metadata for attribution, creationSupported by content management systems (like WordPress) for detection and displayChapter 3 A Semantic Web PrimerSIOC SnippetChapter 3 A Semantic Web PrimerCombining Different VocabulariesIn practice, when creating your own RDF-based data model, you will want to re-use the most popular RDF vocabularies, as long as it makes sense to do soDublin Core, FOAF and vCard are often combined with your own vocabulary in an RDF data modelCombining vCard and Dublin CoreCombining SIOC, FOAF and DCCombining multiple vocabularies<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:j.0="http://www.utdallas.edu/movie/" xmlns:vcard="http://www.w3.org/2001/vcard-rdf/3.0#" xmlns:dc="http://purl.org/dc/elements/1.1/" > <rdf:Description rdf:about="http://www.utdallas.edu/auteurs/Full_Metal_Jacket"> <dc:description>A pragmatic U.S. Marine observes the dehumanizing effects the U.S.-Vietnam War has on his fellow recruits from their brutal boot camp training to the bloody street fighting in Hue.</dc:description> <j.0:academyAwardsWon>0</j.0:academyAwardsWon> <dc:creator>Gustav Hasford</dc:creator> <dc:date>1987</dc:date> <j.0:imdbRating>8.4</j.0:imdbRating> <j.0:directedBy rdf:resource="http://www.utdallas.edu/auteurs/Kubrick"/> <dc:source>The Short-Timers</dc:source> <dc:title>Full Metal Jacket</dc:title> <j.0:hasTagline>Vietnam can kill me, but it can't make me care</j.0:hasTagline> <dc:type>War</dc:type> <j.0:stars rdf:resource="http://www.utdallas.edu/auteurs/Modine"/> </rdf:Description>………Chapter 3 A Semantic Web PrimerFinding and Browsing RDFVarious browser plug-ins exist to enable the viewing of RDFRDF Detective (for Chrome), Semantic Radar (in Firefox), Semantic Checker (Firefox), Dublin Core Viewer (Firefox) and native support for FOAF in SafariChapter 3 A Semantic Web PrimerRDF
View Full Document