AnswerEX1-c: Difference between revisions
No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
'''mother of someone: {<x,y>| x is the mother of y} ={<Alice,Lisa>,<Alice,Paul>}''' | '''mother of someone: {<x,y>| x is the mother of y} ={<Alice,Lisa>,<Alice,Paul>}''' | ||
'''brother of someone: {<x,y>|x is the brother of y} = {<Tom,Lisa>}''' | |||
'''sister of someone: {<x,y>>| x is the sister of y} = {<Lisa,Tom>}''' | |||
'''married to eachother: {<x,y>| x is married to y and y is married to x} = {<Alice,Paul>} | |||
''' | |||
'''dog of someone: {<x,y>| x is the dog of y} = {<Walter,Alice>,<Walter,Paul>,<Walter,Tom>,<Walter,Lisa>}''' | |||
'''enjoy watching football together: {<x,y>| x enjoys watching football with y and y enjoys watching football with x} = {<Alice,Paul>,<Alice,Lisa>,<Alice,Tom>, <Paul,Lisa>, <Paul,Tom>, <Tom,Lisa>}''' | '''enjoy watching football together: {<x,y>| x enjoys watching football with y and y enjoys watching football with x} = {<Alice,Paul>,<Alice,Lisa>,<Alice,Tom>, <Paul,Lisa>, <Paul,Tom>, <Tom,Lisa>}''' |
Revision as of 20:37, 25 January 2013
Relations
son of someone: {<x,y>|x is the son of y} = {<Tom,Paul>,<Tom,Alice>}
father of someone: {<x,y>|x is the father of y} ={<Paul,Tom>,<Paul,Lisa>}
daughter of someone: {<x,y>| x is the daughter of y} = {<Lisa,Paul>,<Lisa,Alice>}
mother of someone: {<x,y>| x is the mother of y} ={<Alice,Lisa>,<Alice,Paul>}
brother of someone: {<x,y>|x is the brother of y} = {<Tom,Lisa>}
sister of someone: {<x,y>>| x is the sister of y} = {<Lisa,Tom>}
married to eachother: {<x,y>| x is married to y and y is married to x} = {<Alice,Paul>}
dog of someone: {<x,y>| x is the dog of y} = {<Walter,Alice>,<Walter,Paul>,<Walter,Tom>,<Walter,Lisa>}
enjoy watching football together: {<x,y>| x enjoys watching football with y and y enjoys watching football with x} = {<Alice,Paul>,<Alice,Lisa>,<Alice,Tom>, <Paul,Lisa>, <Paul,Tom>, <Tom,Lisa>}