Simple Question (Direct)
Simple Question
Q6213757
P106
Q12737077
USER
What is the job of Joel Monaghan ?
(Q6213757,P106,c(Q12737077))
action filter_type
action find
entity Q6213757
relation P106
type Q12737077
['Q6213757', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q6213757 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Joel Monaghan
action filter_type
action find
entity Joel Monaghan
relation occupation
type occupation
['Joel Monaghan', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Joel_Monaghan property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q14373094
SYSTEM
rugby league player
Q14373094
(Q6213757,P106,c(Q12737077))
action filter_type
action find
entity Q6213757
relation P106
type Q12737077
The job of Joel Monaghan is a [ANSWER]
['Q6213757', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q6213757 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
rugby league player
The job of Joel Monaghan is a rugby league player
rugby league player
action filter_type
action find
entity Joel Monaghan
relation occupation
type occupation
['Joel Monaghan', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Joel_Monaghan property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6213757
P54
Q874405
USER
What are the team that Joel Monaghan are a member of ?
(Q6213757,P54,c(Q874405))
action filter_type
action find
entity Q6213757
relation P54
type Q874405
['Q6213757', 'P54', {'concept': 'Q874405'}]
SELECT DISTINCT ?g WHERE { resource:Q6213757 property:P54 ?g . ?g rdf:type ontology:Q874405 }
Joel Monaghan
action filter_type
action find
entity Joel Monaghan
relation member of sports team
type social group
['Joel Monaghan', 'member of sports team', {'concept': 'social group'}]
SELECT DISTINCT ?g WHERE { resource:Joel_Monaghan property:member_of_sports_team ?g . ?g rdf:type ontology:social_group }
[]
social group
Q2936194 Q2573367 Q2549837
SYSTEM
Canberra Raiders, Sydney Roosters, Warrington Wolves
Q2936194 Q2573367 Q2549837
(Q6213757,P54,c(Q874405))
action filter_type
action find
entity Q6213757
relation P54
type Q874405
The team that Joel Monaghan are a member of are the [ANSWERS]
['Q6213757', 'P54', {'concept': 'Q874405'}]
SELECT DISTINCT ?g WHERE { resource:Q6213757 property:P54 ?g . ?g rdf:type ontology:Q874405 }
Canberra Raiders Sydney Roosters Warrington Wolves
The team that Joel Monaghan are a member of are the Canberra Raiders, Sydney Roosters and Warrington Wolves
Canberra Raiders Sydney Roosters Warrington Wolves
action filter_type
action find
entity Joel Monaghan
relation member of sports team
type social group
['Joel Monaghan', 'member of sports team', {'concept': 'social group'}]
SELECT DISTINCT ?g WHERE { resource:Joel_Monaghan property:member_of_sports_team ?g . ?g rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2936194
P115
Q1076486
USER
Which sports venue is the home field of Canberra Raiders ?
(Q2936194,P115,c(Q1076486))
action filter_type
action find
entity Q2936194
relation P115
type Q1076486
['Q2936194', 'P115', {'concept': 'Q1076486'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1076486 . resource:Q2936194 property:P115 ?p }
Canberra Raiders
action filter_type
action find
entity Canberra Raiders
relation home venue
type sports venue
['Canberra Raiders', 'home venue', {'concept': 'sports venue'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sports_venue . resource:Canberra_Raiders property:home_venue ?p }
[]
sports venue
Q1032882
SYSTEM
Canberra Stadium
Q1032882
(Q2936194,P115,c(Q1076486))
action filter_type
action find
entity Q2936194
relation P115
type Q1076486
Stadium [ANSWER] is the home field of Canberra Raiders
['Q2936194', 'P115', {'concept': 'Q1076486'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q1076486 . resource:Q2936194 property:P115 ?p }
Canberra Stadium
Stadium Canberra Stadium is the home field of Canberra Raiders
Canberra Stadium
action filter_type
action find
entity Canberra Raiders
relation home venue
type sports venue
['Canberra Raiders', 'home venue', {'concept': 'sports venue'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:sports_venue . resource:Canberra_Raiders property:home_venue ?p }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q219233
Q1076486
USER
And how about Vitesse?
(Q219233,P115,c(Q1076486))
action filter_type
action find
entity Q219233
relation P115
type Q1076486
['Q219233', 'P115', {'concept': 'Q1076486'}]
SELECT DISTINCT ?i WHERE { resource:Q219233 property:P115 ?i . ?i rdf:type ontology:Q1076486 }
Vitesse
action filter_type
action find
entity Vitesse
relation home venue
type sports venue
['Vitesse', 'home venue', {'concept': 'sports venue'}]
SELECT DISTINCT ?i WHERE { resource:Vitesse property:home_venue ?i . ?i rdf:type ontology:sports_venue }
[]
sports venue
Q1067235
SYSTEM
GelreDome
Q1067235
(Q219233,P115,c(Q1076486))
action filter_type
action find
entity Q219233
relation P115
type Q1076486
[ANSWER]
['Q219233', 'P115', {'concept': 'Q1076486'}]
SELECT DISTINCT ?i WHERE { resource:Q219233 property:P115 ?i . ?i rdf:type ontology:Q1076486 }
GelreDome
GelreDome
action filter_type
action find
entity Vitesse
relation home venue
type sports venue
['Vitesse', 'home venue', {'concept': 'sports venue'}]
SELECT DISTINCT ?i WHERE { resource:Vitesse property:home_venue ?i . ?i rdf:type ontology:sports_venue }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q219233
P466
Q483110
USER
What is occupied by Vitesse ?
(c(Q483110),P466,Q219233)
action filter_type
action find_reverse
entity Q219233
relation P466
type Q483110
[{'concept': 'Q483110'}, 'P466', 'Q219233']
SELECT DISTINCT ?i WHERE { ?i property:P466 resource:Q219233 . ?i rdf:type ontology:Q483110 }
Vitesse
action filter_type
action find_reverse
entity Vitesse
relation occupant
type stadium
[{'concept': 'stadium'}, 'occupant', 'Vitesse']
SELECT DISTINCT ?i WHERE { ?i property:occupant resource:Vitesse . ?i rdf:type ontology:stadium }
[]
stadium
Q14852091
SYSTEM
Klarenbeek
Q14852091
(c(Q483110),P466,Q219233)
action filter_type
action find_reverse
entity Q219233
relation P466
type Q483110
[ANSWER] is occupied by Vitesse
[{'concept': 'Q483110'}, 'P466', 'Q219233']
SELECT DISTINCT ?i WHERE { ?i property:P466 resource:Q219233 . ?i rdf:type ontology:Q483110 }
Klarenbeek
Klarenbeek is occupied by Vitesse
Klarenbeek
action filter_type
action find_reverse
entity Vitesse
relation occupant
type stadium
[{'concept': 'stadium'}, 'occupant', 'Vitesse']
SELECT DISTINCT ?i WHERE { ?i property:occupant resource:Vitesse . ?i rdf:type ontology:stadium }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q14852091 Q55
P17
Q15617994
USER
Is that stadium situated in Netherlands ?
(Q14852091,P17,Q55)
action is_in
entity Q55
action find
entity Q14852091
relation P17
['Q14852091', 'P17', 'Q55']
ASK WHERE { resource:Q14852091 property:P17 resource:Q55 }
Klarenbeek Netherlands
action is_in
entity Netherlands
action find
entity Klarenbeek
relation country
['Klarenbeek', 'country', 'Netherlands']
ASK WHERE { resource:Klarenbeek property:country resource:Netherlands }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q14852091,P17,Q55)
action is_in
entity Q55
action find
entity Q14852091
relation P17
[ANSWER]
['Q14852091', 'P17', 'Q55']
ASK WHERE { resource:Q14852091 property:P17 resource:Q55 }
Yes
action is_in
entity Netherlands
action find
entity Klarenbeek
relation country
['Klarenbeek', 'country', 'Netherlands']
ASK WHERE { resource:Klarenbeek property:country resource:Netherlands }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q19060318
Q15617994
USER
And also tell me about Eemstraat?
(Q19060318,P17,c(Q15617994))
action filter_type
action find
entity Q19060318
relation P17
type Q15617994
['Q19060318', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q19060318 property:P17 ?z . ?z rdf:type ontology:Q15617994 }
Eemstraat
action filter_type
action find
entity Eemstraat
relation country
type designation for an administrative territorial entity
['Eemstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Eemstraat property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55
SYSTEM
Netherlands
Q55
(Q19060318,P17,c(Q15617994))
action filter_type
action find
entity Q19060318
relation P17
type Q15617994
[ANSWER]
['Q19060318', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { resource:Q19060318 property:P17 ?z . ?z rdf:type ontology:Q15617994 }
Netherlands
Netherlands
action filter_type
action find
entity Eemstraat
relation country
type designation for an administrative territorial entity
['Eemstraat', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Eemstraat property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q874405 Q3305213 Q386724
USER
Which social groups are depicted in exactly 1 paintings and works ?
(c(Q3305213)|c(Q386724),P180,c(Q874405))
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q874405
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q874405
type Q386724
value 1
[[{'concept': 'Q3305213'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q874405'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?o = 1 ) . { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?o ) WHERE { { ?v property:P180 ?i . ?i rdf:type ontology:Q874405 . ?v rdf:type ontology:Q386724 } UNION { ?v property:P180 ?i . ?v rdf:type ontology:Q3305213 . ?i rdf:type ontology:Q874405 } } GROUP BY ?i } }
action equal
action union
action find_reverse_tuple_counts
relation depicts
type social group
type painting
action find_reverse_tuple_counts
relation depicts
type social group
type work
value 1
[[{'concept': 'painting'}, {'concept': 'work'}], 'depicts', {'concept': 'social group'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?o = 1 ) . { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?o ) WHERE { { ?v property:depicts ?i . ?i rdf:type ontology:social_group . ?v rdf:type ontology:work } UNION { ?v property:depicts ?i . ?v rdf:type ontology:painting . ?i rdf:type ontology:social_group } } GROUP BY ?i } }
[]
social group painting work
Q177232 Q39614 Q1508674
SYSTEM
son, cemetery, Mérieux family
Q39614 Q1508674 Q177232 Q7565 Q618057
(c(Q3305213)|c(Q386724),P180,c(Q874405))
action equal
action union
action find_reverse_tuple_counts
relation P180
type Q874405
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q874405
type Q386724
value 1
[ANSWERS] are depicted in exactly 1 paintings and works
[[{'concept': 'Q3305213'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q874405'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?o = 1 ) . { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?o ) WHERE { { ?v property:P180 ?i . ?i rdf:type ontology:Q874405 . ?v rdf:type ontology:Q386724 } UNION { ?v property:P180 ?i . ?v rdf:type ontology:Q3305213 . ?i rdf:type ontology:Q874405 } } GROUP BY ?i } }
cemetery Mérieux family son father Holy Family
Son, cemetery and Mérieux family are depicted in exactly 1 paintings and works
son cemetery Mérieux family
action equal
action union
action find_reverse_tuple_counts
relation depicts
type social group
type painting
action find_reverse_tuple_counts
relation depicts
type social group
type work
value 1
[[{'concept': 'painting'}, {'concept': 'work'}], 'depicts', {'concept': 'social group'}]
SELECT DISTINCT ?i WHERE { FILTER ( ?o = 1 ) . { SELECT DISTINCT ?i ( COUNT ( ?v ) AS ?o ) WHERE { { ?v property:depicts ?i . ?i rdf:type ontology:social_group . ?v rdf:type ontology:work } UNION { ?v property:depicts ?i . ?v rdf:type ontology:painting . ?i rdf:type ontology:social_group } } GROUP BY ?i } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q177232 Q39614 Q1508674
P180
Q3305213
USER
Which paintings depict son, cemetery and Mérieux family ?
(c(Q3305213),P180,Q177232) (c(Q3305213),P180,Q39614) (c(Q3305213),P180,Q1508674)
action union
action filter_type
action find_reverse
entity Q177232
relation P180
type Q3305213
action filter_type
action find_reverse
entity Q39614
relation P180
type Q3305213
action filter_type
action find_reverse
entity Q1508674
relation P180
type Q3305213
[{'concept': 'Q3305213'}, 'P180', 'Q177232'] [{'concept': 'Q3305213'}, 'P180', 'Q39614'] [{'concept': 'Q3305213'}, 'P180', 'Q1508674']
SELECT DISTINCT ?w WHERE { { ?w rdf:type ontology:Q3305213 . ?w property:P180 resource:Q177232 } UNION { ?w property:P180 resource:Q39614 . ?w rdf:type ontology:Q3305213 } }
son cemetery Mérieux family
action union
action filter_type
action find_reverse
entity son
relation depicts
type painting
action filter_type
action find_reverse
entity cemetery
relation depicts
type painting
action filter_type
action find_reverse
entity Mérieux family
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'son'] [{'concept': 'painting'}, 'depicts', 'cemetery'] [{'concept': 'painting'}, 'depicts', 'Mérieux family']
SELECT DISTINCT ?w WHERE { { ?w rdf:type ontology:painting . ?w property:depicts resource:son } UNION { ?w property:depicts resource:cemetery . ?w rdf:type ontology:painting } }
[]
painting
Q469722 Q19283476 Q10147
SYSTEM
Severan Tondo, View of Paris from Père la Chaise., Fresque des Lyonnais
Q469722 Q19283476 Q10147
(c(Q3305213),P180,Q177232) (c(Q3305213),P180,Q39614) (c(Q3305213),P180,Q1508674)
action union
action filter_type
action find_reverse
entity Q177232
relation P180
type Q3305213
action filter_type
action find_reverse
entity Q39614
relation P180
type Q3305213
action filter_type
action find_reverse
entity Q1508674
relation P180
type Q3305213
[ANSWERS] depict son, cemetery and Mérieux family
[{'concept': 'Q3305213'}, 'P180', 'Q177232'] [{'concept': 'Q3305213'}, 'P180', 'Q39614'] [{'concept': 'Q3305213'}, 'P180', 'Q1508674']
SELECT DISTINCT ?w WHERE { { ?w rdf:type ontology:Q3305213 . ?w property:P180 resource:Q177232 } UNION { ?w property:P180 resource:Q39614 . ?w rdf:type ontology:Q3305213 } }
Severan Tondo View of Paris from Père la Chaise. Fresque des Lyonnais
Severan Tondo, View of Paris from Père la Chaise. and Fresque des Lyonnais depict son, cemetery and Mérieux family
Severan Tondo View of Paris from Père la Chaise. Fresque des Lyonnais
action union
action filter_type
action find_reverse
entity son
relation depicts
type painting
action filter_type
action find_reverse
entity cemetery
relation depicts
type painting
action filter_type
action find_reverse
entity Mérieux family
relation depicts
type painting
[{'concept': 'painting'}, 'depicts', 'son'] [{'concept': 'painting'}, 'depicts', 'cemetery'] [{'concept': 'painting'}, 'depicts', 'Mérieux family']
SELECT DISTINCT ?w WHERE { { ?w rdf:type ontology:painting . ?w property:depicts resource:son } UNION { ?w property:depicts resource:cemetery . ?w rdf:type ontology:painting } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q469722 Q19283476 Q10147
P180
Q874405
USER
Which social groups are depicted in Severan Tondo, View of Paris from Père la Chaise. and Fresque des Lyonnais ?
(Q469722,P180,c(Q874405)) (Q19283476,P180,c(Q874405)) (Q10147,P180,c(Q874405))
action union
action filter_type
action find
entity Q469722
relation P180
type Q874405
action filter_type
action find
entity Q19283476
relation P180
type Q874405
action filter_type
action find
entity Q10147
relation P180
type Q874405
['Q469722', 'P180', {'concept': 'Q874405'}] ['Q19283476', 'P180', {'concept': 'Q874405'}] ['Q10147', 'P180', {'concept': 'Q874405'}]
SELECT DISTINCT ?s WHERE { { resource:Q469722 property:P180 ?s . ?s rdf:type ontology:Q874405 } UNION { resource:Q19283476 property:P180 ?s . ?s rdf:type ontology:Q874405 } }
Severan Tondo View of Paris from Père la Chaise. Fresque des Lyonnais
action union
action filter_type
action find
entity Severan Tondo
relation depicts
type social group
action filter_type
action find
entity View of Paris from Père la Chaise.
relation depicts
type social group
action filter_type
action find
entity Fresque des Lyonnais
relation depicts
type social group
['Severan Tondo', 'depicts', {'concept': 'social group'}] ['View of Paris from Père la Chaise.', 'depicts', {'concept': 'social group'}] ['Fresque des Lyonnais', 'depicts', {'concept': 'social group'}]
SELECT DISTINCT ?s WHERE { { resource:Severan_Tondo property:depicts ?s . ?s rdf:type ontology:social_group } UNION { resource:View_of_Paris_from_Père_la_Chaise. property:depicts ?s . ?s rdf:type ontology:social_group } }
[]
social group
Q177232 Q39614 Q1508674
SYSTEM
son, cemetery, Mérieux family
Q177232 Q39614 Q1508674
(Q469722,P180,c(Q874405)) (Q19283476,P180,c(Q874405)) (Q10147,P180,c(Q874405))
action union
action filter_type
action find
entity Q469722
relation P180
type Q874405
action filter_type
action find
entity Q19283476
relation P180
type Q874405
action filter_type
action find
entity Q10147
relation P180
type Q874405
[ANSWERS] are depicted in Severan Tondo, View of Paris from Père la Chaise. and Fresque des Lyonnais
['Q469722', 'P180', {'concept': 'Q874405'}] ['Q19283476', 'P180', {'concept': 'Q874405'}] ['Q10147', 'P180', {'concept': 'Q874405'}]
SELECT DISTINCT ?s WHERE { { resource:Q469722 property:P180 ?s . ?s rdf:type ontology:Q874405 } UNION { resource:Q19283476 property:P180 ?s . ?s rdf:type ontology:Q874405 } }
son cemetery Mérieux family
Son, cemetery and Mérieux family are depicted in Severan Tondo, View of Paris from Père la Chaise. and Fresque des Lyonnais
son cemetery Mérieux family
action union
action filter_type
action find
entity Severan Tondo
relation depicts
type social group
action filter_type
action find
entity View of Paris from Père la Chaise.
relation depicts
type social group
action filter_type
action find
entity Fresque des Lyonnais
relation depicts
type social group
['Severan Tondo', 'depicts', {'concept': 'social group'}] ['View of Paris from Père la Chaise.', 'depicts', {'concept': 'social group'}] ['Fresque des Lyonnais', 'depicts', {'concept': 'social group'}]
SELECT DISTINCT ?s WHERE { { resource:Severan_Tondo property:depicts ?s . ?s rdf:type ontology:social_group } UNION { resource:View_of_Paris_from_Père_la_Chaise. property:depicts ?s . ?s rdf:type ontology:social_group } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q177232
P26
Q171318
USER
Which kinship is married to that social group ?
(c(Q171318),P26,Q177232)
action filter_type
action find
entity Q177232
relation P26
type Q171318
[{'concept': 'Q171318'}, 'P26', 'Q177232']
SELECT DISTINCT ?w WHERE { resource:Q177232 property:P26 ?w . ?w rdf:type ontology:Q171318 }
son
action filter_type
action find
entity son
relation spouse
type kinship
[{'concept': 'kinship'}, 'spouse', 'son']
SELECT DISTINCT ?w WHERE { resource:son property:spouse ?w . ?w rdf:type ontology:kinship }
[]
kinship
Clarification for simple ques.
Q39614
SYSTEM
Did you mean cemetery ?
Q177232 Q39614 Q1508674
(c(Q171318),P26,Q177232) (c(Q171318),P26,Q39614) (c(Q171318),P26,Q1508674)
[ANSWER]
[{'concept': 'Q171318'}, 'P26', 'Q177232'] [{'concept': 'Q171318'}, 'P26', 'Q39614'] [{'concept': 'Q171318'}, 'P26', 'Q1508674']
SELECT DISTINCT ?w WHERE { resource:Q177232 property:P26 ?w . ?w rdf:type ontology:Q171318 }
son cemetery Mérieux family
Did you mean cemetery ?
cemetery
[{'concept': 'kinship'}, 'spouse', 'son'] [{'concept': 'kinship'}, 'spouse', 'cemetery'] [{'concept': 'kinship'}, 'spouse', 'Mérieux family']
SELECT DISTINCT ?w WHERE { resource:son property:spouse ?w . ?w rdf:type ontology:kinship }
[]
Simple Question (Coreferenced)
USER
No, I meant son. Could you tell me the answer for that?
(c(Q171318),P26,Q177232)
Q177232
[{'concept': 'Q171318'}, 'P26', 'Q177232']
[{'concept': 'kinship'}, 'spouse', 'son']
[]
Q18489480
SYSTEM
daughter-in-law
Q18489480
(c(Q171318),P26,Q177232)
action filter_type
action find
entity Q177232
relation P26
type Q171318
[ANSWER] is married to that social group
[{'concept': 'Q171318'}, 'P26', 'Q177232']
SELECT DISTINCT ?w WHERE { resource:Q177232 property:P26 ?w . ?w rdf:type ontology:Q171318 }
daughter-in-law
Daughter-in-law is married to that social group
daughter-in-law
action filter_type
action find
entity son
relation spouse
type kinship
[{'concept': 'kinship'}, 'spouse', 'son']
SELECT DISTINCT ?w WHERE { resource:son property:spouse ?w . ?w rdf:type ontology:kinship }
[]