120 likes | 253 Views
Semantic Search on FOAF profiles. CSCI 572 Project Presentation Mohsen Taheriyan. Linked Data. Like the web of hypertext, the web of data is constructed with documents on the web.
E N D
Semantic Search on FOAF profiles CSCI 572 Project Presentation Mohsen Taheriyan
Linked Data • Like the web of hypertext, the web of data is constructed with documents on the web. • In the web of hypertext, links are relationships in hypertext documents written in HTML, but for data they links between arbitrary things described by RDF. • The URIs identify any kind of object or concept. “The Semantic Web isn't just about putting data on the web. It is about making links, so that a person or machine can explore the web of data. With linked data, when you have some of it, you can find other, related, data”. - Tim Berners-Lee
Why RDF? • Put all data on the web • Rather than keep them in back-end databases • Adding new attributes easily • Semantic Queries on data (rather than keyword-based search) • Linking Data Image from “The Web of LinkedData” By: Christian Bizer
FOAF (Friend of a Friend) • A simple ontology for representing information about people and who they know • Provides a vocabulary in RDF for sharing personal and social network information on the Semantic Web • FOAF: social semantic web application • Some centralized social networking sites, like Ecademy and LiveJournal output their data in FOAF format • Currently, there are millions of FOAF files and users.
FOAF (RDF/XML) • <foaf:Person> • <foaf:nick>golbeck</foaf:nick> • <foaf:name>golbeck</foaf:name> • <foaf:mbox_sha1sum>4d14fc9da1d0929dae3cde648ae4a7195d120bae • </foaf:mbox_sha1sum> • <foaf:knows> • <foaf:Person> • <foaf:name>Tim Berners-Lee</foaf:name> • <foaf:mbox_sha1sum>…</foaf:mbox_sha1sum> • </foaf:Person> • </foaf:knows> • <foaf:weblogrdf:resource="http://golbeck.livejournal.com/"/> • </foaf:Person>
System Overview • Feed dataset into a model (knowledge base) • Convert User Input to SPARQL • query language on RDF, OWL • Interact with SemWebReasoner through its API • Search on People names • View people information • Webpage • Nickname • Location • … • View people connections • More complex queries • Common friends of X and Y User Interface SemWeb Framework (Provides RDF reasoner) Dataset of FOAF files (RDF format)
Program Components • Programming • C#, .NET • How to interact with dataset • SemWeb Library • Dataset file format • N-Quads • SemWeb can reason only on N3, RDF/XML RDF formats • Query Language on RDF • SPARQL
SPARQL • There are some online query services • SPARQL Query Service Online • PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> • PREFIX foaf: <http://xmlns.com/foaf/0.1/> • SELECT DISTINCT ?name • WHERE { • ?x rdf:typefoaf:Person . • ?x foaf:name ?name • }
Demo • Run Program
What I learned? • General concepts of RDF • RDF Syntax • N-Quad • N3 • RDF/XML • FOAF vocabulary • SPARQL Query Language
Discussion • Privacy of FOAF profiles is a concern • People need motivation to put their data on the web • User friendly tools can help • Create a personal webpage from FOAF profile is future work • HTML view of FOAF profiles