Simple Question (Direct)
Simple Question
Q22078401
P21
Q290
USER
Which sex does Gulfran Támara belong to ?
(Q22078401,P21,c(Q290))
action filter_type
action find
entity Q22078401
relation P21
type Q290
['Q22078401', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q22078401 property:P21 ?u . ?u rdf:type ontology:Q290 }
Gulfran Támara
action filter_type
action find
entity Gulfran Támara
relation gender
type sex
['Gulfran Támara', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Gulfran_Támara property:gender ?u . ?u rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q22078401,P21,c(Q290))
action filter_type
action find
entity Q22078401
relation P21
type Q290
Gulfran Támara belongs to [ANSWER]
['Q22078401', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?u WHERE { resource:Q22078401 property:P21 ?u . ?u rdf:type ontology:Q290 }
male
Gulfran Támara belongs to male
male
action filter_type
action find
entity Gulfran Támara
relation gender
type sex
['Gulfran Támara', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?u WHERE { resource:Gulfran_Támara property:gender ?u . ?u rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22078401
P27
Q15617994
USER
Which administrative territory does Gulfran Támara belong to ?
(Q22078401,P27,c(Q15617994))
action filter_type
action find
entity Q22078401
relation P27
type Q15617994
['Q22078401', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q22078401 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Gulfran Támara
action filter_type
action find
entity Gulfran Támara
relation country of citizenship
type designation for an administrative territorial entity
['Gulfran Támara', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Gulfran_Támara property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q739
SYSTEM
Colombia
Q739
(Q22078401,P27,c(Q15617994))
action filter_type
action find
entity Q22078401
relation P27
type Q15617994
Gulfran Támara belongs to [ANSWER]
['Q22078401', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q22078401 property:P27 ?f . ?f rdf:type ontology:Q15617994 }
Colombia
Gulfran Támara belongs to Colombia
Colombia
action filter_type
action find
entity Gulfran Támara
relation country of citizenship
type designation for an administrative territorial entity
['Gulfran Támara', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Gulfran_Támara property:country_of_citizenship ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q739
P137
Q3084961
USER
Which product lining is the administrator of that administrative territory ?
(c(Q3084961),P137,Q739)
action filter_type
action find_reverse
entity Q739
relation P137
type Q3084961
[{'concept': 'Q3084961'}, 'P137', 'Q739']
SELECT DISTINCT ?p WHERE { ?p property:P137 resource:Q739 . ?p rdf:type ontology:Q3084961 }
Colombia
action filter_type
action find_reverse
entity Colombia
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'Colombia']
SELECT DISTINCT ?p WHERE { ?p property:operator resource:Colombia . ?p rdf:type ontology:product_lining }
[]
product lining
Q58725
SYSTEM
T-33 Shooting Star
Q58725
(c(Q3084961),P137,Q739)
action filter_type
action find_reverse
entity Q739
relation P137
type Q3084961
[ANSWER] is the administrator of that administrative territory
[{'concept': 'Q3084961'}, 'P137', 'Q739']
SELECT DISTINCT ?p WHERE { ?p property:P137 resource:Q739 . ?p rdf:type ontology:Q3084961 }
T-33 Shooting Star
T-33 Shooting Star is the administrator of that administrative territory
T-33 Shooting Star
action filter_type
action find_reverse
entity Colombia
relation operator
type product lining
[{'concept': 'product lining'}, 'operator', 'Colombia']
SELECT DISTINCT ?p WHERE { ?p property:operator resource:Colombia . ?p rdf:type ontology:product_lining }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q58725
P366
Q11436
USER
Which aircraft is recognized as the main use of that product lining ?
(Q58725,P366,c(Q11436))
action filter_type
action find
entity Q58725
relation P366
type Q11436
['Q58725', 'P366', {'concept': 'Q11436'}]
SELECT DISTINCT ?g WHERE { resource:Q58725 property:P366 ?g . ?g rdf:type ontology:Q11436 }
T-33 Shooting Star
action filter_type
action find
entity T-33 Shooting Star
relation use
type aircraft
['T-33 Shooting Star', 'use', {'concept': 'aircraft'}]
SELECT DISTINCT ?g WHERE { resource:T-33_Shooting_Star property:use ?g . ?g rdf:type ontology:aircraft }
[]
aircraft
Q18536148
SYSTEM
advanced trainer
Q18536148
(Q58725,P366,c(Q11436))
action filter_type
action find
entity Q58725
relation P366
type Q11436
Product [ANSWER] is recognized as the main use of that product lining
['Q58725', 'P366', {'concept': 'Q11436'}]
SELECT DISTINCT ?g WHERE { resource:Q58725 property:P366 ?g . ?g rdf:type ontology:Q11436 }
advanced trainer
Product advanced trainer is recognized as the main use of that product lining
advanced trainer
action filter_type
action find
entity T-33 Shooting Star
relation use
type aircraft
['T-33 Shooting Star', 'use', {'concept': 'aircraft'}]
SELECT DISTINCT ?g WHERE { resource:T-33_Shooting_Star property:use ?g . ?g rdf:type ontology:aircraft }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q58725
P17
Q15617994
USER
Which administrative territory is that product lining located in ?
(Q18536148,P17,c(Q15617994))
action filter_type
action find
entity Q58725
relation P17
type Q15617994
['Q18536148', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q58725 property:P17 ?c }
T-33 Shooting Star
action filter_type
action find
entity T-33 Shooting Star
relation country
type designation for an administrative territorial entity
['advanced trainer', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:T-33_Shooting_Star property:country ?c }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q18536148,P17,c(Q15617994))
action filter_type
action find
entity Q58725
relation P17
type Q15617994
That product lining is located in [ANSWER]
['Q18536148', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . resource:Q58725 property:P17 ?c }
United States of America
That product lining is located in United States of America
United States of America
action filter_type
action find
entity T-33 Shooting Star
relation country
type designation for an administrative territorial entity
['advanced trainer', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:T-33_Shooting_Star property:country ?c }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q30 Q16582254
P27
Q502895
USER
Is Jorge Minissale a native of that administrative territory ?
(Q16582254,P27,Q30)
action is_in
entity Q16582254
action find
entity Q30
relation P27
['Q16582254', 'P27', 'Q30']
ASK WHERE { resource:Q30 property:P27 resource:Q16582254 }
United States of America Jorge Minissale
action is_in
entity Jorge Minissale
action find
entity United States of America
relation country of citizenship
['Jorge Minissale', 'country of citizenship', 'United States of America']
ASK WHERE { resource:United_States_of_America property:country_of_citizenship resource:Jorge_Minissale }
[]
common name
SYSTEM
NO
(Q16582254,P27,Q30)
action is_in
entity Q16582254
action find
entity Q30
relation P27
[ANSWER]
['Q16582254', 'P27', 'Q30']
ASK WHERE { resource:Q30 property:P27 resource:Q16582254 }
No
action is_in
entity Jorge Minissale
action find
entity United States of America
relation country of citizenship
['Jorge Minissale', 'country of citizenship', 'United States of America']
ASK WHERE { resource:United_States_of_America property:country_of_citizenship resource:Jorge_Minissale }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P366
Q11436 Q15056995 Q2424752
USER
Which aircrafts are the main uses of max number of aircraft models and products ?
(c(Q15056995)|c(Q2424752),P366,c(Q11436))
action argmax
action union
action find_reverse_tuple_counts
relation P366
type Q11436
type Q15056995
action find_reverse_tuple_counts
relation P366
type Q11436
type Q2424752
[[{'concept': 'Q15056995'}, {'concept': 'Q2424752'}], 'P366', {'concept': 'Q11436'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?n ) { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?s ) WHERE { ?z rdf:type ?t . VALUES ( ?t ) { ( ontology:Q15056995 ) ( ontology:Q2424752 ) } } GROUP BY ?q } } . { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?c ) WHERE { { ?f property:P366 ?a . ?a rdf:type ontology:Q11436 . ?f rdf:type ontology:Q15056995 } UNION { ?f property:P366 ?a . ?a rdf:type ontology:Q11436 . ?f rdf:type ontology:Q2424752 } } GROUP BY ?a } . FILTER ( ?c = ?n ) }
action argmax
action union
action find_reverse_tuple_counts
relation use
type aircraft
type aircraft model
action find_reverse_tuple_counts
relation use
type aircraft
type product
[[{'concept': 'aircraft model'}, {'concept': 'product'}], 'use', {'concept': 'aircraft'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?n ) { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?s ) WHERE { ?z rdf:type ?t . VALUES ( ?t ) { ( ontology:aircraft_model ) ( ontology:product ) } } GROUP BY ?q } } . { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?c ) WHERE { { ?f property:use ?a . ?a rdf:type ontology:aircraft . ?f rdf:type ontology:aircraft_model } UNION { ?f property:use ?a . ?a rdf:type ontology:aircraft . ?f rdf:type ontology:product } } GROUP BY ?a } . FILTER ( ?c = ?n ) }
[]
aircraft aircraft model product
Q1518049
SYSTEM
air superiority fighter
Q1518049
(c(Q15056995)|c(Q2424752),P366,c(Q11436))
action argmax
action union
action find_reverse_tuple_counts
relation P366
type Q11436
type Q15056995
action find_reverse_tuple_counts
relation P366
type Q11436
type Q2424752
And [ANSWER] is the main uses of max number of aircraft models and products
[[{'concept': 'Q15056995'}, {'concept': 'Q2424752'}], 'P366', {'concept': 'Q11436'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?n ) { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?s ) WHERE { ?z rdf:type ?t . VALUES ( ?t ) { ( ontology:Q15056995 ) ( ontology:Q2424752 ) } } GROUP BY ?q } } . { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?c ) WHERE { { ?f property:P366 ?a . ?a rdf:type ontology:Q11436 . ?f rdf:type ontology:Q15056995 } UNION { ?f property:P366 ?a . ?a rdf:type ontology:Q11436 . ?f rdf:type ontology:Q2424752 } } GROUP BY ?a } . FILTER ( ?c = ?n ) }
air superiority fighter
And air superiority fighter is the main uses of max number of aircraft models and products
air superiority fighter
action argmax
action union
action find_reverse_tuple_counts
relation use
type aircraft
type aircraft model
action find_reverse_tuple_counts
relation use
type aircraft
type product
[[{'concept': 'aircraft model'}, {'concept': 'product'}], 'use', {'concept': 'aircraft'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?s ) AS ?n ) { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?s ) WHERE { ?z rdf:type ?t . VALUES ( ?t ) { ( ontology:aircraft_model ) ( ontology:product ) } } GROUP BY ?q } } . { SELECT DISTINCT ?a ( COUNT ( ?f ) AS ?c ) WHERE { { ?f property:use ?a . ?a rdf:type ontology:aircraft . ?f rdf:type ontology:aircraft_model } UNION { ?f property:use ?a . ?a rdf:type ontology:aircraft . ?f rdf:type ontology:product } } GROUP BY ?a } . FILTER ( ?c = ?n ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q11410
P366
Q1914636 Q11436
USER
Which activities are recognized as the main use of more number of aircrafts than game ?
(c(Q11436),P366,c(Q1914636))
action greater
action find_reverse_tuple_counts
relation P366
type Q1914636
type Q11436
action count
action filter_type
action find
entity Q11410
relation P366
type Q1914636
[{'concept': 'Q11436'}, 'P366', {'concept': 'Q1914636'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?w ) AS ?m ) WHERE { ?w property:P366 ?j . ?j rdf:type ontology:Q1914636 . ?w rdf:type ontology:Q11436 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { ?c rdf:type ontology:Q1914636 . resource:Q11410 property:P366 ?c } } . FILTER ( ?m > ?p ) }
game
action greater
action find_reverse_tuple_counts
relation use
type activity
type aircraft
action count
action filter_type
action find
entity game
relation use
type activity
[{'concept': 'aircraft'}, 'use', {'concept': 'activity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?w ) AS ?m ) WHERE { ?w property:use ?j . ?j rdf:type ontology:activity . ?w rdf:type ontology:aircraft } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { ?c rdf:type ontology:activity . resource:game property:use ?c } } . FILTER ( ?m > ?p ) }
[]
activity aircraft
Q383695 Q678305 Q18156017
SYSTEM
flight training, ultralight aviation, glider towing
Q383695 Q678305 Q18156017
(c(Q11436),P366,c(Q1914636))
action greater
action find_reverse_tuple_counts
relation P366
type Q1914636
type Q11436
action count
action filter_type
action find
entity Q11410
relation P366
type Q1914636
[ANSWERS] are recognized as the main use of more number of aircrafts than game
[{'concept': 'Q11436'}, 'P366', {'concept': 'Q1914636'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?w ) AS ?m ) WHERE { ?w property:P366 ?j . ?j rdf:type ontology:Q1914636 . ?w rdf:type ontology:Q11436 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { ?c rdf:type ontology:Q1914636 . resource:Q11410 property:P366 ?c } } . FILTER ( ?m > ?p ) }
flight training ultralight aviation glider towing
Flight training, ultralight aviation and glider towing are recognized as the main use of more number of aircrafts than game
flight training ultralight aviation glider towing
action greater
action find_reverse_tuple_counts
relation use
type activity
type aircraft
action count
action filter_type
action find
entity game
relation use
type activity
[{'concept': 'aircraft'}, 'use', {'concept': 'activity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?w ) AS ?m ) WHERE { ?w property:use ?j . ?j rdf:type ontology:activity . ?w rdf:type ontology:aircraft } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { ?c rdf:type ontology:activity . resource:game property:use ?c } } . FILTER ( ?m > ?p ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q11635
P366
Q1914636 Q11436
USER
And what about theater?
(c(Q11436),P366,c(Q1914636))
action greater
action find_reverse_tuple_counts
relation P366
type Q1914636
type Q11436
action count
action filter_type
action find
entity Q11635
relation P366
type Q1914636
[{'concept': 'Q11436'}, 'P366', {'concept': 'Q1914636'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?v ) WHERE { ?y rdf:type ontology:Q1914636 . ?e rdf:type ontology:Q11436 . ?e property:P366 ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { resource:Q11635 property:P366 ?p . ?p rdf:type ontology:Q1914636 } } . FILTER ( ?v > ?j ) }
theater
action greater
action find_reverse_tuple_counts
relation use
type activity
type aircraft
action count
action filter_type
action find
entity theater
relation use
type activity
[{'concept': 'aircraft'}, 'use', {'concept': 'activity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?v ) WHERE { ?y rdf:type ontology:activity . ?e rdf:type ontology:aircraft . ?e property:use ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { resource:theater property:use ?p . ?p rdf:type ontology:activity } } . FILTER ( ?v > ?j ) }
[]
activity aircraft
Q383695 Q678305 Q18156017
SYSTEM
flight training, ultralight aviation, glider towing
Q383695 Q678305 Q18156017
(c(Q11436),P366,c(Q1914636))
action greater
action find_reverse_tuple_counts
relation P366
type Q1914636
type Q11436
action count
action filter_type
action find
entity Q11635
relation P366
type Q1914636
[ANSWERS]
[{'concept': 'Q11436'}, 'P366', {'concept': 'Q1914636'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?v ) WHERE { ?y rdf:type ontology:Q1914636 . ?e rdf:type ontology:Q11436 . ?e property:P366 ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { resource:Q11635 property:P366 ?p . ?p rdf:type ontology:Q1914636 } } . FILTER ( ?v > ?j ) }
flight training ultralight aviation glider towing
flight training ultralight aviation glider towing
action greater
action find_reverse_tuple_counts
relation use
type activity
type aircraft
action count
action filter_type
action find
entity theater
relation use
type activity
[{'concept': 'aircraft'}, 'use', {'concept': 'activity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?e ) AS ?v ) WHERE { ?y rdf:type ontology:activity . ?e rdf:type ontology:aircraft . ?e property:use ?y } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?j ) WHERE { resource:theater property:use ?p . ?p rdf:type ontology:activity } } . FILTER ( ?v > ?j ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6711264 Q22078401
P19
Q13220204
USER
Which administrative country subdivisions are the birthplace of Gulfran Támara or Líder Mármol ?
OR((Q22078401,P19,c(Q13220204)), (Q6711264,P19,c(Q13220204)))
action filter_type
action union
action find
entity Q22078401
relation P19
action find
entity Q6711264
relation P19
type Q13220204
{'OR': [['Q22078401', 'P19', {'concept': 'Q13220204'}], ['Q6711264', 'P19', {'concept': 'Q13220204'}]]}
SELECT DISTINCT ?y WHERE { { ?c property:P19 ?y . VALUES ( ?c ) { ( resource:Q6711264 ) ( resource:Q22078401 ) } } . ?y rdf:type ontology:Q13220204 }
Líder Mármol Gulfran Támara
action filter_type
action union
action find
entity Gulfran Támara
relation place of birth
action find
entity Líder Mármol
relation place of birth
type second-level administrative country subdivision
{'OR': [['Gulfran Támara', 'place of birth', {'concept': 'second-level administrative country subdivision'}], ['Líder Mármol', 'place of birth', {'concept': 'second-level administrative country subdivision'}]]}
SELECT DISTINCT ?y WHERE { { ?c property:place_of_birth ?y . VALUES ( ?c ) { ( resource:Líder_Mármol ) ( resource:Gulfran_Támara ) } } . ?y rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q62823 Q2445886
SYSTEM
Barranquilla, Doctor Juan León Mallorquín District
Q62823 Q2445886
OR((Q22078401,P19,c(Q13220204)), (Q6711264,P19,c(Q13220204)))
action filter_type
action union
action find
entity Q22078401
relation P19
action find
entity Q6711264
relation P19
type Q13220204
[ANSWERS] are the birthplace of Gulfran Támara or Líder Mármol
{'OR': [['Q22078401', 'P19', {'concept': 'Q13220204'}], ['Q6711264', 'P19', {'concept': 'Q13220204'}]]}
SELECT DISTINCT ?y WHERE { { ?c property:P19 ?y . VALUES ( ?c ) { ( resource:Q6711264 ) ( resource:Q22078401 ) } } . ?y rdf:type ontology:Q13220204 }
Barranquilla Doctor Juan León Mallorquín District
Barranquilla and Doctor Juan León Mallorquín District are the birthplace of Gulfran Támara or Líder Mármol
Barranquilla Doctor Juan León Mallorquín District
action filter_type
action union
action find
entity Gulfran Támara
relation place of birth
action find
entity Líder Mármol
relation place of birth
type second-level administrative country subdivision
{'OR': [['Gulfran Támara', 'place of birth', {'concept': 'second-level administrative country subdivision'}], ['Líder Mármol', 'place of birth', {'concept': 'second-level administrative country subdivision'}]]}
SELECT DISTINCT ?y WHERE { { ?c property:place_of_birth ?y . VALUES ( ?c ) { ( resource:Líder_Mármol ) ( resource:Gulfran_Támara ) } } . ?y rdf:type ontology:second-level_administrative_country_subdivision }
[]