Datasets:

Modalities:
Image
Text
Formats:
json
Libraries:
Datasets
pandas
License:
ag2435's picture
second fix for bug that was causing aggregate_all questions to return nonsensical answers
12e7c37
raw
history blame
49.7 kB
[
{
"id": "2de71f72-a4f7-4ea0-81a3-2a4b63d95067",
"question": "Who is the mother of the person whose job is research officer, government ?",
"answer": [
"sarah"
],
"prolog": {
"query": [
"mother(Y_2, Y_4)",
"job(Y_2, 'research officer, government')"
],
"answer": "Y_4"
},
"template": [
"Who is",
"the",
"<relation>_3",
"of",
"the person whose",
"<attribute_name>_1",
"is",
"<attribute_value>_1",
"?"
],
"type": 0
},
{
"id": "13a0852e-d4a3-47be-878c-46b95b6d5a64",
"question": "Who is the father of the person whose job is media planner ?",
"answer": [
"walker"
],
"prolog": {
"query": [
"father(Y_2, Y_4)",
"job(Y_2, 'media planner')"
],
"answer": "Y_4"
},
"template": [
"Who is",
"the",
"<relation>_3",
"of",
"the person whose",
"<attribute_name>_1",
"is",
"<attribute_value>_1",
"?"
],
"type": 0
},
{
"id": "8d9ae1df-3fe7-4814-82ba-d8ad752084d5",
"question": "Who is the sister of the person whose job is product designer ?",
"answer": [
"oma"
],
"prolog": {
"query": [
"sister(Y_2, Y_4)",
"job(Y_2, 'product designer')"
],
"answer": "Y_4"
},
"template": [
"Who is",
"the",
"<relation>_3",
"of",
"the person whose",
"<attribute_name>_1",
"is",
"<attribute_value>_1",
"?"
],
"type": 0
},
{
"id": "81e3de48-9d8b-4d0f-957e-4d3fcdf15005",
"question": "Who is the wife of the person whose job is cabin crew ?",
"answer": [
"kylee"
],
"prolog": {
"query": [
"wife(Y_2, Y_4)",
"job(Y_2, 'cabin crew')"
],
"answer": "Y_4"
},
"template": [
"Who is",
"the",
"<relation>_3",
"of",
"the person whose",
"<attribute_name>_1",
"is",
"<attribute_value>_1",
"?"
],
"type": 0
},
{
"id": "49060b8a-0dea-464a-9e77-de0c5de11cf4",
"question": "Who is the brother of the person whose hobby is fencing ?",
"answer": [
"christian",
"keith",
"stanley"
],
"prolog": {
"query": [
"brother(Y_2, Y_4)",
"hobby(Y_2, 'fencing')"
],
"answer": "Y_4"
},
"template": [
"Who is",
"the",
"<relation>_3",
"of",
"the person whose",
"<attribute_name>_1",
"is",
"<attribute_value>_1",
"?"
],
"type": 0
},
{
"id": "77612f5c-243f-42ae-a3d8-99bf9ff69263",
"question": "Who is the sister of the person whose job is computer games developer ?",
"answer": [
"kanesha"
],
"prolog": {
"query": [
"sister(Y_2, Y_4)",
"job(Y_2, 'computer games developer')"
],
"answer": "Y_4"
},
"template": [
"Who is",
"the",
"<relation>_3",
"of",
"the person whose",
"<attribute_name>_1",
"is",
"<attribute_value>_1",
"?"
],
"type": 0
},
{
"id": "8c7ce9b0-c177-4792-89c5-a7faf7ebe091",
"question": "Who is the father of the person whose hobby is trapshooting ?",
"answer": [
"federico"
],
"prolog": {
"query": [
"father(Y_2, Y_4)",
"hobby(Y_2, 'trapshooting')"
],
"answer": "Y_4"
},
"template": [
"Who is",
"the",
"<relation>_3",
"of",
"the person whose",
"<attribute_name>_1",
"is",
"<attribute_value>_1",
"?"
],
"type": 0
},
{
"id": "d0717bd4-9d06-4383-b276-031680b66f70",
"question": "Who is the father of the person whose hobby is fishkeeping ?",
"answer": [
"brendon",
"dominick",
"ellis",
"king",
"rudy",
"sanford"
],
"prolog": {
"query": [
"father(Y_2, Y_4)",
"hobby(Y_2, 'fishkeeping')"
],
"answer": "Y_4"
},
"template": [
"Who is",
"the",
"<relation>_3",
"of",
"the person whose",
"<attribute_name>_1",
"is",
"<attribute_value>_1",
"?"
],
"type": 0
},
{
"id": "e772c470-73e4-4771-9ce3-2831ba509afd",
"question": "Who is the father of the person whose hobby is radio-controlled model playing ?",
"answer": [
"oskar",
"quinton"
],
"prolog": {
"query": [
"father(Y_2, Y_4)",
"hobby(Y_2, 'radio-controlled model playing')"
],
"answer": "Y_4"
},
"template": [
"Who is",
"the",
"<relation>_3",
"of",
"the person whose",
"<attribute_name>_1",
"is",
"<attribute_value>_1",
"?"
],
"type": 0
},
{
"id": "82984d78-4efa-4964-9a4d-0e7315ae5d4a",
"question": "Who is the sibling of the person whose hobby is philately ?",
"answer": [
"ralph",
"renaldo"
],
"prolog": {
"query": [
"sibling(Y_2, Y_4)",
"hobby(Y_2, 'philately')"
],
"answer": "Y_4"
},
"template": [
"Who is",
"the",
"<relation>_3",
"of",
"the person whose",
"<attribute_name>_1",
"is",
"<attribute_value>_1",
"?"
],
"type": 0
},
{
"id": "abc3669a-83cc-43d5-a0d1-b2eee1929675",
"question": "Who is the mother of tresa ?",
"answer": [
"sarah"
],
"prolog": {
"query": [
"mother('tresa', Y_4)"
],
"answer": "Y_4"
},
"template": [
"Who is",
"the",
"<relation>_3",
"of",
"<name>_2",
"?"
],
"type": 1
},
{
"id": "2891eece-c2d9-490d-82a5-7822794ed29c",
"question": "Who is the father of jesus ?",
"answer": [
"walker"
],
"prolog": {
"query": [
"father('jesus', Y_4)"
],
"answer": "Y_4"
},
"template": [
"Who is",
"the",
"<relation>_3",
"of",
"<name>_2",
"?"
],
"type": 1
},
{
"id": "0eacaaea-1673-45b8-8fb9-e02226866afd",
"question": "Who is the child of ardath ?",
"answer": [
"charity"
],
"prolog": {
"query": [
"child('ardath', Y_4)"
],
"answer": "Y_4"
},
"template": [
"Who is",
"the",
"<relation>_3",
"of",
"<name>_2",
"?"
],
"type": 1
},
{
"id": "8068ade8-13a1-4a82-93c6-915811af5ee1",
"question": "Who is the wife of martin ?",
"answer": [
"kylee"
],
"prolog": {
"query": [
"wife('martin', Y_4)"
],
"answer": "Y_4"
},
"template": [
"Who is",
"the",
"<relation>_3",
"of",
"<name>_2",
"?"
],
"type": 1
},
{
"id": "762585c8-2ed6-42bf-933b-f205a51262e7",
"question": "Who is the brother of lavern ?",
"answer": [
"keith"
],
"prolog": {
"query": [
"brother('lavern', Y_4)"
],
"answer": "Y_4"
},
"template": [
"Who is",
"the",
"<relation>_3",
"of",
"<name>_2",
"?"
],
"type": 1
},
{
"id": "ae665099-f554-4441-a492-2b709554bd3b",
"question": "Who is the sister of oliver ?",
"answer": [
"kanesha"
],
"prolog": {
"query": [
"sister('oliver', Y_4)"
],
"answer": "Y_4"
},
"template": [
"Who is",
"the",
"<relation>_3",
"of",
"<name>_2",
"?"
],
"type": 1
},
{
"id": "0fcd9137-42d6-41d8-b7dc-69ff9758ec95",
"question": "Who is the father of lynette ?",
"answer": [
"federico"
],
"prolog": {
"query": [
"father('lynette', Y_4)"
],
"answer": "Y_4"
},
"template": [
"Who is",
"the",
"<relation>_3",
"of",
"<name>_2",
"?"
],
"type": 1
},
{
"id": "9645da5d-a751-40a5-b04a-ea6e62e12e2a",
"question": "Who is the brother of lera ?",
"answer": [
"jamal"
],
"prolog": {
"query": [
"brother('lera', Y_4)"
],
"answer": "Y_4"
},
"template": [
"Who is",
"the",
"<relation>_3",
"of",
"<name>_2",
"?"
],
"type": 1
},
{
"id": "42e20037-48d3-408e-b6c9-0d45e97ddf44",
"question": "Who is the father of eduardo ?",
"answer": [
"oskar"
],
"prolog": {
"query": [
"father('eduardo', Y_4)"
],
"answer": "Y_4"
},
"template": [
"Who is",
"the",
"<relation>_3",
"of",
"<name>_2",
"?"
],
"type": 1
},
{
"id": "dd870c72-b729-474a-bc0e-3a571b65b51b",
"question": "Who is the sibling of crysta ?",
"answer": [
"ralph",
"renaldo"
],
"prolog": {
"query": [
"sibling('crysta', Y_4)"
],
"answer": "Y_4"
},
"template": [
"Who is",
"the",
"<relation>_3",
"of",
"<name>_2",
"?"
],
"type": 1
},
{
"id": "b06c953b-7bc6-4ee3-be75-94bccc2040b4",
"question": "Who is the person whose job is research officer, government ?",
"answer": [
"tresa"
],
"prolog": {
"query": [
"job(Y_4, 'research officer, government')"
],
"answer": "Y_4"
},
"template": [
"Who is",
"the person whose",
"<attribute_name>_3",
"is",
"<attribute_value>_3",
"?"
],
"type": 2
},
{
"id": "5649a26c-5c64-4932-b65c-b60bd13e27a1",
"question": "Who is the person whose job is engineer, production ?",
"answer": [
"adalberto",
"augustine"
],
"prolog": {
"query": [
"job(Y_4, 'engineer, production')"
],
"answer": "Y_4"
},
"template": [
"Who is",
"the person whose",
"<attribute_name>_3",
"is",
"<attribute_value>_3",
"?"
],
"type": 2
},
{
"id": "88841a86-d46c-4c34-b4c1-951e202ad976",
"question": "Who is the person whose job is media planner ?",
"answer": [
"jesus"
],
"prolog": {
"query": [
"job(Y_4, 'media planner')"
],
"answer": "Y_4"
},
"template": [
"Who is",
"the person whose",
"<attribute_name>_3",
"is",
"<attribute_value>_3",
"?"
],
"type": 2
},
{
"id": "a8515f05-3562-4a76-836c-bf500dcaea63",
"question": "Who is the person whose job is comptroller ?",
"answer": [
"cory",
"sandy",
"stanford"
],
"prolog": {
"query": [
"job(Y_4, 'comptroller')"
],
"answer": "Y_4"
},
"template": [
"Who is",
"the person whose",
"<attribute_name>_3",
"is",
"<attribute_value>_3",
"?"
],
"type": 2
},
{
"id": "8bf65466-7282-4302-86bc-65f91587bac5",
"question": "Who is the person whose job is product designer ?",
"answer": [
"ardath",
"rita"
],
"prolog": {
"query": [
"job(Y_4, 'product designer')"
],
"answer": "Y_4"
},
"template": [
"Who is",
"the person whose",
"<attribute_name>_3",
"is",
"<attribute_value>_3",
"?"
],
"type": 2
},
{
"id": "c1460529-bf21-49e8-896b-acda0e8748ef",
"question": "Who is the person whose job is print production planner ?",
"answer": [
"geraldine",
"rodolfo"
],
"prolog": {
"query": [
"job(Y_4, 'print production planner')"
],
"answer": "Y_4"
},
"template": [
"Who is",
"the person whose",
"<attribute_name>_3",
"is",
"<attribute_value>_3",
"?"
],
"type": 2
},
{
"id": "562986f9-95a0-4ab3-a83d-da8210a6a280",
"question": "Who is the person whose job is cabin crew ?",
"answer": [
"martin"
],
"prolog": {
"query": [
"job(Y_4, 'cabin crew')"
],
"answer": "Y_4"
},
"template": [
"Who is",
"the person whose",
"<attribute_name>_3",
"is",
"<attribute_value>_3",
"?"
],
"type": 2
},
{
"id": "786a7e8d-9a35-46b6-b7dc-1a173c819d83",
"question": "Who is the person whose job is therapist, horticultural ?",
"answer": [
"hyun",
"son"
],
"prolog": {
"query": [
"job(Y_4, 'therapist, horticultural')"
],
"answer": "Y_4"
},
"template": [
"Who is",
"the person whose",
"<attribute_name>_3",
"is",
"<attribute_value>_3",
"?"
],
"type": 2
},
{
"id": "d5515d7a-bd81-406e-99d2-4371a885f126",
"question": "Who is the person whose hobby is fencing ?",
"answer": [
"denny",
"lavern",
"tianna"
],
"prolog": {
"query": [
"hobby(Y_4, 'fencing')"
],
"answer": "Y_4"
},
"template": [
"Who is",
"the person whose",
"<attribute_name>_3",
"is",
"<attribute_value>_3",
"?"
],
"type": 2
},
{
"id": "91d9cdbb-2ba8-41c0-ae3c-16160b1b3dc9",
"question": "Who is the person whose job is building control surveyor ?",
"answer": [
"marya"
],
"prolog": {
"query": [
"job(Y_4, 'building control surveyor')"
],
"answer": "Y_4"
},
"template": [
"Who is",
"the person whose",
"<attribute_name>_3",
"is",
"<attribute_value>_3",
"?"
],
"type": 2
},
{
"id": "a99d1f8f-7418-4de9-a6b7-41cb54f7b476",
"question": "What is the hobby of the mother of tresa ?",
"answer": [
"scutelliphily"
],
"prolog": {
"query": [
"hobby(Y_3, Y_4)",
"mother('tresa', Y_3)"
],
"answer": "Y_4"
},
"template": [
"What is",
"the",
"<attribute_name>_3",
"of",
"the",
"<relation>_2",
"of",
"<name>_1",
"?"
],
"type": 3
},
{
"id": "4bdae567-a3c0-415f-9357-88b92143232d",
"question": "What is the dob of the mother of stanford ?",
"answer": [
"0255-03-04"
],
"prolog": {
"query": [
"dob(Y_3, Y_4)",
"mother('stanford', Y_3)"
],
"answer": "Y_4"
},
"template": [
"What is",
"the",
"<attribute_name>_3",
"of",
"the",
"<relation>_2",
"of",
"<name>_1",
"?"
],
"type": 3
},
{
"id": "3a65380e-0ced-4250-ae2d-73065c96b274",
"question": "What is the dob of the wife of martin ?",
"answer": [
"0213-06-14"
],
"prolog": {
"query": [
"dob(Y_3, Y_4)",
"wife('martin', Y_3)"
],
"answer": "Y_4"
},
"template": [
"What is",
"the",
"<attribute_name>_3",
"of",
"the",
"<relation>_2",
"of",
"<name>_1",
"?"
],
"type": 3
},
{
"id": "11881707-5cf4-4a3e-818f-81f4311e11e7",
"question": "What is the job of the husband of marya ?",
"answer": [
"market researcher"
],
"prolog": {
"query": [
"job(Y_3, Y_4)",
"husband('marya', Y_3)"
],
"answer": "Y_4"
},
"template": [
"What is",
"the",
"<attribute_name>_3",
"of",
"the",
"<relation>_2",
"of",
"<name>_1",
"?"
],
"type": 3
},
{
"id": "f4db01a3-7974-4a85-9cb5-6abf92bedb5e",
"question": "What is the dob of the father of lynette ?",
"answer": [
"0259-09-27"
],
"prolog": {
"query": [
"dob(Y_3, Y_4)",
"father('lynette', Y_3)"
],
"answer": "Y_4"
},
"template": [
"What is",
"the",
"<attribute_name>_3",
"of",
"the",
"<relation>_2",
"of",
"<name>_1",
"?"
],
"type": 3
},
{
"id": "3bc15803-dda2-471e-bfae-4e35ee1627e6",
"question": "What is the job of the child of sarah ?",
"answer": [
"aid worker",
"bonds trader",
"local government officer",
"research officer, government",
"soil scientist"
],
"prolog": {
"query": [
"job(Y_3, Y_4)",
"child('sarah', Y_3)"
],
"answer": "Y_4"
},
"template": [
"What is",
"the",
"<attribute_name>_3",
"of",
"the",
"<relation>_2",
"of",
"<name>_1",
"?"
],
"type": 3
},
{
"id": "2615545f-c72c-4c86-bcba-83c39acfb1c7",
"question": "What is the hobby of the sibling of crysta ?",
"answer": [
"ant farming",
"reading"
],
"prolog": {
"query": [
"hobby(Y_3, Y_4)",
"sibling('crysta', Y_3)"
],
"answer": "Y_4"
},
"template": [
"What is",
"the",
"<attribute_name>_3",
"of",
"the",
"<relation>_2",
"of",
"<name>_1",
"?"
],
"type": 3
},
{
"id": "a0e4f5f8-7d7e-403c-bf4f-c01bcf3905ee",
"question": "What is the job of the father of jessie ?",
"answer": [
"colour technologist"
],
"prolog": {
"query": [
"job(Y_3, Y_4)",
"father('jessie', Y_3)"
],
"answer": "Y_4"
},
"template": [
"What is",
"the",
"<attribute_name>_3",
"of",
"the",
"<relation>_2",
"of",
"<name>_1",
"?"
],
"type": 3
},
{
"id": "a4ed14e5-8fc4-4f5f-b28c-8fcf1396e211",
"question": "What is the job of the brother of major ?",
"answer": [
"pension scheme manager"
],
"prolog": {
"query": [
"job(Y_3, Y_4)",
"brother('major', Y_3)"
],
"answer": "Y_4"
},
"template": [
"What is",
"the",
"<attribute_name>_3",
"of",
"the",
"<relation>_2",
"of",
"<name>_1",
"?"
],
"type": 3
},
{
"id": "2530978c-dbae-4e5d-b157-06e70f08248d",
"question": "What is the dob of the sibling of leif ?",
"answer": [
"0290-09-19"
],
"prolog": {
"query": [
"dob(Y_3, Y_4)",
"sibling('leif', Y_3)"
],
"answer": "Y_4"
},
"template": [
"What is",
"the",
"<attribute_name>_3",
"of",
"the",
"<relation>_2",
"of",
"<name>_1",
"?"
],
"type": 3
},
{
"id": "39d89407-7c5d-427e-a4be-d29538c8ba23",
"question": "What is the job of the person whose job is research officer, government ?",
"answer": [
"research officer, government"
],
"prolog": {
"query": [
"job(Y_3, Y_4)",
"job(Y_3, 'research officer, government')"
],
"answer": "Y_4"
},
"template": [
"What is",
"the",
"<attribute_name>_3",
"of",
"the person whose",
"<attribute_name>_2",
"is",
"<attribute_value>_2",
"?"
],
"type": 4
},
{
"id": "b510725a-6713-423a-bb8f-799795cf4ec6",
"question": "What is the hobby of the person whose job is media planner ?",
"answer": [
"research"
],
"prolog": {
"query": [
"hobby(Y_3, Y_4)",
"job(Y_3, 'media planner')"
],
"answer": "Y_4"
},
"template": [
"What is",
"the",
"<attribute_name>_3",
"of",
"the person whose",
"<attribute_name>_2",
"is",
"<attribute_value>_2",
"?"
],
"type": 4
},
{
"id": "5d8f7043-4172-40bc-9999-41b9398ad173",
"question": "What is the dob of the person whose job is product designer ?",
"answer": [
"0231-11-01",
"0274-01-07"
],
"prolog": {
"query": [
"dob(Y_3, Y_4)",
"job(Y_3, 'product designer')"
],
"answer": "Y_4"
},
"template": [
"What is",
"the",
"<attribute_name>_3",
"of",
"the person whose",
"<attribute_name>_2",
"is",
"<attribute_value>_2",
"?"
],
"type": 4
},
{
"id": "04a6a725-a14f-4786-ba5f-6494136ed965",
"question": "What is the hobby of the person whose job is cabin crew ?",
"answer": [
"triathlon"
],
"prolog": {
"query": [
"hobby(Y_3, Y_4)",
"job(Y_3, 'cabin crew')"
],
"answer": "Y_4"
},
"template": [
"What is",
"the",
"<attribute_name>_3",
"of",
"the person whose",
"<attribute_name>_2",
"is",
"<attribute_value>_2",
"?"
],
"type": 4
},
{
"id": "6522c777-41ae-40fb-9123-0a7cea64d8ef",
"question": "What is the dob of the person whose hobby is fencing ?",
"answer": [
"0196-03-02",
"0291-10-11",
"0293-08-01"
],
"prolog": {
"query": [
"dob(Y_3, Y_4)",
"hobby(Y_3, 'fencing')"
],
"answer": "Y_4"
},
"template": [
"What is",
"the",
"<attribute_name>_3",
"of",
"the person whose",
"<attribute_name>_2",
"is",
"<attribute_value>_2",
"?"
],
"type": 4
},
{
"id": "71f06815-0280-40a8-9709-f3e3eacdf7ae",
"question": "What is the job of the person whose job is computer games developer ?",
"answer": [
"computer games developer"
],
"prolog": {
"query": [
"job(Y_3, Y_4)",
"job(Y_3, 'computer games developer')"
],
"answer": "Y_4"
},
"template": [
"What is",
"the",
"<attribute_name>_3",
"of",
"the person whose",
"<attribute_name>_2",
"is",
"<attribute_value>_2",
"?"
],
"type": 4
},
{
"id": "4d453552-c7da-45de-becd-00faa2f8cf93",
"question": "What is the hobby of the person whose hobby is trapshooting ?",
"answer": [
"trapshooting"
],
"prolog": {
"query": [
"hobby(Y_3, Y_4)",
"hobby(Y_3, 'trapshooting')"
],
"answer": "Y_4"
},
"template": [
"What is",
"the",
"<attribute_name>_3",
"of",
"the person whose",
"<attribute_name>_2",
"is",
"<attribute_value>_2",
"?"
],
"type": 4
},
{
"id": "de959606-2707-4479-a0c6-5af1b0ff466a",
"question": "What is the job of the person whose hobby is fishkeeping ?",
"answer": [
"animal technologist",
"dramatherapist",
"editorial assistant",
"pharmacist, community",
"social researcher",
"sound technician, broadcasting/film/video",
"sport and exercise psychologist"
],
"prolog": {
"query": [
"job(Y_3, Y_4)",
"hobby(Y_3, 'fishkeeping')"
],
"answer": "Y_4"
},
"template": [
"What is",
"the",
"<attribute_name>_3",
"of",
"the person whose",
"<attribute_name>_2",
"is",
"<attribute_value>_2",
"?"
],
"type": 4
},
{
"id": "d5ad8021-5dc1-4701-af97-fb3a38c2170e",
"question": "What is the job of the person whose hobby is radio-controlled model playing ?",
"answer": [
"administrator, education",
"building services engineer",
"charity officer"
],
"prolog": {
"query": [
"job(Y_3, Y_4)",
"hobby(Y_3, 'radio-controlled model playing')"
],
"answer": "Y_4"
},
"template": [
"What is",
"the",
"<attribute_name>_3",
"of",
"the person whose",
"<attribute_name>_2",
"is",
"<attribute_value>_2",
"?"
],
"type": 4
},
{
"id": "a6b2fc3a-e02c-447d-9c07-7835e34285ff",
"question": "What is the dob of the person whose hobby is philately ?",
"answer": [
"0174-04-26",
"0202-12-13",
"0285-06-22"
],
"prolog": {
"query": [
"dob(Y_3, Y_4)",
"hobby(Y_3, 'philately')"
],
"answer": "Y_4"
},
"template": [
"What is",
"the",
"<attribute_name>_3",
"of",
"the person whose",
"<attribute_name>_2",
"is",
"<attribute_value>_2",
"?"
],
"type": 4
},
{
"id": "806f6df1-eafa-4a5c-a65d-c1cce1226e3e",
"question": "How many sons does the mother of tresa have?",
"answer": [
"4"
],
"prolog": {
"query": [
"aggregate_all(count, distinct(son(Y_3, Y_5)), Count_5)",
"mother('tresa', Y_3)"
],
"answer": "Count_5"
},
"template": [
"How many",
"<relation_plural>_4",
"does",
"the",
"<relation>_2",
"of",
"<name>_1",
"have?"
],
"type": 5
},
{
"id": "da8a5056-eea8-4425-9eb5-b29abe428134",
"question": "How many siblings does the mother of stanford have?",
"answer": [
"4"
],
"prolog": {
"query": [
"aggregate_all(count, distinct(sibling(Y_3, Y_5)), Count_5)",
"mother('stanford', Y_3)"
],
"answer": "Count_5"
},
"template": [
"How many",
"<relation_plural>_4",
"does",
"the",
"<relation>_2",
"of",
"<name>_1",
"have?"
],
"type": 5
},
{
"id": "54fdfd85-42a7-41f8-81ea-6f06a05683a5",
"question": "How many sisters does the wife of martin have?",
"answer": [
"0"
],
"prolog": {
"query": [
"aggregate_all(count, distinct(sister(Y_3, Y_5)), Count_5)",
"wife('martin', Y_3)"
],
"answer": "Count_5"
},
"template": [
"How many",
"<relation_plural>_4",
"does",
"the",
"<relation>_2",
"of",
"<name>_1",
"have?"
],
"type": 5
},
{
"id": "8642e7bc-390f-45d1-8374-227a7e86b9f3",
"question": "How many brothers does the husband of marya have?",
"answer": [
"0"
],
"prolog": {
"query": [
"aggregate_all(count, distinct(brother(Y_3, Y_5)), Count_5)",
"husband('marya', Y_3)"
],
"answer": "Count_5"
},
"template": [
"How many",
"<relation_plural>_4",
"does",
"the",
"<relation>_2",
"of",
"<name>_1",
"have?"
],
"type": 5
},
{
"id": "cdd3d3f1-aa49-44fe-864d-f73d83bb0fa5",
"question": "How many sisters does the father of lynette have?",
"answer": [
"0"
],
"prolog": {
"query": [
"aggregate_all(count, distinct(sister(Y_3, Y_5)), Count_5)",
"father('lynette', Y_3)"
],
"answer": "Count_5"
},
"template": [
"How many",
"<relation_plural>_4",
"does",
"the",
"<relation>_2",
"of",
"<name>_1",
"have?"
],
"type": 5
},
{
"id": "6cfebe10-8b63-4aaa-9ee2-8f0180705e37",
"question": "How many children does the child of sarah have?",
"answer": [
"0",
"1",
"4"
],
"prolog": {
"query": [
"aggregate_all(count, distinct(child(Y_3, Y_5)), Count_5)",
"child('sarah', Y_3)"
],
"answer": "Count_5"
},
"template": [
"How many",
"<relation_plural>_4",
"does",
"the",
"<relation>_2",
"of",
"<name>_1",
"have?"
],
"type": 5
},
{
"id": "5432ac66-afe9-41dc-8030-c9e91d791a9b",
"question": "How many daughters does the sibling of crysta have?",
"answer": [
"1",
"3"
],
"prolog": {
"query": [
"aggregate_all(count, distinct(daughter(Y_3, Y_5)), Count_5)",
"sibling('crysta', Y_3)"
],
"answer": "Count_5"
},
"template": [
"How many",
"<relation_plural>_4",
"does",
"the",
"<relation>_2",
"of",
"<name>_1",
"have?"
],
"type": 5
},
{
"id": "a3dddd71-0e09-4fd0-8375-9d7232980e10",
"question": "How many children does the father of jessie have?",
"answer": [
"4"
],
"prolog": {
"query": [
"aggregate_all(count, distinct(child(Y_3, Y_5)), Count_5)",
"father('jessie', Y_3)"
],
"answer": "Count_5"
},
"template": [
"How many",
"<relation_plural>_4",
"does",
"the",
"<relation>_2",
"of",
"<name>_1",
"have?"
],
"type": 5
},
{
"id": "328eaaf1-32ae-4075-95d1-ab9496af89a5",
"question": "How many brothers does the brother of major have?",
"answer": [
"1"
],
"prolog": {
"query": [
"aggregate_all(count, distinct(brother(Y_3, Y_5)), Count_5)",
"brother('major', Y_3)"
],
"answer": "Count_5"
},
"template": [
"How many",
"<relation_plural>_4",
"does",
"the",
"<relation>_2",
"of",
"<name>_1",
"have?"
],
"type": 5
},
{
"id": "ae90f004-1a8d-43c9-b441-e78cedbe41cf",
"question": "How many sisters does the sibling of leif have?",
"answer": [
"0"
],
"prolog": {
"query": [
"aggregate_all(count, distinct(sister(Y_3, Y_5)), Count_5)",
"sibling('leif', Y_3)"
],
"answer": "Count_5"
},
"template": [
"How many",
"<relation_plural>_4",
"does",
"the",
"<relation>_2",
"of",
"<name>_1",
"have?"
],
"type": 5
},
{
"id": "f9ef9970-fac0-4645-9c6e-1ebf22b4605d",
"question": "How many children does the person whose job is research officer, government have?",
"answer": [
"0"
],
"prolog": {
"query": [
"aggregate_all(count, distinct(child(Y_3, Y_5)), Count_5)",
"job(Y_3, 'research officer, government')"
],
"answer": "Count_5"
},
"template": [
"How many",
"<relation_plural>_4",
"does",
"the person whose",
"<attribute_name>_2",
"is",
"<attribute_value>_2",
"have?"
],
"type": 6
},
{
"id": "dea1d498-97a4-4677-9e6b-6d9dba3caf34",
"question": "How many daughters does the person whose job is media planner have?",
"answer": [
"0"
],
"prolog": {
"query": [
"aggregate_all(count, distinct(daughter(Y_3, Y_5)), Count_5)",
"job(Y_3, 'media planner')"
],
"answer": "Count_5"
},
"template": [
"How many",
"<relation_plural>_4",
"does",
"the person whose",
"<attribute_name>_2",
"is",
"<attribute_value>_2",
"have?"
],
"type": 6
},
{
"id": "6660a906-1056-4ebe-8f9b-3315a0711499",
"question": "How many siblings does the person whose job is product designer have?",
"answer": [
"0",
"2"
],
"prolog": {
"query": [
"aggregate_all(count, distinct(sibling(Y_3, Y_5)), Count_5)",
"job(Y_3, 'product designer')"
],
"answer": "Count_5"
},
"template": [
"How many",
"<relation_plural>_4",
"does",
"the person whose",
"<attribute_name>_2",
"is",
"<attribute_value>_2",
"have?"
],
"type": 6
},
{
"id": "f35c6c3b-fc45-4ca2-8b67-3ad383e6687a",
"question": "How many daughters does the person whose job is cabin crew have?",
"answer": [
"0"
],
"prolog": {
"query": [
"aggregate_all(count, distinct(daughter(Y_3, Y_5)), Count_5)",
"job(Y_3, 'cabin crew')"
],
"answer": "Count_5"
},
"template": [
"How many",
"<relation_plural>_4",
"does",
"the person whose",
"<attribute_name>_2",
"is",
"<attribute_value>_2",
"have?"
],
"type": 6
},
{
"id": "dac1e8a4-e233-4656-8897-08d3a64e0de7",
"question": "How many sisters does the person whose hobby is fencing have?",
"answer": [
"0",
"2"
],
"prolog": {
"query": [
"aggregate_all(count, distinct(sister(Y_3, Y_5)), Count_5)",
"hobby(Y_3, 'fencing')"
],
"answer": "Count_5"
},
"template": [
"How many",
"<relation_plural>_4",
"does",
"the person whose",
"<attribute_name>_2",
"is",
"<attribute_value>_2",
"have?"
],
"type": 6
},
{
"id": "8ca4a0e4-202a-439d-bb72-f0b2c7d351e9",
"question": "How many brothers does the person whose job is computer games developer have?",
"answer": [
"0"
],
"prolog": {
"query": [
"aggregate_all(count, distinct(brother(Y_3, Y_5)), Count_5)",
"job(Y_3, 'computer games developer')"
],
"answer": "Count_5"
},
"template": [
"How many",
"<relation_plural>_4",
"does",
"the person whose",
"<attribute_name>_2",
"is",
"<attribute_value>_2",
"have?"
],
"type": 6
},
{
"id": "03ef1aec-7776-44cc-8bbf-cb3087afa349",
"question": "How many sons does the person whose hobby is trapshooting have?",
"answer": [
"0"
],
"prolog": {
"query": [
"aggregate_all(count, distinct(son(Y_3, Y_5)), Count_5)",
"hobby(Y_3, 'trapshooting')"
],
"answer": "Count_5"
},
"template": [
"How many",
"<relation_plural>_4",
"does",
"the person whose",
"<attribute_name>_2",
"is",
"<attribute_value>_2",
"have?"
],
"type": 6
},
{
"id": "f620eeaf-f4d4-4d51-be0d-6736abb85a9b",
"question": "How many brothers does the person whose hobby is fishkeeping have?",
"answer": [
"0",
"1",
"2"
],
"prolog": {
"query": [
"aggregate_all(count, distinct(brother(Y_3, Y_5)), Count_5)",
"hobby(Y_3, 'fishkeeping')"
],
"answer": "Count_5"
},
"template": [
"How many",
"<relation_plural>_4",
"does",
"the person whose",
"<attribute_name>_2",
"is",
"<attribute_value>_2",
"have?"
],
"type": 6
},
{
"id": "c2789ec2-f620-4708-b130-873496015cd6",
"question": "How many children does the person whose hobby is radio-controlled model playing have?",
"answer": [
"0",
"1"
],
"prolog": {
"query": [
"aggregate_all(count, distinct(child(Y_3, Y_5)), Count_5)",
"hobby(Y_3, 'radio-controlled model playing')"
],
"answer": "Count_5"
},
"template": [
"How many",
"<relation_plural>_4",
"does",
"the person whose",
"<attribute_name>_2",
"is",
"<attribute_value>_2",
"have?"
],
"type": 6
},
{
"id": "2dda33fe-5a0a-4162-9bea-99785d2571b1",
"question": "How many siblings does the person whose hobby is philately have?",
"answer": [
"0",
"2"
],
"prolog": {
"query": [
"aggregate_all(count, distinct(sibling(Y_3, Y_5)), Count_5)",
"hobby(Y_3, 'philately')"
],
"answer": "Count_5"
},
"template": [
"How many",
"<relation_plural>_4",
"does",
"the person whose",
"<attribute_name>_2",
"is",
"<attribute_value>_2",
"have?"
],
"type": 6
},
{
"id": "d330baa5-13d4-4d99-a8d9-8d6229bcbe48",
"question": "How many children does tresa have?",
"answer": [
"0"
],
"prolog": {
"query": [
"aggregate_all(count, distinct(child('tresa', Y_5)), Count_5)"
],
"answer": "Count_5"
},
"template": [
"How many",
"<relation_plural>_4",
"does",
"<name>_3",
"have?"
],
"type": 7
},
{
"id": "eb0b4333-6933-4151-8379-7518519b6b81",
"question": "How many daughters does jesus have?",
"answer": [
"0"
],
"prolog": {
"query": [
"aggregate_all(count, distinct(daughter('jesus', Y_5)), Count_5)"
],
"answer": "Count_5"
},
"template": [
"How many",
"<relation_plural>_4",
"does",
"<name>_3",
"have?"
],
"type": 7
},
{
"id": "d0d580f7-96d5-4712-b3f1-a4c86fbdcd35",
"question": "How many siblings does ardath have?",
"answer": [
"0"
],
"prolog": {
"query": [
"aggregate_all(count, distinct(sibling('ardath', Y_5)), Count_5)"
],
"answer": "Count_5"
},
"template": [
"How many",
"<relation_plural>_4",
"does",
"<name>_3",
"have?"
],
"type": 7
},
{
"id": "dc18188d-38d7-411f-84b2-813b6621f81c",
"question": "How many daughters does martin have?",
"answer": [
"0"
],
"prolog": {
"query": [
"aggregate_all(count, distinct(daughter('martin', Y_5)), Count_5)"
],
"answer": "Count_5"
},
"template": [
"How many",
"<relation_plural>_4",
"does",
"<name>_3",
"have?"
],
"type": 7
},
{
"id": "bb1d2d4e-4b44-49fb-872b-7adb6cbe82e9",
"question": "How many sisters does lavern have?",
"answer": [
"0"
],
"prolog": {
"query": [
"aggregate_all(count, distinct(sister('lavern', Y_5)), Count_5)"
],
"answer": "Count_5"
},
"template": [
"How many",
"<relation_plural>_4",
"does",
"<name>_3",
"have?"
],
"type": 7
},
{
"id": "a48815f9-0b45-4b89-a810-43247f3dc3a1",
"question": "How many brothers does oliver have?",
"answer": [
"0"
],
"prolog": {
"query": [
"aggregate_all(count, distinct(brother('oliver', Y_5)), Count_5)"
],
"answer": "Count_5"
},
"template": [
"How many",
"<relation_plural>_4",
"does",
"<name>_3",
"have?"
],
"type": 7
},
{
"id": "de944ee3-e5b1-41c3-9364-e689c7eac391",
"question": "How many sons does lynette have?",
"answer": [
"0"
],
"prolog": {
"query": [
"aggregate_all(count, distinct(son('lynette', Y_5)), Count_5)"
],
"answer": "Count_5"
},
"template": [
"How many",
"<relation_plural>_4",
"does",
"<name>_3",
"have?"
],
"type": 7
},
{
"id": "57dc2deb-49b4-4cf0-bda1-2154b950b59b",
"question": "How many brothers does lera have?",
"answer": [
"1"
],
"prolog": {
"query": [
"aggregate_all(count, distinct(brother('lera', Y_5)), Count_5)"
],
"answer": "Count_5"
},
"template": [
"How many",
"<relation_plural>_4",
"does",
"<name>_3",
"have?"
],
"type": 7
},
{
"id": "bfd47727-1d2e-450d-a18e-103ebf2b63ae",
"question": "How many children does eduardo have?",
"answer": [
"0"
],
"prolog": {
"query": [
"aggregate_all(count, distinct(child('eduardo', Y_5)), Count_5)"
],
"answer": "Count_5"
},
"template": [
"How many",
"<relation_plural>_4",
"does",
"<name>_3",
"have?"
],
"type": 7
},
{
"id": "448068c4-f6b7-4176-8a57-179c584c2be9",
"question": "How many siblings does crysta have?",
"answer": [
"2"
],
"prolog": {
"query": [
"aggregate_all(count, distinct(sibling('crysta', Y_5)), Count_5)"
],
"answer": "Count_5"
},
"template": [
"How many",
"<relation_plural>_4",
"does",
"<name>_3",
"have?"
],
"type": 7
}
]