My favorites | Sign in
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0" encoding="UTF-8"?>
<resolvers>

<resolver id="1" type="normal">
<category>wikipedia</category>
<endpoint>http://dbpedia.org/sparql</endpoint>
<lookup>foaf:page</lookup>
<sameas>true</sameas>
<matching>URL</matching>
</resolver>

<resolver id="2" type="normal">
<category>isbn</category>
<endpoint>http://dbpedia.org/sparql</endpoint>
<lookup>dbpedia-owl:isbn</lookup>
<sameas>true</sameas>
<matching>LITERAL</matching>
</resolver>

<resolver id="3" type="custom">
<category>movie</category>
<endpoint>http://dbpedia.org/sparql</endpoint>
<sparql><![CDATA[SELECT DISTINCT ?subject
WHERE { ?subject a <http://dbpedia.org/ontology/Film>.
?subject <http://dbpedia.org/property/title> ?title.
FILTER (regex(?title, "#VALUE#")) }]]>
</sparql>
<sameas>true</sameas>
</resolver>

<resolver id="4" type="normal">
<category>people</category>
<endpoint>http://dbpedia.org/sparql</endpoint>
<lookup>dbpprop:birthname</lookup>
<sameas>true</sameas>
<matching>LITERAL</matching>
</resolver>

</resolvers>

Change log

r313 by dpalmisano on Dec 26, 2009   Diff
source code flushing
Go to: 
Project members, sign in to write a code review

Older revisions

All revisions of this file

File info

Size: 1257 bytes, 39 lines
Powered by Google Project Hosting