Simple Question (Direct)
Simple Question
Q3840307
P27
Q15617994
USER
Which administrative territory is Luigino Dal Prà a civilian of ?
(Q3840307,P27,c(Q15617994))
action filter_type
action find
entity Q3840307
relation P27
type Q15617994
['Q3840307', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q3840307 property:P27 ?c }
Luigino Dal Prà
action filter_type
action find
entity Luigino Dal Prà
relation country of citizenship
type designation for an administrative territorial entity
['Luigino Dal Prà', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Luigino_Dal_Prà property:country_of_citizenship ?c }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q3840307,P27,c(Q15617994))
action filter_type
action find
entity Q3840307
relation P27
type Q15617994
[ANSWER] is Luigino Dal Prà a civilian of
['Q3840307', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q3840307 property:P27 ?c }
Italy
Italy is Luigino Dal Prà a civilian of
Italy
action filter_type
action find
entity Luigino Dal Prà
relation country of citizenship
type designation for an administrative territorial entity
['Luigino Dal Prà', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Luigino_Dal_Prà property:country_of_citizenship ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3840307
P641
Q349
USER
Which sport was that person a part of ?
(Q38,P641,c(Q349))
action filter_type
action find
entity Q3840307
relation P641
type Q349
['Q38', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q3840307 property:P641 ?c . ?c rdf:type ontology:Q349 }
Luigino Dal Prà
action filter_type
action find
entity Luigino Dal Prà
relation sport
type sport
['Italy', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Luigino_Dal_Prà property:sport ?c . ?c rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q38,P641,c(Q349))
action filter_type
action find
entity Q3840307
relation P641
type Q349
Football [ANSWER] was that person a part of
['Q38', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?c WHERE { resource:Q3840307 property:P641 ?c . ?c rdf:type ontology:Q349 }
association football
Football association football was that person a part of
association football
action filter_type
action find
entity Luigino Dal Prà
relation sport
type sport
['Italy', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?c WHERE { resource:Luigino_Dal_Prà property:sport ?c . ?c rdf:type ontology:sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q38
P530
Q15617994
USER
How many administrative territories have diplomatic relationships with Italy ?
(Q38,P530,c(Q15617994))
action count
action filter_type
action find
entity Q38
relation P530
type Q15617994
['Q38', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { ?c rdf:type ontology:Q15617994 . resource:Q38 property:P530 ?c }
Italy
action count
action filter_type
action find
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Italy property:diplomatic_relation ?c }
[]
designation for an administrative territorial entity
SYSTEM
74
Q739 Q805 Q801 Q189 Q843 Q928 Q184 Q822 Q419 Q668 Q347 Q414 Q142 Q225 Q224 Q55 Q222 Q221 Q145 Q148 Q96 Q17 Q229 Q228 Q33 Q32 Q31 Q37 Q36 Q34 Q77 Q39 Q1016 Q227 Q215 Q79 Q191 Q733 Q948 Q869 Q298 Q45 Q252 Q30 Q399 Q403 Q230 Q233 Q258 Q43 Q212 Q213 Q236 Q211 Q159 Q217 Q214 Q41 Q155 Q218 Q219 Q238 Q796 Q794 Q20 Q1045 Q889 Q27 Q28 Q29 Q884 Q423 Q881 Q114
(Q38,P530,c(Q15617994))
action count
action filter_type
action find
entity Q38
relation P530
type Q15617994
[ANSWER]
['Q38', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { ?c rdf:type ontology:Q15617994 . resource:Q38 property:P530 ?c }
Colombia Yemen Israel Iceland Pakistan Philippines Belarus Lebanon Peru India Liechtenstein Argentina France Bosnia and Herzegovina Croatia Netherlands Albania Republic of Macedonia United Kingdom People's Republic of China Mexico Japan Cyprus Andorra Finland Luxembourg Belgium Lithuania Poland Sweden Uruguay Switzerland Libya Azerbaijan Slovenia Egypt Estonia Paraguay Tunisia Thailand Chile Portugal Indonesia United States of America Armenia Serbia Georgia Malta South Africa Turkey Ukraine Czech Republic Montenegro Latvia Russia Republic of Moldova Slovakia Greece Brazil Romania Bulgaria San Marino Iraq Iran Norway Somalia Afghanistan Ireland Hungary Spain South Korea North Korea Vietnam Kenya
74
action count
action filter_type
action find
entity Italy
relation diplomatic relation
type designation for an administrative territorial entity
['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Italy property:diplomatic_relation ?c }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q842199
Q15617994
USER
And how about Belarusian People's Republic?
(Q842199,P530,c(Q15617994))
action count
action filter_type
action find
entity Q842199
relation P530
type Q15617994
['Q842199', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { ?q rdf:type ontology:Q15617994 . resource:Q842199 property:P530 ?q }
Belarusian People's Republic
action count
action filter_type
action find
entity Belarusian People's Republic
relation diplomatic relation
type designation for an administrative territorial entity
["Belarusian People's Republic", 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Belarusian_People's_Republic property:diplomatic_relation ?q }
[]
designation for an administrative territorial entity
SYSTEM
4
(Q842199,P530,c(Q15617994))
action count
action filter_type
action find
entity Q842199
relation P530
type Q15617994
[ANSWER]
['Q842199', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { ?q rdf:type ontology:Q15617994 . resource:Q842199 property:P530 ?q }
4
action count
action filter_type
action find
entity Belarusian People's Republic
relation diplomatic relation
type designation for an administrative territorial entity
["Belarusian People's Republic", 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?u ) WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Belarusian_People's_Republic property:diplomatic_relation ?q }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q37
P163
Q14660
USER
What is the name of flag associated with Lithuania ?
(Q37,P163,c(Q14660))
action filter_type
action find
entity Q37
relation P163
type Q14660
['Q37', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?q WHERE { resource:Q37 property:P163 ?q . ?q rdf:type ontology:Q14660 }
Lithuania
action filter_type
action find
entity Lithuania
relation flag
type flag
['Lithuania', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?q WHERE { resource:Lithuania property:flag ?q . ?q rdf:type ontology:flag }
[]
flag
Q81477
SYSTEM
Flag of Lithuania
Q81477
(Q37,P163,c(Q14660))
action filter_type
action find
entity Q37
relation P163
type Q14660
The name of flag associated with Lithuania is the [ANSWER]
['Q37', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?q WHERE { resource:Q37 property:P163 ?q . ?q rdf:type ontology:Q14660 }
Flag of Lithuania
The name of flag associated with Lithuania is the Flag of Lithuania
Flag of Lithuania
action filter_type
action find
entity Lithuania
relation flag
type flag
['Lithuania', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?q WHERE { resource:Lithuania property:flag ?q . ?q rdf:type ontology:flag }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q81477 Q37
P1001
Q15617994
USER
Does Lithuania apply to jurisdiction of that flag ?
(Q81477,P1001,Q37)
action is_in
entity Q37
action find
entity Q81477
relation P1001
['Q81477', 'P1001', 'Q37']
ASK WHERE { resource:Q81477 property:P1001 resource:Q37 }
Flag of Lithuania Lithuania
action is_in
entity Lithuania
action find
entity Flag of Lithuania
relation applies to jurisdiction
['Flag of Lithuania', 'applies to jurisdiction', 'Lithuania']
ASK WHERE { resource:Flag_of_Lithuania property:applies_to_jurisdiction resource:Lithuania }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q81477,P1001,Q37)
action is_in
entity Q37
action find
entity Q81477
relation P1001
[ANSWER]
['Q81477', 'P1001', 'Q37']
ASK WHERE { resource:Q81477 property:P1001 resource:Q37 }
Yes
action is_in
entity Lithuania
action find
entity Flag of Lithuania
relation applies to jurisdiction
['Flag of Lithuania', 'applies to jurisdiction', 'Lithuania']
ASK WHERE { resource:Flag_of_Lithuania property:applies_to_jurisdiction resource:Lithuania }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q38 Q1756358
P530
Q1048835
USER
Does Pirapora have diplomatic relations with Italy ?
(Q38,P530,Q1756358)
action is_in
entity Q1756358
action find
entity Q38
relation P530
['Q38', 'P530', 'Q1756358']
ASK WHERE { resource:Q38 property:P530 resource:Q1756358 }
Italy Pirapora
action is_in
entity Pirapora
action find
entity Italy
relation diplomatic relation
['Italy', 'diplomatic relation', 'Pirapora']
ASK WHERE { resource:Italy property:diplomatic_relation resource:Pirapora }
[]
political territorial entity
SYSTEM
NO
(Q38,P530,Q1756358)
action is_in
entity Q1756358
action find
entity Q38
relation P530
[ANSWER]
['Q38', 'P530', 'Q1756358']
ASK WHERE { resource:Q38 property:P530 resource:Q1756358 }
No
action is_in
entity Pirapora
action find
entity Italy
relation diplomatic relation
['Italy', 'diplomatic relation', 'Pirapora']
ASK WHERE { resource:Italy property:diplomatic_relation resource:Pirapora }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3840307 Q48243
P19
Q15617994
USER
Is Cogollo del Cengio the birthplace of Luigino Dal Prà ?
(Q3840307,P19,Q48243)
action is_in
entity Q48243
action find
entity Q3840307
relation P19
['Q3840307', 'P19', 'Q48243']
ASK WHERE { resource:Q3840307 property:P19 resource:Q48243 }
Luigino Dal Prà Cogollo del Cengio
action is_in
entity Cogollo del Cengio
action find
entity Luigino Dal Prà
relation place of birth
['Luigino Dal Prà', 'place of birth', 'Cogollo del Cengio']
ASK WHERE { resource:Luigino_Dal_Prà property:place_of_birth resource:Cogollo_del_Cengio }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q3840307,P19,Q48243)
action is_in
entity Q48243
action find
entity Q3840307
relation P19
[ANSWER]
['Q3840307', 'P19', 'Q48243']
ASK WHERE { resource:Q3840307 property:P19 resource:Q48243 }
Yes
action is_in
entity Cogollo del Cengio
action find
entity Luigino Dal Prà
relation place of birth
['Luigino Dal Prà', 'place of birth', 'Cogollo del Cengio']
ASK WHERE { resource:Luigino_Dal_Prà property:place_of_birth resource:Cogollo_del_Cengio }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q41466
P366
Q349 Q41176 Q2424752
USER
How many sports represent the main use of less number of buildings or products than ice hockey ?
(c(Q41176)|c(Q2424752),P366,c(Q349))
action count
action less
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q41176
action find_reverse_tuple_counts
relation P366
type Q349
type Q2424752
action count
action filter_multi_types
action find_reverse
entity Q41466
relation P366
type Q41176
type Q2424752
[[{'concept': 'Q41176'}, {'concept': 'Q2424752'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) ?k WHERE { { ?k rdf:type ontology:Q349 . ?v rdf:type ontology:Q41176 . ?v property:P366 ?k } UNION { ?v property:P366 ?k . ?v rdf:type ontology:Q2424752 . ?k rdf:type ontology:Q349 } } GROUP BY ?k } . FILTER ( ?x < ?c ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { ?z property:P366 resource:Q41466 . { { ?z rdf:type ontology:Q2424752 } UNION { ?z rdf:type ontology:Q41176 } } } } }
ice hockey
action count
action less
action union
action find_reverse_tuple_counts
relation use
type sport
type building
action find_reverse_tuple_counts
relation use
type sport
type product
action count
action filter_multi_types
action find_reverse
entity ice hockey
relation use
type building
type product
[[{'concept': 'building'}, {'concept': 'product'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) ?k WHERE { { ?k rdf:type ontology:sport . ?v rdf:type ontology:building . ?v property:use ?k } UNION { ?v property:use ?k . ?v rdf:type ontology:product . ?k rdf:type ontology:sport } } GROUP BY ?k } . FILTER ( ?x < ?c ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { ?z property:use resource:ice_hockey . { { ?z rdf:type ontology:product } UNION { ?z rdf:type ontology:building } } } } }
[]
sport building product
SYSTEM
21
Q7856 Q5372 Q8418 Q1734 Q206989 Q14300548 Q183018 Q36908 Q500050 Q108429 Q624161 Q1345388 Q177275 Q206763 Q2736 Q61065 Q847 Q22857 Q1194269 Q41323 Q7291
(c(Q41176)|c(Q2424752),P366,c(Q349))
action count
action less
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q41176
action find_reverse_tuple_counts
relation P366
type Q349
type Q2424752
action count
action filter_multi_types
action find_reverse
entity Q41466
relation P366
type Q41176
type Q2424752
[ANSWER]
[[{'concept': 'Q41176'}, {'concept': 'Q2424752'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) ?k WHERE { { ?k rdf:type ontology:Q349 . ?v rdf:type ontology:Q41176 . ?v property:P366 ?k } UNION { ?v property:P366 ?k . ?v rdf:type ontology:Q2424752 . ?k rdf:type ontology:Q349 } } GROUP BY ?k } . FILTER ( ?x < ?c ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { ?z property:P366 resource:Q41466 . { { ?z rdf:type ontology:Q2424752 } UNION { ?z rdf:type ontology:Q41176 } } } } }
rallying basketball handball volleyball shooting sport skating bandy mountaineering cross country running archery gliding greyhound racing bobsleigh floorball association football water sport tennis climbing harness racing American football badminton
21
action count
action less
action union
action find_reverse_tuple_counts
relation use
type sport
type building
action find_reverse_tuple_counts
relation use
type sport
type product
action count
action filter_multi_types
action find_reverse
entity ice hockey
relation use
type building
type product
[[{'concept': 'building'}, {'concept': 'product'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?x ) ?k WHERE { { ?k rdf:type ontology:sport . ?v rdf:type ontology:building . ?v property:use ?k } UNION { ?v property:use ?k . ?v rdf:type ontology:product . ?k rdf:type ontology:sport } } GROUP BY ?k } . FILTER ( ?x < ?c ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?c ) WHERE { ?z property:use resource:ice_hockey . { { ?z rdf:type ontology:product } UNION { ?z rdf:type ontology:building } } } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P180
Q391414 Q14660
USER
How many architectural elements are expressed in atmost 1 flag ?
(c(Q14660),P180,c(Q391414))
action count
action atmost
action find_reverse_tuple_counts
relation P180
type Q391414
type Q14660
value 1
[{'concept': 'Q14660'}, 'P180', {'concept': 'Q391414'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?c ) WHERE { ?y property:P180 ?q . ?q rdf:type ontology:Q391414 . ?y rdf:type ontology:Q14660 } GROUP BY ?q } . FILTER ( ?c <= 1 ) }
action count
action atmost
action find_reverse_tuple_counts
relation depicts
type architectural element
type flag
value 1
[{'concept': 'flag'}, 'depicts', {'concept': 'architectural element'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?c ) WHERE { ?y property:depicts ?q . ?q rdf:type ontology:architectural_element . ?y rdf:type ontology:flag } GROUP BY ?q } . FILTER ( ?c <= 1 ) }
[]
architectural element flag
SYSTEM
32
Q149491 Q640104 Q10879487 Q82117 Q277760 Q17345 Q189771 Q660281 Q5527012 Q148706 Q3908682 Q23419 Q1081213 Q641406 Q2477852 Q837995 Q149292 Q7540403 Q1361380 Q23391 Q23900287 Q930343 Q854429 Q174520 Q115488 Q1433006 Q1326621 Q23423 Q756079 Q13173873 Q91416 Q186637
(c(Q14660),P180,c(Q391414))
action count
action atmost
action find_reverse_tuple_counts
relation P180
type Q391414
type Q14660
value 1
[ANSWER]
[{'concept': 'Q14660'}, 'P180', {'concept': 'Q391414'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?c ) WHERE { ?y property:P180 ?q . ?q rdf:type ontology:Q391414 . ?y rdf:type ontology:Q14660 } GROUP BY ?q } . FILTER ( ?c <= 1 ) }
pent roof coffer Serlian window city gate gatehouse dormer vault contre-jour Gate of Athena Archegetis mansard roof Porta Angelica merlon roof terrace terrace latch rood screen flat roof sliding glass door Erotes portcullis French window catafalque portal rose window medaillon flooring electric light battlement atlas Tyndyk bay window arcade
32
action count
action atmost
action find_reverse_tuple_counts
relation depicts
type architectural element
type flag
value 1
[{'concept': 'flag'}, 'depicts', {'concept': 'architectural element'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?k ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?y ) AS ?c ) WHERE { ?y property:depicts ?q . ?q rdf:type ontology:architectural_element . ?y rdf:type ontology:flag } GROUP BY ?q } . FILTER ( ?c <= 1 ) }
[]