Simple Question (Direct)
Simple Question
Q3822846
P641
Q349
USER
Which sport was Albert Yagüe Jiménez a part of ?
(Q3822846,P641,c(Q349))
action filter_type
action find
entity Q3822846
relation P641
type Q349
['Q3822846', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q349 . resource:Q3822846 property:P641 ?m }
Albert Yagüe Jiménez
action filter_type
action find
entity Albert Yagüe Jiménez
relation sport
type sport
['Albert Yagüe Jiménez', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:sport . resource:Albert_Yagüe_Jiménez property:sport ?m }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3822846,P641,c(Q349))
action filter_type
action find
entity Q3822846
relation P641
type Q349
The [ANSWER] was Albert Yagüe Jiménez a part of
['Q3822846', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q349 . resource:Q3822846 property:P641 ?m }
association football
The association football was Albert Yagüe Jiménez a part of
association football
action filter_type
action find
entity Albert Yagüe Jiménez
relation sport
type sport
['Albert Yagüe Jiménez', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:sport . resource:Albert_Yagüe_Jiménez property:sport ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2736
P495
Q1496967
USER
What is the country of origin of that sport ?
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?u WHERE { resource:Q2736 property:P495 ?u . ?u rdf:type ontology:Q1496967 }
association football
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:association_football property:country_of_origin ?u . ?u rdf:type ontology:territorial_entity }
[]
territorial entity
Q21
SYSTEM
England
Q21
(Q2736,P495,c(Q1496967))
action filter_type
action find
entity Q2736
relation P495
type Q1496967
The country of origin of that sport is in [ANSWER]
['Q2736', 'P495', {'concept': 'Q1496967'}]
SELECT DISTINCT ?u WHERE { resource:Q2736 property:P495 ?u . ?u rdf:type ontology:Q1496967 }
England
The country of origin of that sport is in England
England
action filter_type
action find
entity association football
relation country of origin
type territorial entity
['association football', 'country of origin', {'concept': 'territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:association_football property:country_of_origin ?u . ?u rdf:type ontology:territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by min number of people ?
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?g ) { SELECT DISTINCT ?d ( COUNT ( ?m ) AS ?a ) WHERE { ?m property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?m rdf:type ontology:Q502895 } GROUP BY ?d } } . { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?i ) WHERE { ?n property:P1303 ?j . ?j rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 } GROUP BY ?j } . FILTER ( ?i = ?g ) }
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?g ) { SELECT DISTINCT ?d ( COUNT ( ?m ) AS ?a ) WHERE { ?m property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?m rdf:type ontology:common_name } GROUP BY ?d } } . { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?i ) WHERE { ?n property:instrument ?j . ?j rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name } GROUP BY ?j } . FILTER ( ?i = ?g ) }
[]
musical instrument common name
Q1879664 Q748455 Q173453
SYSTEM
spoon, cajón, wind instrument
Q1879664 Q748455 Q173453
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[ANSWERS] are played by min number of people
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?g ) { SELECT DISTINCT ?d ( COUNT ( ?m ) AS ?a ) WHERE { ?m property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?m rdf:type ontology:Q502895 } GROUP BY ?d } } . { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?i ) WHERE { ?n property:P1303 ?j . ?j rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 } GROUP BY ?j } . FILTER ( ?i = ?g ) }
spoon cajón wind instrument
Spoon, cajón and wind instrument are played by min number of people
spoon cajón wind instrument
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ( MIN ( ?a ) AS ?g ) { SELECT DISTINCT ?d ( COUNT ( ?m ) AS ?a ) WHERE { ?m property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?m rdf:type ontology:common_name } GROUP BY ?d } } . { SELECT DISTINCT ?j ( COUNT ( ?n ) AS ?i ) WHERE { ?n property:instrument ?j . ?j rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name } GROUP BY ?j } . FILTER ( ?i = ?g ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments do min number of people know to play ?
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?a ) { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?o ) WHERE { ?w property:P1303 ?l . ?l rdf:type ontology:Q34379 . ?w rdf:type ontology:Q502895 } GROUP BY ?l } } . { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?v ) WHERE { ?h property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?h rdf:type ontology:Q502895 } GROUP BY ?n } . FILTER ( ?v = ?a ) }
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?a ) { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?o ) WHERE { ?w property:instrument ?l . ?l rdf:type ontology:musical_instrument . ?w rdf:type ontology:common_name } GROUP BY ?l } } . { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?v ) WHERE { ?h property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?h rdf:type ontology:common_name } GROUP BY ?n } . FILTER ( ?v = ?a ) }
[]
musical instrument common name
Q1879664 Q748455 Q173453
SYSTEM
spoon, cajón, wind instrument
Q1879664 Q748455 Q173453
(c(Q502895),P1303,Q3623688)
action argmin
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
Min number of people know about [ANSWERS]
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?a ) { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?o ) WHERE { ?w property:P1303 ?l . ?l rdf:type ontology:Q34379 . ?w rdf:type ontology:Q502895 } GROUP BY ?l } } . { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?v ) WHERE { ?h property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?h rdf:type ontology:Q502895 } GROUP BY ?n } . FILTER ( ?v = ?a ) }
spoon cajón wind instrument
Min number of people know about spoon, cajón and wind instrument
spoon cajón wind instrument
action argmin
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MIN ( ?o ) AS ?a ) { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?o ) WHERE { ?w property:instrument ?l . ?l rdf:type ontology:musical_instrument . ?w rdf:type ontology:common_name } GROUP BY ?l } } . { SELECT DISTINCT ?n ( COUNT ( ?h ) AS ?v ) WHERE { ?h property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?h rdf:type ontology:common_name } GROUP BY ?n } . FILTER ( ?v = ?a ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q11783565 Q3822846
P27
Q15617994
USER
Which administrative territories are the native countriesof Albert Yagüe Jiménez or Misza Fiszzon ?
OR((Q3822846,P27,c(Q15617994)), (Q11783565,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3822846
relation P27
action find
entity Q11783565
relation P27
type Q15617994
{'OR': [['Q3822846', 'P27', {'concept': 'Q15617994'}], ['Q11783565', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q3822846 property:P27 ?o } UNION { resource:Q11783565 property:P27 ?o } } . ?o rdf:type ontology:Q15617994 }
Misza Fiszzon Albert Yagüe Jiménez
action filter_type
action union
action find
entity Albert Yagüe Jiménez
relation country of citizenship
action find
entity Misza Fiszzon
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Albert Yagüe Jiménez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Misza Fiszzon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Albert_Yagüe_Jiménez property:country_of_citizenship ?o } UNION { resource:Misza_Fiszzon property:country_of_citizenship ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29 Q36
SYSTEM
Spain, Poland
Q29 Q36
OR((Q3822846,P27,c(Q15617994)), (Q11783565,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3822846
relation P27
action find
entity Q11783565
relation P27
type Q15617994
[ANSWERS] are the native countriesof Albert Yagüe Jiménez or Misza Fiszzon
{'OR': [['Q3822846', 'P27', {'concept': 'Q15617994'}], ['Q11783565', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q3822846 property:P27 ?o } UNION { resource:Q11783565 property:P27 ?o } } . ?o rdf:type ontology:Q15617994 }
Spain Poland
Spain and Poland are the native countriesof Albert Yagüe Jiménez or Misza Fiszzon
Spain Poland
action filter_type
action union
action find
entity Albert Yagüe Jiménez
relation country of citizenship
action find
entity Misza Fiszzon
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Albert Yagüe Jiménez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Misza Fiszzon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Albert_Yagüe_Jiménez property:country_of_citizenship ?o } UNION { resource:Misza_Fiszzon property:country_of_citizenship ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q258
P530
Q15617994 Q15617994
USER
Which administrative territories have diplomatic relations with greater number of administrative territories than South Africa ?
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q258
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?l ) WHERE { ?e property:P530 ?i . ?e rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { resource:Q258 property:P530 ?y . ?y rdf:type ontology:Q15617994 } } . FILTER ( ?l > ?p ) }
South Africa
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity South Africa
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?l ) WHERE { ?e property:diplomatic_relation ?i . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { resource:South_Africa property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l > ?p ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q801 Q805 Q668 Q414 Q142 Q145 Q148 Q711 Q252 Q403 Q159 Q43 Q155 Q796 Q794 Q884 Q30 Q929 Q38 Q230 Q27 Q184 Q225 Q222 Q347 Q17 Q114 Q212 Q213 Q79 Q858 Q948 Q1011 Q953
(c(Q15617994),P530,c(Q15617994))
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q258
relation P530
type Q15617994
[ANSWERS] have diplomatic relations with greater number of administrative territories than South Africa
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?l ) WHERE { ?e property:P530 ?i . ?e rdf:type ontology:Q15617994 . ?i rdf:type ontology:Q15617994 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { resource:Q258 property:P530 ?y . ?y rdf:type ontology:Q15617994 } } . FILTER ( ?l > ?p ) }
Israel Yemen India Argentina France United Kingdom People's Republic of China Mongolia Indonesia Serbia Russia Turkey Brazil Iraq Iran South Korea United States of America Central African Republic Italy Georgia Ireland Belarus Bosnia and Herzegovina Albania Liechtenstein Japan Kenya Ukraine Czech Republic Egypt Syria Tunisia Cape Verde Zambia
Italy, Brazil and United States of America have diplomatic relations with greater number of administrative territories than South Africa
Italy Brazil United States of America
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity South Africa
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?l ) WHERE { ?e property:diplomatic_relation ?i . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?p ) WHERE { resource:South_Africa property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l > ?p ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q93295
P530
Q15617994
USER
Do Sohland an der Spree have diplomatic associations with those ones ?
(Q93295,P530,Q38) (Q93295,P530,Q155) (Q93295,P530,Q30)
action is_in
entity prev_answer
action find
entity Q93295
relation P530
['Q93295', 'P530', 'Q38'] ['Q93295', 'P530', 'Q155'] ['Q93295', 'P530', 'Q30']
ASK WHERE { resource:Q93295 property:P530 ?q . VALUES ( ?q ) { ( resource:Q801 ) ( resource:Q805 ) ( resource:Q668 ) } }
Sohland an der Spree
action is_in
entity prev_answer
action find
entity Sohland an der Spree
relation diplomatic relation
['Sohland an der Spree', 'diplomatic relation', 'Italy'] ['Sohland an der Spree', 'diplomatic relation', 'Brazil'] ['Sohland an der Spree', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:Sohland_an_der_Spree property:diplomatic_relation ?q . VALUES ( ?q ) { ( resource:Israel ) ( resource:Yemen ) ( resource:India ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q93295,P530,Q38) (Q93295,P530,Q155) (Q93295,P530,Q30)
action is_in
entity prev_answer
action find
entity Q93295
relation P530
[ANSWER]
['Q93295', 'P530', 'Q38'] ['Q93295', 'P530', 'Q155'] ['Q93295', 'P530', 'Q30']
ASK WHERE { resource:Q93295 property:P530 ?q . VALUES ( ?q ) { ( resource:Q801 ) ( resource:Q805 ) ( resource:Q668 ) } }
No
action is_in
entity prev_answer
action find
entity Sohland an der Spree
relation diplomatic relation
['Sohland an der Spree', 'diplomatic relation', 'Italy'] ['Sohland an der Spree', 'diplomatic relation', 'Brazil'] ['Sohland an der Spree', 'diplomatic relation', 'United States of America']
ASK WHERE { resource:Sohland_an_der_Spree property:diplomatic_relation ?q . VALUES ( ?q ) { ( resource:Israel ) ( resource:Yemen ) ( resource:India ) } }
[]