View unanswered posts | View active topics It is currently Mon Jan 27, 2020 7:17 pm

Reply to topic  [ 12 posts ]  Go to page Previous  1, 2
 PCA RDL Verification 
Author Message

Joined: Tue May 15, 2012 8:48 am
Posts: 77
vvagr wrote:
The following SPARQL query is looking in PCA RDL for RDS-entities which have R-numbers assigned via rdsWipEquivalent predicate but have no other data about them at the endpoint (no type, no label, nothing).
PREFIX rdf: <>

?x RDL:rdsWipEquivalent ?y .}
OPTIONAL { ?y ?p ?z } .
FILTER (!bound(?z)) }

There are 13403 such entities. See URIs in attached file.
The attachment is no longer available

I found some examples of these when checking mapping errors, details are in the attached file


Fri Oct 25, 2013 1:18 pm

Joined: Mon Feb 27, 2012 11:01 pm
Posts: 282
Location: Moscow, Russia
The following short script for .15926 Editor is looking for entities with identical labels:

from collections import defaultdict
doc = appdata.active_document
res = defaultdict(list)
for t in doc.grAllTriples():
   if t.p == '':
items = set()
for k, v in res.iteritems():
   if len(v)>1:
      items |= set(v)

There are 26 entities with various problems with identical labels. Some have double labels (retired elements with original labels not removed), some are the results of "retired" never put in place (it seems).

The list of entities with problems:

Sun Mar 23, 2014 9:19 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 12 posts ]  Go to page Previous  1, 2

Who is online

Users browsing this forum: No registered users and 0 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
eXTReMe Tracker
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.