Simple Question (Direct)
Simple Question
Q3106529
P54
Q12973014
USER
What is Gilles Tremblay a member of ?
(Q3106529,P54,c(Q12973014))
action filter_type
action find
entity Q3106529
relation P54
type Q12973014
['Q3106529', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?y WHERE { resource:Q3106529 property:P54 ?y . ?y rdf:type ontology:Q12973014 }
Gilles Tremblay
action filter_type
action find
entity Gilles Tremblay
relation member of sports team
type sports team
['Gilles Tremblay', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?y WHERE { resource:Gilles_Tremblay property:member_of_sports_team ?y . ?y rdf:type ontology:sports_team }
[]
sports team
Q188143
SYSTEM
Montreal Canadiens
Q188143
(Q3106529,P54,c(Q12973014))
action filter_type
action find
entity Q3106529
relation P54
type Q12973014
Gilles Tremblay a member of is the [ANSWER]
['Q3106529', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?y WHERE { resource:Q3106529 property:P54 ?y . ?y rdf:type ontology:Q12973014 }
Montreal Canadiens
Gilles Tremblay a member of is the Montreal Canadiens
Montreal Canadiens
action filter_type
action find
entity Gilles Tremblay
relation member of sports team
type sports team
['Gilles Tremblay', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?y WHERE { resource:Gilles_Tremblay property:member_of_sports_team ?y . ?y rdf:type ontology:sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3106529
P641
Q349
USER
What did that person participate in ?
(Q188143,P641,c(Q349))
action filter_type
action find
entity Q3106529
relation P641
type Q349
['Q188143', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q3106529 property:P641 ?i . ?i rdf:type ontology:Q349 }
Gilles Tremblay
action filter_type
action find
entity Gilles Tremblay
relation sport
type sport
['Montreal Canadiens', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Gilles_Tremblay property:sport ?i . ?i rdf:type ontology:sport }
[]
sport
Q41466
SYSTEM
ice hockey
Q41466
(Q188143,P641,c(Q349))
action filter_type
action find
entity Q3106529
relation P641
type Q349
That person participated in [ANSWER]
['Q188143', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q3106529 property:P641 ?i . ?i rdf:type ontology:Q349 }
ice hockey
That person participated in ice hockey
ice hockey
action filter_type
action find
entity Gilles Tremblay
relation sport
type sport
['Montreal Canadiens', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Gilles_Tremblay property:sport ?i . ?i rdf:type ontology:sport }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q41466 Q587056
P641
Q502895
USER
Does Randy Gilhen play that sport ?
(Q587056,P641,Q41466)
action is_in
entity Q41466
action find
entity Q587056
relation P641
['Q587056', 'P641', 'Q41466']
ASK WHERE { resource:Q587056 property:P641 resource:Q41466 }
ice hockey Randy Gilhen
action is_in
entity ice hockey
action find
entity Randy Gilhen
relation sport
['Randy Gilhen', 'sport', 'ice hockey']
ASK WHERE { resource:Randy_Gilhen property:sport resource:ice_hockey }
[]
common name
SYSTEM
YES
(Q587056,P641,Q41466)
action is_in
entity Q41466
action find
entity Q587056
relation P641
[ANSWER]
['Q587056', 'P641', 'Q41466']
ASK WHERE { resource:Q587056 property:P641 resource:Q41466 }
Yes
action is_in
entity ice hockey
action find
entity Randy Gilhen
relation sport
['Randy Gilhen', 'sport', 'ice hockey']
ASK WHERE { resource:Randy_Gilhen property:sport resource:ice_hockey }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q188143
P115
Q811430
USER
Which construction is the arena of Montreal Canadiens ?
(Q188143,P115,c(Q811430))
action filter_type
action find
entity Q188143
relation P115
type Q811430
['Q188143', 'P115', {'concept': 'Q811430'}]
SELECT DISTINCT ?c WHERE { resource:Q188143 property:P115 ?c . ?c rdf:type ontology:Q811430 }
Montreal Canadiens
action filter_type
action find
entity Montreal Canadiens
relation home venue
type construction
['Montreal Canadiens', 'home venue', {'concept': 'construction'}]
SELECT DISTINCT ?c WHERE { resource:Montreal_Canadiens property:home_venue ?c . ?c rdf:type ontology:construction }
[]
construction
Q522282
SYSTEM
Centre Bell
Q522282
(Q188143,P115,c(Q811430))
action filter_type
action find
entity Q188143
relation P115
type Q811430
Canada [ANSWER] is the arena of Montreal Canadiens
['Q188143', 'P115', {'concept': 'Q811430'}]
SELECT DISTINCT ?c WHERE { resource:Q188143 property:P115 ?c . ?c rdf:type ontology:Q811430 }
Centre Bell
Canada Centre Bell is the arena of Montreal Canadiens
Centre Bell
action filter_type
action find
entity Montreal Canadiens
relation home venue
type construction
['Montreal Canadiens', 'home venue', {'concept': 'construction'}]
SELECT DISTINCT ?c WHERE { resource:Montreal_Canadiens property:home_venue ?c . ?c rdf:type ontology:construction }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q522282
P466
Q12973014
USER
Which sports team is a tenant of that construction ?
(Q522282,P466,c(Q12973014))
action filter_type
action find
entity Q522282
relation P466
type Q12973014
['Q522282', 'P466', {'concept': 'Q12973014'}]
SELECT DISTINCT ?h WHERE { resource:Q522282 property:P466 ?h . ?h rdf:type ontology:Q12973014 }
Centre Bell
action filter_type
action find
entity Centre Bell
relation occupant
type sports team
['Centre Bell', 'occupant', {'concept': 'sports team'}]
SELECT DISTINCT ?h WHERE { resource:Centre_Bell property:occupant ?h . ?h rdf:type ontology:sports_team }
[]
sports team
Q188143
SYSTEM
Montreal Canadiens
Q188143
(Q522282,P466,c(Q12973014))
action filter_type
action find
entity Q522282
relation P466
type Q12973014
[ANSWER] is a tenant of that construction
['Q522282', 'P466', {'concept': 'Q12973014'}]
SELECT DISTINCT ?h WHERE { resource:Q522282 property:P466 ?h . ?h rdf:type ontology:Q12973014 }
Montreal Canadiens
Montreal Canadiens is a tenant of that construction
Montreal Canadiens
action filter_type
action find
entity Centre Bell
relation occupant
type sports team
['Centre Bell', 'occupant', {'concept': 'sports team'}]
SELECT DISTINCT ?h WHERE { resource:Centre_Bell property:occupant ?h . ?h rdf:type ontology:sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q188143
P17
Q1048835
USER
Which political territory is that sports team situated in ?
(Q188143,P17,c(Q1048835))
action filter_type
action find
entity Q188143
relation P17
type Q1048835
['Q188143', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q188143 property:P17 ?q . ?q rdf:type ontology:Q1048835 }
Montreal Canadiens
action filter_type
action find
entity Montreal Canadiens
relation country
type political territorial entity
['Montreal Canadiens', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Montreal_Canadiens property:country ?q . ?q rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q16
SYSTEM
Canada
Q16
(Q188143,P17,c(Q1048835))
action filter_type
action find
entity Q188143
relation P17
type Q1048835
That sports team is situated in [ANSWER]
['Q188143', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { resource:Q188143 property:P17 ?q . ?q rdf:type ontology:Q1048835 }
Canada
That sports team is situated in Canada
Canada
action filter_type
action find
entity Montreal Canadiens
relation country
type political territorial entity
['Montreal Canadiens', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Montreal_Canadiens property:country ?q . ?q rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q16 Q4463944 Q664
P530
Q1048835
USER
Does that political territory have diplomatic relations with Trokhymivka and New Zealand ?
(Q16,P530,Q4463944) (Q16,P530,Q664)
action is_in
entity Q16
action intersection
action find_reverse
entity Q4463944
relation P530
action find_reverse
entity Q664
relation P530
['Q16', 'P530', 'Q4463944'] ['Q16', 'P530', 'Q664']
ASK WHERE { resource:Q16 property:P530 resource:Q4463944 . resource:Q16 property:P530 resource:Q664 }
Canada Trokhymivka New Zealand
action is_in
entity Canada
action intersection
action find_reverse
entity Trokhymivka
relation diplomatic relation
action find_reverse
entity New Zealand
relation diplomatic relation
['Canada', 'diplomatic relation', 'Trokhymivka'] ['Canada', 'diplomatic relation', 'New Zealand']
ASK WHERE { resource:Canada property:diplomatic_relation resource:Trokhymivka . resource:Canada property:diplomatic_relation resource:New_Zealand }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q16,P530,Q4463944) (Q16,P530,Q664)
action is_in
entity Q16
action intersection
action find_reverse
entity Q4463944
relation P530
action find_reverse
entity Q664
relation P530
[ANSWER]
['Q16', 'P530', 'Q4463944'] ['Q16', 'P530', 'Q664']
ASK WHERE { resource:Q16 property:P530 resource:Q4463944 . resource:Q16 property:P530 resource:Q664 }
NO and YES respectively
action is_in
entity Canada
action intersection
action find_reverse
entity Trokhymivka
relation diplomatic relation
action find_reverse
entity New Zealand
relation diplomatic relation
['Canada', 'diplomatic relation', 'Trokhymivka'] ['Canada', 'diplomatic relation', 'New Zealand']
ASK WHERE { resource:Canada property:diplomatic_relation resource:Trokhymivka . resource:Canada property:diplomatic_relation resource:New_Zealand }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q657
P530
Q15617994 Q1048835
USER
Which administrative territories have diplomatic relationships with lesser number of political territories than Chad ?
(c(Q1048835),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q657
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?x ) WHERE { ?h rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q1048835 . ?f property:P530 ?h } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { ?y rdf:type ontology:Q1048835 . resource:Q657 property:P530 ?y } } . FILTER ( ?x < ?n ) }
Chad
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Chad
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?x ) WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:political_territorial_entity . ?f property:diplomatic_relation ?h } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { ?y rdf:type ontology:political_territorial_entity . resource:Chad property:diplomatic_relation ?y } } . FILTER ( ?x < ?n ) }
[]
designation for an administrative territorial entity political territorial entity
Q805 Q858 Q842
SYSTEM
Yemen, Syria, Oman
Q805 Q784 Q710 Q399 Q398 Q790 Q1013 Q236 Q842 Q970 Q874 Q858
(c(Q1048835),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q657
relation P530
type Q1048835
[ANSWERS] have diplomatic relationships with lesser number of political territories than Chad
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?x ) WHERE { ?h rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q1048835 . ?f property:P530 ?h } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { ?y rdf:type ontology:Q1048835 . resource:Q657 property:P530 ?y } } . FILTER ( ?x < ?n ) }
Yemen Dominica Kiribati Armenia Bahrain Haiti Lesotho Montenegro Oman Comoros Turkmenistan Syria
Yemen, Syria and Oman have diplomatic relationships with lesser number of political territories than Chad
Yemen Syria Oman
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Chad
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?f ) AS ?x ) WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:political_territorial_entity . ?f property:diplomatic_relation ?h } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?n ) WHERE { ?y rdf:type ontology:political_territorial_entity . resource:Chad property:diplomatic_relation ?y } } . FILTER ( ?x < ?n ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q20
P530
Q15617994 Q1048835
USER
And also tell me about Norway?
(c(Q1048835),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q20
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { resource:Q20 property:P530 ?w . ?w rdf:type ontology:Q1048835 } } . FILTER ( ?k < ?p ) . { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?k ) WHERE { ?n property:P530 ?i . ?i rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q1048835 } GROUP BY ?i } }
Norway
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Norway
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { resource:Norway property:diplomatic_relation ?w . ?w rdf:type ontology:political_territorial_entity } } . FILTER ( ?k < ?p ) . { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?k ) WHERE { ?n property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:political_territorial_entity } GROUP BY ?i } }
[]
designation for an administrative territorial entity political territorial entity
Q230 Q55 Q148
SYSTEM
Georgia, Netherlands, People's Republic of China
Q702 Q804 Q800 Q805 Q419 Q668 Q414 Q55 Q262 Q148 Q783 Q784 Q265 Q37 Q712 Q710 Q717 Q837 Q399 Q398 Q657 Q45 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q32 Q31 Q924 Q928 Q929 Q983 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q184 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q117 Q754 Q750 Q213 Q211 Q217 Q214 Q215 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q858 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q1048835),P530,c(Q15617994))
action less
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q20
relation P530
type Q1048835
[ANSWERS]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { resource:Q20 property:P530 ?w . ?w rdf:type ontology:Q1048835 } } . FILTER ( ?k < ?p ) . { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?k ) WHERE { ?n property:P530 ?i . ?i rdf:type ontology:Q15617994 . ?n rdf:type ontology:Q1048835 } GROUP BY ?i } }
Federated States of Micronesia Panama Costa Rica Yemen Peru India Argentina Netherlands Algeria People's Republic of China Honduras Dominica Uzbekistan Lithuania Fiji Kiribati Venezuela Nepal Armenia Bahrain Chad Portugal Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Luxembourg Belgium Tanzania Philippines Central African Republic Equatorial Guinea Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Oman Belarus Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ghana Trinidad and Tobago Bolivia Czech Republic Latvia Republic of Moldova Slovakia Slovenia Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Syria Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
Georgia Netherlands People's Republic of China
action less
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Norway
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) WHERE { resource:Norway property:diplomatic_relation ?w . ?w rdf:type ontology:political_territorial_entity } } . FILTER ( ?k < ?p ) . { SELECT DISTINCT ?i ( COUNT ( ?n ) AS ?k ) WHERE { ?n property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?n rdf:type ontology:political_territorial_entity } GROUP BY ?i } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1791942
P530
Q1048835
USER
Do Congonhal have diplomatic associations with those administrative territories ?
(Q1791942,P530,Q230) (Q1791942,P530,Q55) (Q1791942,P530,Q148)
action is_in
entity prev_answer
action find
entity Q1791942
relation P530
['Q1791942', 'P530', 'Q230'] ['Q1791942', 'P530', 'Q55'] ['Q1791942', 'P530', 'Q148']
ASK WHERE { resource:Q1791942 property:P530 ?t . VALUES ( ?t ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } }
Congonhal
action is_in
entity prev_answer
action find
entity Congonhal
relation diplomatic relation
['Congonhal', 'diplomatic relation', 'Georgia'] ['Congonhal', 'diplomatic relation', 'Netherlands'] ['Congonhal', 'diplomatic relation', "People's Republic of China"]
ASK WHERE { resource:Congonhal property:diplomatic_relation ?t . VALUES ( ?t ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]
political territorial entity
SYSTEM
NO
(Q1791942,P530,Q230) (Q1791942,P530,Q55) (Q1791942,P530,Q148)
action is_in
entity prev_answer
action find
entity Q1791942
relation P530
[ANSWER]
['Q1791942', 'P530', 'Q230'] ['Q1791942', 'P530', 'Q55'] ['Q1791942', 'P530', 'Q148']
ASK WHERE { resource:Q1791942 property:P530 ?t . VALUES ( ?t ) { ( resource:Q702 ) ( resource:Q804 ) ( resource:Q800 ) } }
No
action is_in
entity prev_answer
action find
entity Congonhal
relation diplomatic relation
['Congonhal', 'diplomatic relation', 'Georgia'] ['Congonhal', 'diplomatic relation', 'Netherlands'] ['Congonhal', 'diplomatic relation', "People's Republic of China"]
ASK WHERE { resource:Congonhal property:diplomatic_relation ?t . VALUES ( ?t ) { ( resource:Federated_States_of_Micronesia ) ( resource:Panama ) ( resource:Costa_Rica ) } }
[]