W3C home > Mailing lists > Public > semantic-web@w3.org > November 2012

Counting datatypes per property

From: Heiko Paulheim <paulheim@ke.tu-darmstadt.de>
Date: Thu, 08 Nov 2012 11:43:00 +0100
Message-ID: <509B8CB4.4080204@ke.tu-darmstadt.de>
To: semantic-web@w3.org
CC: Dominik Wienand <dominik.wienand@online.de>
Hi all,

we are trying to analyze datatype properties by the datatype they use. 
Our first idea was to use a simple SPARQL query per property, however, 
the following does not do what I would expect it to do:

SELECT COUNT(?x) DATATYPE(?y) WHERE {?x dbpprop:utcOffset ?y}

This query does not group all entries with, e.g., 
<http://www.w3.org/2001/XMLSchema#int> in one row. Why not? What am I 
doing wrong here?

Best regards,
Heiko


-- 
Dr. Heiko Paulheim
Knowledge Engineering Group
Technische Universitšt Darmstadt
Phone: +49 6151 16 6634
Fax:   +49 6151 16 5482
http://www.ke.tu-darmstadt.de/staff/heiko-paulheim
Received on Thursday, 8 November 2012 10:43:34 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 21:45:52 GMT