Page MenuHomePhabricator

Duplicate blank nodes on edited properties
Open, Needs TriagePublic


Part of property description is a clause that looks like this:

wdno:P3418 a owl:Class ;
	owl:complementOf _:genid1 .

_:genid1 a owl:Restriction ;
	owl:onProperty wdt:P3418 ;
	owl:someValuesFrom owl:Thing .

Unfortunately, due to bnodes involved it looks like we're not handling it right when property is edited. This query:

  ?x owl:onProperty wdt:P3418 

returns 16 results instead of one.

And also on references:

ref:6c8b1cd1c3cd814ab99e3c40580f12024ceff994 a wikibase:Reference ;
	pr:P370 _:genid9 ;
	pr:P855 _:genid10 .
select ?o where {wdref:6c8b1cd1c3cd814ab99e3c40580f12024ceff994 pr:P370 ?o}

returns 6 results instead of 1.

Event Timeline

Restricted Application added a project: Wikidata. · View Herald TranscriptAug 29 2019, 7:03 AM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Looks like new updater actually handles it better, but we need to verify that.

dcausse renamed this task from Duplicate wdno: clauses on edited properties to Duplicate blank nodes on edited properties.Feb 20 2020, 8:34 AM
dcausse updated the task description. (Show Details)