LinkSUM

Awesome!

Overview

How to use the sum service:

The parameters marked with the star symbol (*) are mandatory.

Example queries:

HTML

sum?entity=http://dbpedia.org/resource/Douglas_Adams&topK=10
sum?entity=http://dbpedia.org/resource/Original_Sin_(2001_film)&topK=10
sum?entity=http://dbpedia.org/resource/Usain_Bolt&topK=10
sum?entity=http://dbpedia.org/resource/Marie_Curie&topK=10
sum?entity=http://dbpedia.org/resource/Manchester_City_F.C.&topK=10
sum?entity=http://dbpedia.org/resource/Lexus&topK=10
sum?entity=http://dbpedia.org/resource/The_Cosby_Show&topK=10

JSON-LD, Turtle, RDF+XML, etc. (to copy&paste for console)
curl -i -d "[ a <http://purl.org/voc/summa/Summary> ; \
<http://purl.org/voc/summa/entity> \
<http://dbpedia.org/resource/Porsche> ; \
<http://purl.org/voc/summa/topK> '5'; \
<http://purl.org/voc/summa/maxHops> '1'; \
<http://purl.org/voc/summa/language> 'en'; \
<http://purl.org/voc/summa/fixedProperty> \
<http://dbpedia.org/ontology/keyPerson>; \
<http://purl.org/voc/summa/fixedProperty> \
<http://dbpedia.org/ontology/owner>  ] ." \
-H "content-type: text/turtle" -H "accept: application/ld+json" http://km.aifb.kit.edu/services/link/sum

Main publication

Related publications

Configuration:

Important: the Wikipedia API calls (see below) have a limit of 500 results. In case of large entities with many in and outlinks, for performance reasons, we do not retrieve all backlinks. This can lead to wrong information (i.e., the set of backlinks can be incorrect). Therefore, as of January 2017, this service is no longer ready to be used for scientific experiments.

The configuration of this LinkSUM instance uses the following setup:

It is directly hooked to the official DBpedia SPARQL endpoint. The main SPARQL query is as follows:
PREFIX vrank:<http://purl.org/voc/vrank#>
PREFIX rdfs:<http://www.w3.org/2000/01/rdf-schema#>
PREFIX dbp-ont:<http://dbpedia.org/ontology/>
PREFIX dbp-prop:<http://dbpedia.org/property/>

SELECT ?s ?p ?o ?slabel ?plabel ?olabel ?v 
FROM <http://dbpedia.org> 
FROM <http://people.aifb.kit.edu/ath/#DBpedia_PageRank> 
WHERE {
	{	<http://dbpedia.org/resource/Douglas_Adams> ?p ?o.
		FILTER regex(str(?o),"http://dbpedia.org/resource","i").
		FILTER (?p != dbp-ont:wikiPageWikiLink && ?p != <http://purl.org/dc/terms/subject> && ?p != dbp-prop:wikiPageUsesTemplate && ?p != rdfs:seeAlso && ?p != <http://www.w3.org/2002/07/owl#differentFrom>).
		OPTIONAL {?o rdfs:label ?olabel. FILTER langmatches( lang(?olabel), "EN" ). }.
		OPTIONAL {?p rdfs:label ?plabel. FILTER langmatches( lang(?plabel), "EN" ).}.
		OPTIONAL {<http://dbpedia.org/resource/Douglas_Adams> rdfs:label ?slabel. FILTER langmatches( lang(?slabel), "EN" ).}.
		OPTIONAL {?o vrank:hasRank ?r. ?r vrank:rankValue ?v}.
	} 
UNION
	{	?s ?p <http://dbpedia.org/resource/Douglas_Adams>.
		FILTER regex(str(?s),"http://dbpedia.org/resource","i").
		FILTER (?p != dbp-ont:wikiPageWikiLink && ?p != <http://purl.org/dc/terms/subject> && ?p != dbp-prop:wikiPageUsesTemplate && ?p != rdfs:seeAlso && ?p != <http://www.w3.org/2002/07/owl#differentFrom>).
		OPTIONAL {?s rdfs:label ?slabel.   FILTER langmatches( lang(?slabel), "EN" ). }.
		OPTIONAL {?p rdfs:label ?plabel.  FILTER langmatches( lang(?plabel), "EN" ).}.
		OPTIONAL {<http://dbpedia.org/resource/Douglas_Adams> rdfs:label ?olabel. FILTER langmatches( lang(?olabel), "EN" ).}.
		OPTIONAL {?s vrank:hasRank ?r. ?r vrank:rankValue ?v}.
	}
}
For the backlinks, it also uses the Wikipedia API (as the intersection of the following two sets):

Acknowledgements

The research leading to these results has received funding from the European Union Seventh Framework Programme (FP7/2007-2013) under grant agreement no. 611346 and by the German Federal Ministry of Education and Research (BMBF) within the Software Campus project "SumOn" (grant no. 01IS12051).

xlime project
xLiMe Project
SumOn project
SumOn Project

Contact Andreas Thalhammer.