270 likes | 289 Views
Learn about the concepts of Linked Data, accessing RDF dumps, and using SPARQL endpoints to query knowledge bases. Explore examples and discover how these technologies can enhance data sharing on the Semantic Web.
E N D
Linked Data, RDF Dump & SPARQL Endpoints CS - 6V81 University of Texas at Dallas November 30, 2009 Presented by- Rohit Sharma
Agenda!!! • Preview? • Linked Data? • Access Linked Data? • RDF Dump? • SPARQL Endpoints? • Example? • Conclusions? http://stuff.ratjed.com/our%20children.gif
Preview ? • Web standards : RDF and SPARQL • Logical Choice • Structured Data Online • Self Describing Nature of RDF • Enables agent to understand the relationship between entities • Also the nature of the entities themselves
Linked Data? • Tim Berners-Lee outlined four principles of Linked Data : • Use URIs to identify things. • Use HTTP URIs so that these things can be referred to and looked up ("dereference") by people and user agents. • Provide useful information (i.e., a structured description — metadata) • Include links to other, related URIs in the exposed data
Linked Data? Components of Linked Data : • URIs • HTTP • Resource Description Framework (RDF) • Serialization formats (RDFa, RDF/XML, N3, Turtle, and others)
Linked Data? “A term used to describe a recommended best practice for exposing, sharing, and connecting pieces of data, information, and knowledge on the Semantic Web using URIs and RDF.” One Example please?
Linked Data? Example: “How pyramidal neurons do their work with signal transducer to optimize the obesity?”
Linked Data? 0 RESULTS
Linked Data? Example? “How pyramidal neurons do their work with signal transducer to optimize the obesity?”
Linked Data? 282 Thousands hits , 0 Result
Linked Data? Linked Health Care Data : 32 Hits , 32 Results
Accessing Linked Data? • Data on the Semantic Web can be made available and consumed in many ways • RDF Dumps • RDF dumps of a dataset can be provided in 3 formats • RDF/XML • N-Triples • N-Quads • SPARQL Endpoints
RDF Dumps? • Common format for providing RDF data • It is just files of RDF/XML data (that conforms to the linked data tenets of Berners-Lee) • Works well with large amount of RDF data
RDF Dumps? • The RDF dump is a collection of files • Amassed by the Open Directory Project • These files are publicly and freely available • Download it from “http://rdf.dmoz.org/”.
SPARQL Endpoints? • A SPARQL is a simple web address with SPARQL query. • Defined in SPARQL Protocol for RDF • A SPARQL endpoint enables users to query a knowledge base via the SPARQL
SPARQL Endpoints? • The results of Query are typically returned in one or more machine-processable formats • MORE? • a SPARQL endpoint is mostly conceived as a machine-friendly interface towards a knowledge base. • Both the formulation of the queries and the human-readable presentation of the results should typically be implemented by the calling software, and not be done manually by human users.
SPARQL Endpoints? • What does “EndPoint” means? • An EndPoint indicates a specific location for accessing a WebService using a specific protocol and data format. • Just put your Query after the “?” in the web address.
SPARQL EndPoints? Example: If the URL http://example.com/sparql is a SPARQL endpoint, then we can send queries to it by URL like http://example.com/sparql?query=SELECT+%3Fname+WHERE.... Note that the query itself is passed to the endpoint as a URL-encoded string.
SPARQL EndPoints? Example: If the URL http://example.com/sparql is a SPARQL endpoint, then we can send queries to it by URL like http://example.com/sparql?query=SELECT+%3Fname+WHERE.... Note that the query itself is passed to the endpoint as a URL-encoded string.
Conclusion: • For simple query use SPARQL Endpoints. • For executing a large number of queries use RDF dump and run them locally. • Downloading a dump instead of fetching each URI/URL of a Linked Data is better • Reduces consumption of networking and computing resources • World : more connected & less confused. http://blog.nanoraid.com/0909email.jpg
References: • http://utdallas.bncollege.com/wcsstore/ExtendedSitesCatalogAssetStore/813_81302_1_33145.htm • http://rdf.dmoz.org/ • http://www.w3.org/2007/03/RdfRDB/papers/tummarello.pdf http://en.wikipedia.org/wiki/Semantic_Web_Services • http://www.cartoon/teen/church/light.gif • http://www.ted.com/index.php/talks/tim_berners_lee_on_the_next_web.html • http://www4.wiwiss.fu-berlin.de/pubby/ • http://www.semanticuniverse.com/sparql-example-part-i-•-q-lee-feigenbaum.html
Rohit Sharma rxs069100@utdallas.edu Contact: