View unanswered posts | View active topics It is currently Thu Nov 15, 2018 11:10 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).
Code:
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX RDL: <http://posccaesar.org/rdl/>

SELECT ?y
WHERE { GRAPH <http://irm.dnv.com/ontologies/iring.map> {
?x RDL:rdsWipEquivalent ?y .}
OPTIONAL { ?y ?p ?z } .
FILTER (!bound(?z)) }


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


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

Keith


Attachments:
Fri Oct 25, 2013 1:18 pm
Profile

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:

Code:
from collections import defaultdict
doc = appdata.active_document
res = defaultdict(list)
for t in doc.grAllTriples():
   if t.p == 'http://www.w3.org/2000/01/rdf-schema#label':
      res[t.v].append(t.s)
items = set()
for k, v in res.iteritems():
   if len(v)>1:
      items |= set(v)
show(id=items)


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 1 guest


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:  
cron
eXTReMe Tracker
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.