Simple Question (Direct)
Simple Question
Q1396396
P641
Q349
USER
Which sport was Niweat Siriwong a part of ?
(Q1396396,P641,c(Q349))
action filter_type
action find
entity Q1396396
relation P641
type Q349
['Q1396396', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q349 . resource:Q1396396 property:P641 ?y }
Niweat Siriwong
action filter_type
action find
entity Niweat Siriwong
relation sport
type sport
['Niweat Siriwong', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sport . resource:Niweat_Siriwong property:sport ?y }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1396396,P641,c(Q349))
action filter_type
action find
entity Q1396396
relation P641
type Q349
The [ANSWER] was Niweat Siriwong a part of
['Q1396396', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q349 . resource:Q1396396 property:P641 ?y }
association football
The association football was Niweat Siriwong a part of
association football
action filter_type
action find
entity Niweat Siriwong
relation sport
type sport
['Niweat Siriwong', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sport . resource:Niweat_Siriwong property:sport ?y }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1396396
P54
Q1194951
USER
Which national sports team is Niweat Siriwong a member of ?
(Q1396396,P54,c(Q1194951))
action filter_type
action find
entity Q1396396
relation P54
type Q1194951
['Q1396396', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?h WHERE { resource:Q1396396 property:P54 ?h . ?h rdf:type ontology:Q1194951 }
Niweat Siriwong
action filter_type
action find
entity Niweat Siriwong
relation member of sports team
type national sports team
['Niweat Siriwong', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?h WHERE { resource:Niweat_Siriwong property:member_of_sports_team ?h . ?h rdf:type ontology:national_sports_team }
[]
national sports team
Q239549
SYSTEM
Thailand national football team
Q239549
(Q1396396,P54,c(Q1194951))
action filter_type
action find
entity Q1396396
relation P54
type Q1194951
The [ANSWER] is Niweat Siriwong a member of
['Q1396396', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?h WHERE { resource:Q1396396 property:P54 ?h . ?h rdf:type ontology:Q1194951 }
Thailand national football team
The Thailand national football team is Niweat Siriwong a member of
Thailand national football team
action filter_type
action find
entity Niweat Siriwong
relation member of sports team
type national sports team
['Niweat Siriwong', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?h WHERE { resource:Niweat_Siriwong property:member_of_sports_team ?h . ?h rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q239549
P466
Q1076486
USER
What was inhabited by that national sports team ?
(c(Q1076486),P466,Q239549)
action filter_type
action find_reverse
entity Q239549
relation P466
type Q1076486
[{'concept': 'Q1076486'}, 'P466', 'Q239549']
SELECT DISTINCT ?o WHERE { ?o property:P466 resource:Q239549 . ?o rdf:type ontology:Q1076486 }
Thailand national football team
action filter_type
action find_reverse
entity Thailand national football team
relation occupant
type sports venue
[{'concept': 'sports venue'}, 'occupant', 'Thailand national football team']
SELECT DISTINCT ?o WHERE { ?o property:occupant resource:Thailand_national_football_team . ?o rdf:type ontology:sports_venue }
[]
sports venue
Q219047
SYSTEM
National Stadium
Q219047
(c(Q1076486),P466,Q239549)
action filter_type
action find_reverse
entity Q239549
relation P466
type Q1076486
[ANSWER] was inhabited by that national sports team
[{'concept': 'Q1076486'}, 'P466', 'Q239549']
SELECT DISTINCT ?o WHERE { ?o property:P466 resource:Q239549 . ?o rdf:type ontology:Q1076486 }
National Stadium
National Stadium was inhabited by that national sports team
National Stadium
action filter_type
action find_reverse
entity Thailand national football team
relation occupant
type sports venue
[{'concept': 'sports venue'}, 'occupant', 'Thailand national football team']
SELECT DISTINCT ?o WHERE { ?o property:occupant resource:Thailand_national_football_team . ?o rdf:type ontology:sports_venue }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q2736 Q3306337
P495
Q15617994
USER
How many administrative territories did association football or Volvo B12M originate ?
(Q2736,P495,c(Q15617994)) (Q3306337,P495,c(Q15617994))
action count
action union
action filter_type
action find
entity Q2736
relation P495
type Q15617994
action filter_type
action find
entity Q3306337
relation P495
type Q15617994
['Q2736', 'P495', {'concept': 'Q15617994'}] ['Q3306337', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { ?e property:P495 ?h . VALUES ( ?e ) { ( resource:Q2736 ) ( resource:Q3306337 ) } }
association football Volvo B12M
action count
action union
action filter_type
action find
entity association football
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity Volvo B12M
relation country of origin
type designation for an administrative territorial entity
['association football', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Volvo B12M', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { ?e property:country_of_origin ?h . VALUES ( ?e ) { ( resource:association_football ) ( resource:Volvo_B12M ) } }
[]
designation for an administrative territorial entity
SYSTEM
2
Q155 Q34
(Q2736,P495,c(Q15617994)) (Q3306337,P495,c(Q15617994))
action count
action union
action filter_type
action find
entity Q2736
relation P495
type Q15617994
action filter_type
action find
entity Q3306337
relation P495
type Q15617994
[ANSWER]
['Q2736', 'P495', {'concept': 'Q15617994'}] ['Q3306337', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { ?e property:P495 ?h . VALUES ( ?e ) { ( resource:Q2736 ) ( resource:Q3306337 ) } }
Brazil Sweden
2
action count
action union
action filter_type
action find
entity association football
relation country of origin
type designation for an administrative territorial entity
action filter_type
action find
entity Volvo B12M
relation country of origin
type designation for an administrative territorial entity
['association football', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['Volvo B12M', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?n ) WHERE { ?e property:country_of_origin ?h . VALUES ( ?e ) { ( resource:association_football ) ( resource:Volvo_B12M ) } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P366
Q349 Q3084961 Q2424752
USER
Which sports represent the main use of min number of product linings and products ?
(c(Q3084961)|c(Q2424752),P366,c(Q349))
action argmin
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q3084961
action find_reverse_tuple_counts
relation P366
type Q349
type Q2424752
[[{'concept': 'Q3084961'}, {'concept': 'Q2424752'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?n ) { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?c ) WHERE { { ?e property:P366 ?m . ?m rdf:type ontology:Q349 . ?e rdf:type ontology:Q3084961 } UNION { ?e property:P366 ?m . ?m rdf:type ontology:Q349 . ?e rdf:type ontology:Q2424752 } } GROUP BY ?m } } . { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?g ) WHERE { { ?j rdf:type ontology:Q349 . ?v rdf:type ontology:Q3084961 . ?v property:P366 ?j } UNION { ?v property:P366 ?j . ?j rdf:type ontology:Q349 . ?v rdf:type ontology:Q2424752 } } GROUP BY ?j } . FILTER ( ?g = ?n ) }
action argmin
action union
action find_reverse_tuple_counts
relation use
type sport
type product lining
action find_reverse_tuple_counts
relation use
type sport
type product
[[{'concept': 'product lining'}, {'concept': 'product'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?n ) { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?c ) WHERE { { ?e property:use ?m . ?m rdf:type ontology:sport . ?e rdf:type ontology:product_lining } UNION { ?e property:use ?m . ?m rdf:type ontology:sport . ?e rdf:type ontology:product } } GROUP BY ?m } } . { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?g ) WHERE { { ?j rdf:type ontology:sport . ?v rdf:type ontology:product_lining . ?v property:use ?j } UNION { ?v property:use ?j . ?j rdf:type ontology:sport . ?v rdf:type ontology:product } } GROUP BY ?j } . FILTER ( ?g = ?n ) }
[]
sport product lining product
Q206763 Q8418 Q183018
SYSTEM
floorball, handball, bandy
Q7856 Q5372 Q8418 Q1734 Q206989 Q14300548 Q183018 Q36908 Q500050 Q108429 Q624161 Q1345388 Q177275 Q206763 Q2736 Q61065 Q847 Q41466 Q22857 Q1194269 Q41323 Q7291
(c(Q3084961)|c(Q2424752),P366,c(Q349))
action argmin
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q3084961
action find_reverse_tuple_counts
relation P366
type Q349
type Q2424752
[ANSWERS] represent the main use of min number of product linings and products
[[{'concept': 'Q3084961'}, {'concept': 'Q2424752'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?n ) { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?c ) WHERE { { ?e property:P366 ?m . ?m rdf:type ontology:Q349 . ?e rdf:type ontology:Q3084961 } UNION { ?e property:P366 ?m . ?m rdf:type ontology:Q349 . ?e rdf:type ontology:Q2424752 } } GROUP BY ?m } } . { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?g ) WHERE { { ?j rdf:type ontology:Q349 . ?v rdf:type ontology:Q3084961 . ?v property:P366 ?j } UNION { ?v property:P366 ?j . ?j rdf:type ontology:Q349 . ?v rdf:type ontology:Q2424752 } } GROUP BY ?j } . FILTER ( ?g = ?n ) }
rallying basketball handball volleyball shooting sport skating bandy mountaineering cross country running archery gliding greyhound racing bobsleigh floorball association football water sport tennis ice hockey climbing harness racing American football badminton
Floorball, handball and bandy represent the main use of min number of product linings and products
floorball handball bandy
action argmin
action union
action find_reverse_tuple_counts
relation use
type sport
type product lining
action find_reverse_tuple_counts
relation use
type sport
type product
[[{'concept': 'product lining'}, {'concept': 'product'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?c ) AS ?n ) { SELECT DISTINCT ?m ( COUNT ( ?e ) AS ?c ) WHERE { { ?e property:use ?m . ?m rdf:type ontology:sport . ?e rdf:type ontology:product_lining } UNION { ?e property:use ?m . ?m rdf:type ontology:sport . ?e rdf:type ontology:product } } GROUP BY ?m } } . { SELECT DISTINCT ?j ( COUNT ( ?v ) AS ?g ) WHERE { { ?j rdf:type ontology:sport . ?v rdf:type ontology:product_lining . ?v property:use ?j } UNION { ?v property:use ?j . ?j rdf:type ontology:sport . ?v rdf:type ontology:product } } GROUP BY ?j } . FILTER ( ?g = ?n ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2362515 Q1396396
P27
Q15617994
USER
Which administrative territories are Niweat Siriwong or Beata Sadowska a civilian of ?
OR((Q1396396,P27,c(Q15617994)), (Q2362515,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1396396
relation P27
action find
entity Q2362515
relation P27
type Q15617994
{'OR': [['Q1396396', 'P27', {'concept': 'Q15617994'}], ['Q2362515', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { ?n property:P27 ?v . VALUES ( ?n ) { ( resource:Q1396396 ) ( resource:Q2362515 ) } } . ?v rdf:type ontology:Q15617994 }
Beata Sadowska Niweat Siriwong
action filter_type
action union
action find
entity Niweat Siriwong
relation country of citizenship
action find
entity Beata Sadowska
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Niweat Siriwong', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Beata Sadowska', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { ?n property:country_of_citizenship ?v . VALUES ( ?n ) { ( resource:Niweat_Siriwong ) ( resource:Beata_Sadowska ) } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q869 Q36
SYSTEM
Thailand, Poland
Q869 Q36
OR((Q1396396,P27,c(Q15617994)), (Q2362515,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1396396
relation P27
action find
entity Q2362515
relation P27
type Q15617994
[ANSWERS] are Niweat Siriwong or Beata Sadowska a civilian of
{'OR': [['Q1396396', 'P27', {'concept': 'Q15617994'}], ['Q2362515', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { ?n property:P27 ?v . VALUES ( ?n ) { ( resource:Q1396396 ) ( resource:Q2362515 ) } } . ?v rdf:type ontology:Q15617994 }
Thailand Poland
Thailand and Poland are Niweat Siriwong or Beata Sadowska a civilian of
Thailand Poland
action filter_type
action union
action find
entity Niweat Siriwong
relation country of citizenship
action find
entity Beata Sadowska
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Niweat Siriwong', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Beata Sadowska', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { ?n property:country_of_citizenship ?v . VALUES ( ?n ) { ( resource:Niweat_Siriwong ) ( resource:Beata_Sadowska ) } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
Which administrative territories did greater number of releases originate than that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity release
Comparative|More/Less|Single entity type|Clarification
Q869
SYSTEM
Did you mean Thailand ?
(c(Q2031291),P495,c(Q15617994))
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
Did you mean Thailand ?
Thailand
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q2031291),P495,c(Q15617994))
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q668 Q414 Q142 Q55 Q145 Q148 Q712 Q837 Q252 Q258 Q159 Q43 Q41 Q155 Q884 Q826 Q242 Q33 Q31 Q30 Q36 Q34 Q38 Q20 Q27 Q843 Q17 Q902 Q191 Q298 Q213 Q215 Q79 Q29
(c(Q2031291),P495,c(Q15617994))
Greater number of releases originated in [ANSWERS] than that administrative territory
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT * WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
Israel India Argentina France Netherlands United Kingdom People's Republic of China Fiji Nepal Indonesia South Africa Russia Turkey Greece Brazil South Korea Maldives Belize Finland Belgium United States of America Poland Sweden Italy Norway Ireland Pakistan Japan Bangladesh Estonia Chile Czech Republic Slovenia Egypt Spain
Greater number of releases originated in Italy, Brazil and United States of America than that administrative territory
Italy Brazil United States of America
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT * WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q2589463
P530
Q15617994
USER
Do Vistino have tactful political relations with those ones ?
(Q2589463,P530,Q38) (Q2589463,P530,Q155) (Q2589463,P530,Q30)
action is_in
entity prev_answer
action find
entity Q2589463
relation P530
['Q2589463', 'P530', 'Q38'] ['Q2589463', 'P530', 'Q155'] ['Q2589463', 'P530', 'Q30']
ASK WHERE { resource:Q2589463 property:P530 ?j . VALUES ( ?j ) { ( resource:Q801 ) ( resource:Q668 ) ( resource:Q414 ) } }
Vistino
action is_in
entity prev_answer
action find
entity Vistino
relation diplomatic relation
['Vistino', 'diplomatic relation', 'Italy'] ['Vistino', 'diplomatic relation', 'Brazil'] ['Vistino', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:Vistino property:diplomatic_relation ?j . VALUES ( ?j ) { ( resource:Israel ) ( resource:India ) ( resource:Argentina ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q2589463,P530,Q38) (Q2589463,P530,Q155) (Q2589463,P530,Q30)
action is_in
entity prev_answer
action find
entity Q2589463
relation P530
[ANSWER]
['Q2589463', 'P530', 'Q38'] ['Q2589463', 'P530', 'Q155'] ['Q2589463', 'P530', 'Q30']
ASK WHERE { resource:Q2589463 property:P530 ?j . VALUES ( ?j ) { ( resource:Q801 ) ( resource:Q668 ) ( resource:Q414 ) } }
No
action is_in
entity prev_answer
action find
entity Vistino
relation diplomatic relation
['Vistino', 'diplomatic relation', 'Italy'] ['Vistino', 'diplomatic relation', 'Brazil'] ['Vistino', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:Vistino property:diplomatic_relation ?j . VALUES ( ?j ) { ( resource:Israel ) ( resource:India ) ( resource:Argentina ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P366
Q349 Q6671777 Q2235308
USER
Which sports represent the main use of exactly 1 structures and ship types ?
(c(Q6671777)|c(Q2235308),P366,c(Q349))
action equal
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
value 1
[[{'concept': 'Q6671777'}, {'concept': 'Q2235308'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { FILTER ( ?n = 1 ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) ?g WHERE { { ?l property:P366 ?g . ?g rdf:type ontology:Q349 . ?l rdf:type ontology:Q6671777 } UNION { ?l property:P366 ?g . ?g rdf:type ontology:Q349 . ?l rdf:type ontology:Q2235308 } } GROUP BY ?g } }
action equal
action union
action find_reverse_tuple_counts
relation use
type sport
type structure
action find_reverse_tuple_counts
relation use
type sport
type ship type
value 1
[[{'concept': 'structure'}, {'concept': 'ship type'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { FILTER ( ?n = 1 ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) ?g WHERE { { ?l property:use ?g . ?g rdf:type ontology:sport . ?l rdf:type ontology:structure } UNION { ?l property:use ?g . ?g rdf:type ontology:sport . ?l rdf:type ontology:ship_type } } GROUP BY ?g } }
[]
sport structure ship type
Q36908 Q61065 Q22857
SYSTEM
mountaineering, water sport, climbing
Q36908 Q61065 Q22857
(c(Q6671777)|c(Q2235308),P366,c(Q349))
action equal
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q6671777
action find_reverse_tuple_counts
relation P366
type Q349
type Q2235308
value 1
[ANSWERS] represent the main use of exactly 1 structures and ship types
[[{'concept': 'Q6671777'}, {'concept': 'Q2235308'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { FILTER ( ?n = 1 ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) ?g WHERE { { ?l property:P366 ?g . ?g rdf:type ontology:Q349 . ?l rdf:type ontology:Q6671777 } UNION { ?l property:P366 ?g . ?g rdf:type ontology:Q349 . ?l rdf:type ontology:Q2235308 } } GROUP BY ?g } }
mountaineering water sport climbing
Mountaineering, water sport and climbing represent the main use of exactly 1 structures and ship types
mountaineering water sport climbing
action equal
action union
action find_reverse_tuple_counts
relation use
type sport
type structure
action find_reverse_tuple_counts
relation use
type sport
type ship type
value 1
[[{'concept': 'structure'}, {'concept': 'ship type'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { FILTER ( ?n = 1 ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?n ) ?g WHERE { { ?l property:use ?g . ?g rdf:type ontology:sport . ?l rdf:type ontology:structure } UNION { ?l property:use ?g . ?g rdf:type ontology:sport . ?l rdf:type ontology:ship_type } } GROUP BY ?g } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q15324 Q1267889 Q15617994
USER
How many administrative territories are located nearby atleast 2 bodies of water and waterways ?
(c(Q15617994),P206,c(Q15324)|c(Q1267889))
action count
action atleast
action union
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action find_tuple_counts
relation P206
type Q15617994
type Q1267889
value 2
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) ?v WHERE { { ?v rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15324 . ?v property:P206 ?k } UNION { ?v rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q1267889 . ?v property:P206 ?k } } GROUP BY ?v } . FILTER ( ?i >= 2 ) }
action count
action atleast
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type waterway
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) ?v WHERE { { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:body_of_water . ?v property:located_next_to_body_of_water ?k } UNION { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:waterway . ?v property:located_next_to_body_of_water ?k } } GROUP BY ?v } . FILTER ( ?i >= 2 ) }
[]
body of water waterway designation for an administrative territorial entity
SYSTEM
3
Q801 Q884 Q34
(c(Q15617994),P206,c(Q15324)|c(Q1267889))
action count
action atleast
action union
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action find_tuple_counts
relation P206
type Q15617994
type Q1267889
value 2
[ANSWER]
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) ?v WHERE { { ?v rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15324 . ?v property:P206 ?k } UNION { ?v rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q1267889 . ?v property:P206 ?k } } GROUP BY ?v } . FILTER ( ?i >= 2 ) }
Israel South Korea Sweden
3
action count
action atleast
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type waterway
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) ?v WHERE { { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:body_of_water . ?v property:located_next_to_body_of_water ?k } UNION { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:waterway . ?v property:located_next_to_body_of_water ?k } } GROUP BY ?v } . FILTER ( ?i >= 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q219047
P159
Q192350
USER
Which ministry has headquarters located at National Stadium ?
(c(Q192350),P159,Q219047)
action filter_type
action find_reverse
entity Q219047
relation P159
type Q192350
[{'concept': 'Q192350'}, 'P159', 'Q219047']
SELECT DISTINCT ?v WHERE { ?v property:P159 resource:Q219047 . ?v rdf:type ontology:Q192350 }
National Stadium
action filter_type
action find_reverse
entity National Stadium
relation headquarters location
type ministry
[{'concept': 'ministry'}, 'headquarters location', 'National Stadium']
SELECT DISTINCT ?v WHERE { ?v property:headquarters_location resource:National_Stadium . ?v rdf:type ontology:ministry }
[]
ministry
Q4919401
SYSTEM
Ministry of Tourism and Sports (Thailand)
Q4919401
(c(Q192350),P159,Q219047)
action filter_type
action find_reverse
entity Q219047
relation P159
type Q192350
[ANSWER] has headquarters located at National Stadium
[{'concept': 'Q192350'}, 'P159', 'Q219047']
SELECT DISTINCT ?v WHERE { ?v property:P159 resource:Q219047 . ?v rdf:type ontology:Q192350 }
Ministry of Tourism and Sports (Thailand)
Ministry of Tourism and Sports (Thailand) has headquarters located at National Stadium
Ministry of Tourism and Sports (Thailand)
action filter_type
action find_reverse
entity National Stadium
relation headquarters location
type ministry
[{'concept': 'ministry'}, 'headquarters location', 'National Stadium']
SELECT DISTINCT ?v WHERE { ?v property:headquarters_location resource:National_Stadium . ?v rdf:type ontology:ministry }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q219047
P17
Q15617994
USER
Which administrative territory does National Stadium belong to ?
(Q219047,P17,c(Q15617994))
action filter_type
action find
entity Q219047
relation P17
type Q15617994
['Q219047', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q219047 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
National Stadium
action filter_type
action find
entity National Stadium
relation country
type designation for an administrative territorial entity
['National Stadium', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:National_Stadium property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q869
SYSTEM
Thailand
Q869
(Q219047,P17,c(Q15617994))
action filter_type
action find
entity Q219047
relation P17
type Q15617994
National Stadium belongs to [ANSWER]
['Q219047', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q219047 property:P17 ?q . ?q rdf:type ontology:Q15617994 }
Thailand
National Stadium belongs to Thailand
Thailand
action filter_type
action find
entity National Stadium
relation country
type designation for an administrative territorial entity
['National Stadium', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:National_Stadium property:country ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q219047
P276
Q167170
USER
Which multi-sport event has its location as that sports venue ?
(c(Q167170),P276,Q869)
action filter_type
action find_reverse
entity Q219047
relation P276
type Q167170
[{'concept': 'Q167170'}, 'P276', 'Q869']
SELECT DISTINCT ?p WHERE { ?p property:P276 resource:Q219047 . ?p rdf:type ontology:Q167170 }
National Stadium
action filter_type
action find_reverse
entity National Stadium
relation location
type multi-sport event
[{'concept': 'multi-sport event'}, 'location', 'Thailand']
SELECT DISTINCT ?p WHERE { ?p property:location resource:National_Stadium . ?p rdf:type ontology:multi-sport_event }
[]
multi-sport event
Q18676622
SYSTEM
1st Thailand National Games
Q18676622
(c(Q167170),P276,Q869)
action filter_type
action find_reverse
entity Q219047
relation P276
type Q167170
[ANSWER] has its location as that sports venue
[{'concept': 'Q167170'}, 'P276', 'Q869']
SELECT DISTINCT ?p WHERE { ?p property:P276 resource:Q219047 . ?p rdf:type ontology:Q167170 }
1st Thailand National Games
1st Thailand National Games has its location as that sports venue
1st Thailand National Games
action filter_type
action find_reverse
entity National Stadium
relation location
type multi-sport event
[{'concept': 'multi-sport event'}, 'location', 'Thailand']
SELECT DISTINCT ?p WHERE { ?p property:location resource:National_Stadium . ?p rdf:type ontology:multi-sport_event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q155
P85
Q7725634
USER
Which literary work is the anthem for Brazil ?
(Q155,P85,c(Q7725634))
action filter_type
action find
entity Q155
relation P85
type Q7725634
['Q155', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?q WHERE { resource:Q155 property:P85 ?q . ?q rdf:type ontology:Q7725634 }
Brazil
action filter_type
action find
entity Brazil
relation anthem
type literary work
['Brazil', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?q WHERE { resource:Brazil property:anthem ?q . ?q rdf:type ontology:literary_work }
[]
literary work
Q134654
SYSTEM
Brazilian National Anthem
Q134654
(Q155,P85,c(Q7725634))
action filter_type
action find
entity Q155
relation P85
type Q7725634
The [ANSWER] is the anthem for Brazil
['Q155', 'P85', {'concept': 'Q7725634'}]
SELECT DISTINCT ?q WHERE { resource:Q155 property:P85 ?q . ?q rdf:type ontology:Q7725634 }
Brazilian National Anthem
The Brazilian National Anthem is the anthem for Brazil
Brazilian National Anthem
action filter_type
action find
entity Brazil
relation anthem
type literary work
['Brazil', 'anthem', {'concept': 'literary work'}]
SELECT DISTINCT ?q WHERE { resource:Brazil property:anthem ?q . ?q rdf:type ontology:literary_work }
[]