Il 30/12/2010 5.03, Rajarshi Guha ha scritto: > Hi, I was trying to query some info box data (related to diseases) > using DBpedia's SPARQL endpoint. My query is > > PREFIX dbpedia2:<http://dbpedia.org/property/> > select ?x, ?medline, ?omim, ?icd10, ?diseasedb where { > ?x a<http://dbpedia.org/ontology/Disease> . > ?x<http://dbpedia.org/ontology/medlineplus> ?medline . > optional { ?x<http://dbpedia.org/ontology/omim> ?omim .} . > optional { ?x<http://dbpedia.org/ontology/icd10> ?icd10 .} . > optional { ?x dbpedia2:diseasesdb ?diseasedb .} . > } > > While it returns many hits, some of the data seems to be missing, > whereas the Wikipedia page has it. > > For example, for the Rickets entry, the Wikipedia page > (http://en.wikipedia.org/wiki/Rickets) has a ICD-10 code of E55. But > the DBPedia RDF entry for it > (http://dbpedia.org/snorql/?describe=http://dbpedia.org/resource/Rickets) > does not list an ICD-10 code. > > I seem to recall that the DBpedia infobox ontology was the preferred > way to query infobox data on DBPedia, but it does not seem to be in > sync with what Wikipedia has. > > Is there a schedule that DBPedia follows to keep in sync with > Wikipedia? Or is this just a case of lossy conversion from Wikipedia > to DBpedia? > Hi, you could try the same query on this endpoint: http://dbpedia-live.openlinksw.com/sparql. This endpoint refers to the current Wikipedia. The one you have tried (http://dbpedia.org/sparql) refers to the Wikipedia dumps dated to March 2010. New dumps should be available soon.
Happy New Year, roberto -- Roberto Mirizzi PhD Student at Politecnico di Bari http://sisinflab.poliba.it/mirizzi ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Dbpedia-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
