Simple Question (Direct)
Simple Question
Q15831170
P106
Q12737077
USER
Which occupation is the profession of Ronan Queiroz de Paula Afonso ?
(Q15831170,P106,c(Q12737077))
action filter_type
action find
entity Q15831170
relation P106
type Q12737077
['Q15831170', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12737077 . resource:Q15831170 property:P106 ?r }
Ronan Queiroz de Paula Afonso
action filter_type
action find
entity Ronan Queiroz de Paula Afonso
relation occupation
type occupation
['Ronan Queiroz de Paula Afonso', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:occupation . resource:Ronan_Queiroz_de_Paula_Afonso property:occupation ?r }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q15831170,P106,c(Q12737077))
action filter_type
action find
entity Q15831170
relation P106
type Q12737077
[ANSWER] is the profession of Ronan Queiroz de Paula Afonso
['Q15831170', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q12737077 . resource:Q15831170 property:P106 ?r }
association football player
Association football player is the profession of Ronan Queiroz de Paula Afonso
association football player
action filter_type
action find
entity Ronan Queiroz de Paula Afonso
relation occupation
type occupation
['Ronan Queiroz de Paula Afonso', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:occupation . resource:Ronan_Queiroz_de_Paula_Afonso property:occupation ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15831170
P19
Q1048835
USER
Where was Ronan Queiroz de Paula Afonso born ?
(Q15831170,P19,c(Q1048835))
action filter_type
action find
entity Q15831170
relation P19
type Q1048835
['Q15831170', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q1048835 . resource:Q15831170 property:P19 ?q }
Ronan Queiroz de Paula Afonso
action filter_type
action find
entity Ronan Queiroz de Paula Afonso
relation place of birth
type political territorial entity
['Ronan Queiroz de Paula Afonso', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:political_territorial_entity . resource:Ronan_Queiroz_de_Paula_Afonso property:place_of_birth ?q }
[]
political territorial entity
Q168376
SYSTEM
Vitória
Q168376
(Q15831170,P19,c(Q1048835))
action filter_type
action find
entity Q15831170
relation P19
type Q1048835
Ronan Queiroz de Paula Afonso was born in [ANSWER]
['Q15831170', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q1048835 . resource:Q15831170 property:P19 ?q }
Vitória
Ronan Queiroz de Paula Afonso was born in Vitória
Vitória
action filter_type
action find
entity Ronan Queiroz de Paula Afonso
relation place of birth
type political territorial entity
['Ronan Queiroz de Paula Afonso', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:political_territorial_entity . resource:Ronan_Queiroz_de_Paula_Afonso property:place_of_birth ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15831170
P21
Q290
USER
Which sex does that person possess ?
(Q168376,P21,c(Q290))
action filter_type
action find
entity Q15831170
relation P21
type Q290
['Q168376', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q15831170 property:P21 ?q . ?q rdf:type ontology:Q290 }
Ronan Queiroz de Paula Afonso
action filter_type
action find
entity Ronan Queiroz de Paula Afonso
relation gender
type sex
['Vitória', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Ronan_Queiroz_de_Paula_Afonso property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q168376,P21,c(Q290))
action filter_type
action find
entity Q15831170
relation P21
type Q290
That person possesses a [ANSWER]
['Q168376', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q15831170 property:P21 ?q . ?q rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity Ronan Queiroz de Paula Afonso
relation gender
type sex
['Vitória', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Ronan_Queiroz_de_Paula_Afonso property:gender ?q . ?q rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q11866869 Q15831170
P21
Q290
USER
Or Jong Pok-sim?
OR((Q15831170,P21,c(Q290)), (Q11866869,P21,c(Q290)))
action filter_type
action union
action find
entity Q15831170
relation P21
action find
entity Q11866869
relation P21
type Q290
{'OR': [['Q15831170', 'P21', {'concept': 'Q290'}], ['Q11866869', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?m WHERE { { ?h property:P21 ?m . VALUES ( ?h ) { ( resource:Q11866869 ) ( resource:Q15831170 ) } } . ?m rdf:type ontology:Q290 }
Jong Pok-sim Ronan Queiroz de Paula Afonso
action filter_type
action union
action find
entity Ronan Queiroz de Paula Afonso
relation gender
action find
entity Jong Pok-sim
relation gender
type sex
{'OR': [['Ronan Queiroz de Paula Afonso', 'gender', {'concept': 'sex'}], ['Jong Pok-sim', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?m WHERE { { ?h property:gender ?m . VALUES ( ?h ) { ( resource:Jong_Pok-sim ) ( resource:Ronan_Queiroz_de_Paula_Afonso ) } } . ?m rdf:type ontology:sex }
[]
sex
Q6581097 Q6581072
SYSTEM
male, female
Q6581097 Q6581072
OR((Q15831170,P21,c(Q290)), (Q11866869,P21,c(Q290)))
action filter_type
action union
action find
entity Q15831170
relation P21
action find
entity Q11866869
relation P21
type Q290
[ANSWERS]
{'OR': [['Q15831170', 'P21', {'concept': 'Q290'}], ['Q11866869', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?m WHERE { { ?h property:P21 ?m . VALUES ( ?h ) { ( resource:Q11866869 ) ( resource:Q15831170 ) } } . ?m rdf:type ontology:Q290 }
male female
male female
action filter_type
action union
action find
entity Ronan Queiroz de Paula Afonso
relation gender
action find
entity Jong Pok-sim
relation gender
type sex
{'OR': [['Ronan Queiroz de Paula Afonso', 'gender', {'concept': 'sex'}], ['Jong Pok-sim', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?m WHERE { { ?h property:gender ?m . VALUES ( ?h ) { ( resource:Jong_Pok-sim ) ( resource:Ronan_Queiroz_de_Paula_Afonso ) } } . ?m rdf:type ontology:sex }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q13844
P706
Q1048835 Q107425 Q1048835
USER
Which political territories have their location as greater number of political territories and landscapes than Leyte ?
(c(Q1048835),P706,c(Q1048835)|c(Q107425))
action greater
action union
action find_tuple_counts
relation P706
type Q1048835
type Q1048835
action find_tuple_counts
relation P706
type Q1048835
type Q107425
action count
action filter_multi_types
action find
entity Q13844
relation P706
type Q1048835
type Q107425
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q1048835'}, {'concept': 'Q107425'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?d ) AS ?e ) WHERE { { ?y property:P706 ?d . ?y rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q1048835 } UNION { ?y property:P706 ?d . ?y rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q107425 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { resource:Q13844 property:P706 ?k . { ?k rdf:type ?t . VALUES ( ?t ) { ( ontology:Q1048835 ) ( ontology:Q107425 ) } } } } . FILTER ( ?e > ?g ) }
Leyte
action greater
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type political territorial entity
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type landscape
action count
action filter_multi_types
action find
entity Leyte
relation located on terrain feature
type political territorial entity
type landscape
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'political territorial entity'}, {'concept': 'landscape'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?d ) AS ?e ) WHERE { { ?y property:located_on_terrain_feature ?d . ?y rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:political_territorial_entity } UNION { ?y property:located_on_terrain_feature ?d . ?y rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:landscape } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { resource:Leyte property:located_on_terrain_feature ?k . { ?k rdf:type ?t . VALUES ( ?t ) { ( ontology:political_territorial_entity ) ( ontology:landscape ) } } } } . FILTER ( ?e > ?g ) }
[]
political territorial entity landscape political territorial entity
Q769 Q9337
SYSTEM
Grenada, Flemish Region
Q769 Q9337
(c(Q1048835),P706,c(Q1048835)|c(Q107425))
action greater
action union
action find_tuple_counts
relation P706
type Q1048835
type Q1048835
action find_tuple_counts
relation P706
type Q1048835
type Q107425
action count
action filter_multi_types
action find
entity Q13844
relation P706
type Q1048835
type Q107425
[ANSWERS] have their location as greater number of political territories and landscapes than Leyte
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q1048835'}, {'concept': 'Q107425'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?d ) AS ?e ) WHERE { { ?y property:P706 ?d . ?y rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q1048835 } UNION { ?y property:P706 ?d . ?y rdf:type ontology:Q1048835 . ?d rdf:type ontology:Q107425 } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { resource:Q13844 property:P706 ?k . { ?k rdf:type ?t . VALUES ( ?t ) { ( ontology:Q1048835 ) ( ontology:Q107425 ) } } } } . FILTER ( ?e > ?g ) }
Grenada Flemish Region
Grenada and Flemish Region have their location as greater number of political territories and landscapes than Leyte
Grenada Flemish Region
action greater
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type political territorial entity
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type landscape
action count
action filter_multi_types
action find
entity Leyte
relation located on terrain feature
type political territorial entity
type landscape
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'political territorial entity'}, {'concept': 'landscape'}]]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?d ) AS ?e ) WHERE { { ?y property:located_on_terrain_feature ?d . ?y rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:political_territorial_entity } UNION { ?y property:located_on_terrain_feature ?d . ?y rdf:type ontology:political_territorial_entity . ?d rdf:type ontology:landscape } } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { resource:Leyte property:located_on_terrain_feature ?k . { ?k rdf:type ?t . VALUES ( ?t ) { ( ontology:political_territorial_entity ) ( ontology:landscape ) } } } } . FILTER ( ?e > ?g ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q943948
P706
Q1048835 Q107425 Q1048835
USER
And what about Santa Maria del Camí?
(c(Q1048835),P706,c(Q1048835)|c(Q107425))
action greater
action union
action find_tuple_counts
relation P706
type Q1048835
type Q1048835
action find_tuple_counts
relation P706
type Q1048835
type Q107425
action count
action filter_multi_types
action find
entity Q943948
relation P706
type Q1048835
type Q107425
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q1048835'}, {'concept': 'Q107425'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { { VALUES ( ?b ) { ( ontology:Q1048835 ) ( ontology:Q107425 ) } . ?u rdf:type ?b } . resource:Q943948 property:P706 ?u } } . FILTER ( ?c > ?k ) . { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?c ) WHERE { { ?g property:P706 ?j . ?g rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q1048835 } UNION { ?g property:P706 ?j . ?g rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q107425 } } GROUP BY ?g } }
Santa Maria del Camí
action greater
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type political territorial entity
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type landscape
action count
action filter_multi_types
action find
entity Santa Maria del Camí
relation located on terrain feature
type political territorial entity
type landscape
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'political territorial entity'}, {'concept': 'landscape'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { { VALUES ( ?b ) { ( ontology:political_territorial_entity ) ( ontology:landscape ) } . ?u rdf:type ?b } . resource:Santa_Maria_del_Camí property:located_on_terrain_feature ?u } } . FILTER ( ?c > ?k ) . { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?c ) WHERE { { ?g property:located_on_terrain_feature ?j . ?g rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:political_territorial_entity } UNION { ?g property:located_on_terrain_feature ?j . ?g rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:landscape } } GROUP BY ?g } }
[]
political territorial entity landscape political territorial entity
Q769 Q9337
SYSTEM
Grenada, Flemish Region
Q769 Q9337
(c(Q1048835),P706,c(Q1048835)|c(Q107425))
action greater
action union
action find_tuple_counts
relation P706
type Q1048835
type Q1048835
action find_tuple_counts
relation P706
type Q1048835
type Q107425
action count
action filter_multi_types
action find
entity Q943948
relation P706
type Q1048835
type Q107425
[ANSWERS]
[{'concept': 'Q1048835'}, 'P706', [{'concept': 'Q1048835'}, {'concept': 'Q107425'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { { VALUES ( ?b ) { ( ontology:Q1048835 ) ( ontology:Q107425 ) } . ?u rdf:type ?b } . resource:Q943948 property:P706 ?u } } . FILTER ( ?c > ?k ) . { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?c ) WHERE { { ?g property:P706 ?j . ?g rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q1048835 } UNION { ?g property:P706 ?j . ?g rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q107425 } } GROUP BY ?g } }
Grenada Flemish Region
Grenada Flemish Region
action greater
action union
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type political territorial entity
action find_tuple_counts
relation located on terrain feature
type political territorial entity
type landscape
action count
action filter_multi_types
action find
entity Santa Maria del Camí
relation located on terrain feature
type political territorial entity
type landscape
[{'concept': 'political territorial entity'}, 'located on terrain feature', [{'concept': 'political territorial entity'}, {'concept': 'landscape'}]]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?k ) WHERE { { VALUES ( ?b ) { ( ontology:political_territorial_entity ) ( ontology:landscape ) } . ?u rdf:type ?b } . resource:Santa_Maria_del_Camí property:located_on_terrain_feature ?u } } . FILTER ( ?c > ?k ) . { SELECT DISTINCT ?g ( COUNT ( ?j ) AS ?c ) WHERE { { ?g property:located_on_terrain_feature ?j . ?g rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:political_territorial_entity } UNION { ?g property:located_on_terrain_feature ?j . ?g rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:landscape } } GROUP BY ?g } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q769
P30
Q2221906
USER
Where is Grenada located ?
(Q769,P30,c(Q2221906))
action filter_type
action find
entity Q769
relation P30
type Q2221906
['Q769', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?n WHERE { resource:Q769 property:P30 ?n . ?n rdf:type ontology:Q2221906 }
Grenada
action filter_type
action find
entity Grenada
relation continent
type geographic location
['Grenada', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?n WHERE { resource:Grenada property:continent ?n . ?n rdf:type ontology:geographic_location }
[]
geographic location
Q49
SYSTEM
North America
Q49
(Q769,P30,c(Q2221906))
action filter_type
action find
entity Q769
relation P30
type Q2221906
Grenada is located in [ANSWER]
['Q769', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?n WHERE { resource:Q769 property:P30 ?n . ?n rdf:type ontology:Q2221906 }
North America
Grenada is located in North America
North America
action filter_type
action find
entity Grenada
relation continent
type geographic location
['Grenada', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?n WHERE { resource:Grenada property:continent ?n . ?n rdf:type ontology:geographic_location }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16901334
Q2221906
USER
And how about Taylor Ledge?
(Q16901334,P30,c(Q2221906))
action filter_type
action find
entity Q16901334
relation P30
type Q2221906
['Q16901334', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?h WHERE { resource:Q16901334 property:P30 ?h . ?h rdf:type ontology:Q2221906 }
Taylor Ledge
action filter_type
action find
entity Taylor Ledge
relation continent
type geographic location
['Taylor Ledge', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?h WHERE { resource:Taylor_Ledge property:continent ?h . ?h rdf:type ontology:geographic_location }
[]
geographic location
Q51
SYSTEM
Antarctica
Q51
(Q16901334,P30,c(Q2221906))
action filter_type
action find
entity Q16901334
relation P30
type Q2221906
[ANSWER]
['Q16901334', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?h WHERE { resource:Q16901334 property:P30 ?h . ?h rdf:type ontology:Q2221906 }
Antarctica
Antarctica
action filter_type
action find
entity Taylor Ledge
relation continent
type geographic location
['Taylor Ledge', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?h WHERE { resource:Taylor_Ledge property:continent ?h . ?h rdf:type ontology:geographic_location }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P706
Q2221906 Q151885
USER
Which concepts are located in around 2 geographic locations ?
(c(Q151885),P706,c(Q2221906))
action approx
action find_tuple_counts
relation P706
type Q151885
type Q2221906
value 2
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?w ) AS ?z ) WHERE { ?r property:P706 ?w . ?w rdf:type ontology:Q2221906 . ?r rdf:type ontology:Q151885 } GROUP BY ?r } . FILTER ( ?z = 2 ) }
action approx
action find_tuple_counts
relation located on terrain feature
type concept
type geographic location
value 2
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?w ) AS ?z ) WHERE { ?r property:located_on_terrain_feature ?w . ?w rdf:type ontology:geographic_location . ?r rdf:type ontology:concept } GROUP BY ?r } . FILTER ( ?z = 2 ) }
[]
geographic location concept
Q693549 Q459376 Q2560070
SYSTEM
Magdalenian, Andronovo culture, Magosian
Q2560070 Q893119 Q693549 Q2603061 Q3485378 Q459376
(c(Q151885),P706,c(Q2221906))
action approx
action find_tuple_counts
relation P706
type Q151885
type Q2221906
value 2
[ANSWERS] are located in around 2 geographic locations
[{'concept': 'Q151885'}, 'P706', {'concept': 'Q2221906'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?w ) AS ?z ) WHERE { ?r property:P706 ?w . ?w rdf:type ontology:Q2221906 . ?r rdf:type ontology:Q151885 } GROUP BY ?r } . FILTER ( ?z = 2 ) }
Magosian Boat Axe culture Magdalenian Coțofeni culture Clovis culture Andronovo culture
Magdalenian, Andronovo culture and Magosian are located in around 2 geographic locations
Magdalenian Andronovo culture Magosian
action approx
action find_tuple_counts
relation located on terrain feature
type concept
type geographic location
value 2
[{'concept': 'concept'}, 'located on terrain feature', {'concept': 'geographic location'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?w ) AS ?z ) WHERE { ?r property:located_on_terrain_feature ?w . ?w rdf:type ontology:geographic_location . ?r rdf:type ontology:concept } GROUP BY ?r } . FILTER ( ?z = 2 ) }
[]