Simple Question (Direct)
Simple Question
Q1342633
P937
Q56061
USER
Where did Hans Jürgen Refior work ?
(Q1342633,P937,c(Q56061))
action filter_type
action find
entity Q1342633
relation P937
type Q56061
['Q1342633', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q1342633 property:P937 ?p . ?p rdf:type ontology:Q56061 }
Hans Jürgen Refior
action filter_type
action find
entity Hans Jürgen Refior
relation work location
type administrative territorial entity
['Hans Jürgen Refior', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Hans_Jürgen_Refior property:work_location ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1715
SYSTEM
Hanover
Q1715
(Q1342633,P937,c(Q56061))
action filter_type
action find
entity Q1342633
relation P937
type Q56061
Hans Jürgen Refior worked in [ANSWER]
['Q1342633', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q1342633 property:P937 ?p . ?p rdf:type ontology:Q56061 }
Hanover
Hans Jürgen Refior worked in Hanover
Hanover
action filter_type
action find
entity Hans Jürgen Refior
relation work location
type administrative territorial entity
['Hans Jürgen Refior', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Hans_Jürgen_Refior property:work_location ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1342633
P27
Q1048835
USER
Which political territory is Hans Jürgen Refior an inhabitant of ?
(Q1342633,P27,c(Q1048835))
action filter_type
action find
entity Q1342633
relation P27
type Q1048835
['Q1342633', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { resource:Q1342633 property:P27 ?r . ?r rdf:type ontology:Q1048835 }
Hans Jürgen Refior
action filter_type
action find
entity Hans Jürgen Refior
relation country of citizenship
type political territorial entity
['Hans Jürgen Refior', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Hans_Jürgen_Refior property:country_of_citizenship ?r . ?r rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1342633,P27,c(Q1048835))
action filter_type
action find
entity Q1342633
relation P27
type Q1048835
[ANSWER] is Hans Jürgen Refior an inhabitant of
['Q1342633', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?r WHERE { resource:Q1342633 property:P27 ?r . ?r rdf:type ontology:Q1048835 }
Germany
Germany is Hans Jürgen Refior an inhabitant of
Germany
action filter_type
action find
entity Hans Jürgen Refior
relation country of citizenship
type political territorial entity
['Hans Jürgen Refior', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Hans_Jürgen_Refior property:country_of_citizenship ?r . ?r rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q183
P1001
Q1269299
USER
Which business organizations have jurisdiction over that political territory ?
(c(Q1269299),P1001,Q183)
action filter_type
action find_reverse
entity Q183
relation P1001
type Q1269299
[{'concept': 'Q1269299'}, 'P1001', 'Q183']
SELECT DISTINCT ?v WHERE { ?v property:P1001 resource:Q183 . ?v rdf:type ontology:Q1269299 }
Germany
action filter_type
action find_reverse
entity Germany
relation applies to jurisdiction
type type of business entity
[{'concept': 'type of business entity'}, 'applies to jurisdiction', 'Germany']
SELECT DISTINCT ?v WHERE { ?v property:applies_to_jurisdiction resource:Germany . ?v rdf:type ontology:type_of_business_entity }
[]
type of business entity
Q422062 Q1780029 Q2348860
SYSTEM
Aktiengesellschaft, Kommanditgesellschaft, Stiftung & Co. KGaA
Q1780029 Q2348860 Q2054374 Q19278985 Q897103 Q1418640 Q9299236 Q5349747 Q20659907 Q2348856 Q15734684 Q19823288 Q292704 Q460178 Q422062 Q1532883
(c(Q1269299),P1001,Q183)
action filter_type
action find_reverse
entity Q183
relation P1001
type Q1269299
[ANSWERS] have jurisdiction over that political territory
[{'concept': 'Q1269299'}, 'P1001', 'Q183']
SELECT DISTINCT ?v WHERE { ?v property:P1001 resource:Q183 . ?v rdf:type ontology:Q1269299 }
Kommanditgesellschaft Stiftung & Co. KGaA Partenreederei sole proprietorship in Germany GmbH & Co. KG local government in Germany eingetragener Verein Eingetragene Genossenschaft AG & Co. KG Stiftung & Co. KG Körperschaft des öffentlichen Rechts Kommanditgesellschaft auf Aktien AG & Co. KGaA Gesellschaft mit beschränkter Haftung Aktiengesellschaft GmbH & Co. KGaA
Aktiengesellschaft, Kommanditgesellschaft and Stiftung & Co. KGaA have jurisdiction over that political territory
Aktiengesellschaft Kommanditgesellschaft Stiftung & Co. KGaA
action filter_type
action find_reverse
entity Germany
relation applies to jurisdiction
type type of business entity
[{'concept': 'type of business entity'}, 'applies to jurisdiction', 'Germany']
SELECT DISTINCT ?v WHERE { ?v property:applies_to_jurisdiction resource:Germany . ?v rdf:type ontology:type_of_business_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1780029
P1454
Q43229
USER
Which organizations have their legal form as that business organization ?
(c(Q43229),P1454,Q1780029)
action filter_type
action find_reverse
entity Q1780029
relation P1454
type Q43229
[{'concept': 'Q43229'}, 'P1454', 'Q1780029']
SELECT DISTINCT ?z WHERE { ?z property:P1454 resource:Q1780029 . ?z rdf:type ontology:Q43229 }
Kommanditgesellschaft
action filter_type
action find_reverse
entity Kommanditgesellschaft
relation legal form
type organization
[{'concept': 'organization'}, 'legal form', 'Kommanditgesellschaft']
SELECT DISTINCT ?z WHERE { ?z property:legal_form resource:Kommanditgesellschaft . ?z rdf:type ontology:organization }
[]
organization
Clarification for simple ques.
Q2348860
SYSTEM
Did you mean Stiftung & Co. KGaA ?
Q422062 Q1780029 Q2348860
(c(Q43229),P1454,Q422062) (c(Q43229),P1454,Q1780029) (c(Q43229),P1454,Q2348860)
[ANSWER]
[{'concept': 'Q43229'}, 'P1454', 'Q422062'] [{'concept': 'Q43229'}, 'P1454', 'Q1780029'] [{'concept': 'Q43229'}, 'P1454', 'Q2348860']
SELECT DISTINCT ?z WHERE { ?z property:P1454 resource:Q1780029 . ?z rdf:type ontology:Q43229 }
Aktiengesellschaft Kommanditgesellschaft Stiftung & Co. KGaA
Did you mean Stiftung & Co. KGaA ?
Stiftung & Co. KGaA
[{'concept': 'organization'}, 'legal form', 'Aktiengesellschaft'] [{'concept': 'organization'}, 'legal form', 'Kommanditgesellschaft'] [{'concept': 'organization'}, 'legal form', 'Stiftung & Co. KGaA']
SELECT DISTINCT ?z WHERE { ?z property:legal_form resource:Kommanditgesellschaft . ?z rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
USER
No, I meant Kommanditgesellschaft. Could you tell me the answer for that?
(c(Q43229),P1454,Q1780029)
Q1780029
[{'concept': 'Q43229'}, 'P1454', 'Q1780029']
[{'concept': 'organization'}, 'legal form', 'Kommanditgesellschaft']
[]
Q852099 Q1736472 Q701755
SYSTEM
Bewag, Kathrein-Werke, Edeka
Q167352 Q473953 Q839552 Q701755 Q1547821 Q1644398 Q590429 Q1241578 Q17148659 Q879858 Q2066959 Q637786 Q1736472 Q852099 Q17855645 Q1732754 Q1449473
(c(Q43229),P1454,Q1780029)
action filter_type
action find_reverse
entity Q1780029
relation P1454
type Q43229
[ANSWERS] have their legal form as that business organization
[{'concept': 'Q43229'}, 'P1454', 'Q1780029']
SELECT DISTINCT ?z WHERE { ?z property:P1454 resource:Q1780029 . ?z rdf:type ontology:Q43229 }
Otto Fuchs Rehau Group SMC Corporation Edeka Groz-Beckert Hörmann Group Anton Häring KG Reiner Brach Schnellecke Group Netto Marken-Discount Peek & Cloppenburg Arcor Kathrein-Werke Bewag August Faller GmbH & Co. KG Kliniken Schmieder Franz Wilhelm Langguth Erben
Bewag, Kathrein-Werke and Edeka have their legal form as that business organization
Bewag Kathrein-Werke Edeka
action filter_type
action find_reverse
entity Kommanditgesellschaft
relation legal form
type organization
[{'concept': 'organization'}, 'legal form', 'Kommanditgesellschaft']
SELECT DISTINCT ?z WHERE { ?z property:legal_form resource:Kommanditgesellschaft . ?z rdf:type ontology:organization }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P137
Q43229 Q483110
USER
Which stadia were managed by exactly 1 organization ?
(c(Q483110),P137,c(Q43229))
action equal
action find_tuple_counts
relation P137
type Q483110
type Q43229
value 1
[{'concept': 'Q483110'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?c ) AS ?n ) WHERE { ?u property:P137 ?c . ?u rdf:type ontology:Q483110 . ?c rdf:type ontology:Q43229 } GROUP BY ?u } . FILTER ( ?n = 1 ) }
action equal
action find_tuple_counts
relation operator
type stadium
type organization
value 1
[{'concept': 'stadium'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?c ) AS ?n ) WHERE { ?u property:operator ?c . ?u rdf:type ontology:stadium . ?c rdf:type ontology:organization } GROUP BY ?u } . FILTER ( ?n = 1 ) }
[]
organization stadium
Q62149 Q320454 Q49136
SYSTEM
Juventus Stadium, Azteca Stadium, Fenway Park
Q62149 Q320454 Q673373 Q771800 Q1142393 Q77118 Q7571588 Q49136
(c(Q483110),P137,c(Q43229))
action equal
action find_tuple_counts
relation P137
type Q483110
type Q43229
value 1
[ANSWERS] were managed by exactly 1 organization
[{'concept': 'Q483110'}, 'P137', {'concept': 'Q43229'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?c ) AS ?n ) WHERE { ?u property:P137 ?c . ?u rdf:type ontology:Q483110 . ?c rdf:type ontology:Q43229 } GROUP BY ?u } . FILTER ( ?n = 1 ) }
Juventus Stadium Azteca Stadium Stadio di Corsi Sebastopoli Estadio Tigres De la UANL Crystal Palace National Sports Centre Don Valley Stadium Santander Stadium Fenway Park
Juventus Stadium, Azteca Stadium and Fenway Park were managed by exactly 1 organization
Juventus Stadium Azteca Stadium Fenway Park
action equal
action find_tuple_counts
relation operator
type stadium
type organization
value 1
[{'concept': 'stadium'}, 'operator', {'concept': 'organization'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?c ) AS ?n ) WHERE { ?u property:operator ?c . ?u rdf:type ontology:stadium . ?c rdf:type ontology:organization } GROUP BY ?u } . FILTER ( ?n = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q183
P530
Q1048835
USER
How many political territories have a diplomatic relationship with Germany ?
(Q183,P530,c(Q1048835))
action count
action filter_type
action find
entity Q183
relation P530
type Q1048835
['Q183', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { resource:Q183 property:P530 ?a . ?a rdf:type ontology:Q1048835 }
Germany
action count
action filter_type
action find
entity Germany
relation diplomatic relation
type political territorial entity
['Germany', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { resource:Germany property:diplomatic_relation ?a . ?a rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
6
Q664 Q408 Q40 Q35 Q16 Q1000
(Q183,P530,c(Q1048835))
action count
action filter_type
action find
entity Q183
relation P530
type Q1048835
[ANSWER]
['Q183', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { resource:Q183 property:P530 ?a . ?a rdf:type ontology:Q1048835 }
New Zealand Australia Austria Denmark Canada Gabon
6
action count
action filter_type
action find
entity Germany
relation diplomatic relation
type political territorial entity
['Germany', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?q ) WHERE { resource:Germany property:diplomatic_relation ?a . ?a rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q155
P530
Q1048835
USER
And also tell me about Brazil?
(Q155,P530,c(Q1048835))
action count
action filter_type
action find
entity Q155
relation P530
type Q1048835
['Q155', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { resource:Q155 property:P530 ?b . ?b rdf:type ontology:Q1048835 }
Brazil
action count
action filter_type
action find
entity Brazil
relation diplomatic relation
type political territorial entity
['Brazil', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { resource:Brazil property:diplomatic_relation ?b . ?b rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
5
Q183 Q16 Q766 Q35 Q408
(Q155,P530,c(Q1048835))
action count
action filter_type
action find
entity Q155
relation P530
type Q1048835
[ANSWER]
['Q155', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { resource:Q155 property:P530 ?b . ?b rdf:type ontology:Q1048835 }
Germany Canada Jamaica Denmark Australia
5
action count
action filter_type
action find
entity Brazil
relation diplomatic relation
type political territorial entity
['Brazil', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?m ) WHERE { resource:Brazil property:diplomatic_relation ?b . ?b rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q796
Q1048835
USER
And how about Iraq?
(Q796,P530,c(Q1048835))
action count
action filter_type
action find
entity Q796
relation P530
type Q1048835
['Q796', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { resource:Q796 property:P530 ?s . ?s rdf:type ontology:Q1048835 }
Iraq
action count
action filter_type
action find
entity Iraq
relation diplomatic relation
type political territorial entity
['Iraq', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { resource:Iraq property:diplomatic_relation ?s . ?s rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
2
(Q796,P530,c(Q1048835))
action count
action filter_type
action find
entity Q796
relation P530
type Q1048835
[ANSWER]
['Q796', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { resource:Q796 property:P530 ?s . ?s rdf:type ontology:Q1048835 }
2
action count
action filter_type
action find
entity Iraq
relation diplomatic relation
type political territorial entity
['Iraq', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { resource:Iraq property:diplomatic_relation ?s . ?s rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q502895 Q20667921 Q43229
USER
How many organizations have exactly 2 people or french administrative divisions as their toponym ?
(c(Q43229),P138,c(Q502895)|c(Q20667921))
action count
action equal
action union
action find_tuple_counts
relation P138
type Q43229
type Q502895
action find_tuple_counts
relation P138
type Q43229
type Q20667921
value 2
[{'concept': 'Q43229'}, 'P138', [{'concept': 'Q502895'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?w ) AS ?x ) WHERE { VALUES ( ?t ) { ( ontology:Q502895 ) ( ontology:Q20667921 ) } . ?w rdf:type ?t } GROUP BY ?m } . FILTER ( ?x = 2 ) }
action count
action equal
action union
action find_tuple_counts
relation named after
type organization
type common name
action find_tuple_counts
relation named after
type organization
type type of french administrative division
value 2
[{'concept': 'organization'}, 'named after', [{'concept': 'common name'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?w ) AS ?x ) WHERE { VALUES ( ?t ) { ( ontology:common_name ) ( ontology:type_of_french_administrative_division ) } . ?w rdf:type ?t } GROUP BY ?m } . FILTER ( ?x = 2 ) }
[]
common name type of french administrative division organization
SYSTEM
11
Q3075473 Q7969612 Q16993773 Q1884500 Q895118 Q195208 Q663679 Q7747096 Q334204 Q4672654 Q7943163
(c(Q43229),P138,c(Q502895)|c(Q20667921))
action count
action equal
action union
action find_tuple_counts
relation P138
type Q43229
type Q502895
action find_tuple_counts
relation P138
type Q43229
type Q20667921
value 2
[ANSWER]
[{'concept': 'Q43229'}, 'P138', [{'concept': 'Q502895'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?w ) AS ?x ) WHERE { VALUES ( ?t ) { ( ontology:Q502895 ) ( ontology:Q20667921 ) } . ?w rdf:type ?t } GROUP BY ?m } . FILTER ( ?x = 2 ) }
Fondation Jean et Jean-Pierre Giraudoux Warmenhoven & Venderbos Haworth Tompkins Magnitogorsk Iron and Steel Works Boulton and Watt Stanislavski and Nemirovich-Danchenko Moscow Academic Music Theatre Landis+Gyr The Licia Albanese-Puccini Foundation Morgan Stanley Accles & Shelvoke Vroom & Dreesmann
11
action count
action equal
action union
action find_tuple_counts
relation named after
type organization
type common name
action find_tuple_counts
relation named after
type organization
type type of french administrative division
value 2
[{'concept': 'organization'}, 'named after', [{'concept': 'common name'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?w ) AS ?x ) WHERE { VALUES ( ?t ) { ( ontology:common_name ) ( ontology:type_of_french_administrative_division ) } . ?w rdf:type ?t } GROUP BY ?m } . FILTER ( ?x = 2 ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q183
P194
Q11204
USER
Which legislature represents that political territory ?
action filter_type
action find
entity Q183
relation P194
type Q11204
SELECT DISTINCT ?v WHERE { resource:Q183 property:P194 ?v . ?v rdf:type ontology:Q11204 }
Germany
action filter_type
action find
entity Germany
relation legislative body
type legislature
SELECT DISTINCT ?v WHERE { resource:Germany property:legislative_body ?v . ?v rdf:type ontology:legislature }
[]
legislature
Q146138
SYSTEM
Bundesrat
Q146138
action filter_type
action find
entity Q183
relation P194
type Q11204
[ANSWER] represents that political territory
SELECT DISTINCT ?v WHERE { resource:Q183 property:P194 ?v . ?v rdf:type ontology:Q11204 }
Bundesrat
Bundesrat represents that political territory
Bundesrat
action filter_type
action find
entity Germany
relation legislative body
type legislature
SELECT DISTINCT ?v WHERE { resource:Germany property:legislative_body ?v . ?v rdf:type ontology:legislature }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q34
P194
Q11204 Q15617994
USER
Which administrative territories have more number of legislatures as their legislative body than Sweden ?
(c(Q15617994),P194,c(Q11204))
action greater
action find_tuple_counts
relation P194
type Q15617994
type Q11204
action count
action filter_type
action find
entity Q34
relation P194
type Q15617994
[{'concept': 'Q15617994'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?f ) AS ?t ) WHERE { ?p property:P194 ?f . ?p rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q11204 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { resource:Q34 property:P194 ?v . ?v rdf:type ontology:Q15617994 } } . FILTER ( ?t > ?q ) }
Sweden
action greater
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
action count
action filter_type
action find
entity Sweden
relation legislative body
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?f ) AS ?t ) WHERE { ?p property:legislative_body ?f . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:legislature } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { resource:Sweden property:legislative_body ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t > ?q ) }
[]
legislature designation for an administrative territorial entity
Q30 Q159 Q148
SYSTEM
United States of America, Russia, People's Republic of China
Q805 Q800 Q1462 Q1250 Q148 Q189 Q786 Q710 Q1460 Q159 Q43 Q792 Q779011 Q889 Q884 Q958 Q12574 Q12761 Q244 Q31 Q30 Q37 Q1447 Q1282 Q1284 Q3389 Q236 Q12661 Q1273 Q1279 Q1049 Q1458 Q227 Q347 Q17 Q902 Q191 Q114 Q1210 Q917 Q736 Q34020 Q686 Q760 Q574 Q1222 Q774 Q948 Q1016 Q27 Q1243 Q12626 Q672 Q1237
(c(Q15617994),P194,c(Q11204))
action greater
action find_tuple_counts
relation P194
type Q15617994
type Q11204
action count
action filter_type
action find
entity Q34
relation P194
type Q15617994
[ANSWERS] have more number of legislatures as their legislative body than Sweden
[{'concept': 'Q15617994'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?f ) AS ?t ) WHERE { ?p property:P194 ?f . ?p rdf:type ontology:Q15617994 . ?f rdf:type ontology:Q11204 } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { resource:Q34 property:P194 ?v . ?v rdf:type ontology:Q15617994 } } . FILTER ( ?t > ?q ) }
Yemen Costa Rica Sardinia Friuli–Venezia Giulia People's Republic of China Iceland Dominican Republic Kiribati Sicily Russia Turkey El Salvador Principality of Montenegro Afghanistan South Korea South Sudan Loiret Seine-Saint-Denis Barbados Belgium United States of America Lithuania Apulia Lazio Abruzzo Finistère Montenegro Nord Tuscany Marche Sudan Calabria Azerbaijan Liechtenstein Japan Bangladesh Estonia Kenya Lombardy Bhutan Ecuador Niue Vanuatu Saint Lucia East Timor Aosta Valley Guatemala Tunisia Libya Ireland Veneto Meurthe-et-Moselle Tuvalu Trentino-South Tyrol
United States of America, Russia and People's Republic of China have more number of legislatures as their legislative body than Sweden
United States of America Russia People's Republic of China
action greater
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
action count
action filter_type
action find
entity Sweden
relation legislative body
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ?p ( COUNT ( ?f ) AS ?t ) WHERE { ?p property:legislative_body ?f . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?f rdf:type ontology:legislature } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?q ) WHERE { resource:Sweden property:legislative_body ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?t > ?q ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q28
P194
Q11204 Q15617994
USER
And also tell me about Hungary?
(c(Q15617994),P194,c(Q11204))
action greater
action find_tuple_counts
relation P194
type Q15617994
type Q11204
action count
action filter_type
action find
entity Q28
relation P194
type Q15617994
[{'concept': 'Q15617994'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { resource:Q28 property:P194 ?i . ?i rdf:type ontology:Q15617994 } } . FILTER ( ?p > ?e ) . { SELECT DISTINCT ?q ( COUNT ( ?j ) AS ?p ) WHERE { ?q property:P194 ?j . ?q rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q11204 } GROUP BY ?q } }
Hungary
action greater
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
action count
action filter_type
action find
entity Hungary
relation legislative body
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { resource:Hungary property:legislative_body ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?p > ?e ) . { SELECT DISTINCT ?q ( COUNT ( ?j ) AS ?p ) WHERE { ?q property:legislative_body ?j . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:legislature } GROUP BY ?q } }
[]
legislature designation for an administrative territorial entity
Q30 Q159 Q148
SYSTEM
United States of America, Russia, People's Republic of China
Q805 Q800 Q1462 Q1250 Q148 Q189 Q786 Q710 Q1460 Q159 Q43 Q792 Q779011 Q889 Q884 Q958 Q12574 Q12761 Q244 Q31 Q30 Q37 Q1447 Q1282 Q1284 Q3389 Q236 Q12661 Q1273 Q1279 Q1049 Q1458 Q227 Q347 Q17 Q902 Q191 Q114 Q1210 Q917 Q736 Q34020 Q686 Q760 Q574 Q1222 Q774 Q948 Q1016 Q27 Q1243 Q12626 Q672 Q1237
(c(Q15617994),P194,c(Q11204))
action greater
action find_tuple_counts
relation P194
type Q15617994
type Q11204
action count
action filter_type
action find
entity Q28
relation P194
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { resource:Q28 property:P194 ?i . ?i rdf:type ontology:Q15617994 } } . FILTER ( ?p > ?e ) . { SELECT DISTINCT ?q ( COUNT ( ?j ) AS ?p ) WHERE { ?q property:P194 ?j . ?q rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q11204 } GROUP BY ?q } }
Yemen Costa Rica Sardinia Friuli–Venezia Giulia People's Republic of China Iceland Dominican Republic Kiribati Sicily Russia Turkey El Salvador Principality of Montenegro Afghanistan South Korea South Sudan Loiret Seine-Saint-Denis Barbados Belgium United States of America Lithuania Apulia Lazio Abruzzo Finistère Montenegro Nord Tuscany Marche Sudan Calabria Azerbaijan Liechtenstein Japan Bangladesh Estonia Kenya Lombardy Bhutan Ecuador Niue Vanuatu Saint Lucia East Timor Aosta Valley Guatemala Tunisia Libya Ireland Veneto Meurthe-et-Moselle Tuvalu Trentino-South Tyrol
United States of America Russia People's Republic of China
action greater
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
action count
action filter_type
action find
entity Hungary
relation legislative body
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { resource:Hungary property:legislative_body ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?p > ?e ) . { SELECT DISTINCT ?q ( COUNT ( ?j ) AS ?p ) WHERE { ?q property:legislative_body ?j . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:legislature } GROUP BY ?q } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q159
P47
Q183366 Q5589178
USER
How many territories and regimes have a shared border with Russia ?
(Q159,P47,c(Q183366)) (Q159,P47,c(Q5589178))
action count
action union
action filter_type
action find
entity Q159
relation P47
type Q183366
action filter_type
action find
entity Q159
relation P47
type Q5589178
['Q159', 'P47', {'concept': 'Q183366'}] ['Q159', 'P47', {'concept': 'Q5589178'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { VALUES ( ?z ) { ( ontology:Q183366 ) ( ontology:Q5589178 ) } . ?m rdf:type ?z }
Russia
action count
action union
action filter_type
action find
entity Russia
relation shares border with
type territory
action filter_type
action find
entity Russia
relation shares border with
type regime
['Russia', 'shares border with', {'concept': 'territory'}] ['Russia', 'shares border with', {'concept': 'regime'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { VALUES ( ?z ) { ( ontology:territory ) ( ontology:regime ) } . ?m rdf:type ?z }
[]
territory regime
SYSTEM
1 territories and 3 regimes
Q23427 Q16150196 Q23334 Q16746854
(Q159,P47,c(Q183366)) (Q159,P47,c(Q5589178))
action count
action union
action filter_type
action find
entity Q159
relation P47
type Q183366
action filter_type
action find
entity Q159
relation P47
type Q5589178
[ANSWER]
['Q159', 'P47', {'concept': 'Q183366'}] ['Q159', 'P47', {'concept': 'Q5589178'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { VALUES ( ?z ) { ( ontology:Q183366 ) ( ontology:Q5589178 ) } . ?m rdf:type ?z }
South Ossetia Donetsk People's Republic Abkhazia Luhansk People's Republic
1 territories and 3 regimes
action count
action union
action filter_type
action find
entity Russia
relation shares border with
type territory
action filter_type
action find
entity Russia
relation shares border with
type regime
['Russia', 'shares border with', {'concept': 'territory'}] ['Russia', 'shares border with', {'concept': 'regime'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { VALUES ( ?z ) { ( ontology:territory ) ( ontology:regime ) } . ?m rdf:type ?z }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q30
P463
Q484652 Q874405
USER
How many international organizations or social groups were United States of America a member of ?
(Q30,P463,c(Q484652)) (Q30,P463,c(Q874405))
action count
action union
action filter_type
action find
entity Q30
relation P463
type Q484652
action filter_type
action find
entity Q30
relation P463
type Q874405
['Q30', 'P463', {'concept': 'Q484652'}] ['Q30', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { VALUES ( ?z ) { ( ontology:Q484652 ) ( ontology:Q874405 ) } . ?j rdf:type ?z }
United States of America
action count
action union
action filter_type
action find
entity United States of America
relation member of
type international organization
action filter_type
action find
entity United States of America
relation member of
type social group
['United States of America', 'member of', {'concept': 'international organization'}] ['United States of America', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { VALUES ( ?z ) { ( ontology:international_organization ) ( ontology:social_group ) } . ?j rdf:type ?z }
[]
international organization social group
SYSTEM
11
Q81299 Q1065 Q19771 Q37143 Q188822 Q674182 Q782942 Q295875 Q842490 Q7184 Q1043527
(Q30,P463,c(Q484652)) (Q30,P463,c(Q874405))
action count
action union
action filter_type
action find
entity Q30
relation P463
type Q484652
action filter_type
action find
entity Q30
relation P463
type Q874405
[ANSWER]
['Q30', 'P463', {'concept': 'Q484652'}] ['Q30', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { VALUES ( ?z ) { ( ontology:Q484652 ) ( ontology:Q874405 ) } . ?j rdf:type ?z }
Organization for Security and Co-operation in Europe United Nations G20 G8 Asian Development Bank Arctic Council Australia Group ANZUS Organisation for the Prohibition of Chemical Weapons North Atlantic Treaty Organisation Multilateral Investment Guarantee Agency
11
action count
action union
action filter_type
action find
entity United States of America
relation member of
type international organization
action filter_type
action find
entity United States of America
relation member of
type social group
['United States of America', 'member of', {'concept': 'international organization'}] ['United States of America', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { VALUES ( ?z ) { ( ontology:international_organization ) ( ontology:social_group ) } . ?j rdf:type ?z }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P3279
Q502895 Q18608583 Q500834
USER
Which people were considered to be the statistical leader of approximately 1 recurring sporting events or tournaments ?
(c(Q18608583)|c(Q500834),P3279,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q18608583
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q500834
value 1
[[{'concept': 'Q18608583'}, {'concept': 'Q500834'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?d ) WHERE { VALUES ( ?o ) { ( ontology:Q18608583 ) ( ontology:Q500834 ) } . ?p rdf:type ?o } GROUP BY ?b } . FILTER ( ?d = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type recurring sporting event
action find_reverse_tuple_counts
relation statistical leader
type common name
type tournament
value 1
[[{'concept': 'recurring sporting event'}, {'concept': 'tournament'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?d ) WHERE { VALUES ( ?o ) { ( ontology:recurring_sporting_event ) ( ontology:tournament ) } . ?p rdf:type ?o } GROUP BY ?b } . FILTER ( ?d = 1 ) }
[]
common name recurring sporting event tournament
Q58335 Q2419943 Q952921
SYSTEM
Leandro Barbosa, Ike Diogu, Patrick Mills
Q348032 Q11691650 Q3595275 Q3855901 Q952921 Q58335 Q721076 Q16563047 Q455970 Q1337310 Q3325479 Q2679406 Q3317928 Q3882086 Q11561907 Q3123694 Q775971 Q935769 Q2336113 Q2468364 Q465968 Q1246116 Q3719980 Q2077350 Q1763902 Q3192666 Q24088775 Q2423715 Q493027 Q1435883 Q3699232 Q1100455 Q2419943 Q3788234 Q628060 Q521771 Q3961216 Q459258
(c(Q18608583)|c(Q500834),P3279,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q18608583
action find_reverse_tuple_counts
relation P3279
type Q502895
type Q500834
value 1
[ANSWERS] were considered to be the statistical leader of approximately 1 recurring sporting events or tournaments
[[{'concept': 'Q18608583'}, {'concept': 'Q500834'}], 'P3279', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?d ) WHERE { VALUES ( ?o ) { ( ontology:Q18608583 ) ( ontology:Q500834 ) } . ?p rdf:type ?o } GROUP BY ?b } . FILTER ( ?d = 1 ) }
Šarūnas Marčiulionis Crispina Correia Geethu Anna Jose Mfon Udoka Patrick Mills Leandro Barbosa Alberto Herreros Heino Veskila Amaya Valdemoro Emiliano Rodríguez Mouhammad Faye Rūdolfs Jurciņš Modibo Niakate Omar Quintero Ramu Tokashiki Géraldine Robert Evanthia Maltsi Oded Kattash Kees Akerboom, Sr. Margo Dydek Ann Wauters Doron Jamchi Edward Jurkiewicz Radhouane Slimane Jeff Xavier Kani Kouyaté Antonia Edmondson Jacques Perrier Andray Blatche Marcelo Machado Livio Franceschini Iva Perovanović Ike Diogu Hüseyin Öztürk Sabahudin Bilalović Paweł Stok Simone Edwards Sancho Lyttle
Leandro Barbosa, Ike Diogu and Patrick Mills were considered to be the statistical leader of approximately 1 recurring sporting events or tournaments
Leandro Barbosa Ike Diogu Patrick Mills
action approx
action union
action find_reverse_tuple_counts
relation statistical leader
type common name
type recurring sporting event
action find_reverse_tuple_counts
relation statistical leader
type common name
type tournament
value 1
[[{'concept': 'recurring sporting event'}, {'concept': 'tournament'}], 'statistical leader', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?d ) WHERE { VALUES ( ?o ) { ( ontology:recurring_sporting_event ) ( ontology:tournament ) } . ?p rdf:type ?o } GROUP BY ?b } . FILTER ( ?d = 1 ) }
[]