You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you tell me what wrong with my dataset.
When I upload my datasets, I wiil got "The dataset couldn't be loaded".
I think I've followed the rules in https://github.com/dice-group/gerbil/wiki/Question-Answering.
My datasets seems like this:
{"questions": [
{"query": {"sparql": "PREFIX res: http://dbpedia.org/resource/\nPREFIX prop: http://dbpedia.org/property/\nSELECT ?date\nWHERE \n{\n res:LucasArts prop:foundation ?date .\n}"}, "question": [{"string": "When was Lucas Arts founded?", "language": "en"}], "id": "41_1_dbpedia-train-CDATA", "answers": [{"results": {"bindings": [{"type": "literal", "value": "May 1982"}]}}]},
{"query": {"sparql": "PREFIX dbp: http://dbpedia.org/property/ \nASK \nWHERE { \n http://dbpedia.org/resource/Prince_William,_Duke_of_Cambridge dbp:mother ?x . \n http://dbpedia.org/resource/Prince_Harry_of_Wales dbp:mother ?y . \n FILTER (?x = ?y) \n}"}, "question": [{"string": "Do Prince Harry and Prince William have the same mother?", "language": "en"}], "id": "123_qald-4_multilingual_train_withanswers", "answers": [{"boolean": true}]}
]}
The text was updated successfully, but these errors were encountered:
Hi,
the format of the provided sample is not entirely correct. Please have a look at the revised example I provided below and let us know if you need any more help.
{
"questions":[
{
"query":{
"sparql":"PREFIX res: http://dbpedia.org/resource/\nPREFIX prop: http://dbpedia.org/property/\nSELECT ?date\nWHERE \n{\n res:LucasArts prop:foundation ?date .\n}"
},
"question":[
{
"string":"When was Lucas Arts founded?",
"language":"en"
}
],
"id":"41_1_dbpedia-train-CDATA",
"answers":[
{
"head":{
"vars":[
"uri"
]
},
"results":{
"bindings":[
{
"uri":{
"type":"literal",
"value":"May 1982"
}
}
]
}
}
]
},
{
"query":{
"sparql":"PREFIX dbp: http://dbpedia.org/property/ \nASK \nWHERE { \n http://dbpedia.org/resource/Prince_William,_Duke_of_Cambridge dbp:mother ?x . \n http://dbpedia.org/resource/Prince_Harry_of_Wales dbp:mother ?y . \n FILTER (?x = ?y) \n}"
},
"question":[
{
"string":"Do Prince Harry and Prince William have the same mother?",
"language":"en"
}
],
"id":"123_qald-4_multilingual_train_withanswers",
"answers":[
{
"head":{
},
"boolean":true
}
]
}
]
}
Could you tell me what wrong with my dataset.
When I upload my datasets, I wiil got "The dataset couldn't be loaded".
I think I've followed the rules in https://github.com/dice-group/gerbil/wiki/Question-Answering.
My datasets seems like this:
{"questions": [
{"query": {"sparql": "PREFIX res: http://dbpedia.org/resource/\nPREFIX prop: http://dbpedia.org/property/\nSELECT ?date\nWHERE \n{\n res:LucasArts prop:foundation ?date .\n}"}, "question": [{"string": "When was Lucas Arts founded?", "language": "en"}], "id": "41_1_dbpedia-train-CDATA", "answers": [{"results": {"bindings": [{"type": "literal", "value": "May 1982"}]}}]},
{"query": {"sparql": "PREFIX dbp: http://dbpedia.org/property/ \nASK \nWHERE { \n http://dbpedia.org/resource/Prince_William,_Duke_of_Cambridge dbp:mother ?x . \n http://dbpedia.org/resource/Prince_Harry_of_Wales dbp:mother ?y . \n FILTER (?x = ?y) \n}"}, "question": [{"string": "Do Prince Harry and Prince William have the same mother?", "language": "en"}], "id": "123_qald-4_multilingual_train_withanswers", "answers": [{"boolean": true}]}
]}
The text was updated successfully, but these errors were encountered: