Hello, As far as I know, the XML format returns the URI as object and subject as well. However it starts with the objects, therefore if you reach the limit (I thought it was 2000) before getting to the subject part, then you only get it back as object. If you retrieve the data as Ntriples, Atom or JSOD (add the extension at the end of the data URI), then it will only return the URI as subject. I have no idea why it works like this (and why there is no documentation whatsoever about it) but this could be a workaround for you...
Zoltán On 2011.12.06. 9:40, Bernhard Schandl wrote: > Hi, > > I try to access resource descriptions on DBpedia via HTTP, but often the data > returned is, although valid and correct, incomplete and therefore not really > useful in an application. > > For instance, accessing > > $ curl -I -H "Accept: application/rdf+xml" > http://dbpedia.org/resource/Microsoft_Windows > > redirects to http://dbpedia.org/data/Microsoft_Windows.xml > > When retrieving this, around 10,000 RDF triples are returned, but none of > them has http://dbpedia.org/resource/Microsoft_Windows in the subject -- only > as object. This means that I cannot get a label, a description, or any other > information about the resource itself. > > Any suggestions how to circumvent this? I could use an explicit SPARQL query > but this would couple my application to the specific endpoint, which I want > to avoid -- I'd rather access resource descriptions via "pure" Linked Data > principles. > > many thanks, > Bernhard > > > > ------------------------------------------------------------------------------ > Cloud Services Checklist: Pricing and Packaging Optimization > This white paper is intended to serve as a reference, checklist and point of > discussion for anyone considering optimizing the pricing and packaging model > of a cloud services business. Read Now! > http://www.accelacomm.com/jaw/sfnl/114/51491232/ > _______________________________________________ > Dbpedia-discussion mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ _______________________________________________ Dbpedia-discussion mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dbpedia-discussion
