[
"listId-1",
"listId-2",
...
]
[
{
"listId": "someId",
"validated" true|false
}
]
{
"lists": [
{
"listId": "someId1",
"results": [
{ "label": "type-label-1", "typeUri": "type-uri-1", "type": "type-name-with-prefix", "count": 50, "tfIdf": 0.4 },
...
]
}, ...
]
}
{
"listId": "someId",
"types": [ "listOfTypeUris" ]
}
PUT|GET /api/evaluation/:listId
- receive a test result
GET /api/test/result/:testId
[
{
"listId": "List_of_Indian_writers",
"version": 0,
"approvedTypes": [
"http://dbpedia.org/ontology/Person",
"http://dbpedia.org/ontology/Writer",
"http://dbpedia.org/ontology/Artist"
],
"declinedTypes": [],
"result": "http://dbpedia.org/ontology/Person"
},
{
"listId": "List_of_compositions_by_Donald_Tovey",
"version": 0,
"approvedTypes": [],
"declinedTypes": [
"http://wikidata.dbpedia.org/resource/Q215627",
"http://wikidata.dbpedia.org/resource/Q5",
"http://dbpedia.org/ontology/Person",
"http://dbpedia.org/ontology/Agent"
],
"result": "http://dbpedia.org/ontology/Person"
},
...
]
- push a processed list from wikipedia-list-extraction
POST /api/test/result/:testId
{
"lists": {
"someListId": [ "approved-type-1", "approved-type2", ... ],
"someListId2": ...
}
}
FUTURE FEATURES:
GET /api/listsGET /api/lists/validated[ { "listId": "someId", "validated" true|false } ]GET /api/tfidf/:listId/api/listsPOST /api/tfidfs{ "lists": [ { "listId": "someId1", "results": [ { "label": "type-label-1", "typeUri": "type-uri-1", "type": "type-name-with-prefix", "count": 50, "tfIdf": 0.4 }, ... ] }, ... ] }POST /api/evaluationContent-Type: application/json{ "listId": "someId", "types": [ "listOfTypeUris" ] }PUT|GET /api/evaluation/:listIdGET /api/test/result/:testId[ { "listId": "List_of_Indian_writers", "version": 0, "approvedTypes": [ "http://dbpedia.org/ontology/Person", "http://dbpedia.org/ontology/Writer", "http://dbpedia.org/ontology/Artist" ], "declinedTypes": [], "result": "http://dbpedia.org/ontology/Person" }, { "listId": "List_of_compositions_by_Donald_Tovey", "version": 0, "approvedTypes": [], "declinedTypes": [ "http://wikidata.dbpedia.org/resource/Q215627", "http://wikidata.dbpedia.org/resource/Q5", "http://dbpedia.org/ontology/Person", "http://dbpedia.org/ontology/Agent" ], "result": "http://dbpedia.org/ontology/Person" }, ... ]POST /api/test/result/:testId{ "lists": { "someListId": [ "approved-type-1", "approved-type2", ... ], "someListId2": ... } }FUTURE FEATURES: