Hi,

On 01/16/2012 10:05 AM, Chryssa Zerva wrote:

Thanks for your answer but I still have problems.

I actually need to built an application that will directly connect to the server of dbpedia without the need to download any dumps. But when I try to query dbpedia to get possible Wikipagelinks (that I have already check they exist in the dumps) I get no valid answers.

For example the query:

SELECT distinct ?Plinks
WHERE {
<http://dbpedia.org/resource/Anarchism>  
<http://dbpedia.org/ontology/wikiPageWikiLink>  ?Plinks .

}

will return nothing, not even when I enter the query on theVirtuoso SPARQL 
Query Editor online.

This is because the dump titled "Wikipedia Pagelinks" is not loaded to the official endpoint. So, I would suggest you to establish your own endpoint, i.e. you can download all DBpedia dumps and load them onto one of your machines and direct your queries against it.





2012/1/13 Mohamed Morsey <[email protected] <mailto:[email protected]>>

    Hi Chryssa,


    On 01/13/2012 02:28 PM, Chryssa Zerva wrote:
    Hi,
    I would like to ask if there is any way to query dbpedia (using
    SPARQL) in order to find out all the entities that are links to
    other wiki-articles within the wiki-article of a specific entity
    whose URI is known.

    For example I know the resource URI of the entity :"President of
    the United States"  :
    http://dbpedia.org/resource/President_of_the_United_States.

    in the corresponding wiki-article some of the first links to
    other articles are : P.O.T.U.S. (Sirius XM)
    <http://en.wikipedia.org/wiki/P.O.T.U.S._%28Sirius_XM%29>., head
    of state <http://en.wikipedia.org/wiki/Head_of_state>, head of
    government <http://en.wikipedia.org/wiki/Head_of_government> ,
    United States <http://en.wikipedia.org/wiki/United_States>.  etc.

    Is there any way to get the above mentioned entities in any form
    (eg URI) ?

    Something like:
    http://dbpedia.org/resource/P.O.T.U.S.
    http://dbpedia.org/resource/Head_of_state
    etc.

    Is relevant information about links and backlinks stored in
    triplet form?

    You can find the information you are looking for in the DBpedia
    dump titled "Wikipedia Pagelinks" which is available for download
    at [1].


    Thank you!!
    Chryssa


    
------------------------------------------------------------------------------
    RSA(R) Conference 2012
    Mar 27 - Feb 2
    Save $400 by Jan. 27
    Register now!
    http://p.sf.net/sfu/rsa-sfdev2dev2


    _______________________________________________
    Dbpedia-discussion mailing list
    [email protected]  
<mailto:[email protected]>
    https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

    [1] http://dbpedia.org/Downloads37

-- Kind Regards
    Mohamed Morsey
    Department of Computer Science
    University of Leipzig




--
Kind Regards
Mohamed Morsey
Department of Computer Science
University of Leipzig

------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to