Simple Question (Direct)
Simple Question
Q4908436
P641
Q349
USER
What did Bill Cartwright participate in ?
(Q4908436,P641,c(Q349))
action filter_type
action find
entity Q4908436
relation P641
type Q349
['Q4908436', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q4908436 property:P641 ?z . ?z rdf:type ontology:Q349 }
Bill Cartwright
action filter_type
action find
entity Bill Cartwright
relation sport
type sport
['Bill Cartwright', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:Bill_Cartwright property:sport ?z . ?z rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q4908436,P641,c(Q349))
action filter_type
action find
entity Q4908436
relation P641
type Q349
Bill Cartwright participated in [ANSWER]
['Q4908436', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q4908436 property:P641 ?z . ?z rdf:type ontology:Q349 }
association football
Bill Cartwright participated in association football
association football
action filter_type
action find
entity Bill Cartwright
relation sport
type sport
['Bill Cartwright', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:Bill_Cartwright property:sport ?z . ?z rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4908436
P27
Q15617994
USER
Which administrative territory does that person belong to ?
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q4908436
relation P27
type Q15617994
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q4908436 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Bill Cartwright
action filter_type
action find
entity Bill Cartwright
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Bill_Cartwright property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q4908436
relation P27
type Q15617994
That person belongs to the [ANSWER]
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q4908436 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
United Kingdom
That person belongs to the United Kingdom
United Kingdom
action filter_type
action find
entity Bill Cartwright
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Bill_Cartwright property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P366
Q349 Q811979 Q2424752
USER
Which sports are considered to be the main utilization of exactly 1 architectural structures and products ?
(c(Q811979)|c(Q2424752),P366,c(Q349))
action equal
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q811979
action find_reverse_tuple_counts
relation P366
type Q349
type Q2424752
value 1
[[{'concept': 'Q811979'}, {'concept': 'Q2424752'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?t ) WHERE { ?k rdf:type ?y . VALUES ( ?y ) { ( ontology:Q811979 ) ( ontology:Q2424752 ) } } GROUP BY ?n } . FILTER ( ?t = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation use
type sport
type architectural structure
action find_reverse_tuple_counts
relation use
type sport
type product
value 1
[[{'concept': 'architectural structure'}, {'concept': 'product'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?t ) WHERE { ?k rdf:type ?y . VALUES ( ?y ) { ( ontology:architectural_structure ) ( ontology:product ) } } GROUP BY ?n } . FILTER ( ?t = 1 ) }
[]
sport architectural structure product
Q206763 Q8418 Q5372
SYSTEM
floorball, handball, basketball
Q5372 Q8418 Q1734 Q1875777 Q624161 Q1345388 Q206763
(c(Q811979)|c(Q2424752),P366,c(Q349))
action equal
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q811979
action find_reverse_tuple_counts
relation P366
type Q349
type Q2424752
value 1
[ANSWERS] are considered to be the main utilization of exactly 1 architectural structures and products
[[{'concept': 'Q811979'}, {'concept': 'Q2424752'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?t ) WHERE { ?k rdf:type ?y . VALUES ( ?y ) { ( ontology:Q811979 ) ( ontology:Q2424752 ) } } GROUP BY ?n } . FILTER ( ?t = 1 ) }
basketball handball volleyball air racing gliding greyhound racing floorball
Floorball, handball and basketball are considered to be the main utilization of exactly 1 architectural structures and products
floorball handball basketball
action equal
action union
action find_reverse_tuple_counts
relation use
type sport
type architectural structure
action find_reverse_tuple_counts
relation use
type sport
type product
value 1
[[{'concept': 'architectural structure'}, {'concept': 'product'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?k ) AS ?t ) WHERE { ?k rdf:type ?y . VALUES ( ?y ) { ( ontology:architectural_structure ) ( ontology:product ) } } GROUP BY ?n } . FILTER ( ?t = 1 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q206763 Q8418 Q5372
P425
Q12737077
USER
Which occupations do floorball, handball and basketball belong to ?
(c(Q12737077),P425,Q206763) (c(Q12737077),P425,Q8418) (c(Q12737077),P425,Q5372)
action union
action filter_type
action find_reverse
entity Q206763
relation P425
type Q12737077
action filter_type
action find_reverse
entity Q8418
relation P425
type Q12737077
action filter_type
action find_reverse
entity Q5372
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', 'Q206763'] [{'concept': 'Q12737077'}, 'P425', 'Q8418'] [{'concept': 'Q12737077'}, 'P425', 'Q5372']
SELECT DISTINCT ?g WHERE { { ?g property:P425 resource:Q206763 . ?g rdf:type ontology:Q12737077 } UNION { ?g rdf:type ontology:Q12737077 . ?g property:P425 resource:Q8418 } }
floorball handball basketball
action union
action filter_type
action find_reverse
entity floorball
relation field of this occupation
type occupation
action filter_type
action find_reverse
entity handball
relation field of this occupation
type occupation
action filter_type
action find_reverse
entity basketball
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'floorball'] [{'concept': 'occupation'}, 'field of this occupation', 'handball'] [{'concept': 'occupation'}, 'field of this occupation', 'basketball']
SELECT DISTINCT ?g WHERE { { ?g property:field_of_this_occupation resource:floorball . ?g rdf:type ontology:occupation } UNION { ?g rdf:type ontology:occupation . ?g property:field_of_this_occupation resource:handball } }
[]
occupation
Q23868946 Q26156291 Q26802979
SYSTEM
floorball player, floorball coach, Handball referee
Q23868946 Q26156291 Q13365117 Q26802979 Q13365201 Q5137571 Q2304816 Q17279652 Q3665646
(c(Q12737077),P425,Q206763) (c(Q12737077),P425,Q8418) (c(Q12737077),P425,Q5372)
action union
action filter_type
action find_reverse
entity Q206763
relation P425
type Q12737077
action filter_type
action find_reverse
entity Q8418
relation P425
type Q12737077
action filter_type
action find_reverse
entity Q5372
relation P425
type Q12737077
Floorball , handball and basketball belong to the [ANSWERS]
[{'concept': 'Q12737077'}, 'P425', 'Q206763'] [{'concept': 'Q12737077'}, 'P425', 'Q8418'] [{'concept': 'Q12737077'}, 'P425', 'Q5372']
SELECT DISTINCT ?g WHERE { { ?g property:P425 resource:Q206763 . ?g rdf:type ontology:Q12737077 } UNION { ?g rdf:type ontology:Q12737077 . ?g property:P425 resource:Q8418 } }
floorball player floorball coach handball player Handball referee handball coach basketball coach official basketball assistant coach basketball player
Floorball , handball and basketball belong to the floorball player, floorball coach and Handball referee
floorball player floorball coach Handball referee
action union
action filter_type
action find_reverse
entity floorball
relation field of this occupation
type occupation
action filter_type
action find_reverse
entity handball
relation field of this occupation
type occupation
action filter_type
action find_reverse
entity basketball
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'floorball'] [{'concept': 'occupation'}, 'field of this occupation', 'handball'] [{'concept': 'occupation'}, 'field of this occupation', 'basketball']
SELECT DISTINCT ?g WHERE { { ?g property:field_of_this_occupation resource:floorball . ?g rdf:type ontology:occupation } UNION { ?g rdf:type ontology:occupation . ?g property:field_of_this_occupation resource:handball } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q26156291
P106
Q502895
USER
Which people have the profession of that occupation ?
(c(Q502895),P106,Q26156291)
action filter_type
action find_reverse
entity Q26156291
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q26156291']
SELECT DISTINCT ?l WHERE { ?l property:P106 resource:Q26156291 . ?l rdf:type ontology:Q502895 }
floorball coach
action filter_type
action find_reverse
entity floorball coach
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'floorball coach']
SELECT DISTINCT ?l WHERE { ?l property:occupation resource:floorball_coach . ?l rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q26802979
SYSTEM
Did you mean Handball referee ?
Q23868946 Q26156291 Q26802979
(c(Q502895),P106,Q23868946) (c(Q502895),P106,Q26156291) (c(Q502895),P106,Q26802979)
[ANSWER]
[{'concept': 'Q502895'}, 'P106', 'Q23868946'] [{'concept': 'Q502895'}, 'P106', 'Q26156291'] [{'concept': 'Q502895'}, 'P106', 'Q26802979']
SELECT DISTINCT ?l WHERE { ?l property:P106 resource:Q26156291 . ?l rdf:type ontology:Q502895 }
floorball player floorball coach Handball referee
Did you mean Handball referee ?
Handball referee
[{'concept': 'common name'}, 'occupation', 'floorball player'] [{'concept': 'common name'}, 'occupation', 'floorball coach'] [{'concept': 'common name'}, 'occupation', 'Handball referee']
SELECT DISTINCT ?l WHERE { ?l property:occupation resource:floorball_coach . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant floorball coach. Could you tell me the answer for that?
(c(Q502895),P106,Q26156291)
Q26156291
[{'concept': 'Q502895'}, 'P106', 'Q26156291']
[{'concept': 'common name'}, 'occupation', 'floorball coach']
[]
Q2087737 Q1162473 Q1150646
SYSTEM
Philippe Soutter, Daniel Sabathy, Sascha Brendler
Q2087737 Q1162473 Q1150646 Q10857691
(c(Q502895),P106,Q26156291)
action filter_type
action find_reverse
entity Q26156291
relation P106
type Q502895
[ANSWERS] have the profession of that occupation
[{'concept': 'Q502895'}, 'P106', 'Q26156291']
SELECT DISTINCT ?l WHERE { ?l property:P106 resource:Q26156291 . ?l rdf:type ontology:Q502895 }
Philippe Soutter Daniel Sabathy Sascha Brendler Zdeněk Skružný
Philippe Soutter, Daniel Sabathy and Sascha Brendler have the profession of that occupation
Philippe Soutter Daniel Sabathy Sascha Brendler
action filter_type
action find_reverse
entity floorball coach
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'floorball coach']
SELECT DISTINCT ?l WHERE { ?l property:occupation resource:floorball_coach . ?l rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2087737 Q1162473 Q1150646
P106
Q12737077
USER
Which occupations are the professions of Philippe Soutter, Daniel Sabathy and Sascha Brendler ?
(Q2087737,P106,c(Q12737077)) (Q1162473,P106,c(Q12737077)) (Q1150646,P106,c(Q12737077))
action union
action filter_type
action find
entity Q2087737
relation P106
type Q12737077
action filter_type
action find
entity Q1162473
relation P106
type Q12737077
action filter_type
action find
entity Q1150646
relation P106
type Q12737077
['Q2087737', 'P106', {'concept': 'Q12737077'}] ['Q1162473', 'P106', {'concept': 'Q12737077'}] ['Q1150646', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?l ) { ( resource:Q2087737 ) ( resource:Q1162473 ) } . ?l property:P106 ?m }
Philippe Soutter Daniel Sabathy Sascha Brendler
action union
action filter_type
action find
entity Philippe Soutter
relation occupation
type occupation
action filter_type
action find
entity Daniel Sabathy
relation occupation
type occupation
action filter_type
action find
entity Sascha Brendler
relation occupation
type occupation
['Philippe Soutter', 'occupation', {'concept': 'occupation'}] ['Daniel Sabathy', 'occupation', {'concept': 'occupation'}] ['Sascha Brendler', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?l ) { ( resource:Philippe_Soutter ) ( resource:Daniel_Sabathy ) } . ?l property:occupation ?m }
[]
occupation
Q23868946 Q18805 Q26156291
SYSTEM
floorball player, naturalist, floorball coach
Q26156291 Q23868946 Q26156291 Q18805 Q26156291
(Q2087737,P106,c(Q12737077)) (Q1162473,P106,c(Q12737077)) (Q1150646,P106,c(Q12737077))
action union
action filter_type
action find
entity Q2087737
relation P106
type Q12737077
action filter_type
action find
entity Q1162473
relation P106
type Q12737077
action filter_type
action find
entity Q1150646
relation P106
type Q12737077
The [ANSWERS] are the professions of Philippe Soutter, Daniel Sabathy and Sascha Brendler
['Q2087737', 'P106', {'concept': 'Q12737077'}] ['Q1162473', 'P106', {'concept': 'Q12737077'}] ['Q1150646', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?l ) { ( resource:Q2087737 ) ( resource:Q1162473 ) } . ?l property:P106 ?m }
floorball coach floorball player floorball coach naturalist floorball coach
The floorball player, naturalist and floorball coach are the professions of Philippe Soutter, Daniel Sabathy and Sascha Brendler
floorball player naturalist floorball coach
action union
action filter_type
action find
entity Philippe Soutter
relation occupation
type occupation
action filter_type
action find
entity Daniel Sabathy
relation occupation
type occupation
action filter_type
action find
entity Sascha Brendler
relation occupation
type occupation
['Philippe Soutter', 'occupation', {'concept': 'occupation'}] ['Daniel Sabathy', 'occupation', {'concept': 'occupation'}] ['Sascha Brendler', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { VALUES ( ?l ) { ( resource:Philippe_Soutter ) ( resource:Daniel_Sabathy ) } . ?l property:occupation ?m }
[]