Re: [Dbpedia-discussion] How to coerce revenue in sparql

2011-06-10 Thread Scott White
That is extremely helpful. Thanks for clarifying that. On Fri, Jun 10, 2011 at 1:11 AM, Max Jakob wrote: > http://dbpedia.org/resource/Southwest_Airlines has Infobox_airline on > its Wikipedia page. For this template, in contrast to Infobox_company, > the mapping to revenue is not defined yet. >

Re: [Dbpedia-discussion] How to coerce revenue in sparql

2011-06-10 Thread Max Jakob
http://dbpedia.org/resource/Southwest_Airlines has Infobox_airline on its Wikipedia page. For this template, in contrast to Infobox_company, the mapping to revenue is not defined yet. See http://mappings.dbpedia.org/index.php/Mapping:Infobox_airline If you add the following line to the mapping, th

Re: [Dbpedia-discussion] How to coerce revenue in sparql

2011-06-09 Thread Scott White
Ah I see. Yes here is an example (Southwest Airlines): http://dbpedia.org/snorql/?query=SELECT+*+WHERE+%7B%0D%0A%3ASouthwest_Airlines+%3Fp+%3Fo%0D%0A%7D On Wed, Jun 8, 2011 at 11:34 PM, Pablo Mendes wrote: > If by dbpedia2 you mean http://dbpedia.org/property/, than that's (unmapped) > informati

Re: [Dbpedia-discussion] How to coerce revenue in sparql

2011-06-08 Thread Pablo Mendes
If by dbpedia2 you mean http://dbpedia.org/property/, than that's (unmapped) information coming straight from the infobox, with the same information entered in the Wikipedia page. For the companies that use an Infobox mapped in the wiki at mappings.dbpedia.org you should also see a http://dbpedia.o

Re: [Dbpedia-discussion] How to coerce revenue in sparql

2011-06-08 Thread Scott White
Thanks for the feedback. I was using dbpedia:ontology/revenue and dbpedia2:revenue. The dbpedia:ontology/revenue does look like it's only a value of type of currency but there seem to be a fair number of companies that do not have that property but dbpedia2:revenue instead. On Wed, Jun 8, 2011 at

Re: [Dbpedia-discussion] How to coerce revenue in sparql

2011-06-08 Thread Max Jakob
Which property are you using? With http://dbpedia.org/ontology/revenue you should only get values of a type of currency. Cheers, Max On Fri, May 13, 2011 at 02:05, Scott White wrote: > I am trying to write a sparql query against a dbpedia sparql endpoint > that says "find all companies that ha

[Dbpedia-discussion] How to coerce revenue in sparql

2011-05-12 Thread Scott White
I am trying to write a sparql query against a dbpedia sparql endpoint that says "find all companies that have more than 1B revenue". The problem I see is that the value of revenue for many companies, e.g. Kaiser Permanente, looks like this: "1.3E9"^^dbpedia:datatype/usDollar or for Southwest Air