Merged from final grammar

This commit is contained in:
Emilka 2018-03-19 16:37:42 +01:00
commit 320d4818b0
155 changed files with 11426 additions and 679 deletions

View File

@ -32,5 +32,5 @@ KEYWORDS_TAGS:
# Scoring parameters
W2V_THRES: 0.3
WORD2VEC_GOOGLE: true
DEBUG: 5
WORD2VEC_GOOGLE: false
DEBUG: 2

View File

@ -1,24 +0,0 @@
#!/usr/bin/python
import glob, os
import json
from pprint import pprint
import codecs
f = codecs.open('rpqa-train.json', 'r', 'UTF-8')
data = json.load(f)
output = open("rpqa-train.examples", "w")
#output_json = open("rpqa-train.json", "w")
#output_json.write("[\n")
for record in data:
print record
if record["type"][0] != 'X':
output.write("(example\n")
output.write("\t(utterance \"" + record["utterance"].encode('utf-8') + "\")\n")
output.write("\t(targetFormula " + record["targetFormula"].encode('utf-8') + ")\n)")
output.write("\n")
#json.dump(record, output_json)
#output_json.write(",\n")
#output_json.write("\n]")

View File

@ -1,44 +0,0 @@
[
{"type": "NAME", "utterance": "my name is emily", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF emily))"},
{"type": "NAME", "utterance": "anna is my name", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF anna))"},
{"type": "NAME", "utterance": "i am hannah", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF hannah))"},
{"type": "NAME", "utterance": "call me christina", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF christina))"},
{"type": "NAME", "utterance": "people call me sam", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF sam))"},
{"type": "NAME", "utterance": "my name is elsa and anna", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF elsa) (triple rb:active_person rb:NAME_OF anna))"},
{"type": "NAME", "utterance": "my or your name or hobby is emily and alona", "targetFormula": "(triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona))))"},
{"type": "FROM", "utterance": "i come from poland", "targetFormula": "(triples (triple rb:active_person rb:FROM poland))"},
{"type": "FROM", "utterance": "i am from russia", "targetFormula": "(triples (triple rb:active_person rb:FROM russia))"},
{"type": "FROM", "utterance": "my home country is ukraine", "targetFormula": "(triples (triple rb:active_person rb:FROM ukraine))"},
{"type": "FROM", "utterance": "i was born in nicaragua", "targetFormula": "(triples (triple rb:active_person rb:FROM nicaragua))"},
{"type": "FROM", "utterance": "i was born in poland or russia", "targetFormula": "(triples or (triple rb:active_person rb:FROM poland) (triple rb:active_person rb:FROM russia))"},
{"type": "HAS_HOBBY", "utterance": "my favorite thing to do is swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "HAS_HOBBY", "utterance": "my hobby is swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "HAS_HOBBY", "utterance": "i like swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "HAS_HOBBY", "utterance": "i swim in my free time", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "HAS_HOBBY", "utterance": "i spend my free time swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "HAS_HOBBY", "utterance": "my favorite activity is swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "LIVE_IN", "utterance": "i currently live in munich", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN munich))"},
{"type": "LIVE_IN", "utterance": "i live in munich", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN munich))"},
{"type": "LIVE_IN", "utterance": "my current home is warsaw", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN warsaw))"},
{"type": "FRIEND_OF", "utterance": "my best friend is ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "FRIEND_OF", "utterance": "i am friends with ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "FRIEND_OF", "utterance": "you met my friend ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "FRIEND_OF", "utterance": "my friend is called ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "STUDY_AT", "utterance": "i study at TUM", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT tum))"},
{"type": "STUDY_AT", "utterance": "i go to UW", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT uw))"},
{"type": "STUDY_AT", "utterance": "my alma mater is TUW", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT tuw))"},
{"type": "MEMBER_OF", "utterance": "i am a Roboy Team member", "targetFormula": "(triples (triple rb:active_person rb:MEMBER_OF roboy_team))"},
{"type": "MEMBER_OF", "utterance": "i belong to IAESTE", "targetFormula": "(triples (triple rb:active_person rb:MEMBER_OF iaeste))"},
{"type": "WORK_FOR", "utterance": "i work for EY", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR ey))"},
{"type": "WORK_FOR", "utterance": "i work at Nokia", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR nokia))"},
{"type": "WORK_FOR", "utterance": "my employer is Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "WORK_FOR", "utterance": "i am employed at Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "WORK_FOR", "utterance": "i earn my living at Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "MOVIES", "utterance": "my favorite movie is titanic", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE titanic))"},
{"type": "MOVIES", "utterance": "i last saw finding nemo", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE finding_nemo))"},
{"type": "MOVIES", "utterance": "my favorite tv show is ellen", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE ellen))"},
{"type": "MOVIES", "utterance": "i like pulp fiction the most", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE pulp_fiction))"},
{"type": "OCCUPIED_AS", "utterance": "i am a teacher", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS teacher))"},
{"type": "OCCUPIED_AS", "utterance": "i work as a nurse", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS nurse))"},
{"type": "OCCUPIED_AS", "utterance": "my field of expertise is finance", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS finance))"}
]

View File

@ -1,42 +0,0 @@
[
{"type": "QNAME", "utterance": "How can I call you?", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"type": "QNAME", "utterance": "What is your name?", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"type": "QNAME", "utterance": "Who are you?", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"type": "QFROM", "utterance": "Where are you from?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "QFROM", "utterance": "Where were you born?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "QFROM", "utterance": "What is your home countr?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "QFROM", "utterance": "Which town do you call your home?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "QHAS_HOBBY", "utterance": "What is your favorite thing to do?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "QHAS_HOBBY", "utterance": "What is your favorite thing to do?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "QHAS_HOBBY", "utterance": "What do you do in your free time?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "QHAS_HOBBY", "utterance": "What is your hobby?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "QHAS_HOBBY", "utterance": "How do you spend your free time?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "QHAS_HOBBY", "utterance": "What is your favorite pastime activity?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "QLIVE_IN", "utterance": "Where do you live?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "QLIVE_IN", "utterance": "Which city do you live in?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "QLIVE_IN", "utterance": "Where is your current home?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "QFRIEND_OF", "utterance": "Who is your best friend?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "QFRIEND_OF", "utterance": "Have I met any of your friends?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "QFRIEND_OF", "utterance": "Do you have a friend whom I have met?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "QFRIEND_OF", "utterance": "Maybe I know some friends of yours. Would you name one?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "Where do you study?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "Which university do you go to?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "Which university do you study at?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "What is your alma mater?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"type": "QMEMBER_OF", "utterance": "Are you a member of some cool organization?", "targetFormula": "(!rb:MEMBER_OF rb:Roboy)"},
{"type": "QMEMBER_OF", "utterance": "Do you belong to any organizations?", "targetFormula": "(!rb:MEMBER_OF rb:Roboy)"},
{"type": "QWORK_FOR", "utterance": "Where do you work?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "QWORK_FOR", "utterance": "For which company do you work?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "QWORK_FOR", "utterance": "Who is your employer?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "QWORK_FOR", "utterance": "Where are you employed?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "QWORK_FOR", "utterance": "Which organization do you work at?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "QWORK_FOR", "utterance": "Where do you earn your living?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "QMOVIES", "utterance": "What is your favourite movie?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "QMOVIES", "utterance": "What was the last movie you saw in the cinema?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "QMOVIES", "utterance": "What is your favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "QMOVIES", "utterance": "Which comedy do you like the most?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "QOCCUPIED_AS", "utterance": "What do you do?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "QOCCUPIED_AS", "utterance": "What is your profession?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "QOCCUPIED_AS", "utterance": "What do you work as?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "QOCCUPIED_AS", "utterance": "What is your field of expertise?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"}
]

View File

@ -1,84 +0,0 @@
[
{"utterance": "my name is emily", "type": "NAME", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF emily))"},
{"utterance": "anna is my name", "type": "NAME", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF anna))"},
{"utterance": "i am hannah", "type": "NAME", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF hannah))"},
{"utterance": "call me christina", "type": "NAME", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF christina))"},
{"utterance": "people call me sam", "type": "NAME", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF sam))"},
{"utterance": "my name is elsa and anna", "type": "NAME", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF elsa) (triple rb:active_person rb:NAME_OF anna))"},
{"utterance": "my or your name or hobby is emily and alona", "type": "NAME", "targetFormula": "(triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona))))"},
{"utterance": "How can I call you?", "type": "QNAME", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"utterance": "What is your name?", "type": "QNAME", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"utterance": "Who are you?", "type": "QNAME", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"utterance": "i come from poland", "type": "FROM", "targetFormula": "(triples (triple rb:active_person rb:FROM poland))"},
{"utterance": "i am from russia", "type": "FROM", "targetFormula": "(triples (triple rb:active_person rb:FROM russia))"},
{"utterance": "my home country is ukraine", "type": "FROM", "targetFormula": "(triples (triple rb:active_person rb:FROM ukraine))"},
{"utterance": "i was born in nicaragua", "type": "FROM", "targetFormula": "(triples (triple rb:active_person rb:FROM nicaragua))"},
{"utterance": "i was born in poland or russia", "type": "FROM", "targetFormula": "(triples or (triple rb:active_person rb:FROM poland) (triple rb:active_person rb:FROM russia))"},
{"utterance": "Where are you from?", "type": "QFROM", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"utterance": "Where were you born?", "type": "QFROM", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"utterance": "What is your home countr?", "type": "QFROM", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"utterance": "Which town do you call your home?", "type": "QFROM", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"utterance": "my favorite thing to do is swimming", "type": "HAS_HOBBY", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"utterance": "my hobby is swimming", "type": "HAS_HOBBY", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"utterance": "i like swimming", "type": "HAS_HOBBY", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"utterance": "i swim in my free time", "type": "HAS_HOBBY", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"utterance": "i spend my free time swimming", "type": "HAS_HOBBY", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"utterance": "my favorite activity is swimming", "type": "HAS_HOBBY", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"utterance": "What is your favorite thing to do?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"utterance": "What is your favorite thing to do?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"utterance": "What do you do in your free time?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"utterance": "What is your hobby?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"utterance": "How do you spend your free time?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"utterance": "What is your favorite pastime activity?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"utterance": "i currently live in munich", "type": "LIVE_IN", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN munich))"},
{"utterance": "i live in munich", "type": "LIVE_IN", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN munich))"},
{"utterance": "my current home is warsaw", "type": "LIVE_IN", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN warsaw))"},
{"utterance": "Where do you live?", "type": "QLIVE_IN", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"utterance": "Which city do you live in?", "type": "QLIVE_IN", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"utterance": "Where is your current home?", "type": "QLIVE_IN", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"utterance": "my best friend is ben", "type": "FRIEND_OF", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"utterance": "i am friends with ben", "type": "FRIEND_OF", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"utterance": "you met my friend ben", "type": "FRIEND_OF", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"utterance": "my friend is called ben", "type": "FRIEND_OF", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"utterance": "Who is your best friend?", "type": "QFRIEND_OF", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"utterance": "Have I met any of your friends?", "type": "QFRIEND_OF", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"utterance": "Do you have a friend whom I have met?", "type": "QFRIEND_OF", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"utterance": "Maybe I know some friends of yours. Would you name one?", "type": "QFRIEND_OF", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"utterance": "i study at TUM", "type": "STUDY_AT", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT tum))"},
{"utterance": "i go to UW", "type": "STUDY_AT", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT uw))"},
{"utterance": "my alma mater is TUW", "type": "STUDY_AT", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT tuw))"},
{"utterance": "Where do you study?", "type": "QSTUDY_AT", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"utterance": "Which university do you go to?", "type": "QSTUDY_AT", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"utterance": "Which university do you study at?", "type": "QSTUDY_AT", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"utterance": "What is your alma mater?", "type": "QSTUDY_AT", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"utterance": "i am a Roboy Team member", "type": "MEMBER_OF", "targetFormula": "(triples (triple rb:active_person rb:MEMBER_OF roboy_team))"},
{"utterance": "i belong to IAESTE", "type": "MEMBER_OF", "targetFormula": "(triples (triple rb:active_person rb:MEMBER_OF iaeste))"},
{"utterance": "Are you a member of some cool organization?", "type": "QMEMBER_OF", "targetFormula": "(!rb:MEMBER_OF rb:Roboy)"},
{"utterance": "Do you belong to any organizations?", "type": "QMEMBER_OF", "targetFormula": "(!rb:MEMBER_OF rb:Roboy)"},
{"utterance": "i work for EY", "type": "WORK_FOR", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR ey))"},
{"utterance": "i work at Nokia", "type": "WORK_FOR", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR nokia))"},
{"utterance": "my employer is Samsung", "type": "WORK_FOR", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"utterance": "i am employed at Samsung", "type": "WORK_FOR", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"utterance": "i earn my living at Samsung", "type": "WORK_FOR", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"utterance": "Where do you work?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"utterance": "For which company do you work?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"utterance": "Who is your employer?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"utterance": "Where are you employed?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"utterance": "Which organization do you work at?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"utterance": "Where do you earn your living?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"utterance": "my favorite movie is titanic", "type": "MOVIES", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE titanic))"},
{"utterance": "i last saw finding nemo", "type": "MOVIES", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE finding_nemo))"},
{"utterance": "my favorite tv show is ellen", "type": "MOVIES", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE ellen))"},
{"utterance": "i like pulp fiction the most", "type": "MOVIES", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE pulp_fiction))"},
{"utterance": "What is your favourite movie?", "type": "QMOVIES", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"utterance": "What was the last movie you saw in the cinema?", "type": "QMOVIES", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"utterance": "What is your favorite TV show?", "type": "QMOVIES", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"utterance": "Which comedy do you like the most?", "type": "QMOVIES", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"utterance": "i am a teacher", "type": "OCCUPIED_AS", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS teacher))"},
{"utterance": "i work as a nurse", "type": "OCCUPIED_AS", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS nurse))"},
{"utterance": "my field of expertise is finance", "type": "OCCUPIED_AS", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS finance))"},
{"utterance": "What do you do?", "type": "QOCCUPIED_AS", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"utterance": "What is your profession?", "type": "QOCCUPIED_AS", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"utterance": "What do you work as?", "type": "QOCCUPIED_AS", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"utterance": "What is your field of expertise?", "type": "QOCCUPIED_AS", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"}
]

View File

@ -1,85 +0,0 @@
[
{"type": "NAME", "utterance": "my name is emily", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF emily))"},
{"type": "NAME", "utterance": "anna is my name", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF anna))"},
{"type": "NAME", "utterance": "i am hannah", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF hannah))"},
{"type": "NAME", "utterance": "call me christina", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF christina))"},
{"type": "NAME", "utterance": "people call me sam", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF sam))"},
{"type": "NAME", "utterance": "my name is elsa and anna", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF elsa) (triple rb:active_person rb:NAME_OF anna))"},
{"type": "NAME", "utterance": "my or your name or hobby is emily and alona", "targetFormula": "(triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona))))"},
{"type": "QNAME", "utterance": "How can I call you?", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"type": "QNAME", "utterance": "What is your name?", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"type": "QNAME", "utterance": "Who are you?", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"type": "FROM", "utterance": "i come from poland", "targetFormula": "(triples (triple rb:active_person rb:FROM poland))"},
{"type": "FROM", "utterance": "i am from russia", "targetFormula": "(triples (triple rb:active_person rb:FROM russia))"},
{"type": "FROM", "utterance": "my home country is ukraine", "targetFormula": "(triples (triple rb:active_person rb:FROM ukraine))"},
{"type": "FROM", "utterance": "i was born in nicaragua", "targetFormula": "(triples (triple rb:active_person rb:FROM nicaragua))"},
{"type": "FROM", "utterance": "i was born in poland or russia", "targetFormula": "(triples or (triple rb:active_person rb:FROM poland) (triple rb:active_person rb:FROM russia))"},
{"type": "QFROM", "utterance": "Where are you from?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "QFROM", "utterance": "Where were you born?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "QFROM", "utterance": "What is your home countr?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "QFROM", "utterance": "Which town do you call your home?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "HAS_HOBBY", "utterance": "my favorite thing to do is swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "HAS_HOBBY", "utterance": "my hobby is swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "HAS_HOBBY", "utterance": "i like swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "HAS_HOBBY", "utterance": "i swim in my free time", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "HAS_HOBBY", "utterance": "i spend my free time swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "HAS_HOBBY", "utterance": "my favorite activity is swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QHAS_HOBBY", "utterance": "What is your favorite thing to do?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "QHAS_HOBBY", "utterance": "What is your favorite thing to do?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "QHAS_HOBBY", "utterance": "What do you do in your free time?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "QHAS_HOBBY", "utterance": "What is your hobby?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "QHAS_HOBBY", "utterance": "How do you spend your free time?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "QHAS_HOBBY", "utterance": "What is your favorite pastime activity?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "LIVE_IN", "utterance": "i currently live in munich", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN munich))"},
{"type": "LIVE_IN", "utterance": "i live in munich", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN munich))"},
{"type": "LIVE_IN", "utterance": "my current home is warsaw", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN warsaw))"},
{"type": "QLIVE_IN", "utterance": "Where do you live?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "QLIVE_IN", "utterance": "Which city do you live in?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "QLIVE_IN", "utterance": "Where is your current home?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "FRIEND_OF", "utterance": "my best friend is ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "FRIEND_OF", "utterance": "i am friends with ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "FRIEND_OF", "utterance": "you met my friend ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "FRIEND_OF", "utterance": "my friend is called ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "QFRIEND_OF", "utterance": "Who is your best friend?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "QFRIEND_OF", "utterance": "Have I met any of your friends?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "QFRIEND_OF", "utterance": "Do you have a friend whom I have met?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "QFRIEND_OF", "utterance": "Maybe I know some friends of yours. Would you name one?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "STUDY_AT", "utterance": "i study at TUM", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT tum))"},
{"type": "STUDY_AT", "utterance": "i go to UW", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT uw))"},
{"type": "STUDY_AT", "utterance": "my alma mater is TUW", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT tuw))"},
{"type": "QSTUDY_AT", "utterance": "Where do you study?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "Which university do you go to?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "Which university do you study at?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "What is your alma mater?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"type": "MEMBER_OF", "utterance": "i am a Roboy Team member", "targetFormula": "(triples (triple rb:active_person rb:MEMBER_OF roboy_team))"},
{"type": "MEMBER_OF", "utterance": "i belong to IAESTE", "targetFormula": "(triples (triple rb:active_person rb:MEMBER_OF iaeste))"},
{"type": "QMEMBER_OF", "utterance": "Are you a member of some cool organization?", "targetFormula": "(!rb:MEMBER_OF rb:Roboy)"},
{"type": "QMEMBER_OF", "utterance": "Do you belong to any organizations?", "targetFormula": "(!rb:MEMBER_OF rb:Roboy)"},
{"type": "WORK_FOR", "utterance": "i work for EY", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR ey))"},
{"type": "WORK_FOR", "utterance": "i work at Nokia", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR nokia))"},
{"type": "WORK_FOR", "utterance": "my employer is Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "WORK_FOR", "utterance": "i am employed at Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "WORK_FOR", "utterance": "i earn my living at Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "QWORK_FOR", "utterance": "Where do you work?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "QWORK_FOR", "utterance": "For which company do you work?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "QWORK_FOR", "utterance": "Who is your employer?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "QWORK_FOR", "utterance": "Where are you employed?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "QWORK_FOR", "utterance": "Which organization do you work at?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "QWORK_FOR", "utterance": "Where do you earn your living?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "MOVIES", "utterance": "my favorite movie is titanic", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE titanic))"},
{"type": "MOVIES", "utterance": "i last saw finding nemo", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE finding_nemo))"},
{"type": "MOVIES", "utterance": "my favorite tv show is ellen", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE ellen))"},
{"type": "MOVIES", "utterance": "i like pulp fiction the most", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE pulp_fiction))"},
{"type": "QMOVIES", "utterance": "What is your favourite movie?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "QMOVIES", "utterance": "What was the last movie you saw in the cinema?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "QMOVIES", "utterance": "What is your favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "QMOVIES", "utterance": "Which comedy do you like the most?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "OCCUPIED_AS", "utterance": "i am a teacher", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS teacher))"},
{"type": "OCCUPIED_AS", "utterance": "i work as a nurse", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS nurse))"},
{"type": "OCCUPIED_AS", "utterance": "my field of expertise is finance", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS finance))"},
{"type": "QOCCUPIED_AS", "utterance": "What do you do?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "QOCCUPIED_AS", "utterance": "What is your profession?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "QOCCUPIED_AS", "utterance": "What do you work as?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "QOCCUPIED_AS", "utterance": "What is your field of expertise?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
]

48
data/rpqa/1/test.examples Normal file
View File

@ -0,0 +1,48 @@
(example
(utterance "i like swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "For which company do you work?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "i was born in poland and you were born in switzerland")
(targetFormula (list (triples (triple rb:active_person rb:FROM poland)) (triples (triple rb:Roboy rb:FROM switzerland))))
)
(example
(utterance "What is your hobby?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "What is your favorite pastime activity?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "i am friends with ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "Which organization do you work at?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "my field of expertise is finance")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS finance)))
)
(example
(utterance "Are you a member of some cool organization?")
(targetFormula (!rb:MEMBER_OF rb:Roboy))
)
(example
(utterance "you met my friend ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "Who is your best friend?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "my name is emily")
(targetFormula (triples (triple rb:active_person rb:NAME_OF emily)))
)

14
data/rpqa/1/test.json Normal file
View File

@ -0,0 +1,14 @@
[
{"type": "HAS_HOBBY", "utterance": "i like swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QWORK_FOR", "utterance": "For which company do you work?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "FROM", "utterance": "i was born in poland and you were born in switzerland", "targetFormula": "(list (triples (triple rb:active_person rb:FROM poland)) (triples (triple rb:Roboy rb:FROM switzerland)))"},
{"type": "QHAS_HOBBY", "utterance": "What is your hobby?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "QHAS_HOBBY", "utterance": "What is your favorite pastime activity?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "FRIEND_OF", "utterance": "i am friends with ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "QWORK_FOR", "utterance": "Which organization do you work at?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "OCCUPIED_AS", "utterance": "my field of expertise is finance", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS finance))"},
{"type": "QMEMBER_OF", "utterance": "Are you a member of some cool organization?", "targetFormula": "(!rb:MEMBER_OF rb:Roboy)"},
{"type": "FRIEND_OF", "utterance": "you met my friend ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "QFRIEND_OF", "utterance": "Who is your best friend?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "NAME", "utterance": "my name is emily", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF emily))"}
]

432
data/rpqa/1/train.examples Normal file
View File

@ -0,0 +1,432 @@
(example
(utterance "Who is your best friend?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "my name is emily")
(targetFormula (triples (triple rb:active_person rb:NAME_OF emily)))
)
(example
(utterance "my current home is warsaw and your current home is munich")
(targetFormula (list (triples (triple rb:active_person rb:LIVE_IN warsaw)) (triples (triple rb:roboy rb:LIVE_IN munich))))
)
(example
(utterance "What is your home country?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "people call me sam")
(targetFormula (triples (triple rb:active_person rb:NAME_OF sam)))
)
(example
(utterance "my favorite activity is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "Who is my best friend?")
(targetFormula (!rb:FRIEND_OF rb:active_person))
)
(example
(utterance "What is my field of expertise?")
(targetFormula (!rb:OCCUPIED_AS rb:active_person))
)
(example
(utterance "i am a teacher")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS teacher)))
)
(example
(utterance "Where am I employed?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "my home country is ukraine")
(targetFormula (triples (triple rb:active_person rb:FROM ukraine)))
)
(example
(utterance "Where is your current home?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "my home country is ukraine")
(targetFormula (triples (triple rb:active_person rb:FROM ukraine)))
)
(example
(utterance "Where is your current home?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "What was the last movie you saw in the cinema?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "i work for EY")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR ey)))
)
(example
(utterance "my friend is called ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "my alma mater is TUW")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT tuw)))
)
(example
(utterance "i like pulp fiction the most")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE pulp_fiction)))
)
(example
(utterance "i currently live in munich")
(targetFormula (triples (triple rb:active_person rb:LIVE_IN munich)))
)
(example
(utterance "i last saw finding nemo")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE finding_nemo)))
)
(example
(utterance "i swim in my free time")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "What is my favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:active_person))
)
(example
(utterance "What do you do?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "What is my favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:active_person))
)
(example
(utterance "What do you do?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "i go to UW")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT uw)))
)
(example
(utterance "Am I a member of some cool organization?")
(targetFormula (!rb:MEMBER_OF rb:active_person))
)
(example
(utterance "i work at Nokia")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR nokia)))
)
(example
(utterance "How do you spend your free time?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "i earn my living at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "i was born in nicaragua")
(targetFormula (triples (triple rb:active_person rb:FROM nicaragua)))
)
(example
(utterance "my hobby is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "What is your name?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Where was I born?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "my or your name or hobby is emily and alona")
(targetFormula (triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona)))))
)
(example
(utterance "Where was I born?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "my or your name or hobby is emily and alona")
(targetFormula (triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona)))))
)
(example
(utterance "Where do you work?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "What is your alma mater?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "my name is emily and your name is roboy")
(targetFormula (list (triples (triple rb:active_person rb:NAME_OF emily)) (triples (triple rb:Roboy rb:NAME_OF roboy))))
)
(example
(utterance "What is my favorite thing to do?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "What do you work as?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "my favorite tv show is ellen and your favorite movie is titanic")
(targetFormula (list (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)) (triples (triple rb:Roboy rb:FAVORITE_MOVIE titanic))))
)
(example
(utterance "my name is elsa and anna")
(targetFormula (triples (triple rb:active_person rb:NAME_OF elsa) (triple rb:active_person rb:NAME_OF anna)))
)
(example
(utterance "Where do I earn my living?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "i am employed at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "What is your favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "i am employed at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "What is your favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "Which comedy do you like the most?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "i belong to IAESTE")
(targetFormula (triples (triple rb:active_person rb:MEMBER_OF iaeste)))
)
(example
(utterance "i come from poland")
(targetFormula (triples (triple rb:active_person rb:FROM poland)))
)
(example
(utterance "i study at TUM")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT tum)))
)
(example
(utterance "How do I spend my free time?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "What is my favourite movie?")
(targetFormula (!rb:FAVORITE_MOVIE rb:active_person))
)
(example
(utterance "my favorite tv show is ellen")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)))
)
(example
(utterance "For which company do I work?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Do I belong to any organizations?")
(targetFormula (!rb:MEMBER_OF rb:active_person))
)
(example
(utterance "Who is my employer?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Do I belong to any organizations?")
(targetFormula (!rb:MEMBER_OF rb:active_person))
)
(example
(utterance "Who is my employer?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Which organization do I work at?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "What is your field of expertise?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "What is my name?")
(targetFormula (!rb:NAME_OF rb:active_person))
)
(example
(utterance "i earn my living at Samsung and you work at Roboy")
(targetFormula (list (triples (triple rb:active_person rb:WORK_FOR samsung)) (triples (triple rb:active_person rb:WORK_FOR roboy))))
)
(example
(utterance "my favorite movie is titanic")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE titanic)))
)
(example
(utterance "Which city do I live in?")
(targetFormula (!rb:LIVE_IN rb:active_person))
)
(example
(utterance "i live in munich")
(targetFormula (triples (triple rb:active_person rb:LIVE_IN munich)))
)
(example
(utterance "Have I met any of your friends?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "my alma mater is TUW and you go to TUM")
(targetFormula (list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum))))
)
(example
(utterance "Which university do I go to?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "my alma mater is TUW and you go to TUM")
(targetFormula (list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum))))
)
(example
(utterance "Which university do I go to?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "What is my hobby?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "my field of expertise is finance and you work as a robot")
(targetFormula (list (triples (triple rb:active_person rb:OCCUPIED_AS finance)) (triples (triple rb:Roboy rb:OCCUPIED_AS robot))))
)
(example
(utterance "What do I work as?")
(targetFormula (!rb:OCCUPIED_AS rb:active_person))
)
(example
(utterance "call me christina")
(targetFormula (triples (triple rb:active_person rb:NAME_OF christina)))
)
(example
(utterance "What is your favourite movie?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "Who is your employer?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "Which town do you call your home?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "Where do you live?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "Which university do you study at?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "Where is my current home?")
(targetFormula (!rb:LIVE_IN rb:active_person))
)
(example
(utterance "Which university do you study at?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "Where is my current home?")
(targetFormula (!rb:LIVE_IN rb:active_person))
)
(example
(utterance "my favorite thing to do is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "Which university do I study at?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "my best friend is ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "How can I call you?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "What do you do in your free time?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "i work as a nurse")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS nurse)))
)
(example
(utterance "Which city do you live in?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "Where are you from?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "What is my alma mater?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "anna is my name")
(targetFormula (triples (triple rb:active_person rb:NAME_OF anna)))
)
(example
(utterance "What is my alma mater?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "anna is my name")
(targetFormula (triples (triple rb:active_person rb:NAME_OF anna)))
)
(example
(utterance "Where do I work?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Which university do you go to?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "Where do I study?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "What is my home country?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "my employer is Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "Who are you?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Do you belong to any organizations?")
(targetFormula (!rb:MEMBER_OF rb:Roboy))
)
(example
(utterance "Where were you born?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "Where are you employed?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "i belong to IAESTE and you belong to Roboy")
(targetFormula (list (triples (triple rb:active_person rb:MEMBER_OF iaeste)) (triples (triple rb:Roboy rb:MEMBER_OF Roboy))))
)

110
data/rpqa/1/train.json Normal file
View File

@ -0,0 +1,110 @@
[
{"type": "QFRIEND_OF", "utterance": "Who is your best friend?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "NAME", "utterance": "my name is emily", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF emily))"},
{"type": "LIVE_IN", "utterance": "my current home is warsaw and your current home is munich", "targetFormula": "(list (triples (triple rb:active_person rb:LIVE_IN warsaw)) (triples (triple rb:roboy rb:LIVE_IN munich)))"},
{"type": "QFROM", "utterance": "What is your home country?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "NAME", "utterance": "people call me sam", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF sam))"},
{"type": "HAS_HOBBY", "utterance": "my favorite activity is swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QFRIEND_OF", "utterance": "Who is my best friend?", "targetFormula": "(!rb:FRIEND_OF rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What is my field of expertise?", "targetFormula": "(!rb:OCCUPIED_AS rb:active_person)"},
{"type": "OCCUPIED_AS", "utterance": "i am a teacher", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS teacher))"},
{"type": "QWORK_FOR", "utterance": "Where am I employed?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "FROM", "utterance": "my home country is ukraine", "targetFormula": "(triples (triple rb:active_person rb:FROM ukraine))"},
{"type": "QLIVE_IN", "utterance": "Where is your current home?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "FROM", "utterance": "my home country is ukraine", "targetFormula": "(triples (triple rb:active_person rb:FROM ukraine))"},
{"type": "QLIVE_IN", "utterance": "Where is your current home?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "QMOVIES", "utterance": "What was the last movie you saw in the cinema?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "WORK_FOR", "utterance": "i work for EY", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR ey))"},
{"type": "FRIEND_OF", "utterance": "my friend is called ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "STUDY_AT", "utterance": "my alma mater is TUW", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT tuw))"},
{"type": "MOVIES", "utterance": "i like pulp fiction the most", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE pulp_fiction))"},
{"type": "LIVE_IN", "utterance": "i currently live in munich", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN munich))"},
{"type": "MOVIES", "utterance": "i last saw finding nemo", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE finding_nemo))"},
{"type": "HAS_HOBBY", "utterance": "i swim in my free time", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QMOVIES", "utterance": "What is my favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What do you do?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "QMOVIES", "utterance": "What is my favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What do you do?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "STUDY_AT", "utterance": "i go to UW", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT uw))"},
{"type": "QMEMBER_OF", "utterance": "Am I a member of some cool organization?", "targetFormula": "(!rb:MEMBER_OF rb:active_person)"},
{"type": "WORK_FOR", "utterance": "i work at Nokia", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR nokia))"},
{"type": "QHAS_HOBBY", "utterance": "How do you spend your free time?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "WORK_FOR", "utterance": "i earn my living at Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "FROM", "utterance": "i was born in nicaragua", "targetFormula": "(triples (triple rb:active_person rb:FROM nicaragua))"},
{"type": "HAS_HOBBY", "utterance": "my hobby is swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QNAME", "utterance": "What is your name?", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"type": "QFROM", "utterance": "Where was I born?", "targetFormula": "(!rb:FROM rb:active_person)"},
{"type": "NAME", "utterance": "my or your name or hobby is emily and alona", "targetFormula": "(triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona))))"},
{"type": "QFROM", "utterance": "Where was I born?", "targetFormula": "(!rb:FROM rb:active_person)"},
{"type": "NAME", "utterance": "my or your name or hobby is emily and alona", "targetFormula": "(triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona))))"},
{"type": "QWORK_FOR", "utterance": "Where do you work?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "What is your alma mater?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"utterance": "my name is emily and your name is roboy", "type": "NAME", "targetFormula": "(list (triples (triple rb:active_person rb:NAME_OF emily)) (triples (triple rb:Roboy rb:NAME_OF roboy)))"},
{"type": "QHAS_HOBBY", "utterance": "What is my favorite thing to do?", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What do you work as?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "MOVIES", "utterance": "my favorite tv show is ellen and your favorite movie is titanic", "targetFormula": "(list (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)) (triples (triple rb:Roboy rb:FAVORITE_MOVIE titanic)))"},
{"type": "NAME", "utterance": "my name is elsa and anna", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF elsa) (triple rb:active_person rb:NAME_OF anna))"},
{"type": "QWORK_FOR", "utterance": "Where do I earn my living?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "WORK_FOR", "utterance": "i am employed at Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "QMOVIES", "utterance": "What is your favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "WORK_FOR", "utterance": "i am employed at Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "QMOVIES", "utterance": "What is your favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "QMOVIES", "utterance": "Which comedy do you like the most?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "MEMBER_OF", "utterance": "i belong to IAESTE", "targetFormula": "(triples (triple rb:active_person rb:MEMBER_OF iaeste))"},
{"type": "FROM", "utterance": "i come from poland", "targetFormula": "(triples (triple rb:active_person rb:FROM poland))"},
{"type": "STUDY_AT", "utterance": "i study at TUM", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT tum))"},
{"type": "QHAS_HOBBY", "utterance": "How do I spend my free time?", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"type": "QMOVIES", "utterance": "What is my favourite movie?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:active_person)"},
{"type": "MOVIES", "utterance": "my favorite tv show is ellen", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE ellen))"},
{"type": "QWORK_FOR", "utterance": "For which company do I work?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QMEMBER_OF", "utterance": "Do I belong to any organizations?", "targetFormula": "(!rb:MEMBER_OF rb:active_person)"},
{"type": "QWORK_FOR", "utterance": "Who is my employer?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QMEMBER_OF", "utterance": "Do I belong to any organizations?", "targetFormula": "(!rb:MEMBER_OF rb:active_person)"},
{"type": "QWORK_FOR", "utterance": "Who is my employer?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QWORK_FOR", "utterance": "Which organization do I work at?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What is your field of expertise?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "QNAME", "utterance": "What is my name?", "targetFormula": "(!rb:NAME_OF rb:active_person)"},
{"type": "WORK_FOR", "utterance": "i earn my living at Samsung and you work at Roboy", "targetFormula": "(list (triples (triple rb:active_person rb:WORK_FOR samsung)) (triples (triple rb:active_person rb:WORK_FOR roboy)))"},
{"type": "MOVIES", "utterance": "my favorite movie is titanic", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE titanic))"},
{"type": "QLIVE_IN", "utterance": "Which city do I live in?", "targetFormula": "(!rb:LIVE_IN rb:active_person)"},
{"type": "LIVE_IN", "utterance": "i live in munich", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN munich))"},
{"type": "QFRIEND_OF", "utterance": "Have I met any of your friends?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "STUDY_AT", "utterance": "my alma mater is TUW and you go to TUM", "targetFormula": "(list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum)))"},
{"type": "QSTUDY_AT", "utterance": "Which university do I go to?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "STUDY_AT", "utterance": "my alma mater is TUW and you go to TUM", "targetFormula": "(list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum)))"},
{"type": "QSTUDY_AT", "utterance": "Which university do I go to?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "QHAS_HOBBY", "utterance": "What is my hobby?", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"type": "OCCUPIED_AS", "utterance": "my field of expertise is finance and you work as a robot", "targetFormula": "(list (triples (triple rb:active_person rb:OCCUPIED_AS finance)) (triples (triple rb:Roboy rb:OCCUPIED_AS robot)))"},
{"type": "QOCCUPIED_AS", "utterance": "What do I work as?", "targetFormula": "(!rb:OCCUPIED_AS rb:active_person)"},
{"type": "NAME", "utterance": "call me christina", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF christina))"},
{"type": "QMOVIES", "utterance": "What is your favourite movie?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "QWORK_FOR", "utterance": "Who is your employer?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "QFROM", "utterance": "Which town do you call your home?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "QLIVE_IN", "utterance": "Where do you live?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "Which university do you study at?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"type": "QLIVE_IN", "utterance": "Where is my current home?", "targetFormula": "(!rb:LIVE_IN rb:active_person)"},
{"type": "QSTUDY_AT", "utterance": "Which university do you study at?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"type": "QLIVE_IN", "utterance": "Where is my current home?", "targetFormula": "(!rb:LIVE_IN rb:active_person)"},
{"type": "HAS_HOBBY", "utterance": "my favorite thing to do is swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QSTUDY_AT", "utterance": "Which university do I study at?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "FRIEND_OF", "utterance": "my best friend is ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "QNAME", "utterance": "How can I call you?", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"type": "QHAS_HOBBY", "utterance": "What do you do in your free time?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "OCCUPIED_AS", "utterance": "i work as a nurse", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS nurse))"},
{"type": "QLIVE_IN", "utterance": "Which city do you live in?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "QFROM", "utterance": "Where are you from?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "What is my alma mater?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "NAME", "utterance": "anna is my name", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF anna))"},
{"type": "QSTUDY_AT", "utterance": "What is my alma mater?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "NAME", "utterance": "anna is my name", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF anna))"},
{"type": "QWORK_FOR", "utterance": "Where do I work?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QSTUDY_AT", "utterance": "Which university do you go to?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "Where do I study?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "QFROM", "utterance": "What is my home country?", "targetFormula": "(!rb:FROM rb:active_person)"},
{"type": "WORK_FOR", "utterance": "my employer is Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "QNAME", "utterance": "Who are you?", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"type": "QMEMBER_OF", "utterance": "Do you belong to any organizations?", "targetFormula": "(!rb:MEMBER_OF rb:Roboy)"},
{"type": "QFROM", "utterance": "Where were you born?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "QWORK_FOR", "utterance": "Where are you employed?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "MEMBER_OF", "utterance": "i belong to IAESTE and you belong to Roboy", "targetFormula": "(list (triples (triple rb:active_person rb:MEMBER_OF iaeste)) (triples (triple rb:Roboy rb:MEMBER_OF Roboy)))"}
]

View File

@ -0,0 +1,48 @@
(example
(utterance "What is my alma mater?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "anna is my name")
(targetFormula (triples (triple rb:active_person rb:NAME_OF anna)))
)
(example
(utterance "Where do I work?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Which university do you go to?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "Where do I study?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "What is my home country?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "my employer is Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "Who are you?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Do you belong to any organizations?")
(targetFormula (!rb:MEMBER_OF rb:Roboy))
)
(example
(utterance "Where were you born?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "Where are you employed?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "i belong to IAESTE and you belong to Roboy")
(targetFormula (list (triples (triple rb:active_person rb:MEMBER_OF iaeste)) (triples (triple rb:Roboy rb:MEMBER_OF Roboy))))
)

14
data/rpqa/10/test.json Normal file
View File

@ -0,0 +1,14 @@
[
{"type": "QSTUDY_AT", "utterance": "What is my alma mater?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "NAME", "utterance": "anna is my name", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF anna))"},
{"type": "QWORK_FOR", "utterance": "Where do I work?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QSTUDY_AT", "utterance": "Which university do you go to?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "Where do I study?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "QFROM", "utterance": "What is my home country?", "targetFormula": "(!rb:FROM rb:active_person)"},
{"type": "WORK_FOR", "utterance": "my employer is Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "QNAME", "utterance": "Who are you?", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"type": "QMEMBER_OF", "utterance": "Do you belong to any organizations?", "targetFormula": "(!rb:MEMBER_OF rb:Roboy)"},
{"type": "QFROM", "utterance": "Where were you born?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "QWORK_FOR", "utterance": "Where are you employed?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "MEMBER_OF", "utterance": "i belong to IAESTE and you belong to Roboy", "targetFormula": "(list (triples (triple rb:active_person rb:MEMBER_OF iaeste)) (triples (triple rb:Roboy rb:MEMBER_OF Roboy)))"}
]

432
data/rpqa/10/train.examples Normal file
View File

@ -0,0 +1,432 @@
(example
(utterance "i like swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "For which company do you work?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "i was born in poland and you were born in switzerland")
(targetFormula (list (triples (triple rb:active_person rb:FROM poland)) (triples (triple rb:Roboy rb:FROM switzerland))))
)
(example
(utterance "What is your hobby?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "What is your favorite pastime activity?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "i am friends with ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "Which organization do you work at?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "my field of expertise is finance")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS finance)))
)
(example
(utterance "Are you a member of some cool organization?")
(targetFormula (!rb:MEMBER_OF rb:Roboy))
)
(example
(utterance "you met my friend ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "Who is your best friend?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "my name is emily")
(targetFormula (triples (triple rb:active_person rb:NAME_OF emily)))
)
(example
(utterance "Who is your best friend?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "my name is emily")
(targetFormula (triples (triple rb:active_person rb:NAME_OF emily)))
)
(example
(utterance "my current home is warsaw and your current home is munich")
(targetFormula (list (triples (triple rb:active_person rb:LIVE_IN warsaw)) (triples (triple rb:roboy rb:LIVE_IN munich))))
)
(example
(utterance "What is your home country?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "people call me sam")
(targetFormula (triples (triple rb:active_person rb:NAME_OF sam)))
)
(example
(utterance "my favorite activity is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "Who is my best friend?")
(targetFormula (!rb:FRIEND_OF rb:active_person))
)
(example
(utterance "What is my field of expertise?")
(targetFormula (!rb:OCCUPIED_AS rb:active_person))
)
(example
(utterance "i am a teacher")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS teacher)))
)
(example
(utterance "Where am I employed?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "my home country is ukraine")
(targetFormula (triples (triple rb:active_person rb:FROM ukraine)))
)
(example
(utterance "Where is your current home?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "my home country is ukraine")
(targetFormula (triples (triple rb:active_person rb:FROM ukraine)))
)
(example
(utterance "Where is your current home?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "What was the last movie you saw in the cinema?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "i work for EY")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR ey)))
)
(example
(utterance "my friend is called ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "my alma mater is TUW")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT tuw)))
)
(example
(utterance "i like pulp fiction the most")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE pulp_fiction)))
)
(example
(utterance "i currently live in munich")
(targetFormula (triples (triple rb:active_person rb:LIVE_IN munich)))
)
(example
(utterance "i last saw finding nemo")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE finding_nemo)))
)
(example
(utterance "i swim in my free time")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "What is my favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:active_person))
)
(example
(utterance "What do you do?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "What is my favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:active_person))
)
(example
(utterance "What do you do?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "i go to UW")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT uw)))
)
(example
(utterance "Am I a member of some cool organization?")
(targetFormula (!rb:MEMBER_OF rb:active_person))
)
(example
(utterance "i work at Nokia")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR nokia)))
)
(example
(utterance "How do you spend your free time?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "i earn my living at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "i was born in nicaragua")
(targetFormula (triples (triple rb:active_person rb:FROM nicaragua)))
)
(example
(utterance "my hobby is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "What is your name?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Where was I born?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "my or your name or hobby is emily and alona")
(targetFormula (triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona)))))
)
(example
(utterance "Where was I born?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "my or your name or hobby is emily and alona")
(targetFormula (triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona)))))
)
(example
(utterance "Where do you work?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "What is your alma mater?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "my name is emily and your name is roboy")
(targetFormula (list (triples (triple rb:active_person rb:NAME_OF emily)) (triples (triple rb:Roboy rb:NAME_OF roboy))))
)
(example
(utterance "What is my favorite thing to do?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "What do you work as?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "my favorite tv show is ellen and your favorite movie is titanic")
(targetFormula (list (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)) (triples (triple rb:Roboy rb:FAVORITE_MOVIE titanic))))
)
(example
(utterance "my name is elsa and anna")
(targetFormula (triples (triple rb:active_person rb:NAME_OF elsa) (triple rb:active_person rb:NAME_OF anna)))
)
(example
(utterance "Where do I earn my living?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "i am employed at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "What is your favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "i am employed at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "What is your favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "Which comedy do you like the most?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "i belong to IAESTE")
(targetFormula (triples (triple rb:active_person rb:MEMBER_OF iaeste)))
)
(example
(utterance "i come from poland")
(targetFormula (triples (triple rb:active_person rb:FROM poland)))
)
(example
(utterance "i study at TUM")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT tum)))
)
(example
(utterance "How do I spend my free time?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "What is my favourite movie?")
(targetFormula (!rb:FAVORITE_MOVIE rb:active_person))
)
(example
(utterance "my favorite tv show is ellen")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)))
)
(example
(utterance "For which company do I work?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Do I belong to any organizations?")
(targetFormula (!rb:MEMBER_OF rb:active_person))
)
(example
(utterance "Who is my employer?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Do I belong to any organizations?")
(targetFormula (!rb:MEMBER_OF rb:active_person))
)
(example
(utterance "Who is my employer?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Which organization do I work at?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "What is your field of expertise?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "What is my name?")
(targetFormula (!rb:NAME_OF rb:active_person))
)
(example
(utterance "i earn my living at Samsung and you work at Roboy")
(targetFormula (list (triples (triple rb:active_person rb:WORK_FOR samsung)) (triples (triple rb:active_person rb:WORK_FOR roboy))))
)
(example
(utterance "my favorite movie is titanic")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE titanic)))
)
(example
(utterance "Which city do I live in?")
(targetFormula (!rb:LIVE_IN rb:active_person))
)
(example
(utterance "i live in munich")
(targetFormula (triples (triple rb:active_person rb:LIVE_IN munich)))
)
(example
(utterance "Have I met any of your friends?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "my alma mater is TUW and you go to TUM")
(targetFormula (list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum))))
)
(example
(utterance "Which university do I go to?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "my alma mater is TUW and you go to TUM")
(targetFormula (list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum))))
)
(example
(utterance "Which university do I go to?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "What is my hobby?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "my field of expertise is finance and you work as a robot")
(targetFormula (list (triples (triple rb:active_person rb:OCCUPIED_AS finance)) (triples (triple rb:Roboy rb:OCCUPIED_AS robot))))
)
(example
(utterance "What do I work as?")
(targetFormula (!rb:OCCUPIED_AS rb:active_person))
)
(example
(utterance "call me christina")
(targetFormula (triples (triple rb:active_person rb:NAME_OF christina)))
)
(example
(utterance "What is your favourite movie?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "Who is your employer?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "Which town do you call your home?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "Where do you live?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "Which university do you study at?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "Where is my current home?")
(targetFormula (!rb:LIVE_IN rb:active_person))
)
(example
(utterance "Which university do you study at?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "Where is my current home?")
(targetFormula (!rb:LIVE_IN rb:active_person))
)
(example
(utterance "my favorite thing to do is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "Which university do I study at?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "my best friend is ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "How can I call you?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "What do you do in your free time?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "i work as a nurse")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS nurse)))
)
(example
(utterance "Which city do you live in?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "Where are you from?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "What is my alma mater?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "anna is my name")
(targetFormula (triples (triple rb:active_person rb:NAME_OF anna)))
)

110
data/rpqa/10/train.json Normal file
View File

@ -0,0 +1,110 @@
[
{"type": "HAS_HOBBY", "utterance": "i like swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QWORK_FOR", "utterance": "For which company do you work?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "FROM", "utterance": "i was born in poland and you were born in switzerland", "targetFormula": "(list (triples (triple rb:active_person rb:FROM poland)) (triples (triple rb:Roboy rb:FROM switzerland)))"},
{"type": "QHAS_HOBBY", "utterance": "What is your hobby?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "QHAS_HOBBY", "utterance": "What is your favorite pastime activity?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "FRIEND_OF", "utterance": "i am friends with ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "QWORK_FOR", "utterance": "Which organization do you work at?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "OCCUPIED_AS", "utterance": "my field of expertise is finance", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS finance))"},
{"type": "QMEMBER_OF", "utterance": "Are you a member of some cool organization?", "targetFormula": "(!rb:MEMBER_OF rb:Roboy)"},
{"type": "FRIEND_OF", "utterance": "you met my friend ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "QFRIEND_OF", "utterance": "Who is your best friend?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "NAME", "utterance": "my name is emily", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF emily))"},
{"type": "QFRIEND_OF", "utterance": "Who is your best friend?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "NAME", "utterance": "my name is emily", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF emily))"},
{"type": "LIVE_IN", "utterance": "my current home is warsaw and your current home is munich", "targetFormula": "(list (triples (triple rb:active_person rb:LIVE_IN warsaw)) (triples (triple rb:roboy rb:LIVE_IN munich)))"},
{"type": "QFROM", "utterance": "What is your home country?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "NAME", "utterance": "people call me sam", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF sam))"},
{"type": "HAS_HOBBY", "utterance": "my favorite activity is swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QFRIEND_OF", "utterance": "Who is my best friend?", "targetFormula": "(!rb:FRIEND_OF rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What is my field of expertise?", "targetFormula": "(!rb:OCCUPIED_AS rb:active_person)"},
{"type": "OCCUPIED_AS", "utterance": "i am a teacher", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS teacher))"},
{"type": "QWORK_FOR", "utterance": "Where am I employed?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "FROM", "utterance": "my home country is ukraine", "targetFormula": "(triples (triple rb:active_person rb:FROM ukraine))"},
{"type": "QLIVE_IN", "utterance": "Where is your current home?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "FROM", "utterance": "my home country is ukraine", "targetFormula": "(triples (triple rb:active_person rb:FROM ukraine))"},
{"type": "QLIVE_IN", "utterance": "Where is your current home?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "QMOVIES", "utterance": "What was the last movie you saw in the cinema?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "WORK_FOR", "utterance": "i work for EY", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR ey))"},
{"type": "FRIEND_OF", "utterance": "my friend is called ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "STUDY_AT", "utterance": "my alma mater is TUW", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT tuw))"},
{"type": "MOVIES", "utterance": "i like pulp fiction the most", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE pulp_fiction))"},
{"type": "LIVE_IN", "utterance": "i currently live in munich", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN munich))"},
{"type": "MOVIES", "utterance": "i last saw finding nemo", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE finding_nemo))"},
{"type": "HAS_HOBBY", "utterance": "i swim in my free time", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QMOVIES", "utterance": "What is my favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What do you do?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "QMOVIES", "utterance": "What is my favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What do you do?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "STUDY_AT", "utterance": "i go to UW", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT uw))"},
{"type": "QMEMBER_OF", "utterance": "Am I a member of some cool organization?", "targetFormula": "(!rb:MEMBER_OF rb:active_person)"},
{"type": "WORK_FOR", "utterance": "i work at Nokia", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR nokia))"},
{"type": "QHAS_HOBBY", "utterance": "How do you spend your free time?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "WORK_FOR", "utterance": "i earn my living at Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "FROM", "utterance": "i was born in nicaragua", "targetFormula": "(triples (triple rb:active_person rb:FROM nicaragua))"},
{"type": "HAS_HOBBY", "utterance": "my hobby is swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QNAME", "utterance": "What is your name?", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"type": "QFROM", "utterance": "Where was I born?", "targetFormula": "(!rb:FROM rb:active_person)"},
{"type": "NAME", "utterance": "my or your name or hobby is emily and alona", "targetFormula": "(triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona))))"},
{"type": "QFROM", "utterance": "Where was I born?", "targetFormula": "(!rb:FROM rb:active_person)"},
{"type": "NAME", "utterance": "my or your name or hobby is emily and alona", "targetFormula": "(triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona))))"},
{"type": "QWORK_FOR", "utterance": "Where do you work?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "What is your alma mater?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"utterance": "my name is emily and your name is roboy", "type": "NAME", "targetFormula": "(list (triples (triple rb:active_person rb:NAME_OF emily)) (triples (triple rb:Roboy rb:NAME_OF roboy)))"},
{"type": "QHAS_HOBBY", "utterance": "What is my favorite thing to do?", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What do you work as?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "MOVIES", "utterance": "my favorite tv show is ellen and your favorite movie is titanic", "targetFormula": "(list (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)) (triples (triple rb:Roboy rb:FAVORITE_MOVIE titanic)))"},
{"type": "NAME", "utterance": "my name is elsa and anna", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF elsa) (triple rb:active_person rb:NAME_OF anna))"},
{"type": "QWORK_FOR", "utterance": "Where do I earn my living?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "WORK_FOR", "utterance": "i am employed at Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "QMOVIES", "utterance": "What is your favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "WORK_FOR", "utterance": "i am employed at Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "QMOVIES", "utterance": "What is your favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "QMOVIES", "utterance": "Which comedy do you like the most?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "MEMBER_OF", "utterance": "i belong to IAESTE", "targetFormula": "(triples (triple rb:active_person rb:MEMBER_OF iaeste))"},
{"type": "FROM", "utterance": "i come from poland", "targetFormula": "(triples (triple rb:active_person rb:FROM poland))"},
{"type": "STUDY_AT", "utterance": "i study at TUM", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT tum))"},
{"type": "QHAS_HOBBY", "utterance": "How do I spend my free time?", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"type": "QMOVIES", "utterance": "What is my favourite movie?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:active_person)"},
{"type": "MOVIES", "utterance": "my favorite tv show is ellen", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE ellen))"},
{"type": "QWORK_FOR", "utterance": "For which company do I work?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QMEMBER_OF", "utterance": "Do I belong to any organizations?", "targetFormula": "(!rb:MEMBER_OF rb:active_person)"},
{"type": "QWORK_FOR", "utterance": "Who is my employer?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QMEMBER_OF", "utterance": "Do I belong to any organizations?", "targetFormula": "(!rb:MEMBER_OF rb:active_person)"},
{"type": "QWORK_FOR", "utterance": "Who is my employer?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QWORK_FOR", "utterance": "Which organization do I work at?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What is your field of expertise?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "QNAME", "utterance": "What is my name?", "targetFormula": "(!rb:NAME_OF rb:active_person)"},
{"type": "WORK_FOR", "utterance": "i earn my living at Samsung and you work at Roboy", "targetFormula": "(list (triples (triple rb:active_person rb:WORK_FOR samsung)) (triples (triple rb:active_person rb:WORK_FOR roboy)))"},
{"type": "MOVIES", "utterance": "my favorite movie is titanic", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE titanic))"},
{"type": "QLIVE_IN", "utterance": "Which city do I live in?", "targetFormula": "(!rb:LIVE_IN rb:active_person)"},
{"type": "LIVE_IN", "utterance": "i live in munich", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN munich))"},
{"type": "QFRIEND_OF", "utterance": "Have I met any of your friends?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "STUDY_AT", "utterance": "my alma mater is TUW and you go to TUM", "targetFormula": "(list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum)))"},
{"type": "QSTUDY_AT", "utterance": "Which university do I go to?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "STUDY_AT", "utterance": "my alma mater is TUW and you go to TUM", "targetFormula": "(list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum)))"},
{"type": "QSTUDY_AT", "utterance": "Which university do I go to?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "QHAS_HOBBY", "utterance": "What is my hobby?", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"type": "OCCUPIED_AS", "utterance": "my field of expertise is finance and you work as a robot", "targetFormula": "(list (triples (triple rb:active_person rb:OCCUPIED_AS finance)) (triples (triple rb:Roboy rb:OCCUPIED_AS robot)))"},
{"type": "QOCCUPIED_AS", "utterance": "What do I work as?", "targetFormula": "(!rb:OCCUPIED_AS rb:active_person)"},
{"type": "NAME", "utterance": "call me christina", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF christina))"},
{"type": "QMOVIES", "utterance": "What is your favourite movie?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "QWORK_FOR", "utterance": "Who is your employer?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "QFROM", "utterance": "Which town do you call your home?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "QLIVE_IN", "utterance": "Where do you live?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "Which university do you study at?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"type": "QLIVE_IN", "utterance": "Where is my current home?", "targetFormula": "(!rb:LIVE_IN rb:active_person)"},
{"type": "QSTUDY_AT", "utterance": "Which university do you study at?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"type": "QLIVE_IN", "utterance": "Where is my current home?", "targetFormula": "(!rb:LIVE_IN rb:active_person)"},
{"type": "HAS_HOBBY", "utterance": "my favorite thing to do is swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QSTUDY_AT", "utterance": "Which university do I study at?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "FRIEND_OF", "utterance": "my best friend is ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "QNAME", "utterance": "How can I call you?", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"type": "QHAS_HOBBY", "utterance": "What do you do in your free time?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "OCCUPIED_AS", "utterance": "i work as a nurse", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS nurse))"},
{"type": "QLIVE_IN", "utterance": "Which city do you live in?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "QFROM", "utterance": "Where are you from?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "What is my alma mater?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "NAME", "utterance": "anna is my name", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF anna))"}
]

48
data/rpqa/2/test.examples Normal file
View File

@ -0,0 +1,48 @@
(example
(utterance "Who is your best friend?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "my name is emily")
(targetFormula (triples (triple rb:active_person rb:NAME_OF emily)))
)
(example
(utterance "my current home is warsaw and your current home is munich")
(targetFormula (list (triples (triple rb:active_person rb:LIVE_IN warsaw)) (triples (triple rb:roboy rb:LIVE_IN munich))))
)
(example
(utterance "What is your home country?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "people call me sam")
(targetFormula (triples (triple rb:active_person rb:NAME_OF sam)))
)
(example
(utterance "my favorite activity is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "Who is my best friend?")
(targetFormula (!rb:FRIEND_OF rb:active_person))
)
(example
(utterance "What is my field of expertise?")
(targetFormula (!rb:OCCUPIED_AS rb:active_person))
)
(example
(utterance "i am a teacher")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS teacher)))
)
(example
(utterance "Where am I employed?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "my home country is ukraine")
(targetFormula (triples (triple rb:active_person rb:FROM ukraine)))
)
(example
(utterance "Where is your current home?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)

14
data/rpqa/2/test.json Normal file
View File

@ -0,0 +1,14 @@
[
{"type": "QFRIEND_OF", "utterance": "Who is your best friend?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "NAME", "utterance": "my name is emily", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF emily))"},
{"type": "LIVE_IN", "utterance": "my current home is warsaw and your current home is munich", "targetFormula": "(list (triples (triple rb:active_person rb:LIVE_IN warsaw)) (triples (triple rb:roboy rb:LIVE_IN munich)))"},
{"type": "QFROM", "utterance": "What is your home country?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "NAME", "utterance": "people call me sam", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF sam))"},
{"type": "HAS_HOBBY", "utterance": "my favorite activity is swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QFRIEND_OF", "utterance": "Who is my best friend?", "targetFormula": "(!rb:FRIEND_OF rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What is my field of expertise?", "targetFormula": "(!rb:OCCUPIED_AS rb:active_person)"},
{"type": "OCCUPIED_AS", "utterance": "i am a teacher", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS teacher))"},
{"type": "QWORK_FOR", "utterance": "Where am I employed?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "FROM", "utterance": "my home country is ukraine", "targetFormula": "(triples (triple rb:active_person rb:FROM ukraine))"},
{"type": "QLIVE_IN", "utterance": "Where is your current home?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"}
]

432
data/rpqa/2/train.examples Normal file
View File

@ -0,0 +1,432 @@
(example
(utterance "i like swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "For which company do you work?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "i was born in poland and you were born in switzerland")
(targetFormula (list (triples (triple rb:active_person rb:FROM poland)) (triples (triple rb:Roboy rb:FROM switzerland))))
)
(example
(utterance "What is your hobby?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "What is your favorite pastime activity?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "i am friends with ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "Which organization do you work at?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "my field of expertise is finance")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS finance)))
)
(example
(utterance "Are you a member of some cool organization?")
(targetFormula (!rb:MEMBER_OF rb:Roboy))
)
(example
(utterance "you met my friend ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "Who is your best friend?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "my name is emily")
(targetFormula (triples (triple rb:active_person rb:NAME_OF emily)))
)
(example
(utterance "my home country is ukraine")
(targetFormula (triples (triple rb:active_person rb:FROM ukraine)))
)
(example
(utterance "Where is your current home?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "What was the last movie you saw in the cinema?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "i work for EY")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR ey)))
)
(example
(utterance "my friend is called ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "my alma mater is TUW")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT tuw)))
)
(example
(utterance "i like pulp fiction the most")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE pulp_fiction)))
)
(example
(utterance "i currently live in munich")
(targetFormula (triples (triple rb:active_person rb:LIVE_IN munich)))
)
(example
(utterance "i last saw finding nemo")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE finding_nemo)))
)
(example
(utterance "i swim in my free time")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "What is my favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:active_person))
)
(example
(utterance "What do you do?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "What is my favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:active_person))
)
(example
(utterance "What do you do?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "i go to UW")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT uw)))
)
(example
(utterance "Am I a member of some cool organization?")
(targetFormula (!rb:MEMBER_OF rb:active_person))
)
(example
(utterance "i work at Nokia")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR nokia)))
)
(example
(utterance "How do you spend your free time?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "i earn my living at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "i was born in nicaragua")
(targetFormula (triples (triple rb:active_person rb:FROM nicaragua)))
)
(example
(utterance "my hobby is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "What is your name?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Where was I born?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "my or your name or hobby is emily and alona")
(targetFormula (triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona)))))
)
(example
(utterance "Where was I born?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "my or your name or hobby is emily and alona")
(targetFormula (triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona)))))
)
(example
(utterance "Where do you work?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "What is your alma mater?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "my name is emily and your name is roboy")
(targetFormula (list (triples (triple rb:active_person rb:NAME_OF emily)) (triples (triple rb:Roboy rb:NAME_OF roboy))))
)
(example
(utterance "What is my favorite thing to do?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "What do you work as?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "my favorite tv show is ellen and your favorite movie is titanic")
(targetFormula (list (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)) (triples (triple rb:Roboy rb:FAVORITE_MOVIE titanic))))
)
(example
(utterance "my name is elsa and anna")
(targetFormula (triples (triple rb:active_person rb:NAME_OF elsa) (triple rb:active_person rb:NAME_OF anna)))
)
(example
(utterance "Where do I earn my living?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "i am employed at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "What is your favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "i am employed at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "What is your favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "Which comedy do you like the most?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "i belong to IAESTE")
(targetFormula (triples (triple rb:active_person rb:MEMBER_OF iaeste)))
)
(example
(utterance "i come from poland")
(targetFormula (triples (triple rb:active_person rb:FROM poland)))
)
(example
(utterance "i study at TUM")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT tum)))
)
(example
(utterance "How do I spend my free time?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "What is my favourite movie?")
(targetFormula (!rb:FAVORITE_MOVIE rb:active_person))
)
(example
(utterance "my favorite tv show is ellen")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)))
)
(example
(utterance "For which company do I work?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Do I belong to any organizations?")
(targetFormula (!rb:MEMBER_OF rb:active_person))
)
(example
(utterance "Who is my employer?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Do I belong to any organizations?")
(targetFormula (!rb:MEMBER_OF rb:active_person))
)
(example
(utterance "Who is my employer?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Which organization do I work at?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "What is your field of expertise?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "What is my name?")
(targetFormula (!rb:NAME_OF rb:active_person))
)
(example
(utterance "i earn my living at Samsung and you work at Roboy")
(targetFormula (list (triples (triple rb:active_person rb:WORK_FOR samsung)) (triples (triple rb:active_person rb:WORK_FOR roboy))))
)
(example
(utterance "my favorite movie is titanic")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE titanic)))
)
(example
(utterance "Which city do I live in?")
(targetFormula (!rb:LIVE_IN rb:active_person))
)
(example
(utterance "i live in munich")
(targetFormula (triples (triple rb:active_person rb:LIVE_IN munich)))
)
(example
(utterance "Have I met any of your friends?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "my alma mater is TUW and you go to TUM")
(targetFormula (list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum))))
)
(example
(utterance "Which university do I go to?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "my alma mater is TUW and you go to TUM")
(targetFormula (list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum))))
)
(example
(utterance "Which university do I go to?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "What is my hobby?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "my field of expertise is finance and you work as a robot")
(targetFormula (list (triples (triple rb:active_person rb:OCCUPIED_AS finance)) (triples (triple rb:Roboy rb:OCCUPIED_AS robot))))
)
(example
(utterance "What do I work as?")
(targetFormula (!rb:OCCUPIED_AS rb:active_person))
)
(example
(utterance "call me christina")
(targetFormula (triples (triple rb:active_person rb:NAME_OF christina)))
)
(example
(utterance "What is your favourite movie?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "Who is your employer?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "Which town do you call your home?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "Where do you live?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "Which university do you study at?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "Where is my current home?")
(targetFormula (!rb:LIVE_IN rb:active_person))
)
(example
(utterance "Which university do you study at?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "Where is my current home?")
(targetFormula (!rb:LIVE_IN rb:active_person))
)
(example
(utterance "my favorite thing to do is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "Which university do I study at?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "my best friend is ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "How can I call you?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "What do you do in your free time?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "i work as a nurse")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS nurse)))
)
(example
(utterance "Which city do you live in?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "Where are you from?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "What is my alma mater?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "anna is my name")
(targetFormula (triples (triple rb:active_person rb:NAME_OF anna)))
)
(example
(utterance "What is my alma mater?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "anna is my name")
(targetFormula (triples (triple rb:active_person rb:NAME_OF anna)))
)
(example
(utterance "Where do I work?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Which university do you go to?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "Where do I study?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "What is my home country?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "my employer is Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "Who are you?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Do you belong to any organizations?")
(targetFormula (!rb:MEMBER_OF rb:Roboy))
)
(example
(utterance "Where were you born?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "Where are you employed?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "i belong to IAESTE and you belong to Roboy")
(targetFormula (list (triples (triple rb:active_person rb:MEMBER_OF iaeste)) (triples (triple rb:Roboy rb:MEMBER_OF Roboy))))
)

110
data/rpqa/2/train.json Normal file
View File

@ -0,0 +1,110 @@
[
{"type": "HAS_HOBBY", "utterance": "i like swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QWORK_FOR", "utterance": "For which company do you work?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "FROM", "utterance": "i was born in poland and you were born in switzerland", "targetFormula": "(list (triples (triple rb:active_person rb:FROM poland)) (triples (triple rb:Roboy rb:FROM switzerland)))"},
{"type": "QHAS_HOBBY", "utterance": "What is your hobby?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "QHAS_HOBBY", "utterance": "What is your favorite pastime activity?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "FRIEND_OF", "utterance": "i am friends with ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "QWORK_FOR", "utterance": "Which organization do you work at?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "OCCUPIED_AS", "utterance": "my field of expertise is finance", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS finance))"},
{"type": "QMEMBER_OF", "utterance": "Are you a member of some cool organization?", "targetFormula": "(!rb:MEMBER_OF rb:Roboy)"},
{"type": "FRIEND_OF", "utterance": "you met my friend ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "QFRIEND_OF", "utterance": "Who is your best friend?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "NAME", "utterance": "my name is emily", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF emily))"},
{"type": "FROM", "utterance": "my home country is ukraine", "targetFormula": "(triples (triple rb:active_person rb:FROM ukraine))"},
{"type": "QLIVE_IN", "utterance": "Where is your current home?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "QMOVIES", "utterance": "What was the last movie you saw in the cinema?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "WORK_FOR", "utterance": "i work for EY", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR ey))"},
{"type": "FRIEND_OF", "utterance": "my friend is called ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "STUDY_AT", "utterance": "my alma mater is TUW", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT tuw))"},
{"type": "MOVIES", "utterance": "i like pulp fiction the most", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE pulp_fiction))"},
{"type": "LIVE_IN", "utterance": "i currently live in munich", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN munich))"},
{"type": "MOVIES", "utterance": "i last saw finding nemo", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE finding_nemo))"},
{"type": "HAS_HOBBY", "utterance": "i swim in my free time", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QMOVIES", "utterance": "What is my favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What do you do?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "QMOVIES", "utterance": "What is my favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What do you do?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "STUDY_AT", "utterance": "i go to UW", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT uw))"},
{"type": "QMEMBER_OF", "utterance": "Am I a member of some cool organization?", "targetFormula": "(!rb:MEMBER_OF rb:active_person)"},
{"type": "WORK_FOR", "utterance": "i work at Nokia", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR nokia))"},
{"type": "QHAS_HOBBY", "utterance": "How do you spend your free time?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "WORK_FOR", "utterance": "i earn my living at Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "FROM", "utterance": "i was born in nicaragua", "targetFormula": "(triples (triple rb:active_person rb:FROM nicaragua))"},
{"type": "HAS_HOBBY", "utterance": "my hobby is swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QNAME", "utterance": "What is your name?", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"type": "QFROM", "utterance": "Where was I born?", "targetFormula": "(!rb:FROM rb:active_person)"},
{"type": "NAME", "utterance": "my or your name or hobby is emily and alona", "targetFormula": "(triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona))))"},
{"type": "QFROM", "utterance": "Where was I born?", "targetFormula": "(!rb:FROM rb:active_person)"},
{"type": "NAME", "utterance": "my or your name or hobby is emily and alona", "targetFormula": "(triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona))))"},
{"type": "QWORK_FOR", "utterance": "Where do you work?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "What is your alma mater?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"utterance": "my name is emily and your name is roboy", "type": "NAME", "targetFormula": "(list (triples (triple rb:active_person rb:NAME_OF emily)) (triples (triple rb:Roboy rb:NAME_OF roboy)))"},
{"type": "QHAS_HOBBY", "utterance": "What is my favorite thing to do?", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What do you work as?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "MOVIES", "utterance": "my favorite tv show is ellen and your favorite movie is titanic", "targetFormula": "(list (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)) (triples (triple rb:Roboy rb:FAVORITE_MOVIE titanic)))"},
{"type": "NAME", "utterance": "my name is elsa and anna", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF elsa) (triple rb:active_person rb:NAME_OF anna))"},
{"type": "QWORK_FOR", "utterance": "Where do I earn my living?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "WORK_FOR", "utterance": "i am employed at Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "QMOVIES", "utterance": "What is your favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "WORK_FOR", "utterance": "i am employed at Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "QMOVIES", "utterance": "What is your favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "QMOVIES", "utterance": "Which comedy do you like the most?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "MEMBER_OF", "utterance": "i belong to IAESTE", "targetFormula": "(triples (triple rb:active_person rb:MEMBER_OF iaeste))"},
{"type": "FROM", "utterance": "i come from poland", "targetFormula": "(triples (triple rb:active_person rb:FROM poland))"},
{"type": "STUDY_AT", "utterance": "i study at TUM", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT tum))"},
{"type": "QHAS_HOBBY", "utterance": "How do I spend my free time?", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"type": "QMOVIES", "utterance": "What is my favourite movie?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:active_person)"},
{"type": "MOVIES", "utterance": "my favorite tv show is ellen", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE ellen))"},
{"type": "QWORK_FOR", "utterance": "For which company do I work?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QMEMBER_OF", "utterance": "Do I belong to any organizations?", "targetFormula": "(!rb:MEMBER_OF rb:active_person)"},
{"type": "QWORK_FOR", "utterance": "Who is my employer?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QMEMBER_OF", "utterance": "Do I belong to any organizations?", "targetFormula": "(!rb:MEMBER_OF rb:active_person)"},
{"type": "QWORK_FOR", "utterance": "Who is my employer?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QWORK_FOR", "utterance": "Which organization do I work at?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What is your field of expertise?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "QNAME", "utterance": "What is my name?", "targetFormula": "(!rb:NAME_OF rb:active_person)"},
{"type": "WORK_FOR", "utterance": "i earn my living at Samsung and you work at Roboy", "targetFormula": "(list (triples (triple rb:active_person rb:WORK_FOR samsung)) (triples (triple rb:active_person rb:WORK_FOR roboy)))"},
{"type": "MOVIES", "utterance": "my favorite movie is titanic", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE titanic))"},
{"type": "QLIVE_IN", "utterance": "Which city do I live in?", "targetFormula": "(!rb:LIVE_IN rb:active_person)"},
{"type": "LIVE_IN", "utterance": "i live in munich", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN munich))"},
{"type": "QFRIEND_OF", "utterance": "Have I met any of your friends?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "STUDY_AT", "utterance": "my alma mater is TUW and you go to TUM", "targetFormula": "(list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum)))"},
{"type": "QSTUDY_AT", "utterance": "Which university do I go to?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "STUDY_AT", "utterance": "my alma mater is TUW and you go to TUM", "targetFormula": "(list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum)))"},
{"type": "QSTUDY_AT", "utterance": "Which university do I go to?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "QHAS_HOBBY", "utterance": "What is my hobby?", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"type": "OCCUPIED_AS", "utterance": "my field of expertise is finance and you work as a robot", "targetFormula": "(list (triples (triple rb:active_person rb:OCCUPIED_AS finance)) (triples (triple rb:Roboy rb:OCCUPIED_AS robot)))"},
{"type": "QOCCUPIED_AS", "utterance": "What do I work as?", "targetFormula": "(!rb:OCCUPIED_AS rb:active_person)"},
{"type": "NAME", "utterance": "call me christina", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF christina))"},
{"type": "QMOVIES", "utterance": "What is your favourite movie?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "QWORK_FOR", "utterance": "Who is your employer?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "QFROM", "utterance": "Which town do you call your home?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "QLIVE_IN", "utterance": "Where do you live?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "Which university do you study at?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"type": "QLIVE_IN", "utterance": "Where is my current home?", "targetFormula": "(!rb:LIVE_IN rb:active_person)"},
{"type": "QSTUDY_AT", "utterance": "Which university do you study at?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"type": "QLIVE_IN", "utterance": "Where is my current home?", "targetFormula": "(!rb:LIVE_IN rb:active_person)"},
{"type": "HAS_HOBBY", "utterance": "my favorite thing to do is swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QSTUDY_AT", "utterance": "Which university do I study at?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "FRIEND_OF", "utterance": "my best friend is ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "QNAME", "utterance": "How can I call you?", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"type": "QHAS_HOBBY", "utterance": "What do you do in your free time?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "OCCUPIED_AS", "utterance": "i work as a nurse", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS nurse))"},
{"type": "QLIVE_IN", "utterance": "Which city do you live in?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "QFROM", "utterance": "Where are you from?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "What is my alma mater?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "NAME", "utterance": "anna is my name", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF anna))"},
{"type": "QSTUDY_AT", "utterance": "What is my alma mater?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "NAME", "utterance": "anna is my name", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF anna))"},
{"type": "QWORK_FOR", "utterance": "Where do I work?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QSTUDY_AT", "utterance": "Which university do you go to?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "Where do I study?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "QFROM", "utterance": "What is my home country?", "targetFormula": "(!rb:FROM rb:active_person)"},
{"type": "WORK_FOR", "utterance": "my employer is Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "QNAME", "utterance": "Who are you?", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"type": "QMEMBER_OF", "utterance": "Do you belong to any organizations?", "targetFormula": "(!rb:MEMBER_OF rb:Roboy)"},
{"type": "QFROM", "utterance": "Where were you born?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "QWORK_FOR", "utterance": "Where are you employed?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "MEMBER_OF", "utterance": "i belong to IAESTE and you belong to Roboy", "targetFormula": "(list (triples (triple rb:active_person rb:MEMBER_OF iaeste)) (triples (triple rb:Roboy rb:MEMBER_OF Roboy)))"}
]

48
data/rpqa/3/test.examples Normal file
View File

@ -0,0 +1,48 @@
(example
(utterance "my home country is ukraine")
(targetFormula (triples (triple rb:active_person rb:FROM ukraine)))
)
(example
(utterance "Where is your current home?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "What was the last movie you saw in the cinema?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "i work for EY")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR ey)))
)
(example
(utterance "my friend is called ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "my alma mater is TUW")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT tuw)))
)
(example
(utterance "i like pulp fiction the most")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE pulp_fiction)))
)
(example
(utterance "i currently live in munich")
(targetFormula (triples (triple rb:active_person rb:LIVE_IN munich)))
)
(example
(utterance "i last saw finding nemo")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE finding_nemo)))
)
(example
(utterance "i swim in my free time")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "What is my favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:active_person))
)
(example
(utterance "What do you do?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)

14
data/rpqa/3/test.json Normal file
View File

@ -0,0 +1,14 @@
[
{"type": "FROM", "utterance": "my home country is ukraine", "targetFormula": "(triples (triple rb:active_person rb:FROM ukraine))"},
{"type": "QLIVE_IN", "utterance": "Where is your current home?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "QMOVIES", "utterance": "What was the last movie you saw in the cinema?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "WORK_FOR", "utterance": "i work for EY", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR ey))"},
{"type": "FRIEND_OF", "utterance": "my friend is called ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "STUDY_AT", "utterance": "my alma mater is TUW", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT tuw))"},
{"type": "MOVIES", "utterance": "i like pulp fiction the most", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE pulp_fiction))"},
{"type": "LIVE_IN", "utterance": "i currently live in munich", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN munich))"},
{"type": "MOVIES", "utterance": "i last saw finding nemo", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE finding_nemo))"},
{"type": "HAS_HOBBY", "utterance": "i swim in my free time", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QMOVIES", "utterance": "What is my favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What do you do?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"}
]

432
data/rpqa/3/train.examples Normal file
View File

@ -0,0 +1,432 @@
(example
(utterance "i like swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "For which company do you work?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "i was born in poland and you were born in switzerland")
(targetFormula (list (triples (triple rb:active_person rb:FROM poland)) (triples (triple rb:Roboy rb:FROM switzerland))))
)
(example
(utterance "What is your hobby?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "What is your favorite pastime activity?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "i am friends with ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "Which organization do you work at?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "my field of expertise is finance")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS finance)))
)
(example
(utterance "Are you a member of some cool organization?")
(targetFormula (!rb:MEMBER_OF rb:Roboy))
)
(example
(utterance "you met my friend ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "Who is your best friend?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "my name is emily")
(targetFormula (triples (triple rb:active_person rb:NAME_OF emily)))
)
(example
(utterance "Who is your best friend?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "my name is emily")
(targetFormula (triples (triple rb:active_person rb:NAME_OF emily)))
)
(example
(utterance "my current home is warsaw and your current home is munich")
(targetFormula (list (triples (triple rb:active_person rb:LIVE_IN warsaw)) (triples (triple rb:roboy rb:LIVE_IN munich))))
)
(example
(utterance "What is your home country?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "people call me sam")
(targetFormula (triples (triple rb:active_person rb:NAME_OF sam)))
)
(example
(utterance "my favorite activity is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "Who is my best friend?")
(targetFormula (!rb:FRIEND_OF rb:active_person))
)
(example
(utterance "What is my field of expertise?")
(targetFormula (!rb:OCCUPIED_AS rb:active_person))
)
(example
(utterance "i am a teacher")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS teacher)))
)
(example
(utterance "Where am I employed?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "my home country is ukraine")
(targetFormula (triples (triple rb:active_person rb:FROM ukraine)))
)
(example
(utterance "Where is your current home?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "What is my favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:active_person))
)
(example
(utterance "What do you do?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "i go to UW")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT uw)))
)
(example
(utterance "Am I a member of some cool organization?")
(targetFormula (!rb:MEMBER_OF rb:active_person))
)
(example
(utterance "i work at Nokia")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR nokia)))
)
(example
(utterance "How do you spend your free time?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "i earn my living at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "i was born in nicaragua")
(targetFormula (triples (triple rb:active_person rb:FROM nicaragua)))
)
(example
(utterance "my hobby is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "What is your name?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Where was I born?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "my or your name or hobby is emily and alona")
(targetFormula (triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona)))))
)
(example
(utterance "Where was I born?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "my or your name or hobby is emily and alona")
(targetFormula (triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona)))))
)
(example
(utterance "Where do you work?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "What is your alma mater?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "my name is emily and your name is roboy")
(targetFormula (list (triples (triple rb:active_person rb:NAME_OF emily)) (triples (triple rb:Roboy rb:NAME_OF roboy))))
)
(example
(utterance "What is my favorite thing to do?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "What do you work as?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "my favorite tv show is ellen and your favorite movie is titanic")
(targetFormula (list (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)) (triples (triple rb:Roboy rb:FAVORITE_MOVIE titanic))))
)
(example
(utterance "my name is elsa and anna")
(targetFormula (triples (triple rb:active_person rb:NAME_OF elsa) (triple rb:active_person rb:NAME_OF anna)))
)
(example
(utterance "Where do I earn my living?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "i am employed at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "What is your favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "i am employed at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "What is your favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "Which comedy do you like the most?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "i belong to IAESTE")
(targetFormula (triples (triple rb:active_person rb:MEMBER_OF iaeste)))
)
(example
(utterance "i come from poland")
(targetFormula (triples (triple rb:active_person rb:FROM poland)))
)
(example
(utterance "i study at TUM")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT tum)))
)
(example
(utterance "How do I spend my free time?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "What is my favourite movie?")
(targetFormula (!rb:FAVORITE_MOVIE rb:active_person))
)
(example
(utterance "my favorite tv show is ellen")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)))
)
(example
(utterance "For which company do I work?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Do I belong to any organizations?")
(targetFormula (!rb:MEMBER_OF rb:active_person))
)
(example
(utterance "Who is my employer?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Do I belong to any organizations?")
(targetFormula (!rb:MEMBER_OF rb:active_person))
)
(example
(utterance "Who is my employer?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Which organization do I work at?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "What is your field of expertise?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "What is my name?")
(targetFormula (!rb:NAME_OF rb:active_person))
)
(example
(utterance "i earn my living at Samsung and you work at Roboy")
(targetFormula (list (triples (triple rb:active_person rb:WORK_FOR samsung)) (triples (triple rb:active_person rb:WORK_FOR roboy))))
)
(example
(utterance "my favorite movie is titanic")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE titanic)))
)
(example
(utterance "Which city do I live in?")
(targetFormula (!rb:LIVE_IN rb:active_person))
)
(example
(utterance "i live in munich")
(targetFormula (triples (triple rb:active_person rb:LIVE_IN munich)))
)
(example
(utterance "Have I met any of your friends?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "my alma mater is TUW and you go to TUM")
(targetFormula (list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum))))
)
(example
(utterance "Which university do I go to?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "my alma mater is TUW and you go to TUM")
(targetFormula (list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum))))
)
(example
(utterance "Which university do I go to?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "What is my hobby?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "my field of expertise is finance and you work as a robot")
(targetFormula (list (triples (triple rb:active_person rb:OCCUPIED_AS finance)) (triples (triple rb:Roboy rb:OCCUPIED_AS robot))))
)
(example
(utterance "What do I work as?")
(targetFormula (!rb:OCCUPIED_AS rb:active_person))
)
(example
(utterance "call me christina")
(targetFormula (triples (triple rb:active_person rb:NAME_OF christina)))
)
(example
(utterance "What is your favourite movie?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "Who is your employer?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "Which town do you call your home?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "Where do you live?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "Which university do you study at?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "Where is my current home?")
(targetFormula (!rb:LIVE_IN rb:active_person))
)
(example
(utterance "Which university do you study at?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "Where is my current home?")
(targetFormula (!rb:LIVE_IN rb:active_person))
)
(example
(utterance "my favorite thing to do is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "Which university do I study at?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "my best friend is ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "How can I call you?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "What do you do in your free time?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "i work as a nurse")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS nurse)))
)
(example
(utterance "Which city do you live in?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "Where are you from?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "What is my alma mater?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "anna is my name")
(targetFormula (triples (triple rb:active_person rb:NAME_OF anna)))
)
(example
(utterance "What is my alma mater?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "anna is my name")
(targetFormula (triples (triple rb:active_person rb:NAME_OF anna)))
)
(example
(utterance "Where do I work?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Which university do you go to?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "Where do I study?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "What is my home country?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "my employer is Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "Who are you?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Do you belong to any organizations?")
(targetFormula (!rb:MEMBER_OF rb:Roboy))
)
(example
(utterance "Where were you born?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "Where are you employed?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "i belong to IAESTE and you belong to Roboy")
(targetFormula (list (triples (triple rb:active_person rb:MEMBER_OF iaeste)) (triples (triple rb:Roboy rb:MEMBER_OF Roboy))))
)

110
data/rpqa/3/train.json Normal file
View File

@ -0,0 +1,110 @@
[
{"type": "HAS_HOBBY", "utterance": "i like swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QWORK_FOR", "utterance": "For which company do you work?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "FROM", "utterance": "i was born in poland and you were born in switzerland", "targetFormula": "(list (triples (triple rb:active_person rb:FROM poland)) (triples (triple rb:Roboy rb:FROM switzerland)))"},
{"type": "QHAS_HOBBY", "utterance": "What is your hobby?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "QHAS_HOBBY", "utterance": "What is your favorite pastime activity?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "FRIEND_OF", "utterance": "i am friends with ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "QWORK_FOR", "utterance": "Which organization do you work at?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "OCCUPIED_AS", "utterance": "my field of expertise is finance", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS finance))"},
{"type": "QMEMBER_OF", "utterance": "Are you a member of some cool organization?", "targetFormula": "(!rb:MEMBER_OF rb:Roboy)"},
{"type": "FRIEND_OF", "utterance": "you met my friend ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "QFRIEND_OF", "utterance": "Who is your best friend?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "NAME", "utterance": "my name is emily", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF emily))"},
{"type": "QFRIEND_OF", "utterance": "Who is your best friend?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "NAME", "utterance": "my name is emily", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF emily))"},
{"type": "LIVE_IN", "utterance": "my current home is warsaw and your current home is munich", "targetFormula": "(list (triples (triple rb:active_person rb:LIVE_IN warsaw)) (triples (triple rb:roboy rb:LIVE_IN munich)))"},
{"type": "QFROM", "utterance": "What is your home country?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "NAME", "utterance": "people call me sam", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF sam))"},
{"type": "HAS_HOBBY", "utterance": "my favorite activity is swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QFRIEND_OF", "utterance": "Who is my best friend?", "targetFormula": "(!rb:FRIEND_OF rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What is my field of expertise?", "targetFormula": "(!rb:OCCUPIED_AS rb:active_person)"},
{"type": "OCCUPIED_AS", "utterance": "i am a teacher", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS teacher))"},
{"type": "QWORK_FOR", "utterance": "Where am I employed?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "FROM", "utterance": "my home country is ukraine", "targetFormula": "(triples (triple rb:active_person rb:FROM ukraine))"},
{"type": "QLIVE_IN", "utterance": "Where is your current home?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "QMOVIES", "utterance": "What is my favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What do you do?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "STUDY_AT", "utterance": "i go to UW", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT uw))"},
{"type": "QMEMBER_OF", "utterance": "Am I a member of some cool organization?", "targetFormula": "(!rb:MEMBER_OF rb:active_person)"},
{"type": "WORK_FOR", "utterance": "i work at Nokia", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR nokia))"},
{"type": "QHAS_HOBBY", "utterance": "How do you spend your free time?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "WORK_FOR", "utterance": "i earn my living at Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "FROM", "utterance": "i was born in nicaragua", "targetFormula": "(triples (triple rb:active_person rb:FROM nicaragua))"},
{"type": "HAS_HOBBY", "utterance": "my hobby is swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QNAME", "utterance": "What is your name?", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"type": "QFROM", "utterance": "Where was I born?", "targetFormula": "(!rb:FROM rb:active_person)"},
{"type": "NAME", "utterance": "my or your name or hobby is emily and alona", "targetFormula": "(triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona))))"},
{"type": "QFROM", "utterance": "Where was I born?", "targetFormula": "(!rb:FROM rb:active_person)"},
{"type": "NAME", "utterance": "my or your name or hobby is emily and alona", "targetFormula": "(triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona))))"},
{"type": "QWORK_FOR", "utterance": "Where do you work?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "What is your alma mater?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"utterance": "my name is emily and your name is roboy", "type": "NAME", "targetFormula": "(list (triples (triple rb:active_person rb:NAME_OF emily)) (triples (triple rb:Roboy rb:NAME_OF roboy)))"},
{"type": "QHAS_HOBBY", "utterance": "What is my favorite thing to do?", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What do you work as?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "MOVIES", "utterance": "my favorite tv show is ellen and your favorite movie is titanic", "targetFormula": "(list (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)) (triples (triple rb:Roboy rb:FAVORITE_MOVIE titanic)))"},
{"type": "NAME", "utterance": "my name is elsa and anna", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF elsa) (triple rb:active_person rb:NAME_OF anna))"},
{"type": "QWORK_FOR", "utterance": "Where do I earn my living?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "WORK_FOR", "utterance": "i am employed at Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "QMOVIES", "utterance": "What is your favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "WORK_FOR", "utterance": "i am employed at Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "QMOVIES", "utterance": "What is your favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "QMOVIES", "utterance": "Which comedy do you like the most?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "MEMBER_OF", "utterance": "i belong to IAESTE", "targetFormula": "(triples (triple rb:active_person rb:MEMBER_OF iaeste))"},
{"type": "FROM", "utterance": "i come from poland", "targetFormula": "(triples (triple rb:active_person rb:FROM poland))"},
{"type": "STUDY_AT", "utterance": "i study at TUM", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT tum))"},
{"type": "QHAS_HOBBY", "utterance": "How do I spend my free time?", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"type": "QMOVIES", "utterance": "What is my favourite movie?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:active_person)"},
{"type": "MOVIES", "utterance": "my favorite tv show is ellen", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE ellen))"},
{"type": "QWORK_FOR", "utterance": "For which company do I work?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QMEMBER_OF", "utterance": "Do I belong to any organizations?", "targetFormula": "(!rb:MEMBER_OF rb:active_person)"},
{"type": "QWORK_FOR", "utterance": "Who is my employer?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QMEMBER_OF", "utterance": "Do I belong to any organizations?", "targetFormula": "(!rb:MEMBER_OF rb:active_person)"},
{"type": "QWORK_FOR", "utterance": "Who is my employer?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QWORK_FOR", "utterance": "Which organization do I work at?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What is your field of expertise?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "QNAME", "utterance": "What is my name?", "targetFormula": "(!rb:NAME_OF rb:active_person)"},
{"type": "WORK_FOR", "utterance": "i earn my living at Samsung and you work at Roboy", "targetFormula": "(list (triples (triple rb:active_person rb:WORK_FOR samsung)) (triples (triple rb:active_person rb:WORK_FOR roboy)))"},
{"type": "MOVIES", "utterance": "my favorite movie is titanic", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE titanic))"},
{"type": "QLIVE_IN", "utterance": "Which city do I live in?", "targetFormula": "(!rb:LIVE_IN rb:active_person)"},
{"type": "LIVE_IN", "utterance": "i live in munich", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN munich))"},
{"type": "QFRIEND_OF", "utterance": "Have I met any of your friends?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "STUDY_AT", "utterance": "my alma mater is TUW and you go to TUM", "targetFormula": "(list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum)))"},
{"type": "QSTUDY_AT", "utterance": "Which university do I go to?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "STUDY_AT", "utterance": "my alma mater is TUW and you go to TUM", "targetFormula": "(list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum)))"},
{"type": "QSTUDY_AT", "utterance": "Which university do I go to?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "QHAS_HOBBY", "utterance": "What is my hobby?", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"type": "OCCUPIED_AS", "utterance": "my field of expertise is finance and you work as a robot", "targetFormula": "(list (triples (triple rb:active_person rb:OCCUPIED_AS finance)) (triples (triple rb:Roboy rb:OCCUPIED_AS robot)))"},
{"type": "QOCCUPIED_AS", "utterance": "What do I work as?", "targetFormula": "(!rb:OCCUPIED_AS rb:active_person)"},
{"type": "NAME", "utterance": "call me christina", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF christina))"},
{"type": "QMOVIES", "utterance": "What is your favourite movie?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "QWORK_FOR", "utterance": "Who is your employer?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "QFROM", "utterance": "Which town do you call your home?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "QLIVE_IN", "utterance": "Where do you live?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "Which university do you study at?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"type": "QLIVE_IN", "utterance": "Where is my current home?", "targetFormula": "(!rb:LIVE_IN rb:active_person)"},
{"type": "QSTUDY_AT", "utterance": "Which university do you study at?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"type": "QLIVE_IN", "utterance": "Where is my current home?", "targetFormula": "(!rb:LIVE_IN rb:active_person)"},
{"type": "HAS_HOBBY", "utterance": "my favorite thing to do is swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QSTUDY_AT", "utterance": "Which university do I study at?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "FRIEND_OF", "utterance": "my best friend is ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "QNAME", "utterance": "How can I call you?", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"type": "QHAS_HOBBY", "utterance": "What do you do in your free time?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "OCCUPIED_AS", "utterance": "i work as a nurse", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS nurse))"},
{"type": "QLIVE_IN", "utterance": "Which city do you live in?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "QFROM", "utterance": "Where are you from?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "What is my alma mater?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "NAME", "utterance": "anna is my name", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF anna))"},
{"type": "QSTUDY_AT", "utterance": "What is my alma mater?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "NAME", "utterance": "anna is my name", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF anna))"},
{"type": "QWORK_FOR", "utterance": "Where do I work?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QSTUDY_AT", "utterance": "Which university do you go to?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "Where do I study?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "QFROM", "utterance": "What is my home country?", "targetFormula": "(!rb:FROM rb:active_person)"},
{"type": "WORK_FOR", "utterance": "my employer is Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "QNAME", "utterance": "Who are you?", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"type": "QMEMBER_OF", "utterance": "Do you belong to any organizations?", "targetFormula": "(!rb:MEMBER_OF rb:Roboy)"},
{"type": "QFROM", "utterance": "Where were you born?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "QWORK_FOR", "utterance": "Where are you employed?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "MEMBER_OF", "utterance": "i belong to IAESTE and you belong to Roboy", "targetFormula": "(list (triples (triple rb:active_person rb:MEMBER_OF iaeste)) (triples (triple rb:Roboy rb:MEMBER_OF Roboy)))"}
]

48
data/rpqa/4/test.examples Normal file
View File

@ -0,0 +1,48 @@
(example
(utterance "What is my favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:active_person))
)
(example
(utterance "What do you do?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "i go to UW")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT uw)))
)
(example
(utterance "Am I a member of some cool organization?")
(targetFormula (!rb:MEMBER_OF rb:active_person))
)
(example
(utterance "i work at Nokia")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR nokia)))
)
(example
(utterance "How do you spend your free time?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "i earn my living at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "i was born in nicaragua")
(targetFormula (triples (triple rb:active_person rb:FROM nicaragua)))
)
(example
(utterance "my hobby is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "What is your name?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Where was I born?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "my or your name or hobby is emily and alona")
(targetFormula (triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona)))))
)

14
data/rpqa/4/test.json Normal file
View File

@ -0,0 +1,14 @@
[
{"type": "QMOVIES", "utterance": "What is my favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What do you do?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "STUDY_AT", "utterance": "i go to UW", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT uw))"},
{"type": "QMEMBER_OF", "utterance": "Am I a member of some cool organization?", "targetFormula": "(!rb:MEMBER_OF rb:active_person)"},
{"type": "WORK_FOR", "utterance": "i work at Nokia", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR nokia))"},
{"type": "QHAS_HOBBY", "utterance": "How do you spend your free time?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "WORK_FOR", "utterance": "i earn my living at Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "FROM", "utterance": "i was born in nicaragua", "targetFormula": "(triples (triple rb:active_person rb:FROM nicaragua))"},
{"type": "HAS_HOBBY", "utterance": "my hobby is swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QNAME", "utterance": "What is your name?", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"type": "QFROM", "utterance": "Where was I born?", "targetFormula": "(!rb:FROM rb:active_person)"},
{"type": "NAME", "utterance": "my or your name or hobby is emily and alona", "targetFormula": "(triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona))))"}
]

432
data/rpqa/4/train.examples Normal file
View File

@ -0,0 +1,432 @@
(example
(utterance "i like swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "For which company do you work?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "i was born in poland and you were born in switzerland")
(targetFormula (list (triples (triple rb:active_person rb:FROM poland)) (triples (triple rb:Roboy rb:FROM switzerland))))
)
(example
(utterance "What is your hobby?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "What is your favorite pastime activity?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "i am friends with ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "Which organization do you work at?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "my field of expertise is finance")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS finance)))
)
(example
(utterance "Are you a member of some cool organization?")
(targetFormula (!rb:MEMBER_OF rb:Roboy))
)
(example
(utterance "you met my friend ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "Who is your best friend?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "my name is emily")
(targetFormula (triples (triple rb:active_person rb:NAME_OF emily)))
)
(example
(utterance "Who is your best friend?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "my name is emily")
(targetFormula (triples (triple rb:active_person rb:NAME_OF emily)))
)
(example
(utterance "my current home is warsaw and your current home is munich")
(targetFormula (list (triples (triple rb:active_person rb:LIVE_IN warsaw)) (triples (triple rb:roboy rb:LIVE_IN munich))))
)
(example
(utterance "What is your home country?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "people call me sam")
(targetFormula (triples (triple rb:active_person rb:NAME_OF sam)))
)
(example
(utterance "my favorite activity is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "Who is my best friend?")
(targetFormula (!rb:FRIEND_OF rb:active_person))
)
(example
(utterance "What is my field of expertise?")
(targetFormula (!rb:OCCUPIED_AS rb:active_person))
)
(example
(utterance "i am a teacher")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS teacher)))
)
(example
(utterance "Where am I employed?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "my home country is ukraine")
(targetFormula (triples (triple rb:active_person rb:FROM ukraine)))
)
(example
(utterance "Where is your current home?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "my home country is ukraine")
(targetFormula (triples (triple rb:active_person rb:FROM ukraine)))
)
(example
(utterance "Where is your current home?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "What was the last movie you saw in the cinema?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "i work for EY")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR ey)))
)
(example
(utterance "my friend is called ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "my alma mater is TUW")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT tuw)))
)
(example
(utterance "i like pulp fiction the most")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE pulp_fiction)))
)
(example
(utterance "i currently live in munich")
(targetFormula (triples (triple rb:active_person rb:LIVE_IN munich)))
)
(example
(utterance "i last saw finding nemo")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE finding_nemo)))
)
(example
(utterance "i swim in my free time")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "What is my favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:active_person))
)
(example
(utterance "What do you do?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "Where was I born?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "my or your name or hobby is emily and alona")
(targetFormula (triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona)))))
)
(example
(utterance "Where do you work?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "What is your alma mater?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "my name is emily and your name is roboy")
(targetFormula (list (triples (triple rb:active_person rb:NAME_OF emily)) (triples (triple rb:Roboy rb:NAME_OF roboy))))
)
(example
(utterance "What is my favorite thing to do?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "What do you work as?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "my favorite tv show is ellen and your favorite movie is titanic")
(targetFormula (list (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)) (triples (triple rb:Roboy rb:FAVORITE_MOVIE titanic))))
)
(example
(utterance "my name is elsa and anna")
(targetFormula (triples (triple rb:active_person rb:NAME_OF elsa) (triple rb:active_person rb:NAME_OF anna)))
)
(example
(utterance "Where do I earn my living?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "i am employed at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "What is your favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "i am employed at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "What is your favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "Which comedy do you like the most?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "i belong to IAESTE")
(targetFormula (triples (triple rb:active_person rb:MEMBER_OF iaeste)))
)
(example
(utterance "i come from poland")
(targetFormula (triples (triple rb:active_person rb:FROM poland)))
)
(example
(utterance "i study at TUM")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT tum)))
)
(example
(utterance "How do I spend my free time?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "What is my favourite movie?")
(targetFormula (!rb:FAVORITE_MOVIE rb:active_person))
)
(example
(utterance "my favorite tv show is ellen")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)))
)
(example
(utterance "For which company do I work?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Do I belong to any organizations?")
(targetFormula (!rb:MEMBER_OF rb:active_person))
)
(example
(utterance "Who is my employer?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Do I belong to any organizations?")
(targetFormula (!rb:MEMBER_OF rb:active_person))
)
(example
(utterance "Who is my employer?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Which organization do I work at?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "What is your field of expertise?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "What is my name?")
(targetFormula (!rb:NAME_OF rb:active_person))
)
(example
(utterance "i earn my living at Samsung and you work at Roboy")
(targetFormula (list (triples (triple rb:active_person rb:WORK_FOR samsung)) (triples (triple rb:active_person rb:WORK_FOR roboy))))
)
(example
(utterance "my favorite movie is titanic")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE titanic)))
)
(example
(utterance "Which city do I live in?")
(targetFormula (!rb:LIVE_IN rb:active_person))
)
(example
(utterance "i live in munich")
(targetFormula (triples (triple rb:active_person rb:LIVE_IN munich)))
)
(example
(utterance "Have I met any of your friends?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "my alma mater is TUW and you go to TUM")
(targetFormula (list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum))))
)
(example
(utterance "Which university do I go to?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "my alma mater is TUW and you go to TUM")
(targetFormula (list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum))))
)
(example
(utterance "Which university do I go to?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "What is my hobby?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "my field of expertise is finance and you work as a robot")
(targetFormula (list (triples (triple rb:active_person rb:OCCUPIED_AS finance)) (triples (triple rb:Roboy rb:OCCUPIED_AS robot))))
)
(example
(utterance "What do I work as?")
(targetFormula (!rb:OCCUPIED_AS rb:active_person))
)
(example
(utterance "call me christina")
(targetFormula (triples (triple rb:active_person rb:NAME_OF christina)))
)
(example
(utterance "What is your favourite movie?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "Who is your employer?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "Which town do you call your home?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "Where do you live?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "Which university do you study at?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "Where is my current home?")
(targetFormula (!rb:LIVE_IN rb:active_person))
)
(example
(utterance "Which university do you study at?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "Where is my current home?")
(targetFormula (!rb:LIVE_IN rb:active_person))
)
(example
(utterance "my favorite thing to do is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "Which university do I study at?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "my best friend is ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "How can I call you?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "What do you do in your free time?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "i work as a nurse")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS nurse)))
)
(example
(utterance "Which city do you live in?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "Where are you from?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "What is my alma mater?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "anna is my name")
(targetFormula (triples (triple rb:active_person rb:NAME_OF anna)))
)
(example
(utterance "What is my alma mater?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "anna is my name")
(targetFormula (triples (triple rb:active_person rb:NAME_OF anna)))
)
(example
(utterance "Where do I work?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Which university do you go to?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "Where do I study?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "What is my home country?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "my employer is Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "Who are you?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Do you belong to any organizations?")
(targetFormula (!rb:MEMBER_OF rb:Roboy))
)
(example
(utterance "Where were you born?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "Where are you employed?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "i belong to IAESTE and you belong to Roboy")
(targetFormula (list (triples (triple rb:active_person rb:MEMBER_OF iaeste)) (triples (triple rb:Roboy rb:MEMBER_OF Roboy))))
)

110
data/rpqa/4/train.json Normal file
View File

@ -0,0 +1,110 @@
[
{"type": "HAS_HOBBY", "utterance": "i like swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QWORK_FOR", "utterance": "For which company do you work?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "FROM", "utterance": "i was born in poland and you were born in switzerland", "targetFormula": "(list (triples (triple rb:active_person rb:FROM poland)) (triples (triple rb:Roboy rb:FROM switzerland)))"},
{"type": "QHAS_HOBBY", "utterance": "What is your hobby?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "QHAS_HOBBY", "utterance": "What is your favorite pastime activity?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "FRIEND_OF", "utterance": "i am friends with ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "QWORK_FOR", "utterance": "Which organization do you work at?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "OCCUPIED_AS", "utterance": "my field of expertise is finance", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS finance))"},
{"type": "QMEMBER_OF", "utterance": "Are you a member of some cool organization?", "targetFormula": "(!rb:MEMBER_OF rb:Roboy)"},
{"type": "FRIEND_OF", "utterance": "you met my friend ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "QFRIEND_OF", "utterance": "Who is your best friend?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "NAME", "utterance": "my name is emily", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF emily))"},
{"type": "QFRIEND_OF", "utterance": "Who is your best friend?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "NAME", "utterance": "my name is emily", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF emily))"},
{"type": "LIVE_IN", "utterance": "my current home is warsaw and your current home is munich", "targetFormula": "(list (triples (triple rb:active_person rb:LIVE_IN warsaw)) (triples (triple rb:roboy rb:LIVE_IN munich)))"},
{"type": "QFROM", "utterance": "What is your home country?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "NAME", "utterance": "people call me sam", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF sam))"},
{"type": "HAS_HOBBY", "utterance": "my favorite activity is swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QFRIEND_OF", "utterance": "Who is my best friend?", "targetFormula": "(!rb:FRIEND_OF rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What is my field of expertise?", "targetFormula": "(!rb:OCCUPIED_AS rb:active_person)"},
{"type": "OCCUPIED_AS", "utterance": "i am a teacher", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS teacher))"},
{"type": "QWORK_FOR", "utterance": "Where am I employed?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "FROM", "utterance": "my home country is ukraine", "targetFormula": "(triples (triple rb:active_person rb:FROM ukraine))"},
{"type": "QLIVE_IN", "utterance": "Where is your current home?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "FROM", "utterance": "my home country is ukraine", "targetFormula": "(triples (triple rb:active_person rb:FROM ukraine))"},
{"type": "QLIVE_IN", "utterance": "Where is your current home?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "QMOVIES", "utterance": "What was the last movie you saw in the cinema?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "WORK_FOR", "utterance": "i work for EY", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR ey))"},
{"type": "FRIEND_OF", "utterance": "my friend is called ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "STUDY_AT", "utterance": "my alma mater is TUW", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT tuw))"},
{"type": "MOVIES", "utterance": "i like pulp fiction the most", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE pulp_fiction))"},
{"type": "LIVE_IN", "utterance": "i currently live in munich", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN munich))"},
{"type": "MOVIES", "utterance": "i last saw finding nemo", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE finding_nemo))"},
{"type": "HAS_HOBBY", "utterance": "i swim in my free time", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QMOVIES", "utterance": "What is my favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What do you do?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "QFROM", "utterance": "Where was I born?", "targetFormula": "(!rb:FROM rb:active_person)"},
{"type": "NAME", "utterance": "my or your name or hobby is emily and alona", "targetFormula": "(triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona))))"},
{"type": "QWORK_FOR", "utterance": "Where do you work?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "What is your alma mater?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"utterance": "my name is emily and your name is roboy", "type": "NAME", "targetFormula": "(list (triples (triple rb:active_person rb:NAME_OF emily)) (triples (triple rb:Roboy rb:NAME_OF roboy)))"},
{"type": "QHAS_HOBBY", "utterance": "What is my favorite thing to do?", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What do you work as?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "MOVIES", "utterance": "my favorite tv show is ellen and your favorite movie is titanic", "targetFormula": "(list (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)) (triples (triple rb:Roboy rb:FAVORITE_MOVIE titanic)))"},
{"type": "NAME", "utterance": "my name is elsa and anna", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF elsa) (triple rb:active_person rb:NAME_OF anna))"},
{"type": "QWORK_FOR", "utterance": "Where do I earn my living?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "WORK_FOR", "utterance": "i am employed at Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "QMOVIES", "utterance": "What is your favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "WORK_FOR", "utterance": "i am employed at Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "QMOVIES", "utterance": "What is your favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "QMOVIES", "utterance": "Which comedy do you like the most?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "MEMBER_OF", "utterance": "i belong to IAESTE", "targetFormula": "(triples (triple rb:active_person rb:MEMBER_OF iaeste))"},
{"type": "FROM", "utterance": "i come from poland", "targetFormula": "(triples (triple rb:active_person rb:FROM poland))"},
{"type": "STUDY_AT", "utterance": "i study at TUM", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT tum))"},
{"type": "QHAS_HOBBY", "utterance": "How do I spend my free time?", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"type": "QMOVIES", "utterance": "What is my favourite movie?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:active_person)"},
{"type": "MOVIES", "utterance": "my favorite tv show is ellen", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE ellen))"},
{"type": "QWORK_FOR", "utterance": "For which company do I work?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QMEMBER_OF", "utterance": "Do I belong to any organizations?", "targetFormula": "(!rb:MEMBER_OF rb:active_person)"},
{"type": "QWORK_FOR", "utterance": "Who is my employer?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QMEMBER_OF", "utterance": "Do I belong to any organizations?", "targetFormula": "(!rb:MEMBER_OF rb:active_person)"},
{"type": "QWORK_FOR", "utterance": "Who is my employer?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QWORK_FOR", "utterance": "Which organization do I work at?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What is your field of expertise?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "QNAME", "utterance": "What is my name?", "targetFormula": "(!rb:NAME_OF rb:active_person)"},
{"type": "WORK_FOR", "utterance": "i earn my living at Samsung and you work at Roboy", "targetFormula": "(list (triples (triple rb:active_person rb:WORK_FOR samsung)) (triples (triple rb:active_person rb:WORK_FOR roboy)))"},
{"type": "MOVIES", "utterance": "my favorite movie is titanic", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE titanic))"},
{"type": "QLIVE_IN", "utterance": "Which city do I live in?", "targetFormula": "(!rb:LIVE_IN rb:active_person)"},
{"type": "LIVE_IN", "utterance": "i live in munich", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN munich))"},
{"type": "QFRIEND_OF", "utterance": "Have I met any of your friends?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "STUDY_AT", "utterance": "my alma mater is TUW and you go to TUM", "targetFormula": "(list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum)))"},
{"type": "QSTUDY_AT", "utterance": "Which university do I go to?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "STUDY_AT", "utterance": "my alma mater is TUW and you go to TUM", "targetFormula": "(list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum)))"},
{"type": "QSTUDY_AT", "utterance": "Which university do I go to?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "QHAS_HOBBY", "utterance": "What is my hobby?", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"type": "OCCUPIED_AS", "utterance": "my field of expertise is finance and you work as a robot", "targetFormula": "(list (triples (triple rb:active_person rb:OCCUPIED_AS finance)) (triples (triple rb:Roboy rb:OCCUPIED_AS robot)))"},
{"type": "QOCCUPIED_AS", "utterance": "What do I work as?", "targetFormula": "(!rb:OCCUPIED_AS rb:active_person)"},
{"type": "NAME", "utterance": "call me christina", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF christina))"},
{"type": "QMOVIES", "utterance": "What is your favourite movie?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "QWORK_FOR", "utterance": "Who is your employer?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "QFROM", "utterance": "Which town do you call your home?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "QLIVE_IN", "utterance": "Where do you live?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "Which university do you study at?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"type": "QLIVE_IN", "utterance": "Where is my current home?", "targetFormula": "(!rb:LIVE_IN rb:active_person)"},
{"type": "QSTUDY_AT", "utterance": "Which university do you study at?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"type": "QLIVE_IN", "utterance": "Where is my current home?", "targetFormula": "(!rb:LIVE_IN rb:active_person)"},
{"type": "HAS_HOBBY", "utterance": "my favorite thing to do is swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QSTUDY_AT", "utterance": "Which university do I study at?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "FRIEND_OF", "utterance": "my best friend is ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "QNAME", "utterance": "How can I call you?", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"type": "QHAS_HOBBY", "utterance": "What do you do in your free time?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "OCCUPIED_AS", "utterance": "i work as a nurse", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS nurse))"},
{"type": "QLIVE_IN", "utterance": "Which city do you live in?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "QFROM", "utterance": "Where are you from?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "What is my alma mater?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "NAME", "utterance": "anna is my name", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF anna))"},
{"type": "QSTUDY_AT", "utterance": "What is my alma mater?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "NAME", "utterance": "anna is my name", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF anna))"},
{"type": "QWORK_FOR", "utterance": "Where do I work?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QSTUDY_AT", "utterance": "Which university do you go to?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "Where do I study?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "QFROM", "utterance": "What is my home country?", "targetFormula": "(!rb:FROM rb:active_person)"},
{"type": "WORK_FOR", "utterance": "my employer is Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "QNAME", "utterance": "Who are you?", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"type": "QMEMBER_OF", "utterance": "Do you belong to any organizations?", "targetFormula": "(!rb:MEMBER_OF rb:Roboy)"},
{"type": "QFROM", "utterance": "Where were you born?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "QWORK_FOR", "utterance": "Where are you employed?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "MEMBER_OF", "utterance": "i belong to IAESTE and you belong to Roboy", "targetFormula": "(list (triples (triple rb:active_person rb:MEMBER_OF iaeste)) (triples (triple rb:Roboy rb:MEMBER_OF Roboy)))"}
]

48
data/rpqa/5/test.examples Normal file
View File

@ -0,0 +1,48 @@
(example
(utterance "Where was I born?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "my or your name or hobby is emily and alona")
(targetFormula (triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona)))))
)
(example
(utterance "Where do you work?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "What is your alma mater?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "my name is emily and your name is roboy")
(targetFormula (list (triples (triple rb:active_person rb:NAME_OF emily)) (triples (triple rb:Roboy rb:NAME_OF roboy))))
)
(example
(utterance "What is my favorite thing to do?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "What do you work as?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "my favorite tv show is ellen and your favorite movie is titanic")
(targetFormula (list (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)) (triples (triple rb:Roboy rb:FAVORITE_MOVIE titanic))))
)
(example
(utterance "my name is elsa and anna")
(targetFormula (triples (triple rb:active_person rb:NAME_OF elsa) (triple rb:active_person rb:NAME_OF anna)))
)
(example
(utterance "Where do I earn my living?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "i am employed at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "What is your favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)

14
data/rpqa/5/test.json Normal file
View File

@ -0,0 +1,14 @@
[
{"type": "QFROM", "utterance": "Where was I born?", "targetFormula": "(!rb:FROM rb:active_person)"},
{"type": "NAME", "utterance": "my or your name or hobby is emily and alona", "targetFormula": "(triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona))))"},
{"type": "QWORK_FOR", "utterance": "Where do you work?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "What is your alma mater?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"utterance": "my name is emily and your name is roboy", "type": "NAME", "targetFormula": "(list (triples (triple rb:active_person rb:NAME_OF emily)) (triples (triple rb:Roboy rb:NAME_OF roboy)))"},
{"type": "QHAS_HOBBY", "utterance": "What is my favorite thing to do?", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What do you work as?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "MOVIES", "utterance": "my favorite tv show is ellen and your favorite movie is titanic", "targetFormula": "(list (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)) (triples (triple rb:Roboy rb:FAVORITE_MOVIE titanic)))"},
{"type": "NAME", "utterance": "my name is elsa and anna", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF elsa) (triple rb:active_person rb:NAME_OF anna))"},
{"type": "QWORK_FOR", "utterance": "Where do I earn my living?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "WORK_FOR", "utterance": "i am employed at Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "QMOVIES", "utterance": "What is your favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"}
]

View File

@ -1,165 +1,41 @@
(example
(utterance "my name is emily")
(targetFormula (triples (triple rb:active_person rb:NAME_OF emily)))
)
(example
(utterance "anna is my name")
(targetFormula (triples (triple rb:active_person rb:NAME_OF anna)))
)
(example
(utterance "i am hannah")
(targetFormula (triples (triple rb:active_person rb:NAME_OF hannah)))
)
(example
(utterance "call me christina")
(targetFormula (triples (triple rb:active_person rb:NAME_OF christina)))
)
(example
(utterance "people call me sam")
(targetFormula (triples (triple rb:active_person rb:NAME_OF sam)))
)
(example
(utterance "my name is elsa and anna")
(targetFormula (triples (triple rb:active_person rb:NAME_OF elsa) (triple rb:active_person rb:NAME_OF anna)))
)
(example
(utterance "my or your name or hobby is emily and alona")
(targetFormula (triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona)))))
)
(example
(utterance "How can I call you?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "What is your name?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Who are you?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "i come from poland")
(targetFormula (triples (triple rb:active_person rb:FROM poland)))
)
(example
(utterance "i am from russia")
(targetFormula (triples (triple rb:active_person rb:FROM russia)))
)
(example
(utterance "my home country is ukraine")
(targetFormula (triples (triple rb:active_person rb:FROM ukraine)))
)
(example
(utterance "i was born in nicaragua")
(targetFormula (triples (triple rb:active_person rb:FROM nicaragua)))
)
(example
(utterance "i was born in poland or russia")
(targetFormula (triples or (triple rb:active_person rb:FROM poland) (triple rb:active_person rb:FROM russia)))
)
(example
(utterance "Where are you from?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "Where were you born?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "What is your home countr?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "Which town do you call your home?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "my favorite thing to do is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "my hobby is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "i like swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "i swim in my free time")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
(utterance "For which company do you work?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "i spend my free time swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "my favorite activity is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "What is your favorite thing to do?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "What is your favorite thing to do?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "What do you do in your free time?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
(utterance "i was born in poland and you were born in switzerland")
(targetFormula (list (triples (triple rb:active_person rb:FROM poland)) (triples (triple rb:Roboy rb:FROM switzerland))))
)
(example
(utterance "What is your hobby?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "How do you spend your free time?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "What is your favorite pastime activity?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "i currently live in munich")
(targetFormula (triples (triple rb:active_person rb:LIVE_IN munich)))
)
(example
(utterance "i live in munich")
(targetFormula (triples (triple rb:active_person rb:LIVE_IN munich)))
)
(example
(utterance "my current home is warsaw")
(targetFormula (triples (triple rb:active_person rb:LIVE_IN warsaw)))
)
(example
(utterance "Where do you live?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "Which city do you live in?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "Where is your current home?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "my best friend is ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "i am friends with ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "you met my friend ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
(utterance "Which organization do you work at?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "my friend is called ben")
(utterance "my field of expertise is finance")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS finance)))
)
(example
(utterance "Are you a member of some cool organization?")
(targetFormula (!rb:MEMBER_OF rb:Roboy))
)
(example
(utterance "you met my friend ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
@ -167,128 +43,156 @@
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "Have I met any of your friends?")
(utterance "my name is emily")
(targetFormula (triples (triple rb:active_person rb:NAME_OF emily)))
)
(example
(utterance "Who is your best friend?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "Do you have a friend whom I have met?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
(utterance "my name is emily")
(targetFormula (triples (triple rb:active_person rb:NAME_OF emily)))
)
(example
(utterance "Maybe I know some friends of yours. Would you name one?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
(utterance "my current home is warsaw and your current home is munich")
(targetFormula (list (triples (triple rb:active_person rb:LIVE_IN warsaw)) (triples (triple rb:roboy rb:LIVE_IN munich))))
)
(example
(utterance "i study at TUM")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT tum)))
(utterance "What is your home country?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "i go to UW")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT uw)))
(utterance "people call me sam")
(targetFormula (triples (triple rb:active_person rb:NAME_OF sam)))
)
(example
(utterance "my alma mater is TUW")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT tuw)))
(utterance "my favorite activity is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "Where do you study?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
(utterance "Who is my best friend?")
(targetFormula (!rb:FRIEND_OF rb:active_person))
)
(example
(utterance "Which university do you go to?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
(utterance "What is my field of expertise?")
(targetFormula (!rb:OCCUPIED_AS rb:active_person))
)
(example
(utterance "Which university do you study at?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
(utterance "i am a teacher")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS teacher)))
)
(example
(utterance "What is your alma mater?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
(utterance "Where am I employed?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "i am a Roboy Team member")
(targetFormula (triples (triple rb:active_person rb:MEMBER_OF roboy_team)))
(utterance "my home country is ukraine")
(targetFormula (triples (triple rb:active_person rb:FROM ukraine)))
)
(example
(utterance "i belong to IAESTE")
(targetFormula (triples (triple rb:active_person rb:MEMBER_OF iaeste)))
(utterance "Where is your current home?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "Are you a member of some cool organization?")
(targetFormula (!rb:MEMBER_OF rb:Roboy))
(utterance "my home country is ukraine")
(targetFormula (triples (triple rb:active_person rb:FROM ukraine)))
)
(example
(utterance "Do you belong to any organizations?")
(targetFormula (!rb:MEMBER_OF rb:Roboy))
(utterance "Where is your current home?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "What was the last movie you saw in the cinema?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "i work for EY")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR ey)))
)
(example
(utterance "i work at Nokia")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR nokia)))
(utterance "my friend is called ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "my employer is Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "i am employed at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "i earn my living at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "Where do you work?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "For which company do you work?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "Who is your employer?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "Where are you employed?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "Which organization do you work at?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "Where do you earn your living?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "my favorite movie is titanic")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE titanic)))
)
(example
(utterance "i last saw finding nemo")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE finding_nemo)))
)
(example
(utterance "my favorite tv show is ellen")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)))
(utterance "my alma mater is TUW")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT tuw)))
)
(example
(utterance "i like pulp fiction the most")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE pulp_fiction)))
)
(example
(utterance "What is your favourite movie?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
(utterance "i currently live in munich")
(targetFormula (triples (triple rb:active_person rb:LIVE_IN munich)))
)
(example
(utterance "What was the last movie you saw in the cinema?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
(utterance "i last saw finding nemo")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE finding_nemo)))
)
(example
(utterance "i swim in my free time")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "What is my favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:active_person))
)
(example
(utterance "What do you do?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "What is my favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:active_person))
)
(example
(utterance "What do you do?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "i go to UW")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT uw)))
)
(example
(utterance "Am I a member of some cool organization?")
(targetFormula (!rb:MEMBER_OF rb:active_person))
)
(example
(utterance "i work at Nokia")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR nokia)))
)
(example
(utterance "How do you spend your free time?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "i earn my living at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "i was born in nicaragua")
(targetFormula (triples (triple rb:active_person rb:FROM nicaragua)))
)
(example
(utterance "my hobby is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "What is your name?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Where was I born?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "my or your name or hobby is emily and alona")
(targetFormula (triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona)))))
)
(example
(utterance "i am employed at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "What is your favorite TV show?")
@ -299,30 +203,230 @@
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "i am a teacher")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS teacher)))
(utterance "i belong to IAESTE")
(targetFormula (triples (triple rb:active_person rb:MEMBER_OF iaeste)))
)
(example
(utterance "i come from poland")
(targetFormula (triples (triple rb:active_person rb:FROM poland)))
)
(example
(utterance "i study at TUM")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT tum)))
)
(example
(utterance "How do I spend my free time?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "What is my favourite movie?")
(targetFormula (!rb:FAVORITE_MOVIE rb:active_person))
)
(example
(utterance "my favorite tv show is ellen")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)))
)
(example
(utterance "For which company do I work?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Do I belong to any organizations?")
(targetFormula (!rb:MEMBER_OF rb:active_person))
)
(example
(utterance "Who is my employer?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Do I belong to any organizations?")
(targetFormula (!rb:MEMBER_OF rb:active_person))
)
(example
(utterance "Who is my employer?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Which organization do I work at?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "What is your field of expertise?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "What is my name?")
(targetFormula (!rb:NAME_OF rb:active_person))
)
(example
(utterance "i earn my living at Samsung and you work at Roboy")
(targetFormula (list (triples (triple rb:active_person rb:WORK_FOR samsung)) (triples (triple rb:active_person rb:WORK_FOR roboy))))
)
(example
(utterance "my favorite movie is titanic")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE titanic)))
)
(example
(utterance "Which city do I live in?")
(targetFormula (!rb:LIVE_IN rb:active_person))
)
(example
(utterance "i live in munich")
(targetFormula (triples (triple rb:active_person rb:LIVE_IN munich)))
)
(example
(utterance "Have I met any of your friends?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "my alma mater is TUW and you go to TUM")
(targetFormula (list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum))))
)
(example
(utterance "Which university do I go to?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "my alma mater is TUW and you go to TUM")
(targetFormula (list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum))))
)
(example
(utterance "Which university do I go to?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "What is my hobby?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "my field of expertise is finance and you work as a robot")
(targetFormula (list (triples (triple rb:active_person rb:OCCUPIED_AS finance)) (triples (triple rb:Roboy rb:OCCUPIED_AS robot))))
)
(example
(utterance "What do I work as?")
(targetFormula (!rb:OCCUPIED_AS rb:active_person))
)
(example
(utterance "call me christina")
(targetFormula (triples (triple rb:active_person rb:NAME_OF christina)))
)
(example
(utterance "What is your favourite movie?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "Who is your employer?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "Which town do you call your home?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "Where do you live?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "Which university do you study at?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "Where is my current home?")
(targetFormula (!rb:LIVE_IN rb:active_person))
)
(example
(utterance "Which university do you study at?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "Where is my current home?")
(targetFormula (!rb:LIVE_IN rb:active_person))
)
(example
(utterance "my favorite thing to do is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "Which university do I study at?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "my best friend is ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "How can I call you?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "What do you do in your free time?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "i work as a nurse")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS nurse)))
)
(example
(utterance "my field of expertise is finance")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS finance)))
(utterance "Which city do you live in?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "What do you do?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
(utterance "Where are you from?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "What is your profession?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
(utterance "What is my alma mater?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "What do you work as?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
(utterance "anna is my name")
(targetFormula (triples (triple rb:active_person rb:NAME_OF anna)))
)
(example
(utterance "What is your field of expertise?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
(utterance "What is my alma mater?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "anna is my name")
(targetFormula (triples (triple rb:active_person rb:NAME_OF anna)))
)
(example
(utterance "Where do I work?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Which university do you go to?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "Where do I study?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "What is my home country?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "my employer is Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "Who are you?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Do you belong to any organizations?")
(targetFormula (!rb:MEMBER_OF rb:Roboy))
)
(example
(utterance "Where were you born?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "Where are you employed?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "i belong to IAESTE and you belong to Roboy")
(targetFormula (list (triples (triple rb:active_person rb:MEMBER_OF iaeste)) (triples (triple rb:Roboy rb:MEMBER_OF Roboy))))
)

110
data/rpqa/5/train.json Normal file
View File

@ -0,0 +1,110 @@
[
{"type": "HAS_HOBBY", "utterance": "i like swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QWORK_FOR", "utterance": "For which company do you work?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "FROM", "utterance": "i was born in poland and you were born in switzerland", "targetFormula": "(list (triples (triple rb:active_person rb:FROM poland)) (triples (triple rb:Roboy rb:FROM switzerland)))"},
{"type": "QHAS_HOBBY", "utterance": "What is your hobby?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "QHAS_HOBBY", "utterance": "What is your favorite pastime activity?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "FRIEND_OF", "utterance": "i am friends with ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "QWORK_FOR", "utterance": "Which organization do you work at?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "OCCUPIED_AS", "utterance": "my field of expertise is finance", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS finance))"},
{"type": "QMEMBER_OF", "utterance": "Are you a member of some cool organization?", "targetFormula": "(!rb:MEMBER_OF rb:Roboy)"},
{"type": "FRIEND_OF", "utterance": "you met my friend ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "QFRIEND_OF", "utterance": "Who is your best friend?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "NAME", "utterance": "my name is emily", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF emily))"},
{"type": "QFRIEND_OF", "utterance": "Who is your best friend?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "NAME", "utterance": "my name is emily", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF emily))"},
{"type": "LIVE_IN", "utterance": "my current home is warsaw and your current home is munich", "targetFormula": "(list (triples (triple rb:active_person rb:LIVE_IN warsaw)) (triples (triple rb:roboy rb:LIVE_IN munich)))"},
{"type": "QFROM", "utterance": "What is your home country?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "NAME", "utterance": "people call me sam", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF sam))"},
{"type": "HAS_HOBBY", "utterance": "my favorite activity is swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QFRIEND_OF", "utterance": "Who is my best friend?", "targetFormula": "(!rb:FRIEND_OF rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What is my field of expertise?", "targetFormula": "(!rb:OCCUPIED_AS rb:active_person)"},
{"type": "OCCUPIED_AS", "utterance": "i am a teacher", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS teacher))"},
{"type": "QWORK_FOR", "utterance": "Where am I employed?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "FROM", "utterance": "my home country is ukraine", "targetFormula": "(triples (triple rb:active_person rb:FROM ukraine))"},
{"type": "QLIVE_IN", "utterance": "Where is your current home?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "FROM", "utterance": "my home country is ukraine", "targetFormula": "(triples (triple rb:active_person rb:FROM ukraine))"},
{"type": "QLIVE_IN", "utterance": "Where is your current home?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "QMOVIES", "utterance": "What was the last movie you saw in the cinema?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "WORK_FOR", "utterance": "i work for EY", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR ey))"},
{"type": "FRIEND_OF", "utterance": "my friend is called ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "STUDY_AT", "utterance": "my alma mater is TUW", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT tuw))"},
{"type": "MOVIES", "utterance": "i like pulp fiction the most", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE pulp_fiction))"},
{"type": "LIVE_IN", "utterance": "i currently live in munich", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN munich))"},
{"type": "MOVIES", "utterance": "i last saw finding nemo", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE finding_nemo))"},
{"type": "HAS_HOBBY", "utterance": "i swim in my free time", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QMOVIES", "utterance": "What is my favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What do you do?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "QMOVIES", "utterance": "What is my favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What do you do?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "STUDY_AT", "utterance": "i go to UW", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT uw))"},
{"type": "QMEMBER_OF", "utterance": "Am I a member of some cool organization?", "targetFormula": "(!rb:MEMBER_OF rb:active_person)"},
{"type": "WORK_FOR", "utterance": "i work at Nokia", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR nokia))"},
{"type": "QHAS_HOBBY", "utterance": "How do you spend your free time?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "WORK_FOR", "utterance": "i earn my living at Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "FROM", "utterance": "i was born in nicaragua", "targetFormula": "(triples (triple rb:active_person rb:FROM nicaragua))"},
{"type": "HAS_HOBBY", "utterance": "my hobby is swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QNAME", "utterance": "What is your name?", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"type": "QFROM", "utterance": "Where was I born?", "targetFormula": "(!rb:FROM rb:active_person)"},
{"type": "NAME", "utterance": "my or your name or hobby is emily and alona", "targetFormula": "(triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona))))"},
{"type": "WORK_FOR", "utterance": "i am employed at Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "QMOVIES", "utterance": "What is your favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "QMOVIES", "utterance": "Which comedy do you like the most?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "MEMBER_OF", "utterance": "i belong to IAESTE", "targetFormula": "(triples (triple rb:active_person rb:MEMBER_OF iaeste))"},
{"type": "FROM", "utterance": "i come from poland", "targetFormula": "(triples (triple rb:active_person rb:FROM poland))"},
{"type": "STUDY_AT", "utterance": "i study at TUM", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT tum))"},
{"type": "QHAS_HOBBY", "utterance": "How do I spend my free time?", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"type": "QMOVIES", "utterance": "What is my favourite movie?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:active_person)"},
{"type": "MOVIES", "utterance": "my favorite tv show is ellen", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE ellen))"},
{"type": "QWORK_FOR", "utterance": "For which company do I work?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QMEMBER_OF", "utterance": "Do I belong to any organizations?", "targetFormula": "(!rb:MEMBER_OF rb:active_person)"},
{"type": "QWORK_FOR", "utterance": "Who is my employer?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QMEMBER_OF", "utterance": "Do I belong to any organizations?", "targetFormula": "(!rb:MEMBER_OF rb:active_person)"},
{"type": "QWORK_FOR", "utterance": "Who is my employer?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QWORK_FOR", "utterance": "Which organization do I work at?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What is your field of expertise?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "QNAME", "utterance": "What is my name?", "targetFormula": "(!rb:NAME_OF rb:active_person)"},
{"type": "WORK_FOR", "utterance": "i earn my living at Samsung and you work at Roboy", "targetFormula": "(list (triples (triple rb:active_person rb:WORK_FOR samsung)) (triples (triple rb:active_person rb:WORK_FOR roboy)))"},
{"type": "MOVIES", "utterance": "my favorite movie is titanic", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE titanic))"},
{"type": "QLIVE_IN", "utterance": "Which city do I live in?", "targetFormula": "(!rb:LIVE_IN rb:active_person)"},
{"type": "LIVE_IN", "utterance": "i live in munich", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN munich))"},
{"type": "QFRIEND_OF", "utterance": "Have I met any of your friends?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "STUDY_AT", "utterance": "my alma mater is TUW and you go to TUM", "targetFormula": "(list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum)))"},
{"type": "QSTUDY_AT", "utterance": "Which university do I go to?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "STUDY_AT", "utterance": "my alma mater is TUW and you go to TUM", "targetFormula": "(list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum)))"},
{"type": "QSTUDY_AT", "utterance": "Which university do I go to?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "QHAS_HOBBY", "utterance": "What is my hobby?", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"type": "OCCUPIED_AS", "utterance": "my field of expertise is finance and you work as a robot", "targetFormula": "(list (triples (triple rb:active_person rb:OCCUPIED_AS finance)) (triples (triple rb:Roboy rb:OCCUPIED_AS robot)))"},
{"type": "QOCCUPIED_AS", "utterance": "What do I work as?", "targetFormula": "(!rb:OCCUPIED_AS rb:active_person)"},
{"type": "NAME", "utterance": "call me christina", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF christina))"},
{"type": "QMOVIES", "utterance": "What is your favourite movie?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "QWORK_FOR", "utterance": "Who is your employer?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "QFROM", "utterance": "Which town do you call your home?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "QLIVE_IN", "utterance": "Where do you live?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "Which university do you study at?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"type": "QLIVE_IN", "utterance": "Where is my current home?", "targetFormula": "(!rb:LIVE_IN rb:active_person)"},
{"type": "QSTUDY_AT", "utterance": "Which university do you study at?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"type": "QLIVE_IN", "utterance": "Where is my current home?", "targetFormula": "(!rb:LIVE_IN rb:active_person)"},
{"type": "HAS_HOBBY", "utterance": "my favorite thing to do is swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QSTUDY_AT", "utterance": "Which university do I study at?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "FRIEND_OF", "utterance": "my best friend is ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "QNAME", "utterance": "How can I call you?", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"type": "QHAS_HOBBY", "utterance": "What do you do in your free time?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "OCCUPIED_AS", "utterance": "i work as a nurse", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS nurse))"},
{"type": "QLIVE_IN", "utterance": "Which city do you live in?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "QFROM", "utterance": "Where are you from?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "What is my alma mater?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "NAME", "utterance": "anna is my name", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF anna))"},
{"type": "QSTUDY_AT", "utterance": "What is my alma mater?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "NAME", "utterance": "anna is my name", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF anna))"},
{"type": "QWORK_FOR", "utterance": "Where do I work?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QSTUDY_AT", "utterance": "Which university do you go to?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "Where do I study?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "QFROM", "utterance": "What is my home country?", "targetFormula": "(!rb:FROM rb:active_person)"},
{"type": "WORK_FOR", "utterance": "my employer is Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "QNAME", "utterance": "Who are you?", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"type": "QMEMBER_OF", "utterance": "Do you belong to any organizations?", "targetFormula": "(!rb:MEMBER_OF rb:Roboy)"},
{"type": "QFROM", "utterance": "Where were you born?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "QWORK_FOR", "utterance": "Where are you employed?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "MEMBER_OF", "utterance": "i belong to IAESTE and you belong to Roboy", "targetFormula": "(list (triples (triple rb:active_person rb:MEMBER_OF iaeste)) (triples (triple rb:Roboy rb:MEMBER_OF Roboy)))"}
]

48
data/rpqa/6/test.examples Normal file
View File

@ -0,0 +1,48 @@
(example
(utterance "i am employed at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "What is your favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "Which comedy do you like the most?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "i belong to IAESTE")
(targetFormula (triples (triple rb:active_person rb:MEMBER_OF iaeste)))
)
(example
(utterance "i come from poland")
(targetFormula (triples (triple rb:active_person rb:FROM poland)))
)
(example
(utterance "i study at TUM")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT tum)))
)
(example
(utterance "How do I spend my free time?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "What is my favourite movie?")
(targetFormula (!rb:FAVORITE_MOVIE rb:active_person))
)
(example
(utterance "my favorite tv show is ellen")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)))
)
(example
(utterance "For which company do I work?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Do I belong to any organizations?")
(targetFormula (!rb:MEMBER_OF rb:active_person))
)
(example
(utterance "Who is my employer?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)

14
data/rpqa/6/test.json Normal file
View File

@ -0,0 +1,14 @@
[
{"type": "WORK_FOR", "utterance": "i am employed at Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "QMOVIES", "utterance": "What is your favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "QMOVIES", "utterance": "Which comedy do you like the most?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "MEMBER_OF", "utterance": "i belong to IAESTE", "targetFormula": "(triples (triple rb:active_person rb:MEMBER_OF iaeste))"},
{"type": "FROM", "utterance": "i come from poland", "targetFormula": "(triples (triple rb:active_person rb:FROM poland))"},
{"type": "STUDY_AT", "utterance": "i study at TUM", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT tum))"},
{"type": "QHAS_HOBBY", "utterance": "How do I spend my free time?", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"type": "QMOVIES", "utterance": "What is my favourite movie?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:active_person)"},
{"type": "MOVIES", "utterance": "my favorite tv show is ellen", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE ellen))"},
{"type": "QWORK_FOR", "utterance": "For which company do I work?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QMEMBER_OF", "utterance": "Do I belong to any organizations?", "targetFormula": "(!rb:MEMBER_OF rb:active_person)"},
{"type": "QWORK_FOR", "utterance": "Who is my employer?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"}
]

432
data/rpqa/6/train.examples Normal file
View File

@ -0,0 +1,432 @@
(example
(utterance "i like swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "For which company do you work?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "i was born in poland and you were born in switzerland")
(targetFormula (list (triples (triple rb:active_person rb:FROM poland)) (triples (triple rb:Roboy rb:FROM switzerland))))
)
(example
(utterance "What is your hobby?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "What is your favorite pastime activity?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "i am friends with ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "Which organization do you work at?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "my field of expertise is finance")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS finance)))
)
(example
(utterance "Are you a member of some cool organization?")
(targetFormula (!rb:MEMBER_OF rb:Roboy))
)
(example
(utterance "you met my friend ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "Who is your best friend?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "my name is emily")
(targetFormula (triples (triple rb:active_person rb:NAME_OF emily)))
)
(example
(utterance "Who is your best friend?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "my name is emily")
(targetFormula (triples (triple rb:active_person rb:NAME_OF emily)))
)
(example
(utterance "my current home is warsaw and your current home is munich")
(targetFormula (list (triples (triple rb:active_person rb:LIVE_IN warsaw)) (triples (triple rb:roboy rb:LIVE_IN munich))))
)
(example
(utterance "What is your home country?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "people call me sam")
(targetFormula (triples (triple rb:active_person rb:NAME_OF sam)))
)
(example
(utterance "my favorite activity is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "Who is my best friend?")
(targetFormula (!rb:FRIEND_OF rb:active_person))
)
(example
(utterance "What is my field of expertise?")
(targetFormula (!rb:OCCUPIED_AS rb:active_person))
)
(example
(utterance "i am a teacher")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS teacher)))
)
(example
(utterance "Where am I employed?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "my home country is ukraine")
(targetFormula (triples (triple rb:active_person rb:FROM ukraine)))
)
(example
(utterance "Where is your current home?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "my home country is ukraine")
(targetFormula (triples (triple rb:active_person rb:FROM ukraine)))
)
(example
(utterance "Where is your current home?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "What was the last movie you saw in the cinema?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "i work for EY")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR ey)))
)
(example
(utterance "my friend is called ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "my alma mater is TUW")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT tuw)))
)
(example
(utterance "i like pulp fiction the most")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE pulp_fiction)))
)
(example
(utterance "i currently live in munich")
(targetFormula (triples (triple rb:active_person rb:LIVE_IN munich)))
)
(example
(utterance "i last saw finding nemo")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE finding_nemo)))
)
(example
(utterance "i swim in my free time")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "What is my favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:active_person))
)
(example
(utterance "What do you do?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "What is my favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:active_person))
)
(example
(utterance "What do you do?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "i go to UW")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT uw)))
)
(example
(utterance "Am I a member of some cool organization?")
(targetFormula (!rb:MEMBER_OF rb:active_person))
)
(example
(utterance "i work at Nokia")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR nokia)))
)
(example
(utterance "How do you spend your free time?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "i earn my living at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "i was born in nicaragua")
(targetFormula (triples (triple rb:active_person rb:FROM nicaragua)))
)
(example
(utterance "my hobby is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "What is your name?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Where was I born?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "my or your name or hobby is emily and alona")
(targetFormula (triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona)))))
)
(example
(utterance "Where was I born?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "my or your name or hobby is emily and alona")
(targetFormula (triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona)))))
)
(example
(utterance "Where do you work?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "What is your alma mater?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "my name is emily and your name is roboy")
(targetFormula (list (triples (triple rb:active_person rb:NAME_OF emily)) (triples (triple rb:Roboy rb:NAME_OF roboy))))
)
(example
(utterance "What is my favorite thing to do?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "What do you work as?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "my favorite tv show is ellen and your favorite movie is titanic")
(targetFormula (list (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)) (triples (triple rb:Roboy rb:FAVORITE_MOVIE titanic))))
)
(example
(utterance "my name is elsa and anna")
(targetFormula (triples (triple rb:active_person rb:NAME_OF elsa) (triple rb:active_person rb:NAME_OF anna)))
)
(example
(utterance "Where do I earn my living?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "i am employed at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "What is your favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "Do I belong to any organizations?")
(targetFormula (!rb:MEMBER_OF rb:active_person))
)
(example
(utterance "Who is my employer?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Which organization do I work at?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "What is your field of expertise?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "What is my name?")
(targetFormula (!rb:NAME_OF rb:active_person))
)
(example
(utterance "i earn my living at Samsung and you work at Roboy")
(targetFormula (list (triples (triple rb:active_person rb:WORK_FOR samsung)) (triples (triple rb:active_person rb:WORK_FOR roboy))))
)
(example
(utterance "my favorite movie is titanic")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE titanic)))
)
(example
(utterance "Which city do I live in?")
(targetFormula (!rb:LIVE_IN rb:active_person))
)
(example
(utterance "i live in munich")
(targetFormula (triples (triple rb:active_person rb:LIVE_IN munich)))
)
(example
(utterance "Have I met any of your friends?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "my alma mater is TUW and you go to TUM")
(targetFormula (list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum))))
)
(example
(utterance "Which university do I go to?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "my alma mater is TUW and you go to TUM")
(targetFormula (list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum))))
)
(example
(utterance "Which university do I go to?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "What is my hobby?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "my field of expertise is finance and you work as a robot")
(targetFormula (list (triples (triple rb:active_person rb:OCCUPIED_AS finance)) (triples (triple rb:Roboy rb:OCCUPIED_AS robot))))
)
(example
(utterance "What do I work as?")
(targetFormula (!rb:OCCUPIED_AS rb:active_person))
)
(example
(utterance "call me christina")
(targetFormula (triples (triple rb:active_person rb:NAME_OF christina)))
)
(example
(utterance "What is your favourite movie?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "Who is your employer?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "Which town do you call your home?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "Where do you live?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "Which university do you study at?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "Where is my current home?")
(targetFormula (!rb:LIVE_IN rb:active_person))
)
(example
(utterance "Which university do you study at?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "Where is my current home?")
(targetFormula (!rb:LIVE_IN rb:active_person))
)
(example
(utterance "my favorite thing to do is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "Which university do I study at?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "my best friend is ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "How can I call you?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "What do you do in your free time?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "i work as a nurse")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS nurse)))
)
(example
(utterance "Which city do you live in?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "Where are you from?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "What is my alma mater?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "anna is my name")
(targetFormula (triples (triple rb:active_person rb:NAME_OF anna)))
)
(example
(utterance "What is my alma mater?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "anna is my name")
(targetFormula (triples (triple rb:active_person rb:NAME_OF anna)))
)
(example
(utterance "Where do I work?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Which university do you go to?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "Where do I study?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "What is my home country?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "my employer is Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "Who are you?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Do you belong to any organizations?")
(targetFormula (!rb:MEMBER_OF rb:Roboy))
)
(example
(utterance "Where were you born?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "Where are you employed?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "i belong to IAESTE and you belong to Roboy")
(targetFormula (list (triples (triple rb:active_person rb:MEMBER_OF iaeste)) (triples (triple rb:Roboy rb:MEMBER_OF Roboy))))
)

110
data/rpqa/6/train.json Normal file
View File

@ -0,0 +1,110 @@
[
{"type": "HAS_HOBBY", "utterance": "i like swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QWORK_FOR", "utterance": "For which company do you work?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "FROM", "utterance": "i was born in poland and you were born in switzerland", "targetFormula": "(list (triples (triple rb:active_person rb:FROM poland)) (triples (triple rb:Roboy rb:FROM switzerland)))"},
{"type": "QHAS_HOBBY", "utterance": "What is your hobby?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "QHAS_HOBBY", "utterance": "What is your favorite pastime activity?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "FRIEND_OF", "utterance": "i am friends with ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "QWORK_FOR", "utterance": "Which organization do you work at?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "OCCUPIED_AS", "utterance": "my field of expertise is finance", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS finance))"},
{"type": "QMEMBER_OF", "utterance": "Are you a member of some cool organization?", "targetFormula": "(!rb:MEMBER_OF rb:Roboy)"},
{"type": "FRIEND_OF", "utterance": "you met my friend ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "QFRIEND_OF", "utterance": "Who is your best friend?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "NAME", "utterance": "my name is emily", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF emily))"},
{"type": "QFRIEND_OF", "utterance": "Who is your best friend?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "NAME", "utterance": "my name is emily", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF emily))"},
{"type": "LIVE_IN", "utterance": "my current home is warsaw and your current home is munich", "targetFormula": "(list (triples (triple rb:active_person rb:LIVE_IN warsaw)) (triples (triple rb:roboy rb:LIVE_IN munich)))"},
{"type": "QFROM", "utterance": "What is your home country?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "NAME", "utterance": "people call me sam", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF sam))"},
{"type": "HAS_HOBBY", "utterance": "my favorite activity is swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QFRIEND_OF", "utterance": "Who is my best friend?", "targetFormula": "(!rb:FRIEND_OF rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What is my field of expertise?", "targetFormula": "(!rb:OCCUPIED_AS rb:active_person)"},
{"type": "OCCUPIED_AS", "utterance": "i am a teacher", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS teacher))"},
{"type": "QWORK_FOR", "utterance": "Where am I employed?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "FROM", "utterance": "my home country is ukraine", "targetFormula": "(triples (triple rb:active_person rb:FROM ukraine))"},
{"type": "QLIVE_IN", "utterance": "Where is your current home?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "FROM", "utterance": "my home country is ukraine", "targetFormula": "(triples (triple rb:active_person rb:FROM ukraine))"},
{"type": "QLIVE_IN", "utterance": "Where is your current home?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "QMOVIES", "utterance": "What was the last movie you saw in the cinema?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "WORK_FOR", "utterance": "i work for EY", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR ey))"},
{"type": "FRIEND_OF", "utterance": "my friend is called ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "STUDY_AT", "utterance": "my alma mater is TUW", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT tuw))"},
{"type": "MOVIES", "utterance": "i like pulp fiction the most", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE pulp_fiction))"},
{"type": "LIVE_IN", "utterance": "i currently live in munich", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN munich))"},
{"type": "MOVIES", "utterance": "i last saw finding nemo", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE finding_nemo))"},
{"type": "HAS_HOBBY", "utterance": "i swim in my free time", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QMOVIES", "utterance": "What is my favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What do you do?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "QMOVIES", "utterance": "What is my favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What do you do?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "STUDY_AT", "utterance": "i go to UW", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT uw))"},
{"type": "QMEMBER_OF", "utterance": "Am I a member of some cool organization?", "targetFormula": "(!rb:MEMBER_OF rb:active_person)"},
{"type": "WORK_FOR", "utterance": "i work at Nokia", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR nokia))"},
{"type": "QHAS_HOBBY", "utterance": "How do you spend your free time?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "WORK_FOR", "utterance": "i earn my living at Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "FROM", "utterance": "i was born in nicaragua", "targetFormula": "(triples (triple rb:active_person rb:FROM nicaragua))"},
{"type": "HAS_HOBBY", "utterance": "my hobby is swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QNAME", "utterance": "What is your name?", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"type": "QFROM", "utterance": "Where was I born?", "targetFormula": "(!rb:FROM rb:active_person)"},
{"type": "NAME", "utterance": "my or your name or hobby is emily and alona", "targetFormula": "(triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona))))"},
{"type": "QFROM", "utterance": "Where was I born?", "targetFormula": "(!rb:FROM rb:active_person)"},
{"type": "NAME", "utterance": "my or your name or hobby is emily and alona", "targetFormula": "(triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona))))"},
{"type": "QWORK_FOR", "utterance": "Where do you work?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "What is your alma mater?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"utterance": "my name is emily and your name is roboy", "type": "NAME", "targetFormula": "(list (triples (triple rb:active_person rb:NAME_OF emily)) (triples (triple rb:Roboy rb:NAME_OF roboy)))"},
{"type": "QHAS_HOBBY", "utterance": "What is my favorite thing to do?", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What do you work as?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "MOVIES", "utterance": "my favorite tv show is ellen and your favorite movie is titanic", "targetFormula": "(list (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)) (triples (triple rb:Roboy rb:FAVORITE_MOVIE titanic)))"},
{"type": "NAME", "utterance": "my name is elsa and anna", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF elsa) (triple rb:active_person rb:NAME_OF anna))"},
{"type": "QWORK_FOR", "utterance": "Where do I earn my living?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "WORK_FOR", "utterance": "i am employed at Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "QMOVIES", "utterance": "What is your favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "QMEMBER_OF", "utterance": "Do I belong to any organizations?", "targetFormula": "(!rb:MEMBER_OF rb:active_person)"},
{"type": "QWORK_FOR", "utterance": "Who is my employer?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QWORK_FOR", "utterance": "Which organization do I work at?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What is your field of expertise?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "QNAME", "utterance": "What is my name?", "targetFormula": "(!rb:NAME_OF rb:active_person)"},
{"type": "WORK_FOR", "utterance": "i earn my living at Samsung and you work at Roboy", "targetFormula": "(list (triples (triple rb:active_person rb:WORK_FOR samsung)) (triples (triple rb:active_person rb:WORK_FOR roboy)))"},
{"type": "MOVIES", "utterance": "my favorite movie is titanic", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE titanic))"},
{"type": "QLIVE_IN", "utterance": "Which city do I live in?", "targetFormula": "(!rb:LIVE_IN rb:active_person)"},
{"type": "LIVE_IN", "utterance": "i live in munich", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN munich))"},
{"type": "QFRIEND_OF", "utterance": "Have I met any of your friends?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "STUDY_AT", "utterance": "my alma mater is TUW and you go to TUM", "targetFormula": "(list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum)))"},
{"type": "QSTUDY_AT", "utterance": "Which university do I go to?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "STUDY_AT", "utterance": "my alma mater is TUW and you go to TUM", "targetFormula": "(list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum)))"},
{"type": "QSTUDY_AT", "utterance": "Which university do I go to?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "QHAS_HOBBY", "utterance": "What is my hobby?", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"type": "OCCUPIED_AS", "utterance": "my field of expertise is finance and you work as a robot", "targetFormula": "(list (triples (triple rb:active_person rb:OCCUPIED_AS finance)) (triples (triple rb:Roboy rb:OCCUPIED_AS robot)))"},
{"type": "QOCCUPIED_AS", "utterance": "What do I work as?", "targetFormula": "(!rb:OCCUPIED_AS rb:active_person)"},
{"type": "NAME", "utterance": "call me christina", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF christina))"},
{"type": "QMOVIES", "utterance": "What is your favourite movie?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "QWORK_FOR", "utterance": "Who is your employer?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "QFROM", "utterance": "Which town do you call your home?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "QLIVE_IN", "utterance": "Where do you live?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "Which university do you study at?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"type": "QLIVE_IN", "utterance": "Where is my current home?", "targetFormula": "(!rb:LIVE_IN rb:active_person)"},
{"type": "QSTUDY_AT", "utterance": "Which university do you study at?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"type": "QLIVE_IN", "utterance": "Where is my current home?", "targetFormula": "(!rb:LIVE_IN rb:active_person)"},
{"type": "HAS_HOBBY", "utterance": "my favorite thing to do is swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QSTUDY_AT", "utterance": "Which university do I study at?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "FRIEND_OF", "utterance": "my best friend is ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "QNAME", "utterance": "How can I call you?", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"type": "QHAS_HOBBY", "utterance": "What do you do in your free time?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "OCCUPIED_AS", "utterance": "i work as a nurse", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS nurse))"},
{"type": "QLIVE_IN", "utterance": "Which city do you live in?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "QFROM", "utterance": "Where are you from?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "What is my alma mater?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "NAME", "utterance": "anna is my name", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF anna))"},
{"type": "QSTUDY_AT", "utterance": "What is my alma mater?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "NAME", "utterance": "anna is my name", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF anna))"},
{"type": "QWORK_FOR", "utterance": "Where do I work?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QSTUDY_AT", "utterance": "Which university do you go to?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "Where do I study?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "QFROM", "utterance": "What is my home country?", "targetFormula": "(!rb:FROM rb:active_person)"},
{"type": "WORK_FOR", "utterance": "my employer is Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "QNAME", "utterance": "Who are you?", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"type": "QMEMBER_OF", "utterance": "Do you belong to any organizations?", "targetFormula": "(!rb:MEMBER_OF rb:Roboy)"},
{"type": "QFROM", "utterance": "Where were you born?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "QWORK_FOR", "utterance": "Where are you employed?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "MEMBER_OF", "utterance": "i belong to IAESTE and you belong to Roboy", "targetFormula": "(list (triples (triple rb:active_person rb:MEMBER_OF iaeste)) (triples (triple rb:Roboy rb:MEMBER_OF Roboy)))"}
]

48
data/rpqa/7/test.examples Normal file
View File

@ -0,0 +1,48 @@
(example
(utterance "Do I belong to any organizations?")
(targetFormula (!rb:MEMBER_OF rb:active_person))
)
(example
(utterance "Who is my employer?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Which organization do I work at?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "What is your field of expertise?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "What is my name?")
(targetFormula (!rb:NAME_OF rb:active_person))
)
(example
(utterance "i earn my living at Samsung and you work at Roboy")
(targetFormula (list (triples (triple rb:active_person rb:WORK_FOR samsung)) (triples (triple rb:active_person rb:WORK_FOR roboy))))
)
(example
(utterance "my favorite movie is titanic")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE titanic)))
)
(example
(utterance "Which city do I live in?")
(targetFormula (!rb:LIVE_IN rb:active_person))
)
(example
(utterance "i live in munich")
(targetFormula (triples (triple rb:active_person rb:LIVE_IN munich)))
)
(example
(utterance "Have I met any of your friends?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "my alma mater is TUW and you go to TUM")
(targetFormula (list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum))))
)
(example
(utterance "Which university do I go to?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)

14
data/rpqa/7/test.json Normal file
View File

@ -0,0 +1,14 @@
[
{"type": "QMEMBER_OF", "utterance": "Do I belong to any organizations?", "targetFormula": "(!rb:MEMBER_OF rb:active_person)"},
{"type": "QWORK_FOR", "utterance": "Who is my employer?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QWORK_FOR", "utterance": "Which organization do I work at?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What is your field of expertise?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "QNAME", "utterance": "What is my name?", "targetFormula": "(!rb:NAME_OF rb:active_person)"},
{"type": "WORK_FOR", "utterance": "i earn my living at Samsung and you work at Roboy", "targetFormula": "(list (triples (triple rb:active_person rb:WORK_FOR samsung)) (triples (triple rb:active_person rb:WORK_FOR roboy)))"},
{"type": "MOVIES", "utterance": "my favorite movie is titanic", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE titanic))"},
{"type": "QLIVE_IN", "utterance": "Which city do I live in?", "targetFormula": "(!rb:LIVE_IN rb:active_person)"},
{"type": "LIVE_IN", "utterance": "i live in munich", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN munich))"},
{"type": "QFRIEND_OF", "utterance": "Have I met any of your friends?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "STUDY_AT", "utterance": "my alma mater is TUW and you go to TUM", "targetFormula": "(list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum)))"},
{"type": "QSTUDY_AT", "utterance": "Which university do I go to?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"}
]

432
data/rpqa/7/train.examples Normal file
View File

@ -0,0 +1,432 @@
(example
(utterance "i like swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "For which company do you work?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "i was born in poland and you were born in switzerland")
(targetFormula (list (triples (triple rb:active_person rb:FROM poland)) (triples (triple rb:Roboy rb:FROM switzerland))))
)
(example
(utterance "What is your hobby?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "What is your favorite pastime activity?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "i am friends with ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "Which organization do you work at?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "my field of expertise is finance")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS finance)))
)
(example
(utterance "Are you a member of some cool organization?")
(targetFormula (!rb:MEMBER_OF rb:Roboy))
)
(example
(utterance "you met my friend ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "Who is your best friend?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "my name is emily")
(targetFormula (triples (triple rb:active_person rb:NAME_OF emily)))
)
(example
(utterance "Who is your best friend?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "my name is emily")
(targetFormula (triples (triple rb:active_person rb:NAME_OF emily)))
)
(example
(utterance "my current home is warsaw and your current home is munich")
(targetFormula (list (triples (triple rb:active_person rb:LIVE_IN warsaw)) (triples (triple rb:roboy rb:LIVE_IN munich))))
)
(example
(utterance "What is your home country?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "people call me sam")
(targetFormula (triples (triple rb:active_person rb:NAME_OF sam)))
)
(example
(utterance "my favorite activity is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "Who is my best friend?")
(targetFormula (!rb:FRIEND_OF rb:active_person))
)
(example
(utterance "What is my field of expertise?")
(targetFormula (!rb:OCCUPIED_AS rb:active_person))
)
(example
(utterance "i am a teacher")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS teacher)))
)
(example
(utterance "Where am I employed?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "my home country is ukraine")
(targetFormula (triples (triple rb:active_person rb:FROM ukraine)))
)
(example
(utterance "Where is your current home?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "my home country is ukraine")
(targetFormula (triples (triple rb:active_person rb:FROM ukraine)))
)
(example
(utterance "Where is your current home?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "What was the last movie you saw in the cinema?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "i work for EY")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR ey)))
)
(example
(utterance "my friend is called ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "my alma mater is TUW")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT tuw)))
)
(example
(utterance "i like pulp fiction the most")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE pulp_fiction)))
)
(example
(utterance "i currently live in munich")
(targetFormula (triples (triple rb:active_person rb:LIVE_IN munich)))
)
(example
(utterance "i last saw finding nemo")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE finding_nemo)))
)
(example
(utterance "i swim in my free time")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "What is my favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:active_person))
)
(example
(utterance "What do you do?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "What is my favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:active_person))
)
(example
(utterance "What do you do?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "i go to UW")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT uw)))
)
(example
(utterance "Am I a member of some cool organization?")
(targetFormula (!rb:MEMBER_OF rb:active_person))
)
(example
(utterance "i work at Nokia")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR nokia)))
)
(example
(utterance "How do you spend your free time?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "i earn my living at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "i was born in nicaragua")
(targetFormula (triples (triple rb:active_person rb:FROM nicaragua)))
)
(example
(utterance "my hobby is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "What is your name?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Where was I born?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "my or your name or hobby is emily and alona")
(targetFormula (triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona)))))
)
(example
(utterance "Where was I born?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "my or your name or hobby is emily and alona")
(targetFormula (triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona)))))
)
(example
(utterance "Where do you work?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "What is your alma mater?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "my name is emily and your name is roboy")
(targetFormula (list (triples (triple rb:active_person rb:NAME_OF emily)) (triples (triple rb:Roboy rb:NAME_OF roboy))))
)
(example
(utterance "What is my favorite thing to do?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "What do you work as?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "my favorite tv show is ellen and your favorite movie is titanic")
(targetFormula (list (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)) (triples (triple rb:Roboy rb:FAVORITE_MOVIE titanic))))
)
(example
(utterance "my name is elsa and anna")
(targetFormula (triples (triple rb:active_person rb:NAME_OF elsa) (triple rb:active_person rb:NAME_OF anna)))
)
(example
(utterance "Where do I earn my living?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "i am employed at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "What is your favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "i am employed at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "What is your favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "Which comedy do you like the most?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "i belong to IAESTE")
(targetFormula (triples (triple rb:active_person rb:MEMBER_OF iaeste)))
)
(example
(utterance "i come from poland")
(targetFormula (triples (triple rb:active_person rb:FROM poland)))
)
(example
(utterance "i study at TUM")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT tum)))
)
(example
(utterance "How do I spend my free time?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "What is my favourite movie?")
(targetFormula (!rb:FAVORITE_MOVIE rb:active_person))
)
(example
(utterance "my favorite tv show is ellen")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)))
)
(example
(utterance "For which company do I work?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Do I belong to any organizations?")
(targetFormula (!rb:MEMBER_OF rb:active_person))
)
(example
(utterance "Who is my employer?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "my alma mater is TUW and you go to TUM")
(targetFormula (list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum))))
)
(example
(utterance "Which university do I go to?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "What is my hobby?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "my field of expertise is finance and you work as a robot")
(targetFormula (list (triples (triple rb:active_person rb:OCCUPIED_AS finance)) (triples (triple rb:Roboy rb:OCCUPIED_AS robot))))
)
(example
(utterance "What do I work as?")
(targetFormula (!rb:OCCUPIED_AS rb:active_person))
)
(example
(utterance "call me christina")
(targetFormula (triples (triple rb:active_person rb:NAME_OF christina)))
)
(example
(utterance "What is your favourite movie?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "Who is your employer?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "Which town do you call your home?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "Where do you live?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "Which university do you study at?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "Where is my current home?")
(targetFormula (!rb:LIVE_IN rb:active_person))
)
(example
(utterance "Which university do you study at?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "Where is my current home?")
(targetFormula (!rb:LIVE_IN rb:active_person))
)
(example
(utterance "my favorite thing to do is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "Which university do I study at?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "my best friend is ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "How can I call you?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "What do you do in your free time?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "i work as a nurse")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS nurse)))
)
(example
(utterance "Which city do you live in?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "Where are you from?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "What is my alma mater?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "anna is my name")
(targetFormula (triples (triple rb:active_person rb:NAME_OF anna)))
)
(example
(utterance "What is my alma mater?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "anna is my name")
(targetFormula (triples (triple rb:active_person rb:NAME_OF anna)))
)
(example
(utterance "Where do I work?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Which university do you go to?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "Where do I study?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "What is my home country?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "my employer is Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "Who are you?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Do you belong to any organizations?")
(targetFormula (!rb:MEMBER_OF rb:Roboy))
)
(example
(utterance "Where were you born?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "Where are you employed?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "i belong to IAESTE and you belong to Roboy")
(targetFormula (list (triples (triple rb:active_person rb:MEMBER_OF iaeste)) (triples (triple rb:Roboy rb:MEMBER_OF Roboy))))
)

110
data/rpqa/7/train.json Normal file
View File

@ -0,0 +1,110 @@
[
{"type": "HAS_HOBBY", "utterance": "i like swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QWORK_FOR", "utterance": "For which company do you work?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "FROM", "utterance": "i was born in poland and you were born in switzerland", "targetFormula": "(list (triples (triple rb:active_person rb:FROM poland)) (triples (triple rb:Roboy rb:FROM switzerland)))"},
{"type": "QHAS_HOBBY", "utterance": "What is your hobby?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "QHAS_HOBBY", "utterance": "What is your favorite pastime activity?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "FRIEND_OF", "utterance": "i am friends with ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "QWORK_FOR", "utterance": "Which organization do you work at?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "OCCUPIED_AS", "utterance": "my field of expertise is finance", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS finance))"},
{"type": "QMEMBER_OF", "utterance": "Are you a member of some cool organization?", "targetFormula": "(!rb:MEMBER_OF rb:Roboy)"},
{"type": "FRIEND_OF", "utterance": "you met my friend ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "QFRIEND_OF", "utterance": "Who is your best friend?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "NAME", "utterance": "my name is emily", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF emily))"},
{"type": "QFRIEND_OF", "utterance": "Who is your best friend?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "NAME", "utterance": "my name is emily", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF emily))"},
{"type": "LIVE_IN", "utterance": "my current home is warsaw and your current home is munich", "targetFormula": "(list (triples (triple rb:active_person rb:LIVE_IN warsaw)) (triples (triple rb:roboy rb:LIVE_IN munich)))"},
{"type": "QFROM", "utterance": "What is your home country?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "NAME", "utterance": "people call me sam", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF sam))"},
{"type": "HAS_HOBBY", "utterance": "my favorite activity is swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QFRIEND_OF", "utterance": "Who is my best friend?", "targetFormula": "(!rb:FRIEND_OF rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What is my field of expertise?", "targetFormula": "(!rb:OCCUPIED_AS rb:active_person)"},
{"type": "OCCUPIED_AS", "utterance": "i am a teacher", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS teacher))"},
{"type": "QWORK_FOR", "utterance": "Where am I employed?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "FROM", "utterance": "my home country is ukraine", "targetFormula": "(triples (triple rb:active_person rb:FROM ukraine))"},
{"type": "QLIVE_IN", "utterance": "Where is your current home?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "FROM", "utterance": "my home country is ukraine", "targetFormula": "(triples (triple rb:active_person rb:FROM ukraine))"},
{"type": "QLIVE_IN", "utterance": "Where is your current home?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "QMOVIES", "utterance": "What was the last movie you saw in the cinema?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "WORK_FOR", "utterance": "i work for EY", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR ey))"},
{"type": "FRIEND_OF", "utterance": "my friend is called ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "STUDY_AT", "utterance": "my alma mater is TUW", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT tuw))"},
{"type": "MOVIES", "utterance": "i like pulp fiction the most", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE pulp_fiction))"},
{"type": "LIVE_IN", "utterance": "i currently live in munich", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN munich))"},
{"type": "MOVIES", "utterance": "i last saw finding nemo", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE finding_nemo))"},
{"type": "HAS_HOBBY", "utterance": "i swim in my free time", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QMOVIES", "utterance": "What is my favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What do you do?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "QMOVIES", "utterance": "What is my favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What do you do?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "STUDY_AT", "utterance": "i go to UW", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT uw))"},
{"type": "QMEMBER_OF", "utterance": "Am I a member of some cool organization?", "targetFormula": "(!rb:MEMBER_OF rb:active_person)"},
{"type": "WORK_FOR", "utterance": "i work at Nokia", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR nokia))"},
{"type": "QHAS_HOBBY", "utterance": "How do you spend your free time?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "WORK_FOR", "utterance": "i earn my living at Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "FROM", "utterance": "i was born in nicaragua", "targetFormula": "(triples (triple rb:active_person rb:FROM nicaragua))"},
{"type": "HAS_HOBBY", "utterance": "my hobby is swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QNAME", "utterance": "What is your name?", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"type": "QFROM", "utterance": "Where was I born?", "targetFormula": "(!rb:FROM rb:active_person)"},
{"type": "NAME", "utterance": "my or your name or hobby is emily and alona", "targetFormula": "(triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona))))"},
{"type": "QFROM", "utterance": "Where was I born?", "targetFormula": "(!rb:FROM rb:active_person)"},
{"type": "NAME", "utterance": "my or your name or hobby is emily and alona", "targetFormula": "(triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona))))"},
{"type": "QWORK_FOR", "utterance": "Where do you work?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "What is your alma mater?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"utterance": "my name is emily and your name is roboy", "type": "NAME", "targetFormula": "(list (triples (triple rb:active_person rb:NAME_OF emily)) (triples (triple rb:Roboy rb:NAME_OF roboy)))"},
{"type": "QHAS_HOBBY", "utterance": "What is my favorite thing to do?", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What do you work as?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "MOVIES", "utterance": "my favorite tv show is ellen and your favorite movie is titanic", "targetFormula": "(list (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)) (triples (triple rb:Roboy rb:FAVORITE_MOVIE titanic)))"},
{"type": "NAME", "utterance": "my name is elsa and anna", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF elsa) (triple rb:active_person rb:NAME_OF anna))"},
{"type": "QWORK_FOR", "utterance": "Where do I earn my living?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "WORK_FOR", "utterance": "i am employed at Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "QMOVIES", "utterance": "What is your favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "WORK_FOR", "utterance": "i am employed at Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "QMOVIES", "utterance": "What is your favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "QMOVIES", "utterance": "Which comedy do you like the most?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "MEMBER_OF", "utterance": "i belong to IAESTE", "targetFormula": "(triples (triple rb:active_person rb:MEMBER_OF iaeste))"},
{"type": "FROM", "utterance": "i come from poland", "targetFormula": "(triples (triple rb:active_person rb:FROM poland))"},
{"type": "STUDY_AT", "utterance": "i study at TUM", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT tum))"},
{"type": "QHAS_HOBBY", "utterance": "How do I spend my free time?", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"type": "QMOVIES", "utterance": "What is my favourite movie?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:active_person)"},
{"type": "MOVIES", "utterance": "my favorite tv show is ellen", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE ellen))"},
{"type": "QWORK_FOR", "utterance": "For which company do I work?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QMEMBER_OF", "utterance": "Do I belong to any organizations?", "targetFormula": "(!rb:MEMBER_OF rb:active_person)"},
{"type": "QWORK_FOR", "utterance": "Who is my employer?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "STUDY_AT", "utterance": "my alma mater is TUW and you go to TUM", "targetFormula": "(list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum)))"},
{"type": "QSTUDY_AT", "utterance": "Which university do I go to?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "QHAS_HOBBY", "utterance": "What is my hobby?", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"type": "OCCUPIED_AS", "utterance": "my field of expertise is finance and you work as a robot", "targetFormula": "(list (triples (triple rb:active_person rb:OCCUPIED_AS finance)) (triples (triple rb:Roboy rb:OCCUPIED_AS robot)))"},
{"type": "QOCCUPIED_AS", "utterance": "What do I work as?", "targetFormula": "(!rb:OCCUPIED_AS rb:active_person)"},
{"type": "NAME", "utterance": "call me christina", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF christina))"},
{"type": "QMOVIES", "utterance": "What is your favourite movie?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "QWORK_FOR", "utterance": "Who is your employer?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "QFROM", "utterance": "Which town do you call your home?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "QLIVE_IN", "utterance": "Where do you live?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "Which university do you study at?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"type": "QLIVE_IN", "utterance": "Where is my current home?", "targetFormula": "(!rb:LIVE_IN rb:active_person)"},
{"type": "QSTUDY_AT", "utterance": "Which university do you study at?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"type": "QLIVE_IN", "utterance": "Where is my current home?", "targetFormula": "(!rb:LIVE_IN rb:active_person)"},
{"type": "HAS_HOBBY", "utterance": "my favorite thing to do is swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QSTUDY_AT", "utterance": "Which university do I study at?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "FRIEND_OF", "utterance": "my best friend is ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "QNAME", "utterance": "How can I call you?", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"type": "QHAS_HOBBY", "utterance": "What do you do in your free time?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "OCCUPIED_AS", "utterance": "i work as a nurse", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS nurse))"},
{"type": "QLIVE_IN", "utterance": "Which city do you live in?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "QFROM", "utterance": "Where are you from?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "What is my alma mater?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "NAME", "utterance": "anna is my name", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF anna))"},
{"type": "QSTUDY_AT", "utterance": "What is my alma mater?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "NAME", "utterance": "anna is my name", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF anna))"},
{"type": "QWORK_FOR", "utterance": "Where do I work?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QSTUDY_AT", "utterance": "Which university do you go to?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "Where do I study?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "QFROM", "utterance": "What is my home country?", "targetFormula": "(!rb:FROM rb:active_person)"},
{"type": "WORK_FOR", "utterance": "my employer is Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "QNAME", "utterance": "Who are you?", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"type": "QMEMBER_OF", "utterance": "Do you belong to any organizations?", "targetFormula": "(!rb:MEMBER_OF rb:Roboy)"},
{"type": "QFROM", "utterance": "Where were you born?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "QWORK_FOR", "utterance": "Where are you employed?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "MEMBER_OF", "utterance": "i belong to IAESTE and you belong to Roboy", "targetFormula": "(list (triples (triple rb:active_person rb:MEMBER_OF iaeste)) (triples (triple rb:Roboy rb:MEMBER_OF Roboy)))"}
]

48
data/rpqa/8/test.examples Normal file
View File

@ -0,0 +1,48 @@
(example
(utterance "my alma mater is TUW and you go to TUM")
(targetFormula (list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum))))
)
(example
(utterance "Which university do I go to?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "What is my hobby?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "my field of expertise is finance and you work as a robot")
(targetFormula (list (triples (triple rb:active_person rb:OCCUPIED_AS finance)) (triples (triple rb:Roboy rb:OCCUPIED_AS robot))))
)
(example
(utterance "What do I work as?")
(targetFormula (!rb:OCCUPIED_AS rb:active_person))
)
(example
(utterance "call me christina")
(targetFormula (triples (triple rb:active_person rb:NAME_OF christina)))
)
(example
(utterance "What is your favourite movie?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "Who is your employer?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "Which town do you call your home?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "Where do you live?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "Which university do you study at?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "Where is my current home?")
(targetFormula (!rb:LIVE_IN rb:active_person))
)

14
data/rpqa/8/test.json Normal file
View File

@ -0,0 +1,14 @@
[
{"type": "STUDY_AT", "utterance": "my alma mater is TUW and you go to TUM", "targetFormula": "(list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum)))"},
{"type": "QSTUDY_AT", "utterance": "Which university do I go to?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "QHAS_HOBBY", "utterance": "What is my hobby?", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"type": "OCCUPIED_AS", "utterance": "my field of expertise is finance and you work as a robot", "targetFormula": "(list (triples (triple rb:active_person rb:OCCUPIED_AS finance)) (triples (triple rb:Roboy rb:OCCUPIED_AS robot)))"},
{"type": "QOCCUPIED_AS", "utterance": "What do I work as?", "targetFormula": "(!rb:OCCUPIED_AS rb:active_person)"},
{"type": "NAME", "utterance": "call me christina", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF christina))"},
{"type": "QMOVIES", "utterance": "What is your favourite movie?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "QWORK_FOR", "utterance": "Who is your employer?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "QFROM", "utterance": "Which town do you call your home?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "QLIVE_IN", "utterance": "Where do you live?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "Which university do you study at?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"type": "QLIVE_IN", "utterance": "Where is my current home?", "targetFormula": "(!rb:LIVE_IN rb:active_person)"}
]

432
data/rpqa/8/train.examples Normal file
View File

@ -0,0 +1,432 @@
(example
(utterance "i like swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "For which company do you work?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "i was born in poland and you were born in switzerland")
(targetFormula (list (triples (triple rb:active_person rb:FROM poland)) (triples (triple rb:Roboy rb:FROM switzerland))))
)
(example
(utterance "What is your hobby?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "What is your favorite pastime activity?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "i am friends with ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "Which organization do you work at?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "my field of expertise is finance")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS finance)))
)
(example
(utterance "Are you a member of some cool organization?")
(targetFormula (!rb:MEMBER_OF rb:Roboy))
)
(example
(utterance "you met my friend ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "Who is your best friend?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "my name is emily")
(targetFormula (triples (triple rb:active_person rb:NAME_OF emily)))
)
(example
(utterance "Who is your best friend?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "my name is emily")
(targetFormula (triples (triple rb:active_person rb:NAME_OF emily)))
)
(example
(utterance "my current home is warsaw and your current home is munich")
(targetFormula (list (triples (triple rb:active_person rb:LIVE_IN warsaw)) (triples (triple rb:roboy rb:LIVE_IN munich))))
)
(example
(utterance "What is your home country?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "people call me sam")
(targetFormula (triples (triple rb:active_person rb:NAME_OF sam)))
)
(example
(utterance "my favorite activity is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "Who is my best friend?")
(targetFormula (!rb:FRIEND_OF rb:active_person))
)
(example
(utterance "What is my field of expertise?")
(targetFormula (!rb:OCCUPIED_AS rb:active_person))
)
(example
(utterance "i am a teacher")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS teacher)))
)
(example
(utterance "Where am I employed?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "my home country is ukraine")
(targetFormula (triples (triple rb:active_person rb:FROM ukraine)))
)
(example
(utterance "Where is your current home?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "my home country is ukraine")
(targetFormula (triples (triple rb:active_person rb:FROM ukraine)))
)
(example
(utterance "Where is your current home?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "What was the last movie you saw in the cinema?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "i work for EY")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR ey)))
)
(example
(utterance "my friend is called ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "my alma mater is TUW")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT tuw)))
)
(example
(utterance "i like pulp fiction the most")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE pulp_fiction)))
)
(example
(utterance "i currently live in munich")
(targetFormula (triples (triple rb:active_person rb:LIVE_IN munich)))
)
(example
(utterance "i last saw finding nemo")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE finding_nemo)))
)
(example
(utterance "i swim in my free time")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "What is my favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:active_person))
)
(example
(utterance "What do you do?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "What is my favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:active_person))
)
(example
(utterance "What do you do?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "i go to UW")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT uw)))
)
(example
(utterance "Am I a member of some cool organization?")
(targetFormula (!rb:MEMBER_OF rb:active_person))
)
(example
(utterance "i work at Nokia")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR nokia)))
)
(example
(utterance "How do you spend your free time?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "i earn my living at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "i was born in nicaragua")
(targetFormula (triples (triple rb:active_person rb:FROM nicaragua)))
)
(example
(utterance "my hobby is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "What is your name?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Where was I born?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "my or your name or hobby is emily and alona")
(targetFormula (triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona)))))
)
(example
(utterance "Where was I born?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "my or your name or hobby is emily and alona")
(targetFormula (triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona)))))
)
(example
(utterance "Where do you work?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "What is your alma mater?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "my name is emily and your name is roboy")
(targetFormula (list (triples (triple rb:active_person rb:NAME_OF emily)) (triples (triple rb:Roboy rb:NAME_OF roboy))))
)
(example
(utterance "What is my favorite thing to do?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "What do you work as?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "my favorite tv show is ellen and your favorite movie is titanic")
(targetFormula (list (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)) (triples (triple rb:Roboy rb:FAVORITE_MOVIE titanic))))
)
(example
(utterance "my name is elsa and anna")
(targetFormula (triples (triple rb:active_person rb:NAME_OF elsa) (triple rb:active_person rb:NAME_OF anna)))
)
(example
(utterance "Where do I earn my living?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "i am employed at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "What is your favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "i am employed at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "What is your favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "Which comedy do you like the most?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "i belong to IAESTE")
(targetFormula (triples (triple rb:active_person rb:MEMBER_OF iaeste)))
)
(example
(utterance "i come from poland")
(targetFormula (triples (triple rb:active_person rb:FROM poland)))
)
(example
(utterance "i study at TUM")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT tum)))
)
(example
(utterance "How do I spend my free time?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "What is my favourite movie?")
(targetFormula (!rb:FAVORITE_MOVIE rb:active_person))
)
(example
(utterance "my favorite tv show is ellen")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)))
)
(example
(utterance "For which company do I work?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Do I belong to any organizations?")
(targetFormula (!rb:MEMBER_OF rb:active_person))
)
(example
(utterance "Who is my employer?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Do I belong to any organizations?")
(targetFormula (!rb:MEMBER_OF rb:active_person))
)
(example
(utterance "Who is my employer?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Which organization do I work at?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "What is your field of expertise?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "What is my name?")
(targetFormula (!rb:NAME_OF rb:active_person))
)
(example
(utterance "i earn my living at Samsung and you work at Roboy")
(targetFormula (list (triples (triple rb:active_person rb:WORK_FOR samsung)) (triples (triple rb:active_person rb:WORK_FOR roboy))))
)
(example
(utterance "my favorite movie is titanic")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE titanic)))
)
(example
(utterance "Which city do I live in?")
(targetFormula (!rb:LIVE_IN rb:active_person))
)
(example
(utterance "i live in munich")
(targetFormula (triples (triple rb:active_person rb:LIVE_IN munich)))
)
(example
(utterance "Have I met any of your friends?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "my alma mater is TUW and you go to TUM")
(targetFormula (list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum))))
)
(example
(utterance "Which university do I go to?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "Which university do you study at?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "Where is my current home?")
(targetFormula (!rb:LIVE_IN rb:active_person))
)
(example
(utterance "my favorite thing to do is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "Which university do I study at?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "my best friend is ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "How can I call you?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "What do you do in your free time?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "i work as a nurse")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS nurse)))
)
(example
(utterance "Which city do you live in?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "Where are you from?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "What is my alma mater?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "anna is my name")
(targetFormula (triples (triple rb:active_person rb:NAME_OF anna)))
)
(example
(utterance "What is my alma mater?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "anna is my name")
(targetFormula (triples (triple rb:active_person rb:NAME_OF anna)))
)
(example
(utterance "Where do I work?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Which university do you go to?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "Where do I study?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "What is my home country?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "my employer is Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "Who are you?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Do you belong to any organizations?")
(targetFormula (!rb:MEMBER_OF rb:Roboy))
)
(example
(utterance "Where were you born?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "Where are you employed?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "i belong to IAESTE and you belong to Roboy")
(targetFormula (list (triples (triple rb:active_person rb:MEMBER_OF iaeste)) (triples (triple rb:Roboy rb:MEMBER_OF Roboy))))
)

110
data/rpqa/8/train.json Normal file
View File

@ -0,0 +1,110 @@
[
{"type": "HAS_HOBBY", "utterance": "i like swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QWORK_FOR", "utterance": "For which company do you work?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "FROM", "utterance": "i was born in poland and you were born in switzerland", "targetFormula": "(list (triples (triple rb:active_person rb:FROM poland)) (triples (triple rb:Roboy rb:FROM switzerland)))"},
{"type": "QHAS_HOBBY", "utterance": "What is your hobby?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "QHAS_HOBBY", "utterance": "What is your favorite pastime activity?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "FRIEND_OF", "utterance": "i am friends with ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "QWORK_FOR", "utterance": "Which organization do you work at?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "OCCUPIED_AS", "utterance": "my field of expertise is finance", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS finance))"},
{"type": "QMEMBER_OF", "utterance": "Are you a member of some cool organization?", "targetFormula": "(!rb:MEMBER_OF rb:Roboy)"},
{"type": "FRIEND_OF", "utterance": "you met my friend ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "QFRIEND_OF", "utterance": "Who is your best friend?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "NAME", "utterance": "my name is emily", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF emily))"},
{"type": "QFRIEND_OF", "utterance": "Who is your best friend?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "NAME", "utterance": "my name is emily", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF emily))"},
{"type": "LIVE_IN", "utterance": "my current home is warsaw and your current home is munich", "targetFormula": "(list (triples (triple rb:active_person rb:LIVE_IN warsaw)) (triples (triple rb:roboy rb:LIVE_IN munich)))"},
{"type": "QFROM", "utterance": "What is your home country?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "NAME", "utterance": "people call me sam", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF sam))"},
{"type": "HAS_HOBBY", "utterance": "my favorite activity is swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QFRIEND_OF", "utterance": "Who is my best friend?", "targetFormula": "(!rb:FRIEND_OF rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What is my field of expertise?", "targetFormula": "(!rb:OCCUPIED_AS rb:active_person)"},
{"type": "OCCUPIED_AS", "utterance": "i am a teacher", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS teacher))"},
{"type": "QWORK_FOR", "utterance": "Where am I employed?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "FROM", "utterance": "my home country is ukraine", "targetFormula": "(triples (triple rb:active_person rb:FROM ukraine))"},
{"type": "QLIVE_IN", "utterance": "Where is your current home?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "FROM", "utterance": "my home country is ukraine", "targetFormula": "(triples (triple rb:active_person rb:FROM ukraine))"},
{"type": "QLIVE_IN", "utterance": "Where is your current home?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "QMOVIES", "utterance": "What was the last movie you saw in the cinema?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "WORK_FOR", "utterance": "i work for EY", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR ey))"},
{"type": "FRIEND_OF", "utterance": "my friend is called ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "STUDY_AT", "utterance": "my alma mater is TUW", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT tuw))"},
{"type": "MOVIES", "utterance": "i like pulp fiction the most", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE pulp_fiction))"},
{"type": "LIVE_IN", "utterance": "i currently live in munich", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN munich))"},
{"type": "MOVIES", "utterance": "i last saw finding nemo", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE finding_nemo))"},
{"type": "HAS_HOBBY", "utterance": "i swim in my free time", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QMOVIES", "utterance": "What is my favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What do you do?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "QMOVIES", "utterance": "What is my favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What do you do?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "STUDY_AT", "utterance": "i go to UW", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT uw))"},
{"type": "QMEMBER_OF", "utterance": "Am I a member of some cool organization?", "targetFormula": "(!rb:MEMBER_OF rb:active_person)"},
{"type": "WORK_FOR", "utterance": "i work at Nokia", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR nokia))"},
{"type": "QHAS_HOBBY", "utterance": "How do you spend your free time?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "WORK_FOR", "utterance": "i earn my living at Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "FROM", "utterance": "i was born in nicaragua", "targetFormula": "(triples (triple rb:active_person rb:FROM nicaragua))"},
{"type": "HAS_HOBBY", "utterance": "my hobby is swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QNAME", "utterance": "What is your name?", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"type": "QFROM", "utterance": "Where was I born?", "targetFormula": "(!rb:FROM rb:active_person)"},
{"type": "NAME", "utterance": "my or your name or hobby is emily and alona", "targetFormula": "(triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona))))"},
{"type": "QFROM", "utterance": "Where was I born?", "targetFormula": "(!rb:FROM rb:active_person)"},
{"type": "NAME", "utterance": "my or your name or hobby is emily and alona", "targetFormula": "(triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona))))"},
{"type": "QWORK_FOR", "utterance": "Where do you work?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "What is your alma mater?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"utterance": "my name is emily and your name is roboy", "type": "NAME", "targetFormula": "(list (triples (triple rb:active_person rb:NAME_OF emily)) (triples (triple rb:Roboy rb:NAME_OF roboy)))"},
{"type": "QHAS_HOBBY", "utterance": "What is my favorite thing to do?", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What do you work as?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "MOVIES", "utterance": "my favorite tv show is ellen and your favorite movie is titanic", "targetFormula": "(list (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)) (triples (triple rb:Roboy rb:FAVORITE_MOVIE titanic)))"},
{"type": "NAME", "utterance": "my name is elsa and anna", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF elsa) (triple rb:active_person rb:NAME_OF anna))"},
{"type": "QWORK_FOR", "utterance": "Where do I earn my living?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "WORK_FOR", "utterance": "i am employed at Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "QMOVIES", "utterance": "What is your favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "WORK_FOR", "utterance": "i am employed at Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "QMOVIES", "utterance": "What is your favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "QMOVIES", "utterance": "Which comedy do you like the most?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "MEMBER_OF", "utterance": "i belong to IAESTE", "targetFormula": "(triples (triple rb:active_person rb:MEMBER_OF iaeste))"},
{"type": "FROM", "utterance": "i come from poland", "targetFormula": "(triples (triple rb:active_person rb:FROM poland))"},
{"type": "STUDY_AT", "utterance": "i study at TUM", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT tum))"},
{"type": "QHAS_HOBBY", "utterance": "How do I spend my free time?", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"type": "QMOVIES", "utterance": "What is my favourite movie?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:active_person)"},
{"type": "MOVIES", "utterance": "my favorite tv show is ellen", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE ellen))"},
{"type": "QWORK_FOR", "utterance": "For which company do I work?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QMEMBER_OF", "utterance": "Do I belong to any organizations?", "targetFormula": "(!rb:MEMBER_OF rb:active_person)"},
{"type": "QWORK_FOR", "utterance": "Who is my employer?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QMEMBER_OF", "utterance": "Do I belong to any organizations?", "targetFormula": "(!rb:MEMBER_OF rb:active_person)"},
{"type": "QWORK_FOR", "utterance": "Who is my employer?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QWORK_FOR", "utterance": "Which organization do I work at?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What is your field of expertise?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "QNAME", "utterance": "What is my name?", "targetFormula": "(!rb:NAME_OF rb:active_person)"},
{"type": "WORK_FOR", "utterance": "i earn my living at Samsung and you work at Roboy", "targetFormula": "(list (triples (triple rb:active_person rb:WORK_FOR samsung)) (triples (triple rb:active_person rb:WORK_FOR roboy)))"},
{"type": "MOVIES", "utterance": "my favorite movie is titanic", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE titanic))"},
{"type": "QLIVE_IN", "utterance": "Which city do I live in?", "targetFormula": "(!rb:LIVE_IN rb:active_person)"},
{"type": "LIVE_IN", "utterance": "i live in munich", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN munich))"},
{"type": "QFRIEND_OF", "utterance": "Have I met any of your friends?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "STUDY_AT", "utterance": "my alma mater is TUW and you go to TUM", "targetFormula": "(list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum)))"},
{"type": "QSTUDY_AT", "utterance": "Which university do I go to?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "QSTUDY_AT", "utterance": "Which university do you study at?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"type": "QLIVE_IN", "utterance": "Where is my current home?", "targetFormula": "(!rb:LIVE_IN rb:active_person)"},
{"type": "HAS_HOBBY", "utterance": "my favorite thing to do is swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QSTUDY_AT", "utterance": "Which university do I study at?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "FRIEND_OF", "utterance": "my best friend is ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "QNAME", "utterance": "How can I call you?", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"type": "QHAS_HOBBY", "utterance": "What do you do in your free time?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "OCCUPIED_AS", "utterance": "i work as a nurse", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS nurse))"},
{"type": "QLIVE_IN", "utterance": "Which city do you live in?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "QFROM", "utterance": "Where are you from?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "What is my alma mater?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "NAME", "utterance": "anna is my name", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF anna))"},
{"type": "QSTUDY_AT", "utterance": "What is my alma mater?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "NAME", "utterance": "anna is my name", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF anna))"},
{"type": "QWORK_FOR", "utterance": "Where do I work?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QSTUDY_AT", "utterance": "Which university do you go to?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "Where do I study?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "QFROM", "utterance": "What is my home country?", "targetFormula": "(!rb:FROM rb:active_person)"},
{"type": "WORK_FOR", "utterance": "my employer is Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "QNAME", "utterance": "Who are you?", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"type": "QMEMBER_OF", "utterance": "Do you belong to any organizations?", "targetFormula": "(!rb:MEMBER_OF rb:Roboy)"},
{"type": "QFROM", "utterance": "Where were you born?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "QWORK_FOR", "utterance": "Where are you employed?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "MEMBER_OF", "utterance": "i belong to IAESTE and you belong to Roboy", "targetFormula": "(list (triples (triple rb:active_person rb:MEMBER_OF iaeste)) (triples (triple rb:Roboy rb:MEMBER_OF Roboy)))"}
]

48
data/rpqa/9/test.examples Normal file
View File

@ -0,0 +1,48 @@
(example
(utterance "Which university do you study at?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "Where is my current home?")
(targetFormula (!rb:LIVE_IN rb:active_person))
)
(example
(utterance "my favorite thing to do is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "Which university do I study at?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "my best friend is ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "How can I call you?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "What do you do in your free time?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "i work as a nurse")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS nurse)))
)
(example
(utterance "Which city do you live in?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "Where are you from?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "What is my alma mater?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "anna is my name")
(targetFormula (triples (triple rb:active_person rb:NAME_OF anna)))
)

14
data/rpqa/9/test.json Normal file
View File

@ -0,0 +1,14 @@
[
{"type": "QSTUDY_AT", "utterance": "Which university do you study at?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"type": "QLIVE_IN", "utterance": "Where is my current home?", "targetFormula": "(!rb:LIVE_IN rb:active_person)"},
{"type": "HAS_HOBBY", "utterance": "my favorite thing to do is swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QSTUDY_AT", "utterance": "Which university do I study at?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "FRIEND_OF", "utterance": "my best friend is ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "QNAME", "utterance": "How can I call you?", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"type": "QHAS_HOBBY", "utterance": "What do you do in your free time?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "OCCUPIED_AS", "utterance": "i work as a nurse", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS nurse))"},
{"type": "QLIVE_IN", "utterance": "Which city do you live in?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "QFROM", "utterance": "Where are you from?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "What is my alma mater?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "NAME", "utterance": "anna is my name", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF anna))"}
]

432
data/rpqa/9/train.examples Normal file
View File

@ -0,0 +1,432 @@
(example
(utterance "i like swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "For which company do you work?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "i was born in poland and you were born in switzerland")
(targetFormula (list (triples (triple rb:active_person rb:FROM poland)) (triples (triple rb:Roboy rb:FROM switzerland))))
)
(example
(utterance "What is your hobby?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "What is your favorite pastime activity?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "i am friends with ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "Which organization do you work at?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "my field of expertise is finance")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS finance)))
)
(example
(utterance "Are you a member of some cool organization?")
(targetFormula (!rb:MEMBER_OF rb:Roboy))
)
(example
(utterance "you met my friend ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "Who is your best friend?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "my name is emily")
(targetFormula (triples (triple rb:active_person rb:NAME_OF emily)))
)
(example
(utterance "Who is your best friend?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "my name is emily")
(targetFormula (triples (triple rb:active_person rb:NAME_OF emily)))
)
(example
(utterance "my current home is warsaw and your current home is munich")
(targetFormula (list (triples (triple rb:active_person rb:LIVE_IN warsaw)) (triples (triple rb:roboy rb:LIVE_IN munich))))
)
(example
(utterance "What is your home country?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "people call me sam")
(targetFormula (triples (triple rb:active_person rb:NAME_OF sam)))
)
(example
(utterance "my favorite activity is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "Who is my best friend?")
(targetFormula (!rb:FRIEND_OF rb:active_person))
)
(example
(utterance "What is my field of expertise?")
(targetFormula (!rb:OCCUPIED_AS rb:active_person))
)
(example
(utterance "i am a teacher")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS teacher)))
)
(example
(utterance "Where am I employed?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "my home country is ukraine")
(targetFormula (triples (triple rb:active_person rb:FROM ukraine)))
)
(example
(utterance "Where is your current home?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "my home country is ukraine")
(targetFormula (triples (triple rb:active_person rb:FROM ukraine)))
)
(example
(utterance "Where is your current home?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "What was the last movie you saw in the cinema?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "i work for EY")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR ey)))
)
(example
(utterance "my friend is called ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "my alma mater is TUW")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT tuw)))
)
(example
(utterance "i like pulp fiction the most")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE pulp_fiction)))
)
(example
(utterance "i currently live in munich")
(targetFormula (triples (triple rb:active_person rb:LIVE_IN munich)))
)
(example
(utterance "i last saw finding nemo")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE finding_nemo)))
)
(example
(utterance "i swim in my free time")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "What is my favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:active_person))
)
(example
(utterance "What do you do?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "What is my favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:active_person))
)
(example
(utterance "What do you do?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "i go to UW")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT uw)))
)
(example
(utterance "Am I a member of some cool organization?")
(targetFormula (!rb:MEMBER_OF rb:active_person))
)
(example
(utterance "i work at Nokia")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR nokia)))
)
(example
(utterance "How do you spend your free time?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "i earn my living at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "i was born in nicaragua")
(targetFormula (triples (triple rb:active_person rb:FROM nicaragua)))
)
(example
(utterance "my hobby is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "What is your name?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Where was I born?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "my or your name or hobby is emily and alona")
(targetFormula (triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona)))))
)
(example
(utterance "Where was I born?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "my or your name or hobby is emily and alona")
(targetFormula (triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona)))))
)
(example
(utterance "Where do you work?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "What is your alma mater?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "my name is emily and your name is roboy")
(targetFormula (list (triples (triple rb:active_person rb:NAME_OF emily)) (triples (triple rb:Roboy rb:NAME_OF roboy))))
)
(example
(utterance "What is my favorite thing to do?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "What do you work as?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "my favorite tv show is ellen and your favorite movie is titanic")
(targetFormula (list (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)) (triples (triple rb:Roboy rb:FAVORITE_MOVIE titanic))))
)
(example
(utterance "my name is elsa and anna")
(targetFormula (triples (triple rb:active_person rb:NAME_OF elsa) (triple rb:active_person rb:NAME_OF anna)))
)
(example
(utterance "Where do I earn my living?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "i am employed at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "What is your favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "i am employed at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "What is your favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "Which comedy do you like the most?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "i belong to IAESTE")
(targetFormula (triples (triple rb:active_person rb:MEMBER_OF iaeste)))
)
(example
(utterance "i come from poland")
(targetFormula (triples (triple rb:active_person rb:FROM poland)))
)
(example
(utterance "i study at TUM")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT tum)))
)
(example
(utterance "How do I spend my free time?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "What is my favourite movie?")
(targetFormula (!rb:FAVORITE_MOVIE rb:active_person))
)
(example
(utterance "my favorite tv show is ellen")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)))
)
(example
(utterance "For which company do I work?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Do I belong to any organizations?")
(targetFormula (!rb:MEMBER_OF rb:active_person))
)
(example
(utterance "Who is my employer?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Do I belong to any organizations?")
(targetFormula (!rb:MEMBER_OF rb:active_person))
)
(example
(utterance "Who is my employer?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Which organization do I work at?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "What is your field of expertise?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "What is my name?")
(targetFormula (!rb:NAME_OF rb:active_person))
)
(example
(utterance "i earn my living at Samsung and you work at Roboy")
(targetFormula (list (triples (triple rb:active_person rb:WORK_FOR samsung)) (triples (triple rb:active_person rb:WORK_FOR roboy))))
)
(example
(utterance "my favorite movie is titanic")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE titanic)))
)
(example
(utterance "Which city do I live in?")
(targetFormula (!rb:LIVE_IN rb:active_person))
)
(example
(utterance "i live in munich")
(targetFormula (triples (triple rb:active_person rb:LIVE_IN munich)))
)
(example
(utterance "Have I met any of your friends?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "my alma mater is TUW and you go to TUM")
(targetFormula (list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum))))
)
(example
(utterance "Which university do I go to?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "my alma mater is TUW and you go to TUM")
(targetFormula (list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum))))
)
(example
(utterance "Which university do I go to?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "What is my hobby?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "my field of expertise is finance and you work as a robot")
(targetFormula (list (triples (triple rb:active_person rb:OCCUPIED_AS finance)) (triples (triple rb:Roboy rb:OCCUPIED_AS robot))))
)
(example
(utterance "What do I work as?")
(targetFormula (!rb:OCCUPIED_AS rb:active_person))
)
(example
(utterance "call me christina")
(targetFormula (triples (triple rb:active_person rb:NAME_OF christina)))
)
(example
(utterance "What is your favourite movie?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "Who is your employer?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "Which town do you call your home?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "Where do you live?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "Which university do you study at?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "Where is my current home?")
(targetFormula (!rb:LIVE_IN rb:active_person))
)
(example
(utterance "What is my alma mater?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "anna is my name")
(targetFormula (triples (triple rb:active_person rb:NAME_OF anna)))
)
(example
(utterance "Where do I work?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Which university do you go to?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "Where do I study?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "What is my home country?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "my employer is Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "Who are you?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Do you belong to any organizations?")
(targetFormula (!rb:MEMBER_OF rb:Roboy))
)
(example
(utterance "Where were you born?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "Where are you employed?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "i belong to IAESTE and you belong to Roboy")
(targetFormula (list (triples (triple rb:active_person rb:MEMBER_OF iaeste)) (triples (triple rb:Roboy rb:MEMBER_OF Roboy))))
)

110
data/rpqa/9/train.json Normal file
View File

@ -0,0 +1,110 @@
[
{"type": "HAS_HOBBY", "utterance": "i like swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QWORK_FOR", "utterance": "For which company do you work?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "FROM", "utterance": "i was born in poland and you were born in switzerland", "targetFormula": "(list (triples (triple rb:active_person rb:FROM poland)) (triples (triple rb:Roboy rb:FROM switzerland)))"},
{"type": "QHAS_HOBBY", "utterance": "What is your hobby?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "QHAS_HOBBY", "utterance": "What is your favorite pastime activity?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "FRIEND_OF", "utterance": "i am friends with ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "QWORK_FOR", "utterance": "Which organization do you work at?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "OCCUPIED_AS", "utterance": "my field of expertise is finance", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS finance))"},
{"type": "QMEMBER_OF", "utterance": "Are you a member of some cool organization?", "targetFormula": "(!rb:MEMBER_OF rb:Roboy)"},
{"type": "FRIEND_OF", "utterance": "you met my friend ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "QFRIEND_OF", "utterance": "Who is your best friend?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "NAME", "utterance": "my name is emily", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF emily))"},
{"type": "QFRIEND_OF", "utterance": "Who is your best friend?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "NAME", "utterance": "my name is emily", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF emily))"},
{"type": "LIVE_IN", "utterance": "my current home is warsaw and your current home is munich", "targetFormula": "(list (triples (triple rb:active_person rb:LIVE_IN warsaw)) (triples (triple rb:roboy rb:LIVE_IN munich)))"},
{"type": "QFROM", "utterance": "What is your home country?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "NAME", "utterance": "people call me sam", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF sam))"},
{"type": "HAS_HOBBY", "utterance": "my favorite activity is swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QFRIEND_OF", "utterance": "Who is my best friend?", "targetFormula": "(!rb:FRIEND_OF rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What is my field of expertise?", "targetFormula": "(!rb:OCCUPIED_AS rb:active_person)"},
{"type": "OCCUPIED_AS", "utterance": "i am a teacher", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS teacher))"},
{"type": "QWORK_FOR", "utterance": "Where am I employed?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "FROM", "utterance": "my home country is ukraine", "targetFormula": "(triples (triple rb:active_person rb:FROM ukraine))"},
{"type": "QLIVE_IN", "utterance": "Where is your current home?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "FROM", "utterance": "my home country is ukraine", "targetFormula": "(triples (triple rb:active_person rb:FROM ukraine))"},
{"type": "QLIVE_IN", "utterance": "Where is your current home?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "QMOVIES", "utterance": "What was the last movie you saw in the cinema?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "WORK_FOR", "utterance": "i work for EY", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR ey))"},
{"type": "FRIEND_OF", "utterance": "my friend is called ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "STUDY_AT", "utterance": "my alma mater is TUW", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT tuw))"},
{"type": "MOVIES", "utterance": "i like pulp fiction the most", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE pulp_fiction))"},
{"type": "LIVE_IN", "utterance": "i currently live in munich", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN munich))"},
{"type": "MOVIES", "utterance": "i last saw finding nemo", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE finding_nemo))"},
{"type": "HAS_HOBBY", "utterance": "i swim in my free time", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QMOVIES", "utterance": "What is my favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What do you do?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "QMOVIES", "utterance": "What is my favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What do you do?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "STUDY_AT", "utterance": "i go to UW", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT uw))"},
{"type": "QMEMBER_OF", "utterance": "Am I a member of some cool organization?", "targetFormula": "(!rb:MEMBER_OF rb:active_person)"},
{"type": "WORK_FOR", "utterance": "i work at Nokia", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR nokia))"},
{"type": "QHAS_HOBBY", "utterance": "How do you spend your free time?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "WORK_FOR", "utterance": "i earn my living at Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "FROM", "utterance": "i was born in nicaragua", "targetFormula": "(triples (triple rb:active_person rb:FROM nicaragua))"},
{"type": "HAS_HOBBY", "utterance": "my hobby is swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QNAME", "utterance": "What is your name?", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"type": "QFROM", "utterance": "Where was I born?", "targetFormula": "(!rb:FROM rb:active_person)"},
{"type": "NAME", "utterance": "my or your name or hobby is emily and alona", "targetFormula": "(triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona))))"},
{"type": "QFROM", "utterance": "Where was I born?", "targetFormula": "(!rb:FROM rb:active_person)"},
{"type": "NAME", "utterance": "my or your name or hobby is emily and alona", "targetFormula": "(triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona))))"},
{"type": "QWORK_FOR", "utterance": "Where do you work?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "What is your alma mater?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"utterance": "my name is emily and your name is roboy", "type": "NAME", "targetFormula": "(list (triples (triple rb:active_person rb:NAME_OF emily)) (triples (triple rb:Roboy rb:NAME_OF roboy)))"},
{"type": "QHAS_HOBBY", "utterance": "What is my favorite thing to do?", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What do you work as?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "MOVIES", "utterance": "my favorite tv show is ellen and your favorite movie is titanic", "targetFormula": "(list (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)) (triples (triple rb:Roboy rb:FAVORITE_MOVIE titanic)))"},
{"type": "NAME", "utterance": "my name is elsa and anna", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF elsa) (triple rb:active_person rb:NAME_OF anna))"},
{"type": "QWORK_FOR", "utterance": "Where do I earn my living?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "WORK_FOR", "utterance": "i am employed at Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "QMOVIES", "utterance": "What is your favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "WORK_FOR", "utterance": "i am employed at Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "QMOVIES", "utterance": "What is your favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "QMOVIES", "utterance": "Which comedy do you like the most?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "MEMBER_OF", "utterance": "i belong to IAESTE", "targetFormula": "(triples (triple rb:active_person rb:MEMBER_OF iaeste))"},
{"type": "FROM", "utterance": "i come from poland", "targetFormula": "(triples (triple rb:active_person rb:FROM poland))"},
{"type": "STUDY_AT", "utterance": "i study at TUM", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT tum))"},
{"type": "QHAS_HOBBY", "utterance": "How do I spend my free time?", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"type": "QMOVIES", "utterance": "What is my favourite movie?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:active_person)"},
{"type": "MOVIES", "utterance": "my favorite tv show is ellen", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE ellen))"},
{"type": "QWORK_FOR", "utterance": "For which company do I work?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QMEMBER_OF", "utterance": "Do I belong to any organizations?", "targetFormula": "(!rb:MEMBER_OF rb:active_person)"},
{"type": "QWORK_FOR", "utterance": "Who is my employer?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QMEMBER_OF", "utterance": "Do I belong to any organizations?", "targetFormula": "(!rb:MEMBER_OF rb:active_person)"},
{"type": "QWORK_FOR", "utterance": "Who is my employer?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QWORK_FOR", "utterance": "Which organization do I work at?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What is your field of expertise?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "QNAME", "utterance": "What is my name?", "targetFormula": "(!rb:NAME_OF rb:active_person)"},
{"type": "WORK_FOR", "utterance": "i earn my living at Samsung and you work at Roboy", "targetFormula": "(list (triples (triple rb:active_person rb:WORK_FOR samsung)) (triples (triple rb:active_person rb:WORK_FOR roboy)))"},
{"type": "MOVIES", "utterance": "my favorite movie is titanic", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE titanic))"},
{"type": "QLIVE_IN", "utterance": "Which city do I live in?", "targetFormula": "(!rb:LIVE_IN rb:active_person)"},
{"type": "LIVE_IN", "utterance": "i live in munich", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN munich))"},
{"type": "QFRIEND_OF", "utterance": "Have I met any of your friends?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "STUDY_AT", "utterance": "my alma mater is TUW and you go to TUM", "targetFormula": "(list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum)))"},
{"type": "QSTUDY_AT", "utterance": "Which university do I go to?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "STUDY_AT", "utterance": "my alma mater is TUW and you go to TUM", "targetFormula": "(list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum)))"},
{"type": "QSTUDY_AT", "utterance": "Which university do I go to?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "QHAS_HOBBY", "utterance": "What is my hobby?", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"type": "OCCUPIED_AS", "utterance": "my field of expertise is finance and you work as a robot", "targetFormula": "(list (triples (triple rb:active_person rb:OCCUPIED_AS finance)) (triples (triple rb:Roboy rb:OCCUPIED_AS robot)))"},
{"type": "QOCCUPIED_AS", "utterance": "What do I work as?", "targetFormula": "(!rb:OCCUPIED_AS rb:active_person)"},
{"type": "NAME", "utterance": "call me christina", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF christina))"},
{"type": "QMOVIES", "utterance": "What is your favourite movie?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "QWORK_FOR", "utterance": "Who is your employer?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "QFROM", "utterance": "Which town do you call your home?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "QLIVE_IN", "utterance": "Where do you live?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "Which university do you study at?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"type": "QLIVE_IN", "utterance": "Where is my current home?", "targetFormula": "(!rb:LIVE_IN rb:active_person)"},
{"type": "QSTUDY_AT", "utterance": "What is my alma mater?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "NAME", "utterance": "anna is my name", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF anna))"},
{"type": "QWORK_FOR", "utterance": "Where do I work?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QSTUDY_AT", "utterance": "Which university do you go to?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "Where do I study?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "QFROM", "utterance": "What is my home country?", "targetFormula": "(!rb:FROM rb:active_person)"},
{"type": "WORK_FOR", "utterance": "my employer is Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "QNAME", "utterance": "Who are you?", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"type": "QMEMBER_OF", "utterance": "Do you belong to any organizations?", "targetFormula": "(!rb:MEMBER_OF rb:Roboy)"},
{"type": "QFROM", "utterance": "Where were you born?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "QWORK_FOR", "utterance": "Where are you employed?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "MEMBER_OF", "utterance": "i belong to IAESTE and you belong to Roboy", "targetFormula": "(list (triples (triple rb:active_person rb:MEMBER_OF iaeste)) (triples (triple rb:Roboy rb:MEMBER_OF Roboy)))"}
]

View File

@ -0,0 +1,48 @@
(example
(utterance "i like swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "For which company do you work?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "i was born in poland and you were born in switzerland")
(targetFormula (list (triples (triple rb:active_person rb:FROM poland)) (triples (triple rb:Roboy rb:FROM switzerland))))
)
(example
(utterance "What is your hobby?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "What is your favorite pastime activity?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "i am friends with ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "Which organization do you work at?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "my field of expertise is finance")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS finance)))
)
(example
(utterance "Are you a member of some cool organization?")
(targetFormula (!rb:MEMBER_OF rb:Roboy))
)
(example
(utterance "you met my friend ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "Who is your best friend?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "my name is emily")
(targetFormula (triples (triple rb:active_person rb:NAME_OF emily)))
)

14
data/rpqa/A/1/test.json Normal file
View File

@ -0,0 +1,14 @@
[
{"type": "HAS_HOBBY", "utterance": "i like swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QWORK_FOR", "utterance": "For which company do you work?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "FROM", "utterance": "i was born in poland and you were born in switzerland", "targetFormula": "(list (triples (triple rb:active_person rb:FROM poland)) (triples (triple rb:Roboy rb:FROM switzerland)))"},
{"type": "QHAS_HOBBY", "utterance": "What is your hobby?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "QHAS_HOBBY", "utterance": "What is your favorite pastime activity?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "FRIEND_OF", "utterance": "i am friends with ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "QWORK_FOR", "utterance": "Which organization do you work at?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "OCCUPIED_AS", "utterance": "my field of expertise is finance", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS finance))"},
{"type": "QMEMBER_OF", "utterance": "Are you a member of some cool organization?", "targetFormula": "(!rb:MEMBER_OF rb:Roboy)"},
{"type": "FRIEND_OF", "utterance": "you met my friend ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "QFRIEND_OF", "utterance": "Who is your best friend?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "NAME", "utterance": "my name is emily", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF emily))"}
]

View File

@ -0,0 +1,160 @@
(example
(utterance "i am from russia")
(targetFormula (triples (triple rb:active_person rb:FROM russia)))
)
(example
(utterance "i earn my living at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "my alma mater is TUW and you go to TUM")
(targetFormula (list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum))))
)
(example
(utterance "my field of expertise is finance")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS finance)))
)
(example
(utterance "i belong to IAESTE and you belong to Roboy")
(targetFormula (list (triples (triple rb:active_person rb:MEMBER_OF iaeste)) (triples (triple rb:Roboy rb:MEMBER_OF Roboy))))
)
(example
(utterance "i work at Nokia")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR nokia)))
)
(example
(utterance "i come from poland")
(targetFormula (triples (triple rb:active_person rb:FROM poland)))
)
(example
(utterance "my favorite tv show is ellen and your favorite movie is titanic")
(targetFormula (list (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)) (triples (triple rb:Roboy rb:FAVORITE_MOVIE titanic))))
)
(example
(utterance "i study at TUM")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT tum)))
)
(example
(utterance "my or your name or hobby is emily and alona")
(targetFormula (triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona)))))
)
(example
(utterance "i work at Nokia")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR nokia)))
)
(example
(utterance "i come from poland")
(targetFormula (triples (triple rb:active_person rb:FROM poland)))
)
(example
(utterance "my favorite tv show is ellen and your favorite movie is titanic")
(targetFormula (list (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)) (triples (triple rb:Roboy rb:FAVORITE_MOVIE titanic))))
)
(example
(utterance "i study at TUM")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT tum)))
)
(example
(utterance "my or your name or hobby is emily and alona")
(targetFormula (triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona)))))
)
(example
(utterance "i swim in my free time")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "my friend is called ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "i am friends with ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "my hobby is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "my name is emily and your name is roboy")
(targetFormula (list (triples (triple rb:active_person rb:NAME_OF emily)) (triples (triple rb:Roboy rb:NAME_OF roboy))))
)
(example
(utterance "i swim in my free time")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "my friend is called ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "i am friends with ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "my hobby is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "my name is emily and your name is roboy")
(targetFormula (list (triples (triple rb:active_person rb:NAME_OF emily)) (triples (triple rb:Roboy rb:NAME_OF roboy))))
)
(example
(utterance "my best friend is ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "i earn my living at Samsung and you work at Roboy")
(targetFormula (list (triples (triple rb:active_person rb:WORK_FOR samsung)) (triples (triple rb:active_person rb:WORK_FOR roboy))))
)
(example
(utterance "i was born in nicaragua")
(targetFormula (triples (triple rb:active_person rb:FROM nicaragua)))
)
(example
(utterance "i live in munich")
(targetFormula (triples (triple rb:active_person rb:LIVE_IN munich)))
)
(example
(utterance "i go to UW")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT uw)))
)
(example
(utterance "my best friend is ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "i earn my living at Samsung and you work at Roboy")
(targetFormula (list (triples (triple rb:active_person rb:WORK_FOR samsung)) (triples (triple rb:active_person rb:WORK_FOR roboy))))
)
(example
(utterance "i was born in nicaragua")
(targetFormula (triples (triple rb:active_person rb:FROM nicaragua)))
)
(example
(utterance "i live in munich")
(targetFormula (triples (triple rb:active_person rb:LIVE_IN munich)))
)
(example
(utterance "i go to UW")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT uw)))
)
(example
(utterance "my current home is warsaw")
(targetFormula (triples (triple rb:active_person rb:LIVE_IN warsaw)))
)
(example
(utterance "anna is my name")
(targetFormula (triples (triple rb:active_person rb:NAME_OF anna)))
)
(example
(utterance "i am employed at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "i work as a nurse")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS nurse)))
)
(example
(utterance "i was born in poland and you were born in switzerland")
(targetFormula (list (triples (triple rb:active_person rb:FROM poland)) (triples (triple rb:Roboy rb:FROM switzerland))))
)

42
data/rpqa/A/1/train.json Normal file
View File

@ -0,0 +1,42 @@
[
{"utterance": "i am from russia", "type": "FROM", "targetFormula": "(triples (triple rb:active_person rb:FROM russia))"},
{"utterance": "i earn my living at Samsung", "type": "WORK_FOR", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"utterance": "my alma mater is TUW and you go to TUM", "type": "STUDY_AT", "targetFormula": "(list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum)))"},
{"utterance": "my field of expertise is finance", "type": "OCCUPIED_AS", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS finance))"},
{"utterance": "i belong to IAESTE and you belong to Roboy", "type": "MEMBER_OF", "targetFormula": "(list (triples (triple rb:active_person rb:MEMBER_OF iaeste)) (triples (triple rb:Roboy rb:MEMBER_OF Roboy)))"},
{"utterance": "i work at Nokia", "type": "WORK_FOR", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR nokia))"},
{"utterance": "i come from poland", "type": "FROM", "targetFormula": "(triples (triple rb:active_person rb:FROM poland))"},
{"utterance": "my favorite tv show is ellen and your favorite movie is titanic", "type": "MOVIES", "targetFormula": "(list (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)) (triples (triple rb:Roboy rb:FAVORITE_MOVIE titanic)))"},
{"utterance": "i study at TUM", "type": "STUDY_AT", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT tum))"},
{"utterance": "my or your name or hobby is emily and alona", "type": "NAME", "targetFormula": "(triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona))))"},
{"utterance": "i work at Nokia", "type": "WORK_FOR", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR nokia))"},
{"utterance": "i come from poland", "type": "FROM", "targetFormula": "(triples (triple rb:active_person rb:FROM poland))"},
{"utterance": "my favorite tv show is ellen and your favorite movie is titanic", "type": "MOVIES", "targetFormula": "(list (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)) (triples (triple rb:Roboy rb:FAVORITE_MOVIE titanic)))"},
{"utterance": "i study at TUM", "type": "STUDY_AT", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT tum))"},
{"utterance": "my or your name or hobby is emily and alona", "type": "NAME", "targetFormula": "(triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona))))"},
{"utterance": "i swim in my free time", "type": "HAS_HOBBY", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"utterance": "my friend is called ben", "type": "FRIEND_OF", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"utterance": "i am friends with ben", "type": "FRIEND_OF", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"utterance": "my hobby is swimming", "type": "HAS_HOBBY", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "NAME", "utterance": "my name is emily and your name is roboy", "targetFormula": "(list (triples (triple rb:active_person rb:NAME_OF emily)) (triples (triple rb:Roboy rb:NAME_OF roboy)))"},
{"utterance": "i swim in my free time", "type": "HAS_HOBBY", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"utterance": "my friend is called ben", "type": "FRIEND_OF", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"utterance": "i am friends with ben", "type": "FRIEND_OF", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"utterance": "my hobby is swimming", "type": "HAS_HOBBY", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "NAME", "utterance": "my name is emily and your name is roboy", "targetFormula": "(list (triples (triple rb:active_person rb:NAME_OF emily)) (triples (triple rb:Roboy rb:NAME_OF roboy)))"},
{"utterance": "my best friend is ben", "type": "FRIEND_OF", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"utterance": "i earn my living at Samsung and you work at Roboy", "type": "WORK_FOR", "targetFormula": "(list (triples (triple rb:active_person rb:WORK_FOR samsung)) (triples (triple rb:active_person rb:WORK_FOR roboy)))"},
{"utterance": "i was born in nicaragua", "type": "FROM", "targetFormula": "(triples (triple rb:active_person rb:FROM nicaragua))"},
{"utterance": "i live in munich", "type": "LIVE_IN", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN munich))"},
{"utterance": "i go to UW", "type": "STUDY_AT", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT uw))"},
{"utterance": "my best friend is ben", "type": "FRIEND_OF", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"utterance": "i earn my living at Samsung and you work at Roboy", "type": "WORK_FOR", "targetFormula": "(list (triples (triple rb:active_person rb:WORK_FOR samsung)) (triples (triple rb:active_person rb:WORK_FOR roboy)))"},
{"utterance": "i was born in nicaragua", "type": "FROM", "targetFormula": "(triples (triple rb:active_person rb:FROM nicaragua))"},
{"utterance": "i live in munich", "type": "LIVE_IN", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN munich))"},
{"utterance": "i go to UW", "type": "STUDY_AT", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT uw))"},
{"utterance": "my current home is warsaw", "type": "LIVE_IN", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN warsaw))"},
{"utterance": "anna is my name", "type": "NAME", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF anna))"},
{"utterance": "i am employed at Samsung", "type": "WORK_FOR", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"utterance": "i work as a nurse", "type": "OCCUPIED_AS", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS nurse))"},
{"utterance": "i was born in poland and you were born in switzerland", "type": "FROM", "targetFormula": "(list (triples (triple rb:active_person rb:FROM poland)) (triples (triple rb:Roboy rb:FROM switzerland)))"}
]

View File

@ -0,0 +1,48 @@
(example
(utterance "Who is your best friend?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "my name is emily")
(targetFormula (triples (triple rb:active_person rb:NAME_OF emily)))
)
(example
(utterance "my current home is warsaw and your current home is munich")
(targetFormula (list (triples (triple rb:active_person rb:LIVE_IN warsaw)) (triples (triple rb:roboy rb:LIVE_IN munich))))
)
(example
(utterance "What is your home country?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "people call me sam")
(targetFormula (triples (triple rb:active_person rb:NAME_OF sam)))
)
(example
(utterance "my favorite activity is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "Who is my best friend?")
(targetFormula (!rb:FRIEND_OF rb:active_person))
)
(example
(utterance "What is my field of expertise?")
(targetFormula (!rb:OCCUPIED_AS rb:active_person))
)
(example
(utterance "i am a teacher")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS teacher)))
)
(example
(utterance "Where am I employed?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "my home country is ukraine")
(targetFormula (triples (triple rb:active_person rb:FROM ukraine)))
)
(example
(utterance "Where is your current home?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)

14
data/rpqa/A/2/test.json Normal file
View File

@ -0,0 +1,14 @@
[
{"type": "QFRIEND_OF", "utterance": "Who is your best friend?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "NAME", "utterance": "my name is emily", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF emily))"},
{"type": "LIVE_IN", "utterance": "my current home is warsaw and your current home is munich", "targetFormula": "(list (triples (triple rb:active_person rb:LIVE_IN warsaw)) (triples (triple rb:roboy rb:LIVE_IN munich)))"},
{"type": "QFROM", "utterance": "What is your home country?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "NAME", "utterance": "people call me sam", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF sam))"},
{"type": "HAS_HOBBY", "utterance": "my favorite activity is swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QFRIEND_OF", "utterance": "Who is my best friend?", "targetFormula": "(!rb:FRIEND_OF rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What is my field of expertise?", "targetFormula": "(!rb:OCCUPIED_AS rb:active_person)"},
{"type": "OCCUPIED_AS", "utterance": "i am a teacher", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS teacher))"},
{"type": "QWORK_FOR", "utterance": "Where am I employed?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "FROM", "utterance": "my home country is ukraine", "targetFormula": "(triples (triple rb:active_person rb:FROM ukraine))"},
{"type": "QLIVE_IN", "utterance": "Where is your current home?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"}
]

View File

@ -0,0 +1,160 @@
(example
(utterance "my favorite thing to do is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "i like swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "i spend my free time swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "i like pulp fiction the most")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE pulp_fiction)))
)
(example
(utterance "you met my friend ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "i am from russia")
(targetFormula (triples (triple rb:active_person rb:FROM russia)))
)
(example
(utterance "i earn my living at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "my alma mater is TUW and you go to TUM")
(targetFormula (list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum))))
)
(example
(utterance "my field of expertise is finance")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS finance)))
)
(example
(utterance "i belong to IAESTE and you belong to Roboy")
(targetFormula (list (triples (triple rb:active_person rb:MEMBER_OF iaeste)) (triples (triple rb:Roboy rb:MEMBER_OF Roboy))))
)
(example
(utterance "i work at Nokia")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR nokia)))
)
(example
(utterance "i come from poland")
(targetFormula (triples (triple rb:active_person rb:FROM poland)))
)
(example
(utterance "my favorite tv show is ellen and your favorite movie is titanic")
(targetFormula (list (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)) (triples (triple rb:Roboy rb:FAVORITE_MOVIE titanic))))
)
(example
(utterance "i study at TUM")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT tum)))
)
(example
(utterance "my or your name or hobby is emily and alona")
(targetFormula (triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona)))))
)
(example
(utterance "i swim in my free time")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "my friend is called ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "i am friends with ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "my hobby is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "my name is emily and your name is roboy")
(targetFormula (list (triples (triple rb:active_person rb:NAME_OF emily)) (triples (triple rb:Roboy rb:NAME_OF roboy))))
)
(example
(utterance "i swim in my free time")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "my friend is called ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "i am friends with ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "my hobby is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "my name is emily and your name is roboy")
(targetFormula (list (triples (triple rb:active_person rb:NAME_OF emily)) (triples (triple rb:Roboy rb:NAME_OF roboy))))
)
(example
(utterance "my best friend is ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "i earn my living at Samsung and you work at Roboy")
(targetFormula (list (triples (triple rb:active_person rb:WORK_FOR samsung)) (triples (triple rb:active_person rb:WORK_FOR roboy))))
)
(example
(utterance "i was born in nicaragua")
(targetFormula (triples (triple rb:active_person rb:FROM nicaragua)))
)
(example
(utterance "i live in munich")
(targetFormula (triples (triple rb:active_person rb:LIVE_IN munich)))
)
(example
(utterance "i go to UW")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT uw)))
)
(example
(utterance "my best friend is ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "i earn my living at Samsung and you work at Roboy")
(targetFormula (list (triples (triple rb:active_person rb:WORK_FOR samsung)) (triples (triple rb:active_person rb:WORK_FOR roboy))))
)
(example
(utterance "i was born in nicaragua")
(targetFormula (triples (triple rb:active_person rb:FROM nicaragua)))
)
(example
(utterance "i live in munich")
(targetFormula (triples (triple rb:active_person rb:LIVE_IN munich)))
)
(example
(utterance "i go to UW")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT uw)))
)
(example
(utterance "my current home is warsaw")
(targetFormula (triples (triple rb:active_person rb:LIVE_IN warsaw)))
)
(example
(utterance "anna is my name")
(targetFormula (triples (triple rb:active_person rb:NAME_OF anna)))
)
(example
(utterance "i am employed at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "i work as a nurse")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS nurse)))
)
(example
(utterance "i was born in poland and you were born in switzerland")
(targetFormula (list (triples (triple rb:active_person rb:FROM poland)) (triples (triple rb:Roboy rb:FROM switzerland))))
)

42
data/rpqa/A/2/train.json Normal file
View File

@ -0,0 +1,42 @@
[
{"utterance": "my favorite thing to do is swimming", "type": "HAS_HOBBY", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"utterance": "i like swimming", "type": "HAS_HOBBY", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"utterance": "i spend my free time swimming", "type": "HAS_HOBBY", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"utterance": "i like pulp fiction the most", "type": "MOVIES", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE pulp_fiction))"},
{"utterance": "you met my friend ben", "type": "FRIEND_OF", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"utterance": "i am from russia", "type": "FROM", "targetFormula": "(triples (triple rb:active_person rb:FROM russia))"},
{"utterance": "i earn my living at Samsung", "type": "WORK_FOR", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"utterance": "my alma mater is TUW and you go to TUM", "type": "STUDY_AT", "targetFormula": "(list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum)))"},
{"utterance": "my field of expertise is finance", "type": "OCCUPIED_AS", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS finance))"},
{"utterance": "i belong to IAESTE and you belong to Roboy", "type": "MEMBER_OF", "targetFormula": "(list (triples (triple rb:active_person rb:MEMBER_OF iaeste)) (triples (triple rb:Roboy rb:MEMBER_OF Roboy)))"},
{"utterance": "i work at Nokia", "type": "WORK_FOR", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR nokia))"},
{"utterance": "i come from poland", "type": "FROM", "targetFormula": "(triples (triple rb:active_person rb:FROM poland))"},
{"utterance": "my favorite tv show is ellen and your favorite movie is titanic", "type": "MOVIES", "targetFormula": "(list (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)) (triples (triple rb:Roboy rb:FAVORITE_MOVIE titanic)))"},
{"utterance": "i study at TUM", "type": "STUDY_AT", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT tum))"},
{"utterance": "my or your name or hobby is emily and alona", "type": "NAME", "targetFormula": "(triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona))))"},
{"utterance": "i swim in my free time", "type": "HAS_HOBBY", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"utterance": "my friend is called ben", "type": "FRIEND_OF", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"utterance": "i am friends with ben", "type": "FRIEND_OF", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"utterance": "my hobby is swimming", "type": "HAS_HOBBY", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "NAME", "utterance": "my name is emily and your name is roboy", "targetFormula": "(list (triples (triple rb:active_person rb:NAME_OF emily)) (triples (triple rb:Roboy rb:NAME_OF roboy)))"},
{"utterance": "i swim in my free time", "type": "HAS_HOBBY", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"utterance": "my friend is called ben", "type": "FRIEND_OF", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"utterance": "i am friends with ben", "type": "FRIEND_OF", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"utterance": "my hobby is swimming", "type": "HAS_HOBBY", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "NAME", "utterance": "my name is emily and your name is roboy", "targetFormula": "(list (triples (triple rb:active_person rb:NAME_OF emily)) (triples (triple rb:Roboy rb:NAME_OF roboy)))"},
{"utterance": "my best friend is ben", "type": "FRIEND_OF", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"utterance": "i earn my living at Samsung and you work at Roboy", "type": "WORK_FOR", "targetFormula": "(list (triples (triple rb:active_person rb:WORK_FOR samsung)) (triples (triple rb:active_person rb:WORK_FOR roboy)))"},
{"utterance": "i was born in nicaragua", "type": "FROM", "targetFormula": "(triples (triple rb:active_person rb:FROM nicaragua))"},
{"utterance": "i live in munich", "type": "LIVE_IN", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN munich))"},
{"utterance": "i go to UW", "type": "STUDY_AT", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT uw))"},
{"utterance": "my best friend is ben", "type": "FRIEND_OF", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"utterance": "i earn my living at Samsung and you work at Roboy", "type": "WORK_FOR", "targetFormula": "(list (triples (triple rb:active_person rb:WORK_FOR samsung)) (triples (triple rb:active_person rb:WORK_FOR roboy)))"},
{"utterance": "i was born in nicaragua", "type": "FROM", "targetFormula": "(triples (triple rb:active_person rb:FROM nicaragua))"},
{"utterance": "i live in munich", "type": "LIVE_IN", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN munich))"},
{"utterance": "i go to UW", "type": "STUDY_AT", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT uw))"},
{"utterance": "my current home is warsaw", "type": "LIVE_IN", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN warsaw))"},
{"utterance": "anna is my name", "type": "NAME", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF anna))"},
{"utterance": "i am employed at Samsung", "type": "WORK_FOR", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"utterance": "i work as a nurse", "type": "OCCUPIED_AS", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS nurse))"},
{"utterance": "i was born in poland and you were born in switzerland", "type": "FROM", "targetFormula": "(list (triples (triple rb:active_person rb:FROM poland)) (triples (triple rb:Roboy rb:FROM switzerland)))"}
]

View File

@ -0,0 +1,48 @@
(example
(utterance "my home country is ukraine")
(targetFormula (triples (triple rb:active_person rb:FROM ukraine)))
)
(example
(utterance "Where is your current home?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "What was the last movie you saw in the cinema?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "i work for EY")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR ey)))
)
(example
(utterance "my friend is called ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "my alma mater is TUW")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT tuw)))
)
(example
(utterance "i like pulp fiction the most")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE pulp_fiction)))
)
(example
(utterance "i currently live in munich")
(targetFormula (triples (triple rb:active_person rb:LIVE_IN munich)))
)
(example
(utterance "i last saw finding nemo")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE finding_nemo)))
)
(example
(utterance "i swim in my free time")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "What is my favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:active_person))
)
(example
(utterance "What do you do?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)

14
data/rpqa/A/3/test.json Normal file
View File

@ -0,0 +1,14 @@
[
{"type": "FROM", "utterance": "my home country is ukraine", "targetFormula": "(triples (triple rb:active_person rb:FROM ukraine))"},
{"type": "QLIVE_IN", "utterance": "Where is your current home?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "QMOVIES", "utterance": "What was the last movie you saw in the cinema?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "WORK_FOR", "utterance": "i work for EY", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR ey))"},
{"type": "FRIEND_OF", "utterance": "my friend is called ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "STUDY_AT", "utterance": "my alma mater is TUW", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT tuw))"},
{"type": "MOVIES", "utterance": "i like pulp fiction the most", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE pulp_fiction))"},
{"type": "LIVE_IN", "utterance": "i currently live in munich", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN munich))"},
{"type": "MOVIES", "utterance": "i last saw finding nemo", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE finding_nemo))"},
{"type": "HAS_HOBBY", "utterance": "i swim in my free time", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QMOVIES", "utterance": "What is my favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What do you do?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"}
]

View File

@ -0,0 +1,160 @@
(example
(utterance "my favorite thing to do is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "i like swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "i spend my free time swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "i like pulp fiction the most")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE pulp_fiction)))
)
(example
(utterance "you met my friend ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "i am from russia")
(targetFormula (triples (triple rb:active_person rb:FROM russia)))
)
(example
(utterance "i earn my living at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "my alma mater is TUW and you go to TUM")
(targetFormula (list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum))))
)
(example
(utterance "my field of expertise is finance")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS finance)))
)
(example
(utterance "i belong to IAESTE and you belong to Roboy")
(targetFormula (list (triples (triple rb:active_person rb:MEMBER_OF iaeste)) (triples (triple rb:Roboy rb:MEMBER_OF Roboy))))
)
(example
(utterance "i am from russia")
(targetFormula (triples (triple rb:active_person rb:FROM russia)))
)
(example
(utterance "i earn my living at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "my alma mater is TUW and you go to TUM")
(targetFormula (list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum))))
)
(example
(utterance "my field of expertise is finance")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS finance)))
)
(example
(utterance "i belong to IAESTE and you belong to Roboy")
(targetFormula (list (triples (triple rb:active_person rb:MEMBER_OF iaeste)) (triples (triple rb:Roboy rb:MEMBER_OF Roboy))))
)
(example
(utterance "i work at Nokia")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR nokia)))
)
(example
(utterance "i come from poland")
(targetFormula (triples (triple rb:active_person rb:FROM poland)))
)
(example
(utterance "my favorite tv show is ellen and your favorite movie is titanic")
(targetFormula (list (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)) (triples (triple rb:Roboy rb:FAVORITE_MOVIE titanic))))
)
(example
(utterance "i study at TUM")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT tum)))
)
(example
(utterance "my or your name or hobby is emily and alona")
(targetFormula (triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona)))))
)
(example
(utterance "i swim in my free time")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "my friend is called ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "i am friends with ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "my hobby is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "my name is emily and your name is roboy")
(targetFormula (list (triples (triple rb:active_person rb:NAME_OF emily)) (triples (triple rb:Roboy rb:NAME_OF roboy))))
)
(example
(utterance "my best friend is ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "i earn my living at Samsung and you work at Roboy")
(targetFormula (list (triples (triple rb:active_person rb:WORK_FOR samsung)) (triples (triple rb:active_person rb:WORK_FOR roboy))))
)
(example
(utterance "i was born in nicaragua")
(targetFormula (triples (triple rb:active_person rb:FROM nicaragua)))
)
(example
(utterance "i live in munich")
(targetFormula (triples (triple rb:active_person rb:LIVE_IN munich)))
)
(example
(utterance "i go to UW")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT uw)))
)
(example
(utterance "my best friend is ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "i earn my living at Samsung and you work at Roboy")
(targetFormula (list (triples (triple rb:active_person rb:WORK_FOR samsung)) (triples (triple rb:active_person rb:WORK_FOR roboy))))
)
(example
(utterance "i was born in nicaragua")
(targetFormula (triples (triple rb:active_person rb:FROM nicaragua)))
)
(example
(utterance "i live in munich")
(targetFormula (triples (triple rb:active_person rb:LIVE_IN munich)))
)
(example
(utterance "i go to UW")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT uw)))
)
(example
(utterance "my current home is warsaw")
(targetFormula (triples (triple rb:active_person rb:LIVE_IN warsaw)))
)
(example
(utterance "anna is my name")
(targetFormula (triples (triple rb:active_person rb:NAME_OF anna)))
)
(example
(utterance "i am employed at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "i work as a nurse")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS nurse)))
)
(example
(utterance "i was born in poland and you were born in switzerland")
(targetFormula (list (triples (triple rb:active_person rb:FROM poland)) (triples (triple rb:Roboy rb:FROM switzerland))))
)

42
data/rpqa/A/3/train.json Normal file
View File

@ -0,0 +1,42 @@
[
{"utterance": "my favorite thing to do is swimming", "type": "HAS_HOBBY", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"utterance": "i like swimming", "type": "HAS_HOBBY", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"utterance": "i spend my free time swimming", "type": "HAS_HOBBY", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"utterance": "i like pulp fiction the most", "type": "MOVIES", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE pulp_fiction))"},
{"utterance": "you met my friend ben", "type": "FRIEND_OF", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"utterance": "i am from russia", "type": "FROM", "targetFormula": "(triples (triple rb:active_person rb:FROM russia))"},
{"utterance": "i earn my living at Samsung", "type": "WORK_FOR", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"utterance": "my alma mater is TUW and you go to TUM", "type": "STUDY_AT", "targetFormula": "(list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum)))"},
{"utterance": "my field of expertise is finance", "type": "OCCUPIED_AS", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS finance))"},
{"utterance": "i belong to IAESTE and you belong to Roboy", "type": "MEMBER_OF", "targetFormula": "(list (triples (triple rb:active_person rb:MEMBER_OF iaeste)) (triples (triple rb:Roboy rb:MEMBER_OF Roboy)))"},
{"utterance": "i am from russia", "type": "FROM", "targetFormula": "(triples (triple rb:active_person rb:FROM russia))"},
{"utterance": "i earn my living at Samsung", "type": "WORK_FOR", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"utterance": "my alma mater is TUW and you go to TUM", "type": "STUDY_AT", "targetFormula": "(list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum)))"},
{"utterance": "my field of expertise is finance", "type": "OCCUPIED_AS", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS finance))"},
{"utterance": "i belong to IAESTE and you belong to Roboy", "type": "MEMBER_OF", "targetFormula": "(list (triples (triple rb:active_person rb:MEMBER_OF iaeste)) (triples (triple rb:Roboy rb:MEMBER_OF Roboy)))"},
{"utterance": "i work at Nokia", "type": "WORK_FOR", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR nokia))"},
{"utterance": "i come from poland", "type": "FROM", "targetFormula": "(triples (triple rb:active_person rb:FROM poland))"},
{"utterance": "my favorite tv show is ellen and your favorite movie is titanic", "type": "MOVIES", "targetFormula": "(list (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)) (triples (triple rb:Roboy rb:FAVORITE_MOVIE titanic)))"},
{"utterance": "i study at TUM", "type": "STUDY_AT", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT tum))"},
{"utterance": "my or your name or hobby is emily and alona", "type": "NAME", "targetFormula": "(triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona))))"},
{"utterance": "i swim in my free time", "type": "HAS_HOBBY", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"utterance": "my friend is called ben", "type": "FRIEND_OF", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"utterance": "i am friends with ben", "type": "FRIEND_OF", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"utterance": "my hobby is swimming", "type": "HAS_HOBBY", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "NAME", "utterance": "my name is emily and your name is roboy", "targetFormula": "(list (triples (triple rb:active_person rb:NAME_OF emily)) (triples (triple rb:Roboy rb:NAME_OF roboy)))"},
{"utterance": "my best friend is ben", "type": "FRIEND_OF", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"utterance": "i earn my living at Samsung and you work at Roboy", "type": "WORK_FOR", "targetFormula": "(list (triples (triple rb:active_person rb:WORK_FOR samsung)) (triples (triple rb:active_person rb:WORK_FOR roboy)))"},
{"utterance": "i was born in nicaragua", "type": "FROM", "targetFormula": "(triples (triple rb:active_person rb:FROM nicaragua))"},
{"utterance": "i live in munich", "type": "LIVE_IN", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN munich))"},
{"utterance": "i go to UW", "type": "STUDY_AT", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT uw))"},
{"utterance": "my best friend is ben", "type": "FRIEND_OF", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"utterance": "i earn my living at Samsung and you work at Roboy", "type": "WORK_FOR", "targetFormula": "(list (triples (triple rb:active_person rb:WORK_FOR samsung)) (triples (triple rb:active_person rb:WORK_FOR roboy)))"},
{"utterance": "i was born in nicaragua", "type": "FROM", "targetFormula": "(triples (triple rb:active_person rb:FROM nicaragua))"},
{"utterance": "i live in munich", "type": "LIVE_IN", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN munich))"},
{"utterance": "i go to UW", "type": "STUDY_AT", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT uw))"},
{"utterance": "my current home is warsaw", "type": "LIVE_IN", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN warsaw))"},
{"utterance": "anna is my name", "type": "NAME", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF anna))"},
{"utterance": "i am employed at Samsung", "type": "WORK_FOR", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"utterance": "i work as a nurse", "type": "OCCUPIED_AS", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS nurse))"},
{"utterance": "i was born in poland and you were born in switzerland", "type": "FROM", "targetFormula": "(list (triples (triple rb:active_person rb:FROM poland)) (triples (triple rb:Roboy rb:FROM switzerland)))"}
]

View File

@ -0,0 +1,48 @@
(example
(utterance "What is my favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:active_person))
)
(example
(utterance "What do you do?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "i go to UW")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT uw)))
)
(example
(utterance "Am I a member of some cool organization?")
(targetFormula (!rb:MEMBER_OF rb:active_person))
)
(example
(utterance "i work at Nokia")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR nokia)))
)
(example
(utterance "How do you spend your free time?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "i earn my living at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "i was born in nicaragua")
(targetFormula (triples (triple rb:active_person rb:FROM nicaragua)))
)
(example
(utterance "my hobby is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "What is your name?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Where was I born?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "my or your name or hobby is emily and alona")
(targetFormula (triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona)))))
)

14
data/rpqa/A/4/test.json Normal file
View File

@ -0,0 +1,14 @@
[
{"type": "QMOVIES", "utterance": "What is my favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What do you do?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "STUDY_AT", "utterance": "i go to UW", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT uw))"},
{"type": "QMEMBER_OF", "utterance": "Am I a member of some cool organization?", "targetFormula": "(!rb:MEMBER_OF rb:active_person)"},
{"type": "WORK_FOR", "utterance": "i work at Nokia", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR nokia))"},
{"type": "QHAS_HOBBY", "utterance": "How do you spend your free time?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "WORK_FOR", "utterance": "i earn my living at Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "FROM", "utterance": "i was born in nicaragua", "targetFormula": "(triples (triple rb:active_person rb:FROM nicaragua))"},
{"type": "HAS_HOBBY", "utterance": "my hobby is swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QNAME", "utterance": "What is your name?", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"type": "QFROM", "utterance": "Where was I born?", "targetFormula": "(!rb:FROM rb:active_person)"},
{"type": "NAME", "utterance": "my or your name or hobby is emily and alona", "targetFormula": "(triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona))))"}
]

View File

@ -0,0 +1,160 @@
(example
(utterance "my favorite thing to do is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "i like swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "i spend my free time swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "i like pulp fiction the most")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE pulp_fiction)))
)
(example
(utterance "you met my friend ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "i am from russia")
(targetFormula (triples (triple rb:active_person rb:FROM russia)))
)
(example
(utterance "i earn my living at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "my alma mater is TUW and you go to TUM")
(targetFormula (list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum))))
)
(example
(utterance "my field of expertise is finance")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS finance)))
)
(example
(utterance "i belong to IAESTE and you belong to Roboy")
(targetFormula (list (triples (triple rb:active_person rb:MEMBER_OF iaeste)) (triples (triple rb:Roboy rb:MEMBER_OF Roboy))))
)
(example
(utterance "i am from russia")
(targetFormula (triples (triple rb:active_person rb:FROM russia)))
)
(example
(utterance "i earn my living at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "my alma mater is TUW and you go to TUM")
(targetFormula (list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum))))
)
(example
(utterance "my field of expertise is finance")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS finance)))
)
(example
(utterance "i belong to IAESTE and you belong to Roboy")
(targetFormula (list (triples (triple rb:active_person rb:MEMBER_OF iaeste)) (triples (triple rb:Roboy rb:MEMBER_OF Roboy))))
)
(example
(utterance "i work at Nokia")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR nokia)))
)
(example
(utterance "i come from poland")
(targetFormula (triples (triple rb:active_person rb:FROM poland)))
)
(example
(utterance "my favorite tv show is ellen and your favorite movie is titanic")
(targetFormula (list (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)) (triples (triple rb:Roboy rb:FAVORITE_MOVIE titanic))))
)
(example
(utterance "i study at TUM")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT tum)))
)
(example
(utterance "my or your name or hobby is emily and alona")
(targetFormula (triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona)))))
)
(example
(utterance "i work at Nokia")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR nokia)))
)
(example
(utterance "i come from poland")
(targetFormula (triples (triple rb:active_person rb:FROM poland)))
)
(example
(utterance "my favorite tv show is ellen and your favorite movie is titanic")
(targetFormula (list (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)) (triples (triple rb:Roboy rb:FAVORITE_MOVIE titanic))))
)
(example
(utterance "i study at TUM")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT tum)))
)
(example
(utterance "my or your name or hobby is emily and alona")
(targetFormula (triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona)))))
)
(example
(utterance "i swim in my free time")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "my friend is called ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "i am friends with ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "my hobby is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "my name is emily and your name is roboy")
(targetFormula (list (triples (triple rb:active_person rb:NAME_OF emily)) (triples (triple rb:Roboy rb:NAME_OF roboy))))
)
(example
(utterance "my best friend is ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "i earn my living at Samsung and you work at Roboy")
(targetFormula (list (triples (triple rb:active_person rb:WORK_FOR samsung)) (triples (triple rb:active_person rb:WORK_FOR roboy))))
)
(example
(utterance "i was born in nicaragua")
(targetFormula (triples (triple rb:active_person rb:FROM nicaragua)))
)
(example
(utterance "i live in munich")
(targetFormula (triples (triple rb:active_person rb:LIVE_IN munich)))
)
(example
(utterance "i go to UW")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT uw)))
)
(example
(utterance "my current home is warsaw")
(targetFormula (triples (triple rb:active_person rb:LIVE_IN warsaw)))
)
(example
(utterance "anna is my name")
(targetFormula (triples (triple rb:active_person rb:NAME_OF anna)))
)
(example
(utterance "i am employed at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "i work as a nurse")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS nurse)))
)
(example
(utterance "i was born in poland and you were born in switzerland")
(targetFormula (list (triples (triple rb:active_person rb:FROM poland)) (triples (triple rb:Roboy rb:FROM switzerland))))
)

42
data/rpqa/A/4/train.json Normal file
View File

@ -0,0 +1,42 @@
[
{"utterance": "my favorite thing to do is swimming", "type": "HAS_HOBBY", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"utterance": "i like swimming", "type": "HAS_HOBBY", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"utterance": "i spend my free time swimming", "type": "HAS_HOBBY", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"utterance": "i like pulp fiction the most", "type": "MOVIES", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE pulp_fiction))"},
{"utterance": "you met my friend ben", "type": "FRIEND_OF", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"utterance": "i am from russia", "type": "FROM", "targetFormula": "(triples (triple rb:active_person rb:FROM russia))"},
{"utterance": "i earn my living at Samsung", "type": "WORK_FOR", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"utterance": "my alma mater is TUW and you go to TUM", "type": "STUDY_AT", "targetFormula": "(list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum)))"},
{"utterance": "my field of expertise is finance", "type": "OCCUPIED_AS", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS finance))"},
{"utterance": "i belong to IAESTE and you belong to Roboy", "type": "MEMBER_OF", "targetFormula": "(list (triples (triple rb:active_person rb:MEMBER_OF iaeste)) (triples (triple rb:Roboy rb:MEMBER_OF Roboy)))"},
{"utterance": "i am from russia", "type": "FROM", "targetFormula": "(triples (triple rb:active_person rb:FROM russia))"},
{"utterance": "i earn my living at Samsung", "type": "WORK_FOR", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"utterance": "my alma mater is TUW and you go to TUM", "type": "STUDY_AT", "targetFormula": "(list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum)))"},
{"utterance": "my field of expertise is finance", "type": "OCCUPIED_AS", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS finance))"},
{"utterance": "i belong to IAESTE and you belong to Roboy", "type": "MEMBER_OF", "targetFormula": "(list (triples (triple rb:active_person rb:MEMBER_OF iaeste)) (triples (triple rb:Roboy rb:MEMBER_OF Roboy)))"},
{"utterance": "i work at Nokia", "type": "WORK_FOR", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR nokia))"},
{"utterance": "i come from poland", "type": "FROM", "targetFormula": "(triples (triple rb:active_person rb:FROM poland))"},
{"utterance": "my favorite tv show is ellen and your favorite movie is titanic", "type": "MOVIES", "targetFormula": "(list (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)) (triples (triple rb:Roboy rb:FAVORITE_MOVIE titanic)))"},
{"utterance": "i study at TUM", "type": "STUDY_AT", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT tum))"},
{"utterance": "my or your name or hobby is emily and alona", "type": "NAME", "targetFormula": "(triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona))))"},
{"utterance": "i work at Nokia", "type": "WORK_FOR", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR nokia))"},
{"utterance": "i come from poland", "type": "FROM", "targetFormula": "(triples (triple rb:active_person rb:FROM poland))"},
{"utterance": "my favorite tv show is ellen and your favorite movie is titanic", "type": "MOVIES", "targetFormula": "(list (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)) (triples (triple rb:Roboy rb:FAVORITE_MOVIE titanic)))"},
{"utterance": "i study at TUM", "type": "STUDY_AT", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT tum))"},
{"utterance": "my or your name or hobby is emily and alona", "type": "NAME", "targetFormula": "(triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona))))"},
{"utterance": "i swim in my free time", "type": "HAS_HOBBY", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"utterance": "my friend is called ben", "type": "FRIEND_OF", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"utterance": "i am friends with ben", "type": "FRIEND_OF", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"utterance": "my hobby is swimming", "type": "HAS_HOBBY", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "NAME", "utterance": "my name is emily and your name is roboy", "targetFormula": "(list (triples (triple rb:active_person rb:NAME_OF emily)) (triples (triple rb:Roboy rb:NAME_OF roboy)))"},
{"utterance": "my best friend is ben", "type": "FRIEND_OF", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"utterance": "i earn my living at Samsung and you work at Roboy", "type": "WORK_FOR", "targetFormula": "(list (triples (triple rb:active_person rb:WORK_FOR samsung)) (triples (triple rb:active_person rb:WORK_FOR roboy)))"},
{"utterance": "i was born in nicaragua", "type": "FROM", "targetFormula": "(triples (triple rb:active_person rb:FROM nicaragua))"},
{"utterance": "i live in munich", "type": "LIVE_IN", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN munich))"},
{"utterance": "i go to UW", "type": "STUDY_AT", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT uw))"},
{"utterance": "my current home is warsaw", "type": "LIVE_IN", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN warsaw))"},
{"utterance": "anna is my name", "type": "NAME", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF anna))"},
{"utterance": "i am employed at Samsung", "type": "WORK_FOR", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"utterance": "i work as a nurse", "type": "OCCUPIED_AS", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS nurse))"},
{"utterance": "i was born in poland and you were born in switzerland", "type": "FROM", "targetFormula": "(list (triples (triple rb:active_person rb:FROM poland)) (triples (triple rb:Roboy rb:FROM switzerland)))"}
]

View File

@ -0,0 +1,48 @@
(example
(utterance "Where was I born?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "my or your name or hobby is emily and alona")
(targetFormula (triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona)))))
)
(example
(utterance "Where do you work?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "What is your alma mater?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "my name is emily and your name is roboy")
(targetFormula (list (triples (triple rb:active_person rb:NAME_OF emily)) (triples (triple rb:Roboy rb:NAME_OF roboy))))
)
(example
(utterance "What is my favorite thing to do?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "What do you work as?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "my favorite tv show is ellen and your favorite movie is titanic")
(targetFormula (list (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)) (triples (triple rb:Roboy rb:FAVORITE_MOVIE titanic))))
)
(example
(utterance "my name is elsa and anna")
(targetFormula (triples (triple rb:active_person rb:NAME_OF elsa) (triple rb:active_person rb:NAME_OF anna)))
)
(example
(utterance "Where do I earn my living?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "i am employed at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "What is your favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)

14
data/rpqa/A/5/test.json Normal file
View File

@ -0,0 +1,14 @@
[
{"type": "QFROM", "utterance": "Where was I born?", "targetFormula": "(!rb:FROM rb:active_person)"},
{"type": "NAME", "utterance": "my or your name or hobby is emily and alona", "targetFormula": "(triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona))))"},
{"type": "QWORK_FOR", "utterance": "Where do you work?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "What is your alma mater?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"utterance": "my name is emily and your name is roboy", "type": "NAME", "targetFormula": "(list (triples (triple rb:active_person rb:NAME_OF emily)) (triples (triple rb:Roboy rb:NAME_OF roboy)))"},
{"type": "QHAS_HOBBY", "utterance": "What is my favorite thing to do?", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What do you work as?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "MOVIES", "utterance": "my favorite tv show is ellen and your favorite movie is titanic", "targetFormula": "(list (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)) (triples (triple rb:Roboy rb:FAVORITE_MOVIE titanic)))"},
{"type": "NAME", "utterance": "my name is elsa and anna", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF elsa) (triple rb:active_person rb:NAME_OF anna))"},
{"type": "QWORK_FOR", "utterance": "Where do I earn my living?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "WORK_FOR", "utterance": "i am employed at Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "QMOVIES", "utterance": "What is your favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"}
]

View File

@ -0,0 +1,160 @@
(example
(utterance "my favorite thing to do is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "i like swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "i spend my free time swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "i like pulp fiction the most")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE pulp_fiction)))
)
(example
(utterance "you met my friend ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "i am from russia")
(targetFormula (triples (triple rb:active_person rb:FROM russia)))
)
(example
(utterance "i earn my living at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "my alma mater is TUW and you go to TUM")
(targetFormula (list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum))))
)
(example
(utterance "my field of expertise is finance")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS finance)))
)
(example
(utterance "i belong to IAESTE and you belong to Roboy")
(targetFormula (list (triples (triple rb:active_person rb:MEMBER_OF iaeste)) (triples (triple rb:Roboy rb:MEMBER_OF Roboy))))
)
(example
(utterance "i am from russia")
(targetFormula (triples (triple rb:active_person rb:FROM russia)))
)
(example
(utterance "i earn my living at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "my alma mater is TUW and you go to TUM")
(targetFormula (list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum))))
)
(example
(utterance "my field of expertise is finance")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS finance)))
)
(example
(utterance "i belong to IAESTE and you belong to Roboy")
(targetFormula (list (triples (triple rb:active_person rb:MEMBER_OF iaeste)) (triples (triple rb:Roboy rb:MEMBER_OF Roboy))))
)
(example
(utterance "i work at Nokia")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR nokia)))
)
(example
(utterance "i come from poland")
(targetFormula (triples (triple rb:active_person rb:FROM poland)))
)
(example
(utterance "my favorite tv show is ellen and your favorite movie is titanic")
(targetFormula (list (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)) (triples (triple rb:Roboy rb:FAVORITE_MOVIE titanic))))
)
(example
(utterance "i study at TUM")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT tum)))
)
(example
(utterance "my or your name or hobby is emily and alona")
(targetFormula (triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona)))))
)
(example
(utterance "i work at Nokia")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR nokia)))
)
(example
(utterance "i come from poland")
(targetFormula (triples (triple rb:active_person rb:FROM poland)))
)
(example
(utterance "my favorite tv show is ellen and your favorite movie is titanic")
(targetFormula (list (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)) (triples (triple rb:Roboy rb:FAVORITE_MOVIE titanic))))
)
(example
(utterance "i study at TUM")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT tum)))
)
(example
(utterance "my or your name or hobby is emily and alona")
(targetFormula (triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona)))))
)
(example
(utterance "i swim in my free time")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "my friend is called ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "i am friends with ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "my hobby is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "my name is emily and your name is roboy")
(targetFormula (list (triples (triple rb:active_person rb:NAME_OF emily)) (triples (triple rb:Roboy rb:NAME_OF roboy))))
)
(example
(utterance "i swim in my free time")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "my friend is called ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "i am friends with ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "my hobby is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "my name is emily and your name is roboy")
(targetFormula (list (triples (triple rb:active_person rb:NAME_OF emily)) (triples (triple rb:Roboy rb:NAME_OF roboy))))
)
(example
(utterance "my best friend is ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "i earn my living at Samsung and you work at Roboy")
(targetFormula (list (triples (triple rb:active_person rb:WORK_FOR samsung)) (triples (triple rb:active_person rb:WORK_FOR roboy))))
)
(example
(utterance "i was born in nicaragua")
(targetFormula (triples (triple rb:active_person rb:FROM nicaragua)))
)
(example
(utterance "i live in munich")
(targetFormula (triples (triple rb:active_person rb:LIVE_IN munich)))
)
(example
(utterance "i go to UW")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT uw)))
)

42
data/rpqa/A/5/train.json Normal file
View File

@ -0,0 +1,42 @@
[
{"utterance": "my favorite thing to do is swimming", "type": "HAS_HOBBY", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"utterance": "i like swimming", "type": "HAS_HOBBY", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"utterance": "i spend my free time swimming", "type": "HAS_HOBBY", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"utterance": "i like pulp fiction the most", "type": "MOVIES", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE pulp_fiction))"},
{"utterance": "you met my friend ben", "type": "FRIEND_OF", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"utterance": "i am from russia", "type": "FROM", "targetFormula": "(triples (triple rb:active_person rb:FROM russia))"},
{"utterance": "i earn my living at Samsung", "type": "WORK_FOR", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"utterance": "my alma mater is TUW and you go to TUM", "type": "STUDY_AT", "targetFormula": "(list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum)))"},
{"utterance": "my field of expertise is finance", "type": "OCCUPIED_AS", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS finance))"},
{"utterance": "i belong to IAESTE and you belong to Roboy", "type": "MEMBER_OF", "targetFormula": "(list (triples (triple rb:active_person rb:MEMBER_OF iaeste)) (triples (triple rb:Roboy rb:MEMBER_OF Roboy)))"},
{"utterance": "i am from russia", "type": "FROM", "targetFormula": "(triples (triple rb:active_person rb:FROM russia))"},
{"utterance": "i earn my living at Samsung", "type": "WORK_FOR", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"utterance": "my alma mater is TUW and you go to TUM", "type": "STUDY_AT", "targetFormula": "(list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum)))"},
{"utterance": "my field of expertise is finance", "type": "OCCUPIED_AS", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS finance))"},
{"utterance": "i belong to IAESTE and you belong to Roboy", "type": "MEMBER_OF", "targetFormula": "(list (triples (triple rb:active_person rb:MEMBER_OF iaeste)) (triples (triple rb:Roboy rb:MEMBER_OF Roboy)))"},
{"utterance": "i work at Nokia", "type": "WORK_FOR", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR nokia))"},
{"utterance": "i come from poland", "type": "FROM", "targetFormula": "(triples (triple rb:active_person rb:FROM poland))"},
{"utterance": "my favorite tv show is ellen and your favorite movie is titanic", "type": "MOVIES", "targetFormula": "(list (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)) (triples (triple rb:Roboy rb:FAVORITE_MOVIE titanic)))"},
{"utterance": "i study at TUM", "type": "STUDY_AT", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT tum))"},
{"utterance": "my or your name or hobby is emily and alona", "type": "NAME", "targetFormula": "(triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona))))"},
{"utterance": "i work at Nokia", "type": "WORK_FOR", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR nokia))"},
{"utterance": "i come from poland", "type": "FROM", "targetFormula": "(triples (triple rb:active_person rb:FROM poland))"},
{"utterance": "my favorite tv show is ellen and your favorite movie is titanic", "type": "MOVIES", "targetFormula": "(list (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)) (triples (triple rb:Roboy rb:FAVORITE_MOVIE titanic)))"},
{"utterance": "i study at TUM", "type": "STUDY_AT", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT tum))"},
{"utterance": "my or your name or hobby is emily and alona", "type": "NAME", "targetFormula": "(triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona))))"},
{"utterance": "i swim in my free time", "type": "HAS_HOBBY", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"utterance": "my friend is called ben", "type": "FRIEND_OF", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"utterance": "i am friends with ben", "type": "FRIEND_OF", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"utterance": "my hobby is swimming", "type": "HAS_HOBBY", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "NAME", "utterance": "my name is emily and your name is roboy", "targetFormula": "(list (triples (triple rb:active_person rb:NAME_OF emily)) (triples (triple rb:Roboy rb:NAME_OF roboy)))"},
{"utterance": "i swim in my free time", "type": "HAS_HOBBY", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"utterance": "my friend is called ben", "type": "FRIEND_OF", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"utterance": "i am friends with ben", "type": "FRIEND_OF", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"utterance": "my hobby is swimming", "type": "HAS_HOBBY", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "NAME", "utterance": "my name is emily and your name is roboy", "targetFormula": "(list (triples (triple rb:active_person rb:NAME_OF emily)) (triples (triple rb:Roboy rb:NAME_OF roboy)))"},
{"utterance": "my best friend is ben", "type": "FRIEND_OF", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"utterance": "i earn my living at Samsung and you work at Roboy", "type": "WORK_FOR", "targetFormula": "(list (triples (triple rb:active_person rb:WORK_FOR samsung)) (triples (triple rb:active_person rb:WORK_FOR roboy)))"},
{"utterance": "i was born in nicaragua", "type": "FROM", "targetFormula": "(triples (triple rb:active_person rb:FROM nicaragua))"},
{"utterance": "i live in munich", "type": "LIVE_IN", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN munich))"},
{"utterance": "i go to UW", "type": "STUDY_AT", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT uw))"}
]

View File

@ -0,0 +1,40 @@
(example
(utterance "my favorite thing to do is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "i like swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "i spend my free time swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "i like pulp fiction the most")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE pulp_fiction)))
)
(example
(utterance "you met my friend ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "i am from russia")
(targetFormula (triples (triple rb:active_person rb:FROM russia)))
)
(example
(utterance "i earn my living at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "my alma mater is TUW and you go to TUM")
(targetFormula (list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum))))
)
(example
(utterance "my field of expertise is finance")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS finance)))
)
(example
(utterance "i belong to IAESTE and you belong to Roboy")
(targetFormula (list (triples (triple rb:active_person rb:MEMBER_OF iaeste)) (triples (triple rb:Roboy rb:MEMBER_OF Roboy))))
)

12
data/rpqa/A/Atrain-0.json Normal file
View File

@ -0,0 +1,12 @@
[
{"type": "HAS_HOBBY", "utterance": "my favorite thing to do is swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "HAS_HOBBY", "utterance": "i like swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "HAS_HOBBY", "utterance": "i spend my free time swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "MOVIES", "utterance": "i like pulp fiction the most", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE pulp_fiction))"},
{"type": "FRIEND_OF", "utterance": "you met my friend ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "FROM", "utterance": "i am from russia", "targetFormula": "(triples (triple rb:active_person rb:FROM russia))"},
{"type": "WORK_FOR", "utterance": "i earn my living at Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "STUDY_AT", "utterance": "my alma mater is TUW and you go to TUM", "targetFormula": "(list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum)))"},
{"type": "OCCUPIED_AS", "utterance": "my field of expertise is finance", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS finance))"},
{"type": "MEMBER_OF", "utterance": "i belong to IAESTE and you belong to Roboy", "targetFormula": "(list (triples (triple rb:active_person rb:MEMBER_OF iaeste)) (triples (triple rb:Roboy rb:MEMBER_OF Roboy)))"}
]

View File

@ -0,0 +1,40 @@
(example
(utterance "i am from russia")
(targetFormula (triples (triple rb:active_person rb:FROM russia)))
)
(example
(utterance "i earn my living at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "my alma mater is TUW and you go to TUM")
(targetFormula (list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum))))
)
(example
(utterance "my field of expertise is finance")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS finance)))
)
(example
(utterance "i belong to IAESTE and you belong to Roboy")
(targetFormula (list (triples (triple rb:active_person rb:MEMBER_OF iaeste)) (triples (triple rb:Roboy rb:MEMBER_OF Roboy))))
)
(example
(utterance "i work at Nokia")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR nokia)))
)
(example
(utterance "i come from poland")
(targetFormula (triples (triple rb:active_person rb:FROM poland)))
)
(example
(utterance "my favorite tv show is ellen and your favorite movie is titanic")
(targetFormula (list (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)) (triples (triple rb:Roboy rb:FAVORITE_MOVIE titanic))))
)
(example
(utterance "i study at TUM")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT tum)))
)
(example
(utterance "my or your name or hobby is emily and alona")
(targetFormula (triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona)))))
)

12
data/rpqa/A/Atrain-1.json Normal file
View File

@ -0,0 +1,12 @@
[
{"type": "FROM", "utterance": "i am from russia", "targetFormula": "(triples (triple rb:active_person rb:FROM russia))"},
{"type": "WORK_FOR", "utterance": "i earn my living at Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "STUDY_AT", "utterance": "my alma mater is TUW and you go to TUM", "targetFormula": "(list (triples (triple rb:active_person rb:STUDY_AT tuw)) (triples (triple rb:Roboy rb:STUDY_AT tum)))"},
{"type": "OCCUPIED_AS", "utterance": "my field of expertise is finance", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS finance))"},
{"type": "MEMBER_OF", "utterance": "i belong to IAESTE and you belong to Roboy", "targetFormula": "(list (triples (triple rb:active_person rb:MEMBER_OF iaeste)) (triples (triple rb:Roboy rb:MEMBER_OF Roboy)))"},
{"type": "WORK_FOR", "utterance": "i work at Nokia", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR nokia))"},
{"type": "FROM", "utterance": "i come from poland", "targetFormula": "(triples (triple rb:active_person rb:FROM poland))"},
{"type": "MOVIES", "utterance": "my favorite tv show is ellen and your favorite movie is titanic", "targetFormula": "(list (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)) (triples (triple rb:Roboy rb:FAVORITE_MOVIE titanic)))"},
{"type": "STUDY_AT", "utterance": "i study at TUM", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT tum))"},
{"type": "NAME", "utterance": "my or your name or hobby is emily and alona", "targetFormula": "(triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona))))"}
]

View File

@ -0,0 +1,40 @@
(example
(utterance "i work at Nokia")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR nokia)))
)
(example
(utterance "i come from poland")
(targetFormula (triples (triple rb:active_person rb:FROM poland)))
)
(example
(utterance "my favorite tv show is ellen and your favorite movie is titanic")
(targetFormula (list (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)) (triples (triple rb:Roboy rb:FAVORITE_MOVIE titanic))))
)
(example
(utterance "i study at TUM")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT tum)))
)
(example
(utterance "my or your name or hobby is emily and alona")
(targetFormula (triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona)))))
)
(example
(utterance "i swim in my free time")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "my friend is called ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "i am friends with ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "my hobby is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "my name is emily and your name is roboy")
(targetFormula (list (triples (triple rb:active_person rb:NAME_OF emily)) (triples (triple rb:Roboy rb:NAME_OF roboy))))
)

12
data/rpqa/A/Atrain-2.json Normal file
View File

@ -0,0 +1,12 @@
[
{"type": "WORK_FOR", "utterance": "i work at Nokia", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR nokia))"},
{"type": "FROM", "utterance": "i come from poland", "targetFormula": "(triples (triple rb:active_person rb:FROM poland))"},
{"type": "MOVIES", "utterance": "my favorite tv show is ellen and your favorite movie is titanic", "targetFormula": "(list (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)) (triples (triple rb:Roboy rb:FAVORITE_MOVIE titanic)))"},
{"type": "STUDY_AT", "utterance": "i study at TUM", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT tum))"},
{"type": "NAME", "utterance": "my or your name or hobby is emily and alona", "targetFormula": "(triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona))))"},
{"type": "HAS_HOBBY", "utterance": "i swim in my free time", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "FRIEND_OF", "utterance": "my friend is called ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "FRIEND_OF", "utterance": "i am friends with ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "HAS_HOBBY", "utterance": "my hobby is swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"utterance": "my name is emily and your name is roboy", "type": "NAME", "targetFormula": "(list (triples (triple rb:active_person rb:NAME_OF emily)) (triples (triple rb:Roboy rb:NAME_OF roboy)))"}
]

View File

@ -0,0 +1,40 @@
(example
(utterance "i swim in my free time")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "my friend is called ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "i am friends with ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "my hobby is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "my name is emily and your name is roboy")
(targetFormula (list (triples (triple rb:active_person rb:NAME_OF emily)) (triples (triple rb:Roboy rb:NAME_OF roboy))))
)
(example
(utterance "my best friend is ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "i earn my living at Samsung and you work at Roboy")
(targetFormula (list (triples (triple rb:active_person rb:WORK_FOR samsung)) (triples (triple rb:active_person rb:WORK_FOR roboy))))
)
(example
(utterance "i was born in nicaragua")
(targetFormula (triples (triple rb:active_person rb:FROM nicaragua)))
)
(example
(utterance "i live in munich")
(targetFormula (triples (triple rb:active_person rb:LIVE_IN munich)))
)
(example
(utterance "i go to UW")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT uw)))
)

12
data/rpqa/A/Atrain-3.json Normal file
View File

@ -0,0 +1,12 @@
[
{"type": "HAS_HOBBY", "utterance": "i swim in my free time", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "FRIEND_OF", "utterance": "my friend is called ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "FRIEND_OF", "utterance": "i am friends with ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "HAS_HOBBY", "utterance": "my hobby is swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"utterance": "my name is emily and your name is roboy", "type": "NAME", "targetFormula": "(list (triples (triple rb:active_person rb:NAME_OF emily)) (triples (triple rb:Roboy rb:NAME_OF roboy)))"},
{"type": "FRIEND_OF", "utterance": "my best friend is ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "WORK_FOR", "utterance": "i earn my living at Samsung and you work at Roboy", "targetFormula": "(list (triples (triple rb:active_person rb:WORK_FOR samsung)) (triples (triple rb:active_person rb:WORK_FOR roboy)))"},
{"type": "FROM", "utterance": "i was born in nicaragua", "targetFormula": "(triples (triple rb:active_person rb:FROM nicaragua))"},
{"type": "LIVE_IN", "utterance": "i live in munich", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN munich))"},
{"type": "STUDY_AT", "utterance": "i go to UW", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT uw))"}
]

View File

@ -0,0 +1,40 @@
(example
(utterance "my best friend is ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "i earn my living at Samsung and you work at Roboy")
(targetFormula (list (triples (triple rb:active_person rb:WORK_FOR samsung)) (triples (triple rb:active_person rb:WORK_FOR roboy))))
)
(example
(utterance "i was born in nicaragua")
(targetFormula (triples (triple rb:active_person rb:FROM nicaragua)))
)
(example
(utterance "i live in munich")
(targetFormula (triples (triple rb:active_person rb:LIVE_IN munich)))
)
(example
(utterance "i go to UW")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT uw)))
)
(example
(utterance "my current home is warsaw")
(targetFormula (triples (triple rb:active_person rb:LIVE_IN warsaw)))
)
(example
(utterance "anna is my name")
(targetFormula (triples (triple rb:active_person rb:NAME_OF anna)))
)
(example
(utterance "i am employed at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "i work as a nurse")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS nurse)))
)
(example
(utterance "i was born in poland and you were born in switzerland")
(targetFormula (list (triples (triple rb:active_person rb:FROM poland)) (triples (triple rb:Roboy rb:FROM switzerland))))
)

12
data/rpqa/A/Atrain-4.json Normal file
View File

@ -0,0 +1,12 @@
[
{"type": "FRIEND_OF", "utterance": "my best friend is ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "WORK_FOR", "utterance": "i earn my living at Samsung and you work at Roboy", "targetFormula": "(list (triples (triple rb:active_person rb:WORK_FOR samsung)) (triples (triple rb:active_person rb:WORK_FOR roboy)))"},
{"type": "FROM", "utterance": "i was born in nicaragua", "targetFormula": "(triples (triple rb:active_person rb:FROM nicaragua))"},
{"type": "LIVE_IN", "utterance": "i live in munich", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN munich))"},
{"type": "STUDY_AT", "utterance": "i go to UW", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT uw))"},
{"type": "LIVE_IN", "utterance": "my current home is warsaw", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN warsaw))"},
{"type": "NAME", "utterance": "anna is my name", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF anna))"},
{"type": "WORK_FOR", "utterance": "i am employed at Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "OCCUPIED_AS", "utterance": "i work as a nurse", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS nurse))"},
{"type": "FROM", "utterance": "i was born in poland and you were born in switzerland", "targetFormula": "(list (triples (triple rb:active_person rb:FROM poland)) (triples (triple rb:Roboy rb:FROM switzerland)))"}
]

View File

@ -0,0 +1,48 @@
(example
(utterance "i like swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "For which company do you work?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "i was born in poland and you were born in switzerland")
(targetFormula (list (triples (triple rb:active_person rb:FROM poland)) (triples (triple rb:Roboy rb:FROM switzerland))))
)
(example
(utterance "What is your hobby?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "What is your favorite pastime activity?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "i am friends with ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "Which organization do you work at?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "my field of expertise is finance")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS finance)))
)
(example
(utterance "Are you a member of some cool organization?")
(targetFormula (!rb:MEMBER_OF rb:Roboy))
)
(example
(utterance "you met my friend ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "Who is your best friend?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "my name is emily")
(targetFormula (triples (triple rb:active_person rb:NAME_OF emily)))
)

14
data/rpqa/Q/1/test.json Normal file
View File

@ -0,0 +1,14 @@
[
{"type": "HAS_HOBBY", "utterance": "i like swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QWORK_FOR", "utterance": "For which company do you work?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "FROM", "utterance": "i was born in poland and you were born in switzerland", "targetFormula": "(list (triples (triple rb:active_person rb:FROM poland)) (triples (triple rb:Roboy rb:FROM switzerland)))"},
{"type": "QHAS_HOBBY", "utterance": "What is your hobby?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "QHAS_HOBBY", "utterance": "What is your favorite pastime activity?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "FRIEND_OF", "utterance": "i am friends with ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "QWORK_FOR", "utterance": "Which organization do you work at?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "OCCUPIED_AS", "utterance": "my field of expertise is finance", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS finance))"},
{"type": "QMEMBER_OF", "utterance": "Are you a member of some cool organization?", "targetFormula": "(!rb:MEMBER_OF rb:Roboy)"},
{"type": "FRIEND_OF", "utterance": "you met my friend ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "QFRIEND_OF", "utterance": "Who is your best friend?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "NAME", "utterance": "my name is emily", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF emily))"}
]

View File

@ -0,0 +1,224 @@
(example
(utterance "What is my alma mater?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "Where do I work?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Do you have a friend whom I have met?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "Where are you from?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "Who are you?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Which university do you go to?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "Which town do I call my home?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "Maybe I know some friends of yours. Would you name one?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "What do I work as?")
(targetFormula (!rb:OCCUPIED_AS rb:active_person))
)
(example
(utterance "Which organization do you work at?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "What is your favorite pastime activity?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "How do I spend my free time?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "What is my hobby?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "Which city do you live in?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "Which university do you go to?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "Which town do I call my home?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "Maybe I know some friends of yours. Would you name one?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "What do I work as?")
(targetFormula (!rb:OCCUPIED_AS rb:active_person))
)
(example
(utterance "Which organization do you work at?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "What is your favorite pastime activity?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "How do I spend my free time?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "What is my hobby?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "Which city do you live in?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "What is your field of expertise?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "What is your favourite movie?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "Where am I from?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "How can I call you?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Who is your employer?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "What is your favorite pastime activity?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "How do I spend my free time?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "What is my hobby?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "Which city do you live in?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "What is your field of expertise?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "What is your favourite movie?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "Where am I from?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "How can I call you?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Who is your employer?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "What is your profession?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "Where do you live?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "How do you spend your free time?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "Where do I earn my living?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "What is my home country?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "What is your favourite movie?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "Where am I from?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "How can I call you?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Who is your employer?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "What is your profession?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "Where do you live?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "How do you spend your free time?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "Where do I earn my living?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "What is my home country?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "Which university do I study at?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "For which company do I work?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Are you a member of some cool organization?")
(targetFormula (!rb:MEMBER_OF rb:Roboy))
)
(example
(utterance "Which university do you study at?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "What was the last movie you saw in the cinema?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)

58
data/rpqa/Q/1/train.json Normal file
View File

@ -0,0 +1,58 @@
[
{"utterance": "What is my alma mater?", "type": "QSTUDY_AT", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"utterance": "Where do I work?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"utterance": "Do you have a friend whom I have met?", "type": "QFRIEND_OF", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"utterance": "Where are you from?", "type": "QFROM", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"utterance": "Who are you?", "type": "QNAME", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"utterance": "Which university do you go to?", "type": "QSTUDY_AT", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"utterance": "Which town do I call my home?", "type": "QFROM", "targetFormula": "(!rb:FROM rb:active_person)"},
{"utterance": "Maybe I know some friends of yours. Would you name one?", "type": "QFRIEND_OF", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"utterance": "What do I work as?", "type": "QOCCUPIED_AS", "targetFormula": "(!rb:OCCUPIED_AS rb:active_person)"},
{"utterance": "Which organization do you work at?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"utterance": "What is your favorite pastime activity?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"utterance": "How do I spend my free time?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"utterance": "What is my hobby?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"utterance": "Which city do you live in?", "type": "QLIVE_IN", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"utterance": "Which university do you go to?", "type": "QSTUDY_AT", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"utterance": "Which town do I call my home?", "type": "QFROM", "targetFormula": "(!rb:FROM rb:active_person)"},
{"utterance": "Maybe I know some friends of yours. Would you name one?", "type": "QFRIEND_OF", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"utterance": "What do I work as?", "type": "QOCCUPIED_AS", "targetFormula": "(!rb:OCCUPIED_AS rb:active_person)"},
{"utterance": "Which organization do you work at?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"utterance": "What is your favorite pastime activity?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"utterance": "How do I spend my free time?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"utterance": "What is my hobby?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"utterance": "Which city do you live in?", "type": "QLIVE_IN", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"utterance": "What is your field of expertise?", "type": "QOCCUPIED_AS", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"utterance": "What is your favourite movie?", "type": "QMOVIES", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"utterance": "Where am I from?", "type": "QFROM", "targetFormula": "(!rb:FROM rb:active_person)"},
{"utterance": "How can I call you?", "type": "QNAME", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"utterance": "Who is your employer?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"utterance": "What is your favorite pastime activity?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"utterance": "How do I spend my free time?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"utterance": "What is my hobby?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"utterance": "Which city do you live in?", "type": "QLIVE_IN", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"utterance": "What is your field of expertise?", "type": "QOCCUPIED_AS", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"utterance": "What is your favourite movie?", "type": "QMOVIES", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"utterance": "Where am I from?", "type": "QFROM", "targetFormula": "(!rb:FROM rb:active_person)"},
{"utterance": "How can I call you?", "type": "QNAME", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"utterance": "Who is your employer?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"utterance": "What is your profession?", "type": "QOCCUPIED_AS", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"utterance": "Where do you live?", "type": "QLIVE_IN", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"utterance": "How do you spend your free time?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"utterance": "Where do I earn my living?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"utterance": "What is my home country?", "type": "QFROM", "targetFormula": "(!rb:FROM rb:active_person)"},
{"utterance": "What is your favourite movie?", "type": "QMOVIES", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"utterance": "Where am I from?", "type": "QFROM", "targetFormula": "(!rb:FROM rb:active_person)"},
{"utterance": "How can I call you?", "type": "QNAME", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"utterance": "Who is your employer?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"utterance": "What is your profession?", "type": "QOCCUPIED_AS", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"utterance": "Where do you live?", "type": "QLIVE_IN", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"utterance": "How do you spend your free time?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"utterance": "Where do I earn my living?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"utterance": "What is my home country?", "type": "QFROM", "targetFormula": "(!rb:FROM rb:active_person)"},
{"utterance": "Which university do I study at?", "type": "QSTUDY_AT", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"utterance": "For which company do I work?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"utterance": "Are you a member of some cool organization?", "type": "QMEMBER_OF", "targetFormula": "(!rb:MEMBER_OF rb:Roboy)"},
{"utterance": "Which university do you study at?", "type": "QSTUDY_AT", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"utterance": "What was the last movie you saw in the cinema?", "type": "QMOVIES", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"}
]

View File

@ -0,0 +1,48 @@
(example
(utterance "Who is your best friend?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "my name is emily")
(targetFormula (triples (triple rb:active_person rb:NAME_OF emily)))
)
(example
(utterance "my current home is warsaw and your current home is munich")
(targetFormula (list (triples (triple rb:active_person rb:LIVE_IN warsaw)) (triples (triple rb:roboy rb:LIVE_IN munich))))
)
(example
(utterance "What is your home country?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "people call me sam")
(targetFormula (triples (triple rb:active_person rb:NAME_OF sam)))
)
(example
(utterance "my favorite activity is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "Who is my best friend?")
(targetFormula (!rb:FRIEND_OF rb:active_person))
)
(example
(utterance "What is my field of expertise?")
(targetFormula (!rb:OCCUPIED_AS rb:active_person))
)
(example
(utterance "i am a teacher")
(targetFormula (triples (triple rb:active_person rb:OCCUPIED_AS teacher)))
)
(example
(utterance "Where am I employed?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "my home country is ukraine")
(targetFormula (triples (triple rb:active_person rb:FROM ukraine)))
)
(example
(utterance "Where is your current home?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)

14
data/rpqa/Q/2/test.json Normal file
View File

@ -0,0 +1,14 @@
[
{"type": "QFRIEND_OF", "utterance": "Who is your best friend?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "NAME", "utterance": "my name is emily", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF emily))"},
{"type": "LIVE_IN", "utterance": "my current home is warsaw and your current home is munich", "targetFormula": "(list (triples (triple rb:active_person rb:LIVE_IN warsaw)) (triples (triple rb:roboy rb:LIVE_IN munich)))"},
{"type": "QFROM", "utterance": "What is your home country?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "NAME", "utterance": "people call me sam", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF sam))"},
{"type": "HAS_HOBBY", "utterance": "my favorite activity is swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QFRIEND_OF", "utterance": "Who is my best friend?", "targetFormula": "(!rb:FRIEND_OF rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What is my field of expertise?", "targetFormula": "(!rb:OCCUPIED_AS rb:active_person)"},
{"type": "OCCUPIED_AS", "utterance": "i am a teacher", "targetFormula": "(triples (triple rb:active_person rb:OCCUPIED_AS teacher))"},
{"type": "QWORK_FOR", "utterance": "Where am I employed?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "FROM", "utterance": "my home country is ukraine", "targetFormula": "(triples (triple rb:active_person rb:FROM ukraine))"},
{"type": "QLIVE_IN", "utterance": "Where is your current home?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"}
]

View File

@ -0,0 +1,224 @@
(example
(utterance "Where do you earn your living?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "What is my field of expertise?")
(targetFormula (!rb:OCCUPIED_AS rb:active_person))
)
(example
(utterance "What is my favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:active_person))
)
(example
(utterance "Where am I employed?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Do I belong to any organizations?")
(targetFormula (!rb:MEMBER_OF rb:active_person))
)
(example
(utterance "What is my alma mater?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "Where do I work?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Do you have a friend whom I have met?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "Where are you from?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "Who are you?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Which university do you go to?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "Which town do I call my home?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "Maybe I know some friends of yours. Would you name one?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "What do I work as?")
(targetFormula (!rb:OCCUPIED_AS rb:active_person))
)
(example
(utterance "Which university do you go to?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "Which town do I call my home?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "Maybe I know some friends of yours. Would you name one?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "What do I work as?")
(targetFormula (!rb:OCCUPIED_AS rb:active_person))
)
(example
(utterance "Which organization do you work at?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "What is your favorite pastime activity?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "How do I spend my free time?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "What is my hobby?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "Which city do you live in?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "What is your field of expertise?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "What is your favourite movie?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "Where am I from?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "How can I call you?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Who is your employer?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "What is your favorite pastime activity?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "How do I spend my free time?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "What is my hobby?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "Which city do you live in?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "What is your field of expertise?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "What is your favourite movie?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "Where am I from?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "How can I call you?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Who is your employer?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "What is your profession?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "Where do you live?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "How do you spend your free time?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "Where do I earn my living?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "What is my home country?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "What is your favourite movie?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "Where am I from?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "How can I call you?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Who is your employer?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "What is your profession?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "Where do you live?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "How do you spend your free time?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "Where do I earn my living?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "What is my home country?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "Which university do I study at?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "For which company do I work?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Are you a member of some cool organization?")
(targetFormula (!rb:MEMBER_OF rb:Roboy))
)
(example
(utterance "Which university do you study at?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "What was the last movie you saw in the cinema?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)

58
data/rpqa/Q/2/train.json Normal file
View File

@ -0,0 +1,58 @@
[
{"utterance": "Where do you earn your living?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"utterance": "What is my field of expertise?", "type": "QOCCUPIED_AS", "targetFormula": "(!rb:OCCUPIED_AS rb:active_person)"},
{"utterance": "What is my favorite TV show?", "type": "QMOVIES", "targetFormula": "(!rb:FAVORITE_MOVIE rb:active_person)"},
{"utterance": "Where am I employed?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"utterance": "Do I belong to any organizations?", "type": "QMEMBER_OF", "targetFormula": "(!rb:MEMBER_OF rb:active_person)"},
{"utterance": "What is my alma mater?", "type": "QSTUDY_AT", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"utterance": "Where do I work?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"utterance": "Do you have a friend whom I have met?", "type": "QFRIEND_OF", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"utterance": "Where are you from?", "type": "QFROM", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"utterance": "Who are you?", "type": "QNAME", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"utterance": "Which university do you go to?", "type": "QSTUDY_AT", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"utterance": "Which town do I call my home?", "type": "QFROM", "targetFormula": "(!rb:FROM rb:active_person)"},
{"utterance": "Maybe I know some friends of yours. Would you name one?", "type": "QFRIEND_OF", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"utterance": "What do I work as?", "type": "QOCCUPIED_AS", "targetFormula": "(!rb:OCCUPIED_AS rb:active_person)"},
{"utterance": "Which university do you go to?", "type": "QSTUDY_AT", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"utterance": "Which town do I call my home?", "type": "QFROM", "targetFormula": "(!rb:FROM rb:active_person)"},
{"utterance": "Maybe I know some friends of yours. Would you name one?", "type": "QFRIEND_OF", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"utterance": "What do I work as?", "type": "QOCCUPIED_AS", "targetFormula": "(!rb:OCCUPIED_AS rb:active_person)"},
{"utterance": "Which organization do you work at?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"utterance": "What is your favorite pastime activity?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"utterance": "How do I spend my free time?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"utterance": "What is my hobby?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"utterance": "Which city do you live in?", "type": "QLIVE_IN", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"utterance": "What is your field of expertise?", "type": "QOCCUPIED_AS", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"utterance": "What is your favourite movie?", "type": "QMOVIES", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"utterance": "Where am I from?", "type": "QFROM", "targetFormula": "(!rb:FROM rb:active_person)"},
{"utterance": "How can I call you?", "type": "QNAME", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"utterance": "Who is your employer?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"utterance": "What is your favorite pastime activity?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"utterance": "How do I spend my free time?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"utterance": "What is my hobby?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"utterance": "Which city do you live in?", "type": "QLIVE_IN", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"utterance": "What is your field of expertise?", "type": "QOCCUPIED_AS", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"utterance": "What is your favourite movie?", "type": "QMOVIES", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"utterance": "Where am I from?", "type": "QFROM", "targetFormula": "(!rb:FROM rb:active_person)"},
{"utterance": "How can I call you?", "type": "QNAME", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"utterance": "Who is your employer?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"utterance": "What is your profession?", "type": "QOCCUPIED_AS", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"utterance": "Where do you live?", "type": "QLIVE_IN", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"utterance": "How do you spend your free time?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"utterance": "Where do I earn my living?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"utterance": "What is my home country?", "type": "QFROM", "targetFormula": "(!rb:FROM rb:active_person)"},
{"utterance": "What is your favourite movie?", "type": "QMOVIES", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"utterance": "Where am I from?", "type": "QFROM", "targetFormula": "(!rb:FROM rb:active_person)"},
{"utterance": "How can I call you?", "type": "QNAME", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"utterance": "Who is your employer?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"utterance": "What is your profession?", "type": "QOCCUPIED_AS", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"utterance": "Where do you live?", "type": "QLIVE_IN", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"utterance": "How do you spend your free time?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"utterance": "Where do I earn my living?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"utterance": "What is my home country?", "type": "QFROM", "targetFormula": "(!rb:FROM rb:active_person)"},
{"utterance": "Which university do I study at?", "type": "QSTUDY_AT", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"utterance": "For which company do I work?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"utterance": "Are you a member of some cool organization?", "type": "QMEMBER_OF", "targetFormula": "(!rb:MEMBER_OF rb:Roboy)"},
{"utterance": "Which university do you study at?", "type": "QSTUDY_AT", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"utterance": "What was the last movie you saw in the cinema?", "type": "QMOVIES", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"}
]

View File

@ -0,0 +1,48 @@
(example
(utterance "my home country is ukraine")
(targetFormula (triples (triple rb:active_person rb:FROM ukraine)))
)
(example
(utterance "Where is your current home?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "What was the last movie you saw in the cinema?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "i work for EY")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR ey)))
)
(example
(utterance "my friend is called ben")
(targetFormula (triples (triple rb:active_person rb:FRIEND_OF ben)))
)
(example
(utterance "my alma mater is TUW")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT tuw)))
)
(example
(utterance "i like pulp fiction the most")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE pulp_fiction)))
)
(example
(utterance "i currently live in munich")
(targetFormula (triples (triple rb:active_person rb:LIVE_IN munich)))
)
(example
(utterance "i last saw finding nemo")
(targetFormula (triples (triple rb:active_person rb:FAVORITE_MOVIE finding_nemo)))
)
(example
(utterance "i swim in my free time")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "What is my favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:active_person))
)
(example
(utterance "What do you do?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)

14
data/rpqa/Q/3/test.json Normal file
View File

@ -0,0 +1,14 @@
[
{"type": "FROM", "utterance": "my home country is ukraine", "targetFormula": "(triples (triple rb:active_person rb:FROM ukraine))"},
{"type": "QLIVE_IN", "utterance": "Where is your current home?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"type": "QMOVIES", "utterance": "What was the last movie you saw in the cinema?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"type": "WORK_FOR", "utterance": "i work for EY", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR ey))"},
{"type": "FRIEND_OF", "utterance": "my friend is called ben", "targetFormula": "(triples (triple rb:active_person rb:FRIEND_OF ben))"},
{"type": "STUDY_AT", "utterance": "my alma mater is TUW", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT tuw))"},
{"type": "MOVIES", "utterance": "i like pulp fiction the most", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE pulp_fiction))"},
{"type": "LIVE_IN", "utterance": "i currently live in munich", "targetFormula": "(triples (triple rb:active_person rb:LIVE_IN munich))"},
{"type": "MOVIES", "utterance": "i last saw finding nemo", "targetFormula": "(triples (triple rb:active_person rb:FAVORITE_MOVIE finding_nemo))"},
{"type": "HAS_HOBBY", "utterance": "i swim in my free time", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QMOVIES", "utterance": "What is my favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What do you do?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"}
]

View File

@ -0,0 +1,224 @@
(example
(utterance "Where do you earn your living?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "What is my field of expertise?")
(targetFormula (!rb:OCCUPIED_AS rb:active_person))
)
(example
(utterance "What is my favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:active_person))
)
(example
(utterance "Where am I employed?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Do I belong to any organizations?")
(targetFormula (!rb:MEMBER_OF rb:active_person))
)
(example
(utterance "What is my alma mater?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "Where do I work?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Do you have a friend whom I have met?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "Where are you from?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "Who are you?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Which university do you go to?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "Which town do I call my home?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "Maybe I know some friends of yours. Would you name one?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "What do I work as?")
(targetFormula (!rb:OCCUPIED_AS rb:active_person))
)
(example
(utterance "What is my alma mater?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "Where do I work?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Do you have a friend whom I have met?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "Where are you from?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "Who are you?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Which university do you go to?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "Which town do I call my home?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "Maybe I know some friends of yours. Would you name one?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "What do I work as?")
(targetFormula (!rb:OCCUPIED_AS rb:active_person))
)
(example
(utterance "Which organization do you work at?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "What is your favorite pastime activity?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "How do I spend my free time?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "What is my hobby?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "Which city do you live in?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "What is your favorite pastime activity?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "How do I spend my free time?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "What is my hobby?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "Which city do you live in?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "What is your field of expertise?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "What is your favourite movie?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "Where am I from?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "How can I call you?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Who is your employer?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "What is your profession?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "Where do you live?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "How do you spend your free time?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "Where do I earn my living?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "What is my home country?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "What is your favourite movie?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "Where am I from?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "How can I call you?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Who is your employer?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "What is your profession?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "Where do you live?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "How do you spend your free time?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "Where do I earn my living?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "What is my home country?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "Which university do I study at?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "For which company do I work?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Are you a member of some cool organization?")
(targetFormula (!rb:MEMBER_OF rb:Roboy))
)
(example
(utterance "Which university do you study at?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "What was the last movie you saw in the cinema?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)

58
data/rpqa/Q/3/train.json Normal file
View File

@ -0,0 +1,58 @@
[
{"utterance": "Where do you earn your living?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"utterance": "What is my field of expertise?", "type": "QOCCUPIED_AS", "targetFormula": "(!rb:OCCUPIED_AS rb:active_person)"},
{"utterance": "What is my favorite TV show?", "type": "QMOVIES", "targetFormula": "(!rb:FAVORITE_MOVIE rb:active_person)"},
{"utterance": "Where am I employed?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"utterance": "Do I belong to any organizations?", "type": "QMEMBER_OF", "targetFormula": "(!rb:MEMBER_OF rb:active_person)"},
{"utterance": "What is my alma mater?", "type": "QSTUDY_AT", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"utterance": "Where do I work?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"utterance": "Do you have a friend whom I have met?", "type": "QFRIEND_OF", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"utterance": "Where are you from?", "type": "QFROM", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"utterance": "Who are you?", "type": "QNAME", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"utterance": "Which university do you go to?", "type": "QSTUDY_AT", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"utterance": "Which town do I call my home?", "type": "QFROM", "targetFormula": "(!rb:FROM rb:active_person)"},
{"utterance": "Maybe I know some friends of yours. Would you name one?", "type": "QFRIEND_OF", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"utterance": "What do I work as?", "type": "QOCCUPIED_AS", "targetFormula": "(!rb:OCCUPIED_AS rb:active_person)"},
{"utterance": "What is my alma mater?", "type": "QSTUDY_AT", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"utterance": "Where do I work?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"utterance": "Do you have a friend whom I have met?", "type": "QFRIEND_OF", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"utterance": "Where are you from?", "type": "QFROM", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"utterance": "Who are you?", "type": "QNAME", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"utterance": "Which university do you go to?", "type": "QSTUDY_AT", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"utterance": "Which town do I call my home?", "type": "QFROM", "targetFormula": "(!rb:FROM rb:active_person)"},
{"utterance": "Maybe I know some friends of yours. Would you name one?", "type": "QFRIEND_OF", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"utterance": "What do I work as?", "type": "QOCCUPIED_AS", "targetFormula": "(!rb:OCCUPIED_AS rb:active_person)"},
{"utterance": "Which organization do you work at?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"utterance": "What is your favorite pastime activity?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"utterance": "How do I spend my free time?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"utterance": "What is my hobby?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"utterance": "Which city do you live in?", "type": "QLIVE_IN", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"utterance": "What is your favorite pastime activity?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"utterance": "How do I spend my free time?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"utterance": "What is my hobby?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"utterance": "Which city do you live in?", "type": "QLIVE_IN", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"utterance": "What is your field of expertise?", "type": "QOCCUPIED_AS", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"utterance": "What is your favourite movie?", "type": "QMOVIES", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"utterance": "Where am I from?", "type": "QFROM", "targetFormula": "(!rb:FROM rb:active_person)"},
{"utterance": "How can I call you?", "type": "QNAME", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"utterance": "Who is your employer?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"utterance": "What is your profession?", "type": "QOCCUPIED_AS", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"utterance": "Where do you live?", "type": "QLIVE_IN", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"utterance": "How do you spend your free time?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"utterance": "Where do I earn my living?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"utterance": "What is my home country?", "type": "QFROM", "targetFormula": "(!rb:FROM rb:active_person)"},
{"utterance": "What is your favourite movie?", "type": "QMOVIES", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"utterance": "Where am I from?", "type": "QFROM", "targetFormula": "(!rb:FROM rb:active_person)"},
{"utterance": "How can I call you?", "type": "QNAME", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"utterance": "Who is your employer?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"utterance": "What is your profession?", "type": "QOCCUPIED_AS", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"utterance": "Where do you live?", "type": "QLIVE_IN", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"utterance": "How do you spend your free time?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"utterance": "Where do I earn my living?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"utterance": "What is my home country?", "type": "QFROM", "targetFormula": "(!rb:FROM rb:active_person)"},
{"utterance": "Which university do I study at?", "type": "QSTUDY_AT", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"utterance": "For which company do I work?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"utterance": "Are you a member of some cool organization?", "type": "QMEMBER_OF", "targetFormula": "(!rb:MEMBER_OF rb:Roboy)"},
{"utterance": "Which university do you study at?", "type": "QSTUDY_AT", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"utterance": "What was the last movie you saw in the cinema?", "type": "QMOVIES", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"}
]

View File

@ -0,0 +1,48 @@
(example
(utterance "What is my favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:active_person))
)
(example
(utterance "What do you do?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "i go to UW")
(targetFormula (triples (triple rb:active_person rb:STUDY_AT uw)))
)
(example
(utterance "Am I a member of some cool organization?")
(targetFormula (!rb:MEMBER_OF rb:active_person))
)
(example
(utterance "i work at Nokia")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR nokia)))
)
(example
(utterance "How do you spend your free time?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "i earn my living at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "i was born in nicaragua")
(targetFormula (triples (triple rb:active_person rb:FROM nicaragua)))
)
(example
(utterance "my hobby is swimming")
(targetFormula (triples (triple rb:active_person rb:HAS_HOBBY swim)))
)
(example
(utterance "What is your name?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Where was I born?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "my or your name or hobby is emily and alona")
(targetFormula (triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona)))))
)

14
data/rpqa/Q/4/test.json Normal file
View File

@ -0,0 +1,14 @@
[
{"type": "QMOVIES", "utterance": "What is my favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What do you do?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "STUDY_AT", "utterance": "i go to UW", "targetFormula": "(triples (triple rb:active_person rb:STUDY_AT uw))"},
{"type": "QMEMBER_OF", "utterance": "Am I a member of some cool organization?", "targetFormula": "(!rb:MEMBER_OF rb:active_person)"},
{"type": "WORK_FOR", "utterance": "i work at Nokia", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR nokia))"},
{"type": "QHAS_HOBBY", "utterance": "How do you spend your free time?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "WORK_FOR", "utterance": "i earn my living at Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "FROM", "utterance": "i was born in nicaragua", "targetFormula": "(triples (triple rb:active_person rb:FROM nicaragua))"},
{"type": "HAS_HOBBY", "utterance": "my hobby is swimming", "targetFormula": "(triples (triple rb:active_person rb:HAS_HOBBY swim))"},
{"type": "QNAME", "utterance": "What is your name?", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"type": "QFROM", "utterance": "Where was I born?", "targetFormula": "(!rb:FROM rb:active_person)"},
{"type": "NAME", "utterance": "my or your name or hobby is emily and alona", "targetFormula": "(triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona))))"}
]

View File

@ -0,0 +1,224 @@
(example
(utterance "Where do you earn your living?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "What is my field of expertise?")
(targetFormula (!rb:OCCUPIED_AS rb:active_person))
)
(example
(utterance "What is my favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:active_person))
)
(example
(utterance "Where am I employed?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Do I belong to any organizations?")
(targetFormula (!rb:MEMBER_OF rb:active_person))
)
(example
(utterance "What is my alma mater?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "Where do I work?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Do you have a friend whom I have met?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "Where are you from?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "Who are you?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Which university do you go to?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "Which town do I call my home?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "Maybe I know some friends of yours. Would you name one?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "What do I work as?")
(targetFormula (!rb:OCCUPIED_AS rb:active_person))
)
(example
(utterance "What is my alma mater?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "Where do I work?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Do you have a friend whom I have met?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "Where are you from?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "Who are you?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Which university do you go to?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "Which town do I call my home?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "Maybe I know some friends of yours. Would you name one?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "What do I work as?")
(targetFormula (!rb:OCCUPIED_AS rb:active_person))
)
(example
(utterance "Which organization do you work at?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "What is your favorite pastime activity?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "How do I spend my free time?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "What is my hobby?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "Which city do you live in?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "Which university do you go to?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "Which town do I call my home?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "Maybe I know some friends of yours. Would you name one?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "What do I work as?")
(targetFormula (!rb:OCCUPIED_AS rb:active_person))
)
(example
(utterance "Which organization do you work at?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "What is your favorite pastime activity?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "How do I spend my free time?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "What is my hobby?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "Which city do you live in?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "What is your field of expertise?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "What is your favourite movie?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "Where am I from?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "How can I call you?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Who is your employer?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "What is your favourite movie?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "Where am I from?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "How can I call you?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Who is your employer?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "What is your profession?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "Where do you live?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "How do you spend your free time?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "Where do I earn my living?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "What is my home country?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "Which university do I study at?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "For which company do I work?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Are you a member of some cool organization?")
(targetFormula (!rb:MEMBER_OF rb:Roboy))
)
(example
(utterance "Which university do you study at?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "What was the last movie you saw in the cinema?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)

58
data/rpqa/Q/4/train.json Normal file
View File

@ -0,0 +1,58 @@
[
{"utterance": "Where do you earn your living?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"utterance": "What is my field of expertise?", "type": "QOCCUPIED_AS", "targetFormula": "(!rb:OCCUPIED_AS rb:active_person)"},
{"utterance": "What is my favorite TV show?", "type": "QMOVIES", "targetFormula": "(!rb:FAVORITE_MOVIE rb:active_person)"},
{"utterance": "Where am I employed?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"utterance": "Do I belong to any organizations?", "type": "QMEMBER_OF", "targetFormula": "(!rb:MEMBER_OF rb:active_person)"},
{"utterance": "What is my alma mater?", "type": "QSTUDY_AT", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"utterance": "Where do I work?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"utterance": "Do you have a friend whom I have met?", "type": "QFRIEND_OF", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"utterance": "Where are you from?", "type": "QFROM", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"utterance": "Who are you?", "type": "QNAME", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"utterance": "Which university do you go to?", "type": "QSTUDY_AT", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"utterance": "Which town do I call my home?", "type": "QFROM", "targetFormula": "(!rb:FROM rb:active_person)"},
{"utterance": "Maybe I know some friends of yours. Would you name one?", "type": "QFRIEND_OF", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"utterance": "What do I work as?", "type": "QOCCUPIED_AS", "targetFormula": "(!rb:OCCUPIED_AS rb:active_person)"},
{"utterance": "What is my alma mater?", "type": "QSTUDY_AT", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"utterance": "Where do I work?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"utterance": "Do you have a friend whom I have met?", "type": "QFRIEND_OF", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"utterance": "Where are you from?", "type": "QFROM", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"utterance": "Who are you?", "type": "QNAME", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"utterance": "Which university do you go to?", "type": "QSTUDY_AT", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"utterance": "Which town do I call my home?", "type": "QFROM", "targetFormula": "(!rb:FROM rb:active_person)"},
{"utterance": "Maybe I know some friends of yours. Would you name one?", "type": "QFRIEND_OF", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"utterance": "What do I work as?", "type": "QOCCUPIED_AS", "targetFormula": "(!rb:OCCUPIED_AS rb:active_person)"},
{"utterance": "Which organization do you work at?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"utterance": "What is your favorite pastime activity?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"utterance": "How do I spend my free time?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"utterance": "What is my hobby?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"utterance": "Which city do you live in?", "type": "QLIVE_IN", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"utterance": "Which university do you go to?", "type": "QSTUDY_AT", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"utterance": "Which town do I call my home?", "type": "QFROM", "targetFormula": "(!rb:FROM rb:active_person)"},
{"utterance": "Maybe I know some friends of yours. Would you name one?", "type": "QFRIEND_OF", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"utterance": "What do I work as?", "type": "QOCCUPIED_AS", "targetFormula": "(!rb:OCCUPIED_AS rb:active_person)"},
{"utterance": "Which organization do you work at?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"utterance": "What is your favorite pastime activity?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"utterance": "How do I spend my free time?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"utterance": "What is my hobby?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"utterance": "Which city do you live in?", "type": "QLIVE_IN", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"utterance": "What is your field of expertise?", "type": "QOCCUPIED_AS", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"utterance": "What is your favourite movie?", "type": "QMOVIES", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"utterance": "Where am I from?", "type": "QFROM", "targetFormula": "(!rb:FROM rb:active_person)"},
{"utterance": "How can I call you?", "type": "QNAME", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"utterance": "Who is your employer?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"utterance": "What is your favourite movie?", "type": "QMOVIES", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"utterance": "Where am I from?", "type": "QFROM", "targetFormula": "(!rb:FROM rb:active_person)"},
{"utterance": "How can I call you?", "type": "QNAME", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"utterance": "Who is your employer?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"utterance": "What is your profession?", "type": "QOCCUPIED_AS", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"utterance": "Where do you live?", "type": "QLIVE_IN", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"utterance": "How do you spend your free time?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"utterance": "Where do I earn my living?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"utterance": "What is my home country?", "type": "QFROM", "targetFormula": "(!rb:FROM rb:active_person)"},
{"utterance": "Which university do I study at?", "type": "QSTUDY_AT", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"utterance": "For which company do I work?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"utterance": "Are you a member of some cool organization?", "type": "QMEMBER_OF", "targetFormula": "(!rb:MEMBER_OF rb:Roboy)"},
{"utterance": "Which university do you study at?", "type": "QSTUDY_AT", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"utterance": "What was the last movie you saw in the cinema?", "type": "QMOVIES", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"}
]

View File

@ -0,0 +1,48 @@
(example
(utterance "Where was I born?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "my or your name or hobby is emily and alona")
(targetFormula (triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona)))))
)
(example
(utterance "Where do you work?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "What is your alma mater?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "my name is emily and your name is roboy")
(targetFormula (list (triples (triple rb:active_person rb:NAME_OF emily)) (triples (triple rb:Roboy rb:NAME_OF roboy))))
)
(example
(utterance "What is my favorite thing to do?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "What do you work as?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "my favorite tv show is ellen and your favorite movie is titanic")
(targetFormula (list (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)) (triples (triple rb:Roboy rb:FAVORITE_MOVIE titanic))))
)
(example
(utterance "my name is elsa and anna")
(targetFormula (triples (triple rb:active_person rb:NAME_OF elsa) (triple rb:active_person rb:NAME_OF anna)))
)
(example
(utterance "Where do I earn my living?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "i am employed at Samsung")
(targetFormula (triples (triple rb:active_person rb:WORK_FOR samsung)))
)
(example
(utterance "What is your favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)

14
data/rpqa/Q/5/test.json Normal file
View File

@ -0,0 +1,14 @@
[
{"type": "QFROM", "utterance": "Where was I born?", "targetFormula": "(!rb:FROM rb:active_person)"},
{"type": "NAME", "utterance": "my or your name or hobby is emily and alona", "targetFormula": "(triples or (triples or (triples (triple rb:active_person rb:NAME_OF emily) (triple rb:active_person rb:NAME_OF alona)) (triples (triple rb:active_person rb:HAS_HOBBY emily) (triple rb:active_person rb:HAS_HOBBY alona))) (triples or (triples (triple rb:Roboy rb:NAME_OF emily) (triple rb:Roboy rb:NAME_OF alona)) (triples (triple rb:Roboy rb:HAS_HOBBY emily) (triple rb:Roboy rb:HAS_HOBBY alona))))"},
{"type": "QWORK_FOR", "utterance": "Where do you work?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "What is your alma mater?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"utterance": "my name is emily and your name is roboy", "type": "NAME", "targetFormula": "(list (triples (triple rb:active_person rb:NAME_OF emily)) (triples (triple rb:Roboy rb:NAME_OF roboy)))"},
{"type": "QHAS_HOBBY", "utterance": "What is my favorite thing to do?", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"type": "QOCCUPIED_AS", "utterance": "What do you work as?", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"type": "MOVIES", "utterance": "my favorite tv show is ellen and your favorite movie is titanic", "targetFormula": "(list (triples (triple rb:active_person rb:FAVORITE_MOVIE ellen)) (triples (triple rb:Roboy rb:FAVORITE_MOVIE titanic)))"},
{"type": "NAME", "utterance": "my name is elsa and anna", "targetFormula": "(triples (triple rb:active_person rb:NAME_OF elsa) (triple rb:active_person rb:NAME_OF anna))"},
{"type": "QWORK_FOR", "utterance": "Where do I earn my living?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "WORK_FOR", "utterance": "i am employed at Samsung", "targetFormula": "(triples (triple rb:active_person rb:WORK_FOR samsung))"},
{"type": "QMOVIES", "utterance": "What is your favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"}
]

View File

@ -0,0 +1,224 @@
(example
(utterance "Where do you earn your living?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "What is my field of expertise?")
(targetFormula (!rb:OCCUPIED_AS rb:active_person))
)
(example
(utterance "What is my favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:active_person))
)
(example
(utterance "Where am I employed?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Do I belong to any organizations?")
(targetFormula (!rb:MEMBER_OF rb:active_person))
)
(example
(utterance "What is my alma mater?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "Where do I work?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Do you have a friend whom I have met?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "Where are you from?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "Who are you?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Which university do you go to?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "Which town do I call my home?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "Maybe I know some friends of yours. Would you name one?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "What do I work as?")
(targetFormula (!rb:OCCUPIED_AS rb:active_person))
)
(example
(utterance "What is my alma mater?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "Where do I work?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Do you have a friend whom I have met?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "Where are you from?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "Who are you?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Which university do you go to?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "Which town do I call my home?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "Maybe I know some friends of yours. Would you name one?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "What do I work as?")
(targetFormula (!rb:OCCUPIED_AS rb:active_person))
)
(example
(utterance "Which organization do you work at?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "What is your favorite pastime activity?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "How do I spend my free time?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "What is my hobby?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "Which city do you live in?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "Which university do you go to?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "Which town do I call my home?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "Maybe I know some friends of yours. Would you name one?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "What do I work as?")
(targetFormula (!rb:OCCUPIED_AS rb:active_person))
)
(example
(utterance "Which organization do you work at?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "What is your favorite pastime activity?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "How do I spend my free time?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "What is my hobby?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "Which city do you live in?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "What is your field of expertise?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "What is your favourite movie?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "Where am I from?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "How can I call you?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Who is your employer?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "What is your favorite pastime activity?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "How do I spend my free time?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "What is my hobby?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "Which city do you live in?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "What is your field of expertise?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "What is your favourite movie?")
(targetFormula (!rb:FAVORITE_MOVIE rb:Roboy))
)
(example
(utterance "Where am I from?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "How can I call you?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Who is your employer?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "What is your profession?")
(targetFormula (!rb:OCCUPIED_AS rb:Roboy))
)
(example
(utterance "Where do you live?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)
(example
(utterance "How do you spend your free time?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "Where do I earn my living?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "What is my home country?")
(targetFormula (!rb:FROM rb:active_person))
)

58
data/rpqa/Q/5/train.json Normal file
View File

@ -0,0 +1,58 @@
[
{"utterance": "Where do you earn your living?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"utterance": "What is my field of expertise?", "type": "QOCCUPIED_AS", "targetFormula": "(!rb:OCCUPIED_AS rb:active_person)"},
{"utterance": "What is my favorite TV show?", "type": "QMOVIES", "targetFormula": "(!rb:FAVORITE_MOVIE rb:active_person)"},
{"utterance": "Where am I employed?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"utterance": "Do I belong to any organizations?", "type": "QMEMBER_OF", "targetFormula": "(!rb:MEMBER_OF rb:active_person)"},
{"utterance": "What is my alma mater?", "type": "QSTUDY_AT", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"utterance": "Where do I work?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"utterance": "Do you have a friend whom I have met?", "type": "QFRIEND_OF", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"utterance": "Where are you from?", "type": "QFROM", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"utterance": "Who are you?", "type": "QNAME", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"utterance": "Which university do you go to?", "type": "QSTUDY_AT", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"utterance": "Which town do I call my home?", "type": "QFROM", "targetFormula": "(!rb:FROM rb:active_person)"},
{"utterance": "Maybe I know some friends of yours. Would you name one?", "type": "QFRIEND_OF", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"utterance": "What do I work as?", "type": "QOCCUPIED_AS", "targetFormula": "(!rb:OCCUPIED_AS rb:active_person)"},
{"utterance": "What is my alma mater?", "type": "QSTUDY_AT", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"utterance": "Where do I work?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"utterance": "Do you have a friend whom I have met?", "type": "QFRIEND_OF", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"utterance": "Where are you from?", "type": "QFROM", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"utterance": "Who are you?", "type": "QNAME", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"utterance": "Which university do you go to?", "type": "QSTUDY_AT", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"utterance": "Which town do I call my home?", "type": "QFROM", "targetFormula": "(!rb:FROM rb:active_person)"},
{"utterance": "Maybe I know some friends of yours. Would you name one?", "type": "QFRIEND_OF", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"utterance": "What do I work as?", "type": "QOCCUPIED_AS", "targetFormula": "(!rb:OCCUPIED_AS rb:active_person)"},
{"utterance": "Which organization do you work at?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"utterance": "What is your favorite pastime activity?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"utterance": "How do I spend my free time?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"utterance": "What is my hobby?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"utterance": "Which city do you live in?", "type": "QLIVE_IN", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"utterance": "Which university do you go to?", "type": "QSTUDY_AT", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"utterance": "Which town do I call my home?", "type": "QFROM", "targetFormula": "(!rb:FROM rb:active_person)"},
{"utterance": "Maybe I know some friends of yours. Would you name one?", "type": "QFRIEND_OF", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"utterance": "What do I work as?", "type": "QOCCUPIED_AS", "targetFormula": "(!rb:OCCUPIED_AS rb:active_person)"},
{"utterance": "Which organization do you work at?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"utterance": "What is your favorite pastime activity?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"utterance": "How do I spend my free time?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"utterance": "What is my hobby?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"utterance": "Which city do you live in?", "type": "QLIVE_IN", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"utterance": "What is your field of expertise?", "type": "QOCCUPIED_AS", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"utterance": "What is your favourite movie?", "type": "QMOVIES", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"utterance": "Where am I from?", "type": "QFROM", "targetFormula": "(!rb:FROM rb:active_person)"},
{"utterance": "How can I call you?", "type": "QNAME", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"utterance": "Who is your employer?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"utterance": "What is your favorite pastime activity?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"utterance": "How do I spend my free time?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"utterance": "What is my hobby?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"utterance": "Which city do you live in?", "type": "QLIVE_IN", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"utterance": "What is your field of expertise?", "type": "QOCCUPIED_AS", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"utterance": "What is your favourite movie?", "type": "QMOVIES", "targetFormula": "(!rb:FAVORITE_MOVIE rb:Roboy)"},
{"utterance": "Where am I from?", "type": "QFROM", "targetFormula": "(!rb:FROM rb:active_person)"},
{"utterance": "How can I call you?", "type": "QNAME", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"utterance": "Who is your employer?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"utterance": "What is your profession?", "type": "QOCCUPIED_AS", "targetFormula": "(!rb:OCCUPIED_AS rb:Roboy)"},
{"utterance": "Where do you live?", "type": "QLIVE_IN", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"},
{"utterance": "How do you spend your free time?", "type": "QHAS_HOBBY", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"utterance": "Where do I earn my living?", "type": "QWORK_FOR", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"utterance": "What is my home country?", "type": "QFROM", "targetFormula": "(!rb:FROM rb:active_person)"}
]

View File

@ -0,0 +1,56 @@
(example
(utterance "Where do you earn your living?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "What is my field of expertise?")
(targetFormula (!rb:OCCUPIED_AS rb:active_person))
)
(example
(utterance "What is my favorite TV show?")
(targetFormula (!rb:FAVORITE_MOVIE rb:active_person))
)
(example
(utterance "Where am I employed?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Do I belong to any organizations?")
(targetFormula (!rb:MEMBER_OF rb:active_person))
)
(example
(utterance "What is my alma mater?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "Where do I work?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Do you have a friend whom I have met?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "Where are you from?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "Who are you?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Which university do you go to?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "Which town do I call my home?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "Maybe I know some friends of yours. Would you name one?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "What do I work as?")
(targetFormula (!rb:OCCUPIED_AS rb:active_person))
)

16
data/rpqa/Q/Qtrain-0.json Normal file
View File

@ -0,0 +1,16 @@
[
{"type": "QWORK_FOR", "utterance": "Where do you earn your living?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "QOCCUPIED_AS", "utterance": "What is my field of expertise?", "targetFormula": "(!rb:OCCUPIED_AS rb:active_person)"},
{"type": "QMOVIES", "utterance": "What is my favorite TV show?", "targetFormula": "(!rb:FAVORITE_MOVIE rb:active_person)"},
{"type": "QWORK_FOR", "utterance": "Where am I employed?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QMEMBER_OF", "utterance": "Do I belong to any organizations?", "targetFormula": "(!rb:MEMBER_OF rb:active_person)"},
{"type": "QSTUDY_AT", "utterance": "What is my alma mater?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "QWORK_FOR", "utterance": "Where do I work?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QFRIEND_OF", "utterance": "Do you have a friend whom I have met?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "QFROM", "utterance": "Where are you from?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "QNAME", "utterance": "Who are you?", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "Which university do you go to?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"type": "QFROM", "utterance": "Which town do I call my home?", "targetFormula": "(!rb:FROM rb:active_person)"},
{"type": "QFRIEND_OF", "utterance": "Maybe I know some friends of yours. Would you name one?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "QOCCUPIED_AS", "utterance": "What do I work as?", "targetFormula": "(!rb:OCCUPIED_AS rb:active_person)"}
]

View File

@ -0,0 +1,56 @@
(example
(utterance "What is my alma mater?")
(targetFormula (!rb:STUDY_AT rb:active_person))
)
(example
(utterance "Where do I work?")
(targetFormula (!rb:WORK_FOR rb:active_person))
)
(example
(utterance "Do you have a friend whom I have met?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "Where are you from?")
(targetFormula (!rb:FROM rb:Roboy))
)
(example
(utterance "Who are you?")
(targetFormula (!rb:NAME_OF rb:Roboy))
)
(example
(utterance "Which university do you go to?")
(targetFormula (!rb:STUDY_AT rb:Roboy))
)
(example
(utterance "Which town do I call my home?")
(targetFormula (!rb:FROM rb:active_person))
)
(example
(utterance "Maybe I know some friends of yours. Would you name one?")
(targetFormula (!rb:FRIEND_OF rb:Roboy))
)
(example
(utterance "What do I work as?")
(targetFormula (!rb:OCCUPIED_AS rb:active_person))
)
(example
(utterance "Which organization do you work at?")
(targetFormula (!rb:WORK_FOR rb:Roboy))
)
(example
(utterance "What is your favorite pastime activity?")
(targetFormula (!rb:HAS_HOBBY rb:Roboy))
)
(example
(utterance "How do I spend my free time?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "What is my hobby?")
(targetFormula (!rb:HAS_HOBBY rb:active_person))
)
(example
(utterance "Which city do you live in?")
(targetFormula (!rb:LIVE_IN rb:Roboy))
)

16
data/rpqa/Q/Qtrain-1.json Normal file
View File

@ -0,0 +1,16 @@
[
{"type": "QSTUDY_AT", "utterance": "What is my alma mater?", "targetFormula": "(!rb:STUDY_AT rb:active_person)"},
{"type": "QWORK_FOR", "utterance": "Where do I work?", "targetFormula": "(!rb:WORK_FOR rb:active_person)"},
{"type": "QFRIEND_OF", "utterance": "Do you have a friend whom I have met?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "QFROM", "utterance": "Where are you from?", "targetFormula": "(!rb:FROM rb:Roboy)"},
{"type": "QNAME", "utterance": "Who are you?", "targetFormula": "(!rb:NAME_OF rb:Roboy)"},
{"type": "QSTUDY_AT", "utterance": "Which university do you go to?", "targetFormula": "(!rb:STUDY_AT rb:Roboy)"},
{"type": "QFROM", "utterance": "Which town do I call my home?", "targetFormula": "(!rb:FROM rb:active_person)"},
{"type": "QFRIEND_OF", "utterance": "Maybe I know some friends of yours. Would you name one?", "targetFormula": "(!rb:FRIEND_OF rb:Roboy)"},
{"type": "QOCCUPIED_AS", "utterance": "What do I work as?", "targetFormula": "(!rb:OCCUPIED_AS rb:active_person)"},
{"type": "QWORK_FOR", "utterance": "Which organization do you work at?", "targetFormula": "(!rb:WORK_FOR rb:Roboy)"},
{"type": "QHAS_HOBBY", "utterance": "What is your favorite pastime activity?", "targetFormula": "(!rb:HAS_HOBBY rb:Roboy)"},
{"type": "QHAS_HOBBY", "utterance": "How do I spend my free time?", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"type": "QHAS_HOBBY", "utterance": "What is my hobby?", "targetFormula": "(!rb:HAS_HOBBY rb:active_person)"},
{"type": "QLIVE_IN", "utterance": "Which city do you live in?", "targetFormula": "(!rb:LIVE_IN rb:Roboy)"}
]

Some files were not shown because too many files have changed in this diff Show More