Skip to content

Commit

Permalink
Merge pull request #363 from WDAqua/fix_birthdata_name_query
Browse files Browse the repository at this point in the history
Fix birthdata name query
  • Loading branch information
dschiese authored Jun 25, 2024
2 parents 6d0b1d3 + 3c4f073 commit 070c645
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion qanary-component-QB-BirthDataWikidata/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>eu.wdaqua.qanary.component</groupId>
<artifactId>qanary-component-QB-BirthDataWikidata</artifactId>
<version>3.4.1</version>
<version>3.4.2</version>
<parent>
<groupId>eu.wdaqua.qanary</groupId>
<artifactId>qa.qanarycomponent-parent</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ WHERE {
?annotation qa:score ?annotationScore .
?annotation oa:hasTarget ?target .

FILTER (?wikidataResource = ?value)
FILTER (REGEX(?wikidataResource,?value, "i"))

?target oa:hasSource ?source .
?target oa:hasSelector ?textSelector .
?textSelector rdf:type oa:TextPositionSelector .
?textSelector oa:start ?start .
?textSelector oa:end ?end .
}
ORDER BY DESC(?annotationScore)
ORDER BY DESC(?annotationScore)

0 comments on commit 070c645

Please sign in to comment.