Simple Question (Direct)
Simple Question
Q3077192
P641
Q349
USER
What was the sport that Gaëtan Courtet was a part of ?
(Q3077192,P641,c(Q349))
action filter_type
action find
entity Q3077192
relation P641
type Q349
['Q3077192', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q349 . resource:Q3077192 property:P641 ?r }
Gaëtan Courtet
action filter_type
action find
entity Gaëtan Courtet
relation sport
type sport
['Gaëtan Courtet', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sport . resource:Gaëtan_Courtet property:sport ?r }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3077192,P641,c(Q349))
action filter_type
action find
entity Q3077192
relation P641
type Q349
The sport that Gaëtan Courtet was a part of was [ANSWER]
['Q3077192', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q349 . resource:Q3077192 property:P641 ?r }
association football
The sport that Gaëtan Courtet was a part of was association football
association football
action filter_type
action find
entity Gaëtan Courtet
relation sport
type sport
['Gaëtan Courtet', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:sport . resource:Gaëtan_Courtet property:sport ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3077192
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q3077192
relation P27
type Q15617994
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q3077192 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Gaëtan Courtet
action filter_type
action find
entity Gaëtan Courtet
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:Gaëtan_Courtet property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q3077192
relation P27
type Q15617994
The [ANSWER] is that person an inhabitant of
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q3077192 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
France
The France is that person an inhabitant of
France
action filter_type
action find
entity Gaëtan Courtet
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:Gaëtan_Courtet property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2342494 Q2088357
USER
How many administrative territories did approximately the same number of collectables or musical ensembles originate as that administrative territory ?
(c(Q2342494)|c(Q2088357),P495,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action count
action filter_multi_types
action find_reverse
entity Q142
relation P495
type Q2342494
type Q2088357
[[{'concept': 'Q2342494'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { FILTER ( ?s = ?p ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { ?r property:P495 resource:Q142 . { VALUES ( ?d ) { ( ontology:Q2342494 ) ( ontology:Q2088357 ) } . ?r rdf:type ?d } } } . { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?s ) WHERE { { ?e property:P495 ?y . ?y rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q2342494 } UNION { ?e property:P495 ?y . ?y rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q2088357 } } GROUP BY ?y } }
action count
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action count
action filter_multi_types
action find_reverse
entity France
relation country of origin
type collectable
type musical ensemble
[[{'concept': 'collectable'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { FILTER ( ?s = ?p ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { ?r property:country_of_origin resource:France . { VALUES ( ?d ) { ( ontology:collectable ) ( ontology:musical_ensemble ) } . ?r rdf:type ?d } } } . { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?s ) WHERE { { ?e property:country_of_origin ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:collectable } UNION { ?e property:country_of_origin ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:musical_ensemble } } GROUP BY ?y } }
[]
designation for an administrative territorial entity collectable musical ensemble
SYSTEM
167
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q2342494)|c(Q2088357),P495,c(Q15617994))
action count
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2088357
action count
action filter_multi_types
action find_reverse
entity Q142
relation P495
type Q2342494
type Q2088357
[ANSWER]
[[{'concept': 'Q2342494'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { FILTER ( ?s = ?p ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { ?r property:P495 resource:Q142 . { VALUES ( ?d ) { ( ontology:Q2342494 ) ( ontology:Q2088357 ) } . ?r rdf:type ?d } } } . { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?s ) WHERE { { ?e property:P495 ?y . ?y rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q2342494 } UNION { ?e property:P495 ?y . ?y rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q2088357 } } GROUP BY ?y } }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
167
action count
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type musical ensemble
action count
action filter_multi_types
action find_reverse
entity France
relation country of origin
type collectable
type musical ensemble
[[{'concept': 'collectable'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { FILTER ( ?s = ?p ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?p ) WHERE { ?r property:country_of_origin resource:France . { VALUES ( ?d ) { ( ontology:collectable ) ( ontology:musical_ensemble ) } . ?r rdf:type ?d } } } . { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?s ) WHERE { { ?e property:country_of_origin ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:collectable } UNION { ?e property:country_of_origin ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:musical_ensemble } } GROUP BY ?y } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q732835
P47
Q20667921
USER
How many french administrative divisions have a shared border with Saint-Julien-de-Coppel ?
(Q732835,P47,c(Q20667921))
action count
action filter_type
action find
entity Q732835
relation P47
type Q20667921
['Q732835', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { resource:Q732835 property:P47 ?t . ?t rdf:type ontology:Q20667921 }
Saint-Julien-de-Coppel
action count
action filter_type
action find
entity Saint-Julien-de-Coppel
relation shares border with
type type of french administrative division
['Saint-Julien-de-Coppel', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { resource:Saint-Julien-de-Coppel property:shares_border_with ?t . ?t rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
SYSTEM
7
Q1094804 Q1221438 Q246257 Q1048802 Q267619 Q592995 Q1217186
(Q732835,P47,c(Q20667921))
action count
action filter_type
action find
entity Q732835
relation P47
type Q20667921
[ANSWER]
['Q732835', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { resource:Q732835 property:P47 ?t . ?t rdf:type ontology:Q20667921 }
Sallèdes Isserteaux Billom Busséol Montmorin Saint-Georges-sur-Allier Laps
7
action count
action filter_type
action find
entity Saint-Julien-de-Coppel
relation shares border with
type type of french administrative division
['Saint-Julien-de-Coppel', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?o ) WHERE { resource:Saint-Julien-de-Coppel property:shares_border_with ?t . ?t rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q1613209
Q20667921
USER
And also tell me about Saint-Romain?
(Q1613209,P47,c(Q20667921))
action count
action filter_type
action find
entity Q1613209
relation P47
type Q20667921
['Q1613209', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { resource:Q1613209 property:P47 ?m . ?m rdf:type ontology:Q20667921 }
Saint-Romain
action count
action filter_type
action find
entity Saint-Romain
relation shares border with
type type of french administrative division
['Saint-Romain', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { resource:Saint-Romain property:shares_border_with ?m . ?m rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
SYSTEM
5
(Q1613209,P47,c(Q20667921))
action count
action filter_type
action find
entity Q1613209
relation P47
type Q20667921
[ANSWER]
['Q1613209', 'P47', {'concept': 'Q20667921'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { resource:Q1613209 property:P47 ?m . ?m rdf:type ontology:Q20667921 }
5
action count
action filter_type
action find
entity Saint-Romain
relation shares border with
type type of french administrative division
['Saint-Romain', 'shares border with', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?n ) WHERE { resource:Saint-Romain property:shares_border_with ?m . ?m rdf:type ontology:type_of_french_administrative_division }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P366
Q349 Q6671777 Q811979
USER
Which sports are recognized as the main use of approximately 1 structures and architectural structures ?
(c(Q6671777)|c(Q811979),P366,c(Q349))
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action find_reverse_tuple_counts
relation P366
type Q349
type Q811979
value 1
[[{'concept': 'Q6671777'}, {'concept': 'Q811979'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) ?k WHERE { VALUES ( ?t ) { ( ontology:Q6671777 ) ( ontology:Q811979 ) } . ?d rdf:type ?t } GROUP BY ?k } . FILTER ( ?m = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type structure
action find_reverse_tuple_counts
relation use
type sport
type architectural structure
value 1
[[{'concept': 'structure'}, {'concept': 'architectural structure'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) ?k WHERE { VALUES ( ?t ) { ( ontology:structure ) ( ontology:architectural_structure ) } . ?d rdf:type ?t } GROUP BY ?k } . FILTER ( ?m = 1 ) }
[]
sport structure architectural structure
Q206763 Q8418 Q5372
SYSTEM
floorball, handball, basketball
Q5372 Q8418 Q1734 Q36908 Q624161 Q1345388 Q206763 Q22857
(c(Q6671777)|c(Q811979),P366,c(Q349))
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action find_reverse_tuple_counts
relation P366
type Q349
type Q811979
value 1
[ANSWERS] are recognized as the main use of approximately 1 structures and architectural structures
[[{'concept': 'Q6671777'}, {'concept': 'Q811979'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) ?k WHERE { VALUES ( ?t ) { ( ontology:Q6671777 ) ( ontology:Q811979 ) } . ?d rdf:type ?t } GROUP BY ?k } . FILTER ( ?m = 1 ) }
basketball handball volleyball mountaineering gliding greyhound racing floorball climbing
Floorball, handball and basketball are recognized as the main use of approximately 1 structures and architectural structures
floorball handball basketball
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type structure
action find_reverse_tuple_counts
relation use
type sport
type architectural structure
value 1
[[{'concept': 'structure'}, {'concept': 'architectural structure'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?m ) ?k WHERE { VALUES ( ?t ) { ( ontology:structure ) ( ontology:architectural_structure ) } . ?d rdf:type ?t } GROUP BY ?k } . FILTER ( ?m = 1 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q206763 Q8418 Q5372
P366
Q811979
USER
Which architectural structures have their main functionality as floorball, handball and basketball ?
(c(Q811979),P366,Q206763) (c(Q811979),P366,Q8418) (c(Q811979),P366,Q5372)
action union
action filter_type
action find_reverse
entity Q206763
relation P366
type Q811979
action filter_type
action find_reverse
entity Q8418
relation P366
type Q811979
action filter_type
action find_reverse
entity Q5372
relation P366
type Q811979
[{'concept': 'Q811979'}, 'P366', 'Q206763'] [{'concept': 'Q811979'}, 'P366', 'Q8418'] [{'concept': 'Q811979'}, 'P366', 'Q5372']
SELECT DISTINCT ?n WHERE { { ?n rdf:type ontology:Q811979 . ?n property:P366 resource:Q206763 } UNION { ?n property:P366 resource:Q8418 . ?n rdf:type ontology:Q811979 } }
floorball handball basketball
action union
action filter_type
action find_reverse
entity floorball
relation use
type architectural structure
action filter_type
action find_reverse
entity handball
relation use
type architectural structure
action filter_type
action find_reverse
entity basketball
relation use
type architectural structure
[{'concept': 'architectural structure'}, 'use', 'floorball'] [{'concept': 'architectural structure'}, 'use', 'handball'] [{'concept': 'architectural structure'}, 'use', 'basketball']
SELECT DISTINCT ?n WHERE { { ?n rdf:type ontology:architectural_structure . ?n property:use resource:floorball } UNION { ?n property:use resource:handball . ?n rdf:type ontology:architectural_structure } }
[]
architectural structure
Q10542115
SYSTEM
Jönköpings idrottshus
Q10542115
(c(Q811979),P366,Q206763) (c(Q811979),P366,Q8418) (c(Q811979),P366,Q5372)
action union
action filter_type
action find_reverse
entity Q206763
relation P366
type Q811979
action filter_type
action find_reverse
entity Q8418
relation P366
type Q811979
action filter_type
action find_reverse
entity Q5372
relation P366
type Q811979
[ANSWER] have their main functionality as floorball, handball and basketball
[{'concept': 'Q811979'}, 'P366', 'Q206763'] [{'concept': 'Q811979'}, 'P366', 'Q8418'] [{'concept': 'Q811979'}, 'P366', 'Q5372']
SELECT DISTINCT ?n WHERE { { ?n rdf:type ontology:Q811979 . ?n property:P366 resource:Q206763 } UNION { ?n property:P366 resource:Q8418 . ?n rdf:type ontology:Q811979 } }
Jönköpings idrottshus
Jönköpings idrottshus have their main functionality as floorball, handball and basketball
Jönköpings idrottshus
action union
action filter_type
action find_reverse
entity floorball
relation use
type architectural structure
action filter_type
action find_reverse
entity handball
relation use
type architectural structure
action filter_type
action find_reverse
entity basketball
relation use
type architectural structure
[{'concept': 'architectural structure'}, 'use', 'floorball'] [{'concept': 'architectural structure'}, 'use', 'handball'] [{'concept': 'architectural structure'}, 'use', 'basketball']
SELECT DISTINCT ?n WHERE { { ?n rdf:type ontology:architectural_structure . ?n property:use resource:floorball } UNION { ?n property:use resource:handball . ?n rdf:type ontology:architectural_structure } }
[]