Kingsley and Josh,
Thanks so much for your responses pointing me to DBO instead of DBP.
That certainly helps my current usage scenario.
Also thanks to your pointers, I found a description of dbp vs dbo:
http://wiki.dbpedia.org/Datasets?v=bli#h338-10
I was also looking to contribute to the info box parsers, which I think the
best place to start is:
http://mappings.dbpedia.org/index.php/Mapping_Guide
Is that true, or are there other good starting points?
Thanks,
Tim
On Dec 8, 2013, at 3:41 PM, Kingsley Idehen <kide...@openlinksw.com> wrote:
> On 12/7/13 6:52 PM, Timothy Lebo wrote:
>> DBPedia,
>>
>> The following query for the number of universities in each country is a bit
>> “ugly”. For example,
>>
>> 1) Countries are identified with URIs or Strings, and the same country is
>> identified in many different ways.
>> 2) The country “20” has three universities :-)
>>
>> I’m not very familiar with the workflow that DBPedia has, but I’m curious
>> what I could do to fix the results as “upstream” as possible.
>> Is there a “how to help” page somewhere that I could read?
>> Or, could someone provide me a few pointers to get started?
>>
>> Thanks for your consideration.
>>
>> Regards,
>> Tim Lebo
>>
>>
>> http://dbpedia.org/sparql
>>
>> {{{
>> prefix dbpedia: <http://dbpedia.org/resource/>
>> prefix dbo: <http://dbpedia.org/ontology/>
>> prefix dbp: <http://dbpedia.org/property/>
>>
>> select ?country count(distinct ?university) as ?count
>> where {
>> ?university dbo:type dbpedia:Public_university
>> optional{?university dbp:country ?country}
>> }
>> group by ?country
>> order by desc(?count)
>> }}}
>>
>>
>> Query results: http://bit.ly/1brlE6z
>>
>
> Tim,
>
> dbp: is a legacy namespace for properties.
> dbo: is the current namespace for properties.
>
> Thus, you would be looking at something like: http://bit.ly/1iNlwE1 .
>
> --
>
> Regards,
>
> Kingsley Idehen
> Founder & CEO
> OpenLink Software
> Company Web: http://www.openlinksw.com
> Personal Weblog: http://www.openlinksw.com/blog/~kidehen
> Twitter Profile: https://twitter.com/kidehen
> Google+ Profile: https://plus.google.com/+KingsleyIdehen/about
> LinkedIn Profile: http://www.linkedin.com/in/kidehen
>
>
>
>
>
> ------------------------------------------------------------------------------
> Sponsored by Intel(R) XDK
> Develop, test and display web and hybrid apps with a single code base.
> Download it for free now!
> http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk_______________________________________________
> Dbpedia-discussion mailing list
> Dbpedia-discussion@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Dbpedia-discussion mailing list
Dbpedia-discussion@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion