Skip to content

Commit

Permalink
Remove another dbpedia false positive
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed Dec 27, 2023
1 parent 4c1e7eb commit 48814e8
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions gedcom
Original file line number Diff line number Diff line change
Expand Up @@ -12553,10 +12553,6 @@ sub dbpedia
}
if($uri =~ /Category:(\d{4})_deaths$/) {
my $d = $1;
if(defined($yob) && ($yob > $d)) {
# Born after this person died
next RESULT;
}
if($yod != $d) {
# Died different year from the dbpedia person died
next RESULT;
Expand Down Expand Up @@ -12591,6 +12587,12 @@ sub dbpedia
# Born after dbpedia person died
next RESULT;
}
} elsif($uri =~ /Category:(\d{4})_deaths$/) {
my $d = $1;
if($yob > $d) {
# Born after this person died
next RESULT;
}
}
}
warn ">>>>>>>>>> $uri";
Expand Down

0 comments on commit 48814e8

Please sign in to comment.