Hi Johannes, The the object in your where clause is an IRI not a literal , and thus should be specified with <..> rather than with double quotes " ..." , so the query should be:
PREFIX dbpprop: <http://dbpedia.org/property/> SELECT ?uri WHERE { ?uri dbpprop:wikipage-da <http://da.wikipedia.org/wiki/NATO> . } which returns subject uri <http://dbpedia.org/resource/NATO> Note you also need to ensure the graph name specified is http://da.dbpedia.org or not specify a default graph name at all such that all available graphs are queried (less optimal) ... Best Regards Hugh Williams Professional Services OpenLink Software Web: http://www.openlinksw.com Support: http://support.openlinksw.com Forums: http://boards.openlinksw.com/support Twitter: http://twitter.com/OpenLink On 10 Mar 2010, at 08:51, Johannes Wehner wrote: > Hello > > I'm trying to find the dbpedia-uri from a danish wikipedia URL. Is that > possible at all? > > The danish wiki-url is mentioned here: > http://dbpedia-live.openlinksw.com/page/NATO?lang=da > > But I get no results, when I try to do this: > > > PREFIX dbpprop: <http://dbpedia.org/property/> > SELECT ?uri > WHERE { > ?uri dbpprop:wikipage-da "http://da.wikipedia.org/wiki/NATO" . > } > > Am I doing it wrong? > > MVH > /Johs. W. > ----- > W: http://information.dk > @: [email protected] > T: 3369 6153 > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > Dbpedia-discussion mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Dbpedia-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
