-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathqanary-test-definition.json
64 lines (64 loc) · 2.08 KB
/
qanary-test-definition.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"qanary": {
"system_url": "INSERT-YOUR-QANARY-SYSTEM-URL-HERE/startquestionansweringwithtextquestion",
"componentlist": [
"NED-DBpediaSpotlight",
"QB-SimpleRealNameOfSuperHero"
]
},
"validation-sparql-templates": [
"0_was-any-instance-identified.sparql",
"1_was-the-expected-instace-recognized.sparql",
"2_was-a-sparql-query-computed-similar-as-expected.sparql"
],
"custom-validation": "execute-on-dbpedia",
"tests": [{
"question": "What is the real name of Batman?",
"replacements": {
"DBPEDIAENTITY": "http://dbpedia.org/resource/Batman"
}
},
{
"question": "What is the real name of Superman?",
"replacements": {
"DBPEDIAENTITY": "http://dbpedia.org/resource/Superman"
}
},
{
"question": "What is the real name of Hulk?",
"replacements": {
"DBPEDIAENTITY": "http://dbpedia.org/resource/Hulk_(comics)"
}
},
{
"question": "What is the real name of Ironman?",
"replacements": {
"DBPEDIAENTITY": "http://dbpedia.org/resource/Iron_Man"
}
},
{
"question": "What is the real name of Antman?",
"replacements": {
"DBPEDIAENTITY": "http://dbpedia.org/resource/Ant-Man"
}
},
{
"question": "What is the real name of Captain America?",
"replacements": {
"DBPEDIAENTITY": "http://dbpedia.org/resource/Captain_America"
}
},
{
"question": "What is the real name of Spider Man?",
"replacements": {
"DBPEDIAENTITY": "http://dbpedia.org/resource/Spider-Man"
}
},
{
"question": "What is the real name of Wolverine?",
"replacements": {
"DBPEDIAENTITY": "http://dbpedia.org/resource/Wolverine_(character)"
}
}
]
}