Database Researchers Map

1,818 views

Published on

With these slides I presented our Linked Data based mash-up "Researchers Map" at the Scripting for the Semantic Web Workshop (SFSW) at ESWC'09.

Published in: Technology
  • Be the first to comment

Database Researchers Map

  1. 1. Database Researchers Map SFSW'09 Scripting Challenge Submission http://researchersmap.informatik.hu-berlin.de Olaf Hartig Hannes Mühleisen Johann-Christoph Freytag
  2. 2. Demo Olaf Hartig - Database Researchers Map 2
  3. 3. New Kind of Applications ● Users retain full control over their data ● Users manage and publish data on their own ● All that is needed for the application is a URI http://researchersmap.informatik.hu-berlin.de/data/dbprofs … <http://www.dbis.informatik.hu-berlin.de/ … /freytag.rdf#me> rdf:type :DBProfessor . … Olaf Hartig - Database Researchers Map 3
  4. 4. Users Really Own their Data http://www.dbis.informatik.hu-berlin.de/ ... /freytag.rdf … <http://www.dbis.informatik.hu-berlin.de/ … /freytag.rdf#me> contact:fullName quot;Prof. Johann-Christoph Freytag, Ph.D.quot; ; contact:office [ contact:address [ contact:street quot;Rudower Chaussee 25quot; ; contact:city quot;Berlinquot;^^xsd:string ; contact:postalCode quot;12489quot;^^xsd:string ] ] ; foaf:topic_interest <http://dbpedia.org/resource/Query_optimization> , <http://dbpedia.org/resource/Privacy> , <http://dbpedia.org/resource/Data_quality> , <http://dbpedia.org/resource/Data_warehouse> ; owl:sameAs <http://dblp.l3s.de/d2r/resource/authors/Johann_Christoph_Freytag> . … Olaf Hartig - Database Researchers Map 4
  5. 5. Implementation ● Realized with SQUIN ● Query interface to the whole Web of Data ● The whole Web as a single database SELECT DISTINCT ?i ?label WHERE { ?prof rdf:type <http://res ... data/dbprofs#DBProfessor> ; foaf:topic_interest ?i . OPTIONAL { ?i rdfs:label ?label ? FILTER( LANG(?label)=quot;enquot; || LANG(?label)=quot;quot;) } } ORDER BY ?label SQUIN SemWeb Client Lib Olaf Hartig - Database Researchers Map 5
  6. 6. Sample Query SELECT DISTINCT ?i ?label WHERE { ?prof rdf:type <http://res ... data/dbprofs#DBProfessor> . ?prof foaf:topic_interest ?i . OPTIONAL { ?i rdfs:label ?label FILTER( LANG(?label)=quot;enquot; || LANG(?label)=quot;quot;) } } ORDER BY ?label Olaf Hartig - Database Researchers Map 6
  7. 7. Implementation (cont.) ● Realization of Researchers Map was very easy due to: ● SQUIN / SemWeb Client Lib ● Approx. 700 LOC JavaScript (incl. 100 for the queries) ● Approx. 50 LOC PHP (Mainly to set up server side proxy due to same origin policy) ● Convenient access to SQUIN with SQUIN PHP tools $s = 'http:// …'; // address of the SQUIN service $q = new SparqlQuerySock( $s, '… SELECT ...' ); $res = $q->getJsonResult(); // or getXmlResult() ● SQUIN install package available: http://squin.org Olaf Hartig - Database Researchers Map 7
  8. 8. These slides have been created by Olaf Hartig http://olafhartig.de This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License (http://creativecommons.org/licenses/by-sa/3.0/) Olaf Hartig - Database Researchers Map 8

×