Skip to content

Commit 2d6cee4

Browse files
committed
WS-1693: DBpedia response type is now an ArrayList of Strings.
1 parent 4478971 commit 2d6cee4

File tree

3 files changed

+13
-5
lines changed

3 files changed

+13
-5
lines changed

api/src/test/mock-data/response/eng-url-entities.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@
2020
"mention": "Washington",
2121
"normalized": "Washington",
2222
"type": "LOCATION",
23-
"dbpediaType": "test1"
24-
23+
"dbpediaType": [
24+
"test1"
25+
]
2526
}
2627
]
2728
}

api/src/test/mock-data/response/eng-url-entities_linked.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@
1717
"entityId": "Q1088831",
1818
"indocChainId": 2,
1919
"mention": "Washington",
20-
"dbpediaType": "test1"
20+
"dbpediaType": [
21+
"test1",
22+
"foo",
23+
"bar"
24+
]
2125
}
2226
]
23-
}
27+
}

json/src/test/data/EntitiesResponse.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@
1515
"salience": 1.0,
1616
"confidence": 1.0,
1717
"linkingConfidence": 1.0,
18-
"dbpediaType": "test1"
18+
"dbpediaType": [
19+
"test1",
20+
"test2"
21+
]
1922
}
2023
]
2124
}

0 commit comments

Comments
 (0)