Simple Question (Direct)
Simple Question
Q6419556
P1344
Q15900616
USER
Which event sequence did Klaas van den Broek compete in ?
(Q6419556,P1344,c(Q15900616))
action filter_type
action find
entity Q6419556
relation P1344
type Q15900616
['Q6419556', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?a WHERE { resource:Q6419556 property:P1344 ?a . ?a rdf:type ontology:Q15900616 }
Klaas van den Broek
action filter_type
action find
entity Klaas van den Broek
relation participant of
type event sequence
['Klaas van den Broek', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?a WHERE { resource:Klaas_van_den_Broek property:participant_of ?a . ?a rdf:type ontology:event_sequence }
[]
event sequence
Q9652
SYSTEM
1980 Winter Olympics
Q9652
(Q6419556,P1344,c(Q15900616))
action filter_type
action find
entity Q6419556
relation P1344
type Q15900616
Klaas den Broek vanned at [ANSWER]
['Q6419556', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?a WHERE { resource:Q6419556 property:P1344 ?a . ?a rdf:type ontology:Q15900616 }
1980 Winter Olympics
Klaas den Broek vanned at 1980 Winter Olympics
1980 Winter Olympics
action filter_type
action find
entity Klaas van den Broek
relation participant of
type event sequence
['Klaas van den Broek', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?a WHERE { resource:Klaas_van_den_Broek property:participant_of ?a . ?a rdf:type ontology:event_sequence }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6419556
P734
Q82799
USER
Who is associated with Klaas van den Broek ?
(Q6419556,P734,c(Q82799))
action filter_type
action find
entity Q6419556
relation P734
type Q82799
['Q6419556', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { resource:Q6419556 property:P734 ?c . ?c rdf:type ontology:Q82799 }
Klaas van den Broek
action filter_type
action find
entity Klaas van den Broek
relation family name
type name
['Klaas van den Broek', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { resource:Klaas_van_den_Broek property:family_name ?c . ?c rdf:type ontology:name }
[]
name
Q7913824
SYSTEM
Van den Broek
Q7913824
(Q6419556,P734,c(Q82799))
action filter_type
action find
entity Q6419556
relation P734
type Q82799
[ANSWER] is associated with Klaas van den Broek
['Q6419556', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?c WHERE { resource:Q6419556 property:P734 ?c . ?c rdf:type ontology:Q82799 }
Van den Broek
Van den Broek is associated with Klaas van den Broek
Van den Broek
action filter_type
action find
entity Klaas van den Broek
relation family name
type name
['Klaas van den Broek', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?c WHERE { resource:Klaas_van_den_Broek property:family_name ?c . ?c rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6419556
P54
Q618123
USER
What is the team that Klaas van den Broek is a member of ?
(Q6419556,P54,c(Q618123))
action filter_type
action find
entity Q6419556
relation P54
type Q618123
['Q6419556', 'P54', {'concept': 'Q618123'}]
SELECT DISTINCT ?c WHERE { resource:Q6419556 property:P54 ?c . ?c rdf:type ontology:Q618123 }
Klaas van den Broek
action filter_type
action find
entity Klaas van den Broek
relation member of sports team
type geographical object
['Klaas van den Broek', 'member of sports team', {'concept': 'geographical object'}]
SELECT DISTINCT ?c WHERE { resource:Klaas_van_den_Broek property:member_of_sports_team ?c . ?c rdf:type ontology:geographical_object }
[]
geographical object
Q251798
SYSTEM
Destil Trappers
Q251798
(Q6419556,P54,c(Q618123))
action filter_type
action find
entity Q6419556
relation P54
type Q618123
The team that Klaas van den Broek is a member of is the [ANSWER]
['Q6419556', 'P54', {'concept': 'Q618123'}]
SELECT DISTINCT ?c WHERE { resource:Q6419556 property:P54 ?c . ?c rdf:type ontology:Q618123 }
Destil Trappers
The team that Klaas van den Broek is a member of is the Destil Trappers
Destil Trappers
action filter_type
action find
entity Klaas van den Broek
relation member of sports team
type geographical object
['Klaas van den Broek', 'member of sports team', {'concept': 'geographical object'}]
SELECT DISTINCT ?c WHERE { resource:Klaas_van_den_Broek property:member_of_sports_team ?c . ?c rdf:type ontology:geographical_object }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5962879 Q9652
P17
Q15617994
USER
Which administrative territories are 1980 Winter Olympics or Hà Tiên, Kiên Giang present in ?
OR((Q9652,P17,c(Q15617994)), (Q5962879,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q9652
relation P17
action find
entity Q5962879
relation P17
type Q15617994
{'OR': [['Q9652', 'P17', {'concept': 'Q15617994'}], ['Q5962879', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . { { resource:Q9652 property:P17 ?w } UNION { resource:Q5962879 property:P17 ?w } } }
Hà Tiên, Kiên Giang 1980 Winter Olympics
action filter_type
action union
action find
entity 1980 Winter Olympics
relation country
action find
entity Hà Tiên, Kiên Giang
relation country
type designation for an administrative territorial entity
{'OR': [['1980 Winter Olympics', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Hà Tiên, Kiên Giang', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:1980_Winter_Olympics property:country ?w } UNION { resource:Hà_Tiên,_Kiên_Giang property:country ?w } } }
[]
designation for an administrative territorial entity
Q30 Q881
SYSTEM
United States of America, Vietnam
Q30 Q881
OR((Q9652,P17,c(Q15617994)), (Q5962879,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q9652
relation P17
action find
entity Q5962879
relation P17
type Q15617994
[ANSWERS] are 1980 Winter Olympics or Hà Tiên, Kiên Giang present in
{'OR': [['Q9652', 'P17', {'concept': 'Q15617994'}], ['Q5962879', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q15617994 . { { resource:Q9652 property:P17 ?w } UNION { resource:Q5962879 property:P17 ?w } } }
United States of America Vietnam
United States of America and Vietnam are 1980 Winter Olympics or Hà Tiên, Kiên Giang present in
United States of America Vietnam
action filter_type
action union
action find
entity 1980 Winter Olympics
relation country
action find
entity Hà Tiên, Kiên Giang
relation country
type designation for an administrative territorial entity
{'OR': [['1980 Winter Olympics', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Hà Tiên, Kiên Giang', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:1980_Winter_Olympics property:country ?w } UNION { resource:Hà_Tiên,_Kiên_Giang property:country ?w } } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q18704986 Q9652
P27 P17
Q15617994
USER
Which administrative territories are 1980 Winter Olympics a part of or are the native countriesof Dale M. Cochran ?
OR((Q9652,P17,c(Q15617994)), (Q18704986,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q9652
relation P17
action find
entity Q18704986
relation P27
type Q15617994
{'OR': [['Q9652', 'P17', {'concept': 'Q15617994'}], ['Q18704986', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q9652 property:P17 ?w } UNION { resource:Q18704986 property:P27 ?w } } . ?w rdf:type ontology:Q15617994 }
Dale M. Cochran 1980 Winter Olympics
action filter_type
action union
action find
entity 1980 Winter Olympics
relation country
action find
entity Dale M. Cochran
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['1980 Winter Olympics', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Dale M. Cochran', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:1980_Winter_Olympics property:country ?w } UNION { resource:Dale_M._Cochran property:country_of_citizenship ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
OR((Q9652,P17,c(Q15617994)), (Q18704986,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q9652
relation P17
action find
entity Q18704986
relation P27
type Q15617994
[ANSWER] is 1980 Winter Olympics a part of or is the native countriesof Dale M. Cochran
{'OR': [['Q9652', 'P17', {'concept': 'Q15617994'}], ['Q18704986', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q9652 property:P17 ?w } UNION { resource:Q18704986 property:P27 ?w } } . ?w rdf:type ontology:Q15617994 }
United States of America
United States of America is 1980 Winter Olympics a part of or is the native countriesof Dale M. Cochran
United States of America
action filter_type
action union
action find
entity 1980 Winter Olympics
relation country
action find
entity Dale M. Cochran
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['1980 Winter Olympics', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Dale M. Cochran', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:1980_Winter_Olympics property:country ?w } UNION { resource:Dale_M._Cochran property:country_of_citizenship ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18704986
P102
Q7210356
USER
Which party is that person affiliated with ?
(Q30,P102,c(Q7210356))
action filter_type
action find
entity Q18704986
relation P102
type Q7210356
['Q30', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?l WHERE { resource:Q18704986 property:P102 ?l . ?l rdf:type ontology:Q7210356 }
Dale M. Cochran
action filter_type
action find
entity Dale M. Cochran
relation member of political party
type political organization
['United States of America', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?l WHERE { resource:Dale_M._Cochran property:member_of_political_party ?l . ?l rdf:type ontology:political_organization }
[]
political organization
Q29552
SYSTEM
Democratic Party
Q29552
(Q30,P102,c(Q7210356))
action filter_type
action find
entity Q18704986
relation P102
type Q7210356
That person is affiliated with [ANSWER]
['Q30', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?l WHERE { resource:Q18704986 property:P102 ?l . ?l rdf:type ontology:Q7210356 }
Democratic Party
That person is affiliated with Democratic Party
Democratic Party
action filter_type
action find
entity Dale M. Cochran
relation member of political party
type political organization
['United States of America', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?l WHERE { resource:Dale_M._Cochran property:member_of_political_party ?l . ?l rdf:type ontology:political_organization }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q17
P122
Q22676587 Q43229 Q15617994
USER
How many administrative territories have lesser number of monarchic systems or organizations as government than Japan ?
(c(Q15617994),P122,c(Q22676587)|c(Q43229))
action count
action less
action union
action find_tuple_counts
relation P122
type Q15617994
type Q22676587
action find_tuple_counts
relation P122
type Q15617994
type Q43229
action count
action filter_multi_types
action find
entity Q17
relation P122
type Q22676587
type Q43229
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q22676587'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { resource:Q17 property:P122 ?u . { VALUES ( ?w ) { ( ontology:Q22676587 ) ( ontology:Q43229 ) } . ?u rdf:type ?w } } } . FILTER ( ?x < ?y ) . { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?x ) WHERE { { ?i property:P122 ?f . ?f rdf:type ontology:Q22676587 . ?i rdf:type ontology:Q15617994 } UNION { ?i rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q43229 . ?i property:P122 ?f } } GROUP BY ?i } }
Japan
action count
action less
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type monarchic system
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type organization
action count
action filter_multi_types
action find
entity Japan
relation basic form of government
type monarchic system
type organization
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'monarchic system'}, {'concept': 'organization'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { resource:Japan property:basic_form_of_government ?u . { VALUES ( ?w ) { ( ontology:monarchic_system ) ( ontology:organization ) } . ?u rdf:type ?w } } } . FILTER ( ?x < ?y ) . { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?x ) WHERE { { ?i property:basic_form_of_government ?f . ?f rdf:type ontology:monarchic_system . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:organization . ?i property:basic_form_of_government ?f } } GROUP BY ?i } }
[]
monarchic system organization designation for an administrative territorial entity
SYSTEM
93
Q702 Q804 Q154547 Q801 Q805 Q419 Q668 Q414 Q142 Q165116 Q145 Q265 Q1130767 Q711 Q717 Q837 Q208500 Q541991 Q399 Q258 Q45 Q159 Q43 Q155 Q796 Q794 Q889 Q884 Q958 Q689837 Q315667 Q158290 Q153136 Q33 Q32 Q31 Q30 Q37 Q34 Q1133252 Q39 Q38 Q423 Q953 Q29999 Q153091 Q280312 Q1130957 Q236 Q230 Q232 Q20 Q1045 Q27 Q28 Q29 Q313175 Q189 Q843 Q184 Q876826 Q347 Q3462133 Q227 Q225 Q224 Q815731 Q96 Q228 Q1989 Q902 Q725731 Q1033 Q115 Q754 Q212 Q213 Q215 Q1483510 Q917 Q970 Q760 Q574 Q694594 Q1132344 Q696651 Q77 Q199688 Q948 Q811 Q1011 Q1013 Q1049
(c(Q15617994),P122,c(Q22676587)|c(Q43229))
action count
action less
action union
action find_tuple_counts
relation P122
type Q15617994
type Q22676587
action find_tuple_counts
relation P122
type Q15617994
type Q43229
action count
action filter_multi_types
action find
entity Q17
relation P122
type Q22676587
type Q43229
[ANSWER]
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q22676587'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { resource:Q17 property:P122 ?u . { VALUES ( ?w ) { ( ontology:Q22676587 ) ( ontology:Q43229 ) } . ?u rdf:type ?w } } } . FILTER ( ?x < ?y ) . { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?x ) WHERE { { ?i property:P122 ?f . ?f rdf:type ontology:Q22676587 . ?i rdf:type ontology:Q15617994 } UNION { ?i rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q43229 . ?i property:P122 ?f } } GROUP BY ?i } }
Federated States of Micronesia Panama duchy Israel Yemen Peru India Argentina France grand duchy United Kingdom Uzbekistan Bear Creek Village Mongolia Venezuela Nepal principality Hummelfeld Armenia South Africa Portugal Russia Turkey Brazil Iraq Iran Afghanistan South Korea South Sudan Spanish Sahara Saxe-Weimar Duchy of Lucca Habsburg Empire Finland Luxembourg Belgium United States of America Lithuania Sweden Conyngham Switzerland Italy North Korea Zambia Kingdom of the Netherlands Duchy of Prussia Principality of Lüneburg Courtdale Montenegro Georgia Kazakhstan Norway Somalia Ireland Hungary Spain Saxe-Lauenburg Iceland Pakistan Belarus Ellwangen Abbey Liechtenstein Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Principality of Bulgaria Mexico Andorra Saskatchewan Bangladesh Ashley, Pennsylvania Nigeria Ethiopia Trinidad and Tobago Ukraine Czech Republic Slovenia Principality of Wales Bhutan Comoros Saint Lucia East Timor Bremen-Verden Avoca Saxe-Eisenach Uruguay Almohad Tunisia Nicaragua Cape Verde Lesotho Sudan
93
action count
action less
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type monarchic system
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type organization
action count
action filter_multi_types
action find
entity Japan
relation basic form of government
type monarchic system
type organization
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'monarchic system'}, {'concept': 'organization'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?y ) WHERE { resource:Japan property:basic_form_of_government ?u . { VALUES ( ?w ) { ( ontology:monarchic_system ) ( ontology:organization ) } . ?u rdf:type ?w } } } . FILTER ( ?x < ?y ) . { SELECT DISTINCT ?i ( COUNT ( ?f ) AS ?x ) WHERE { { ?i property:basic_form_of_government ?f . ?f rdf:type ontology:monarchic_system . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:organization . ?i property:basic_form_of_government ?f } } GROUP BY ?i } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q833
P122
Q22676587 Q43229 Q15617994
USER
And also tell me about Malaysia?
(c(Q15617994),P122,c(Q22676587)|c(Q43229))
action count
action less
action union
action find_tuple_counts
relation P122
type Q15617994
type Q22676587
action find_tuple_counts
relation P122
type Q15617994
type Q43229
action count
action filter_multi_types
action find
entity Q833
relation P122
type Q22676587
type Q43229
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q22676587'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) ?w WHERE { VALUES ( ?v ) { ( ontology:Q43229 ) ( ontology:Q22676587 ) } . ?k rdf:type ?v } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { resource:Q833 property:P122 ?y . { { ?y rdf:type ontology:Q22676587 } UNION { ?y rdf:type ontology:Q43229 } } } } . FILTER ( ?e < ?o ) }
Malaysia
action count
action less
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type monarchic system
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type organization
action count
action filter_multi_types
action find
entity Malaysia
relation basic form of government
type monarchic system
type organization
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'monarchic system'}, {'concept': 'organization'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) ?w WHERE { VALUES ( ?v ) { ( ontology:organization ) ( ontology:monarchic_system ) } . ?k rdf:type ?v } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { resource:Malaysia property:basic_form_of_government ?y . { { ?y rdf:type ontology:monarchic_system } UNION { ?y rdf:type ontology:organization } } } } . FILTER ( ?e < ?o ) }
[]
monarchic system organization designation for an administrative territorial entity
SYSTEM
93
Q702 Q804 Q154547 Q801 Q805 Q419 Q668 Q414 Q142 Q165116 Q145 Q265 Q1130767 Q711 Q717 Q837 Q208500 Q541991 Q399 Q258 Q45 Q159 Q43 Q155 Q796 Q794 Q889 Q884 Q958 Q689837 Q315667 Q158290 Q153136 Q33 Q32 Q31 Q30 Q37 Q34 Q1133252 Q39 Q38 Q423 Q953 Q29999 Q153091 Q280312 Q1130957 Q236 Q230 Q232 Q20 Q1045 Q27 Q28 Q29 Q313175 Q189 Q843 Q184 Q876826 Q347 Q3462133 Q227 Q225 Q224 Q815731 Q96 Q228 Q1989 Q902 Q725731 Q1033 Q115 Q754 Q212 Q213 Q215 Q1483510 Q917 Q970 Q760 Q574 Q694594 Q1132344 Q696651 Q77 Q199688 Q948 Q811 Q1011 Q1013 Q1049
(c(Q15617994),P122,c(Q22676587)|c(Q43229))
action count
action less
action union
action find_tuple_counts
relation P122
type Q15617994
type Q22676587
action find_tuple_counts
relation P122
type Q15617994
type Q43229
action count
action filter_multi_types
action find
entity Q833
relation P122
type Q22676587
type Q43229
[ANSWER]
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q22676587'}, {'concept': 'Q43229'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) ?w WHERE { VALUES ( ?v ) { ( ontology:Q43229 ) ( ontology:Q22676587 ) } . ?k rdf:type ?v } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { resource:Q833 property:P122 ?y . { { ?y rdf:type ontology:Q22676587 } UNION { ?y rdf:type ontology:Q43229 } } } } . FILTER ( ?e < ?o ) }
Federated States of Micronesia Panama duchy Israel Yemen Peru India Argentina France grand duchy United Kingdom Uzbekistan Bear Creek Village Mongolia Venezuela Nepal principality Hummelfeld Armenia South Africa Portugal Russia Turkey Brazil Iraq Iran Afghanistan South Korea South Sudan Spanish Sahara Saxe-Weimar Duchy of Lucca Habsburg Empire Finland Luxembourg Belgium United States of America Lithuania Sweden Conyngham Switzerland Italy North Korea Zambia Kingdom of the Netherlands Duchy of Prussia Principality of Lüneburg Courtdale Montenegro Georgia Kazakhstan Norway Somalia Ireland Hungary Spain Saxe-Lauenburg Iceland Pakistan Belarus Ellwangen Abbey Liechtenstein Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Principality of Bulgaria Mexico Andorra Saskatchewan Bangladesh Ashley, Pennsylvania Nigeria Ethiopia Trinidad and Tobago Ukraine Czech Republic Slovenia Principality of Wales Bhutan Comoros Saint Lucia East Timor Bremen-Verden Avoca Saxe-Eisenach Uruguay Almohad Tunisia Nicaragua Cape Verde Lesotho Sudan
93
action count
action less
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type monarchic system
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type organization
action count
action filter_multi_types
action find
entity Malaysia
relation basic form of government
type monarchic system
type organization
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'monarchic system'}, {'concept': 'organization'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) ?w WHERE { VALUES ( ?v ) { ( ontology:organization ) ( ontology:monarchic_system ) } . ?k rdf:type ?v } GROUP BY ?w } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?o ) WHERE { resource:Malaysia property:basic_form_of_government ?y . { { ?y rdf:type ontology:monarchic_system } UNION { ?y rdf:type ontology:organization } } } } . FILTER ( ?e < ?o ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3948042 Q251798
P17
Q15617994
USER
Which administrative territories are Destil Trappers or San Vito present in ?
OR((Q251798,P17,c(Q15617994)), (Q3948042,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q251798
relation P17
action find
entity Q3948042
relation P17
type Q15617994
{'OR': [['Q251798', 'P17', {'concept': 'Q15617994'}], ['Q3948042', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q251798 property:P17 ?f } UNION { resource:Q3948042 property:P17 ?f } } . ?f rdf:type ontology:Q15617994 }
San Vito Destil Trappers
action filter_type
action union
action find
entity Destil Trappers
relation country
action find
entity San Vito
relation country
type designation for an administrative territorial entity
{'OR': [['Destil Trappers', 'country', {'concept': 'designation for an administrative territorial entity'}], ['San Vito', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Destil_Trappers property:country ?f } UNION { resource:San_Vito property:country ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55 Q800
SYSTEM
Netherlands, Costa Rica
Q55 Q800
OR((Q251798,P17,c(Q15617994)), (Q3948042,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q251798
relation P17
action find
entity Q3948042
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q251798', 'P17', {'concept': 'Q15617994'}], ['Q3948042', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q251798 property:P17 ?f } UNION { resource:Q3948042 property:P17 ?f } } . ?f rdf:type ontology:Q15617994 }
Netherlands Costa Rica
Which administrative territories are Destil Trappers or San Vito present in
Netherlands Costa Rica
action filter_type
action union
action find
entity Destil Trappers
relation country
action find
entity San Vito
relation country
type designation for an administrative territorial entity
{'OR': [['Destil Trappers', 'country', {'concept': 'designation for an administrative territorial entity'}], ['San Vito', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Destil_Trappers property:country ?f } UNION { resource:San_Vito property:country ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have tactful political relations with atleast 79 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 79
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?n >= 79 ) . { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?n ) WHERE { ?o rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 . ?j property:P530 ?o } GROUP BY ?j } }
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 79
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?n >= 79 ) . { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?n ) WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j property:diplomatic_relation ?o } GROUP BY ?j } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q230
SYSTEM
Georgia
Q230
(c(Q15617994),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 79
[ANSWER] have tactful political relations with atleast 79 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?n >= 79 ) . { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?n ) WHERE { ?o rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 . ?j property:P530 ?o } GROUP BY ?j } }
Georgia
Georgia have tactful political relations with atleast 79 administrative territories
Georgia
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 79
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { FILTER ( ?n >= 79 ) . { SELECT DISTINCT ?j ( COUNT ( ?o ) AS ?n ) WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j property:diplomatic_relation ?o } GROUP BY ?j } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q230
P1532
Q6979593
USER
Which national association football team plays for that administrative territory ?
(c(Q6979593),P1532,Q230)
action filter_type
action find_reverse
entity Q230
relation P1532
type Q6979593
[{'concept': 'Q6979593'}, 'P1532', 'Q230']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q6979593 . ?u property:P1532 resource:Q230 }
Georgia
action filter_type
action find_reverse
entity Georgia
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Georgia']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:national_association_football_team . ?u property:country_for_sport resource:Georgia }
[]
national association football team
Q650731
SYSTEM
Georgia women's national football team
Q650731
(c(Q6979593),P1532,Q230)
action filter_type
action find_reverse
entity Q230
relation P1532
type Q6979593
[ANSWER] plays for that administrative territory
[{'concept': 'Q6979593'}, 'P1532', 'Q230']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q6979593 . ?u property:P1532 resource:Q230 }
Georgia women's national football team
Georgia women's national football team plays for that administrative territory
Georgia women's national football team
action filter_type
action find_reverse
entity Georgia
relation country for sport
type national association football team
[{'concept': 'national association football team'}, 'country for sport', 'Georgia']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:national_association_football_team . ?u property:country_for_sport resource:Georgia }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1532
Q15617994 Q6979593
USER
Which administrative territories do exactly 2 national association football teams play for ?
(c(Q6979593),P1532,c(Q15617994))
action equal
action find_reverse_tuple_counts
relation P1532
type Q15617994
type Q6979593
value 2
[{'concept': 'Q6979593'}, 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?k ) AS ?p ) WHERE { ?k property:P1532 ?t . ?k rdf:type ontology:Q6979593 . ?t rdf:type ontology:Q15617994 } GROUP BY ?t } . FILTER ( ?p = 2 ) }
action equal
action find_reverse_tuple_counts
relation country for sport
type designation for an administrative territorial entity
type national association football team
value 2
[{'concept': 'national association football team'}, 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?k ) AS ?p ) WHERE { ?k property:country_for_sport ?t . ?k rdf:type ontology:national_association_football_team . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } . FILTER ( ?p = 2 ) }
[]
designation for an administrative territorial entity national association football team
Q55 Q36 Q801
SYSTEM
Netherlands, Poland, Israel
Q801 Q800 Q668 Q414 Q55 Q145 Q37 Q258 Q41 Q796 Q794 Q241 Q36 Q730 Q20 Q1041 Q189 Q842 Q184 Q1028 Q222 Q191 Q298 Q213 Q219 Q912 Q1009 Q1008 Q836 Q858 Q878 Q774 Q948 Q810 Q678
(c(Q6979593),P1532,c(Q15617994))
action equal
action find_reverse_tuple_counts
relation P1532
type Q15617994
type Q6979593
value 2
Exactly 2 national association football teams play the [ANSWERS]
[{'concept': 'Q6979593'}, 'P1532', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?k ) AS ?p ) WHERE { ?k property:P1532 ?t . ?k rdf:type ontology:Q6979593 . ?t rdf:type ontology:Q15617994 } GROUP BY ?t } . FILTER ( ?p = 2 ) }
Israel Costa Rica India Argentina Netherlands United Kingdom Lithuania South Africa Greece Iraq Iran Cuba Poland Suriname Norway Senegal Iceland Oman Belarus Morocco Albania Estonia Chile Czech Republic Bulgaria Mali Cameroon Côte d'Ivoire Myanmar Syria United Arab Emirates Guatemala Tunisia Jordan Tonga
Exactly 2 national association football teams play the Netherlands, Poland and Israel
Netherlands Poland Israel
action equal
action find_reverse_tuple_counts
relation country for sport
type designation for an administrative territorial entity
type national association football team
value 2
[{'concept': 'national association football team'}, 'country for sport', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?k ) AS ?p ) WHERE { ?k property:country_for_sport ?t . ?k rdf:type ontology:national_association_football_team . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?t } . FILTER ( ?p = 2 ) }
[]