Upload
olaf-hartig
View
1.577
Download
0
Tags:
Embed Size (px)
DESCRIPTION
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.
Citation preview
Database Researchers Map
SFSW'09 Scripting Challenge Submission
http://researchersmap.informatik.hu-berlin.de
Olaf Hartig Hannes Mühleisen
Johann-Christoph Freytag
Olaf Hartig - Database Researchers Map 2
Demo
Olaf Hartig - Database Researchers Map 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://www.dbis.informatik.hu-berlin.de/ … /freytag.rdf#me> rdf:type :DBProfessor . …
http://researchersmap.informatik.hu-berlin.de/data/dbprofs
Olaf Hartig - Database Researchers Map 4
Users Really Own their Data
…
<http://www.dbis.informatik.hu-berlin.de/ … /freytag.rdf#me> contact:fullName "Prof. Johann-Christoph Freytag, Ph.D." ; contact:office [ contact:address [ contact:street "Rudower Chaussee 25" ; contact:city "Berlin"^^xsd:string ; contact:postalCode "12489"^^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> . …
http://www.dbis.informatik.hu-berlin.de/ ... /freytag.rdf
Olaf Hartig - Database Researchers Map 5
Implementation
SQUINSemWeb
ClientLib
SELECT DISTINCT ?i ?labelWHERE {
?prof rdf:type <http://res ... data/dbprofs#DBProfessor> ; foaf:topic_interest ?i .
OPTIONAL { ?i rdfs:label ?label FILTER( LANG(?label)="en" || LANG(?label)="") }}ORDER BY ?label ?
● Realized with SQUIN● Query interface to the whole Web of Data● The whole Web as a single database
Olaf Hartig - Database Researchers Map 6
Sample Query
SELECT DISTINCT ?i ?labelWHERE {
?prof rdf:type <http://res ... data/dbprofs#DBProfessor> . ?prof foaf:topic_interest ?i .
OPTIONAL {?i rdfs:label ?labelFILTER( LANG(?label)="en" || LANG(?label)="")
}}ORDER BY ?label
Olaf Hartig - Database Researchers Map 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
● SQUIN install package available: http://squin.org
$s = 'http:// …'; // address of the SQUIN service$q = new SparqlQuerySock( $s, '… SELECT ...' );$res = $q->getJsonResult(); // or getXmlResult()
Olaf Hartig - Database Researchers Map 8
These slides have been created byOlaf Hartig
http://olafhartig.de
This work is licensed under aCreative Commons Attribution-Share Alike 3.0 License
(http://creativecommons.org/licenses/by-sa/3.0/)