On 2/7/09 1:01 PM, Brian Hardy wrote:

Hi,
I was trying to create a query to retrieve nuclear power plants from dbpedia.

 My query was like this.

 SELECT * where
 {
?concept skos:broader <http://dbpedia.org/resource/Category:Nuclear_power_stations>.
 ?subject skos:broader ?concept.
 ?plant skos:subject ?subject.
 ?plant a ?type.
 ?type rdfs:subClassOf yago-class:Station104306080.
 }

I did another query for airports where I was able to use rdf:type of <http://dbpedia.org/ontology/Airport>. I thought I would be able to use rdfs:type for my query of nuclear power stations, but nuclear power stations didn't seem to use that concept - not sure why.

From the results of my query I quickly noticed that San Onofre Nuclear power plant, among others was not in the results.
 I looked up San Onofre at this address
http://dbpedia.org/page/San_Onofre_Nuclear_Generating_Station
It is categorized as a dbpedia:Category:Domes <http://dbpedia.org/resource/Category:Domes> nd dbpedia:Category:Energy_resource_facilities_in_California <http://dbpedia.org/resource/Category:Energy_resource_facilities_in_California>.

since dbpedia:Category:Nuclear_power_stations <http://dbpedia.org/resource/Category:Nuclear_power_stations> skos:broader dbpedia:Category:Domes <http://dbpedia.org/resource/Category:Domes>

I thought maybe the connection there would let me get San Onofre, but it seems it would include a lot of other Domes that are not dbpedia:Category:Nuclear_power_stations <http://dbpedia.org/resource/Category:Nuclear_power_stations>.

However I also saw this Nuclear Power station (that didn't come up in my results) dbpedia:Rancho_Seco_Nuclear_Generating_Station <http://dbpedia.org/resource/Rancho_Seco_Nuclear_Generating_Station>
 which is not a dome, so that doesn't really help.

Bottom line after I got my query for airports together I thought it wouldn't be a big deal to find other things categorically. I get the feeling from working this example that is not the case.

 Can you see a better way to get the nuclear power stations?

Is this problem due to the way dbpedia information is modeled? Do you think this data will get better?
If we could collate a list of queries like these somewhere, myself and others can use them as fodder for a variety of demos.

The more self description from the "beholder" pool the easier it is for providers of "beauty" :-)

If possible, could we have a Wiki entries for: Things I would like to find easily using DBpedia and/or LOD cloud.

At least on our part (OpenLink) we can make a list of SPARQL Queries, Report Pages (persisted Faceted Browser Pages), and other goodies that make life easier. As I've said: "we are shrinking the Report Writer realm of yore via the Web as a DBMS and URIs" .


Kingsley

 Thanks

 Brian

------------------------------------------------------------------------

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
------------------------------------------------------------------------

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


--


Regards,

Kingsley Idehen       Weblog: http://www.openlinksw.com/blog/~kidehen
President&  CEO
OpenLink Software     Web: http://www.openlinksw.com




------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Dbpedia-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion

Reply via email to