To find the SchemeURI's being used and how many times each is used:

   l= [(sum(1 for i in db.subject_objects(db.value(s,ov.schemeProperty))),str(o)) for s,o in db.subject_objects(ov.schemeURI)]
   l.sort(reverse=True)
   [(59, 'http://www.sec.gov/cik/'),
(59, 'http://www.sec.gov/'),
(8, 'instant/'),
(7, 'www.sec.gov/'),
(6, 'http://www.nyse.com/'),
(4, 'duration/'),
(1, 'yi2005/'),
(1, 'yi2004/'),
(1, 'yd2005/'),
(1, 'yd2004/'),
(1, 'yd2003/'),
(1, 'unappropriatedretainedearnings/'),
(1, 'treasuryshares/'),
(1, 'total/'),
(1, 'preferredshares/'),
(1, 'http://www.petrobras.com.br/ri/'),
(1, 'http://www.myurl.com/'),
(1, 'http://www.londonstockexchange.com/'),
(1, 'http://www.irs.gov/'),
(1, 'http://www.infosys.com/'),
(1, 'http://www.ibm.com/'),
(1, 'http://www.hitachi.co.jp/'),
(1, 'http://www.edgar-online.com/companyname/'),
(1, 'http://www.amex.com/'),
(1, 'http://ri.netservicos.com.br/'),
(1, 'http://nic.net/'),
(1, 'commonshares/'),
(1, 'balance2005/'),
(1, 'balance2004/'),
(1, 'balance2003/'),
(1, 'balance2002/'),
(1, 'availablefor-salesecurities/'),
(1, 'appropriatedretainedearnings/'),
(1, 'additionalpaid-incapital/')]

A SPARQL query to get the listing of SchemeURI's is

prefix ov: <http://owl.openvest.org/2005/10/Portfolio#>
select *
where{
?s ov:schemeURI ?o.
}

Return to the FrontPage | Edit SchemeURI | Title List