Skip to content

Commit 070c645

Browse files
authored
Merge pull request #363 from WDAqua/fix_birthdata_name_query
Fix birthdata name query
2 parents 6d0b1d3 + 3c4f073 commit 070c645

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

qanary-component-QB-BirthDataWikidata/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<modelVersion>4.0.0</modelVersion>
66
<groupId>eu.wdaqua.qanary.component</groupId>
77
<artifactId>qanary-component-QB-BirthDataWikidata</artifactId>
8-
<version>3.4.1</version>
8+
<version>3.4.2</version>
99
<parent>
1010
<groupId>eu.wdaqua.qanary</groupId>
1111
<artifactId>qa.qanarycomponent-parent</artifactId>

qanary-component-QB-BirthDataWikidata/src/main/resources/queries/getAnnotation.rq

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ WHERE {
1010
?annotation qa:score ?annotationScore .
1111
?annotation oa:hasTarget ?target .
1212

13-
FILTER (?wikidataResource = ?value)
13+
FILTER (REGEX(?wikidataResource,?value, "i"))
1414

1515
?target oa:hasSource ?source .
1616
?target oa:hasSelector ?textSelector .
1717
?textSelector rdf:type oa:TextPositionSelector .
1818
?textSelector oa:start ?start .
1919
?textSelector oa:end ?end .
2020
}
21-
ORDER BY DESC(?annotationScore)
21+
ORDER BY DESC(?annotationScore)

0 commit comments

Comments
 (0)