Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle DBPedia redirects #12

Open
pafcu opened this issue Jul 7, 2011 · 2 comments
Open

Handle DBPedia redirects #12

pafcu opened this issue Jul 7, 2011 · 2 comments
Labels

Comments

@pafcu
Copy link

pafcu commented Jul 7, 2011

Foafpress does not "linkify" DBPedia terms that result in a redirect. Thus e.g. providing the interest "Programming" does not result in a link in generated HTML while "Computer Programming" does. On DBPedia "Programming" transparently redirects to "Computer Programming".

@haschek
Copy link
Owner

haschek commented Jul 7, 2011

Technically there is no HTTP redirect from
http://dbpedia.org/resource/Programming to
http://dbpedia.org/resource/Computer_Programming. Using the rdf CLI
tool by @seebi to test it:

$ rdf rdfhead http://dbpedia.org/resource/Programming
HTTP/1.1 303 See Other
Date: Thu, 07 Jul 2011 17:56:50 GMT
Content-Type: application/rdf+xml; qs=0.95
Connection: keep-alive
Server: Virtuoso/06.02.3129 (Linux) x86_64-generic-linux-glibc25-64  VDB
Accept-Ranges: bytes
TCN: choice
Vary: negotiate,accept
Content-Location: /data/Programming.xml
Link: <http://mementoarchive.lanl.gov/dbpedia/timegate/http://dbpedia.org/resource/Programming>;
rel="timegate"
Location: http://dbpedia.org/data/Programming.xml
Content-Length: 0

Foafpress/Arc2 is following HTTP redirects, but you are right that
Foafpress currently does not follow "DBpedia vocabulary redirects"
(http://dbpedia.org/ontology/wikiPageRedirects), what are resolved on
dbpedia.org straight. So this issue is more about an implementation of
a process to define properties which should be handled in a similar
way like Foafpress is doing it now with owl:sameAs, to follow that
kinds of links.

@seebi
Copy link
Contributor

seebi commented Jul 8, 2011

you can use qnames with the head commands as well
rdf head dbpedia:Programming

best regards :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants