Il 09/03/2010 23.56, Manuel Schölling ha scritto:
>> SELECT * WHERE {
>> { ?s<http://dbpedia.org/property/meltingPoint> ?o }
>> UNION
>> { ?s<http://dbpedia.org/ontology/meltingPoint> ?o }
>> }
>>
> This is cool. You take the union of property/meltingPoint and
> ontology/melting point because these are two different information for
> dbpedia, right? (different generations in terms of semantic information
> gathering)
>
Actually the two properties links mainly the same resources. With UNION
you will not have duplicates.
The "ontology" is newer in DBpedia wrt to the "property". "Ontology" is
more fine-grained.
> But what's the syntax for gathering this information just for hydrogen
> (have some difficulties coping with the UNION)?
>
Unfortunately you can't do it right now with Hydrogen. The reason is
that Hydrogen does not belong to "Drug" template. It has a specific
template, probably it is newer than the last DBpedia crawling.
Probably next dump of DBpedia will contain the information you are
looking for, but at the present moment it is not there (I have not found
it at least).
If you want to see which resources do have a melting point, simply
execute the query I wrote previously, or navigate to:
http://dbpedia.org/snorql/?query=SELECT+*+WHERE+{%0D%0A++++{+%3Fs+%3Chttp%3A%2F%2Fdbpedia.org%2Fproperty%2FmeltingPoint%3E+%3Fo+}%0D%0A++++UNION%0D%0A++++{+%3Fs+%3Chttp%3A%2F%2Fdbpedia.org%2Fontology%2FmeltingPoint%3E+%3Fo+}%0D%0A}
cheers,
roberto
--
Roberto Mirizzi
Ph.D student at Politecnico di Bari (Italy)
http://sisinflab.poliba.it/mirizzi
------------------------------------------------------------------------------
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