Simple Question (Direct)
Simple Question
Q3336050
P19
Q56061
USER
Which administrative territory is the birthplace of Narciso de Andrade ?
(Q3336050,P19,c(Q56061))
action filter_type
action find
entity Q3336050
relation P19
type Q56061
['Q3336050', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q3336050 property:P19 ?e . ?e rdf:type ontology:Q56061 }
Narciso de Andrade
action filter_type
action find
entity Narciso de Andrade
relation place of birth
type administrative territorial entity
['Narciso de Andrade', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Narciso_de_Andrade property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q174
SYSTEM
São Paulo
Q174
(Q3336050,P19,c(Q56061))
action filter_type
action find
entity Q3336050
relation P19
type Q56061
[ANSWER] is the birthplace of Narciso de Andrade
['Q3336050', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { resource:Q3336050 property:P19 ?e . ?e rdf:type ontology:Q56061 }
São Paulo
São Paulo is the birthplace of Narciso de Andrade
São Paulo
action filter_type
action find
entity Narciso de Andrade
relation place of birth
type administrative territorial entity
['Narciso de Andrade', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Narciso_de_Andrade property:place_of_birth ?e . ?e rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3336050
P106
Q12737077
USER
What are the professions of Narciso de Andrade ?
(Q3336050,P106,c(Q12737077))
action filter_type
action find
entity Q3336050
relation P106
type Q12737077
['Q3336050', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q3336050 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Narciso de Andrade
action filter_type
action find
entity Narciso de Andrade
relation occupation
type occupation
['Narciso de Andrade', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Narciso_de_Andrade property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q1930187 Q36180 Q49757
SYSTEM
journalist, writer, poet
Q1930187 Q36180 Q49757
(Q3336050,P106,c(Q12737077))
action filter_type
action find
entity Q3336050
relation P106
type Q12737077
The professions of Narciso de Andrade are [ANSWERS]
['Q3336050', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q3336050 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
journalist writer poet
The professions of Narciso de Andrade are journalist, writer and poet
journalist writer poet
action filter_type
action find
entity Narciso de Andrade
relation occupation
type occupation
['Narciso de Andrade', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Narciso_de_Andrade property:occupation ?y . ?y rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3336050
P27
Q15617994
USER
Which administrative territory does Narciso de Andrade belong to ?
(Q3336050,P27,c(Q15617994))
action filter_type
action find
entity Q3336050
relation P27
type Q15617994
['Q3336050', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q3336050 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Narciso de Andrade
action filter_type
action find
entity Narciso de Andrade
relation country of citizenship
type designation for an administrative territorial entity
['Narciso de Andrade', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Narciso_de_Andrade property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(Q3336050,P27,c(Q15617994))
action filter_type
action find
entity Q3336050
relation P27
type Q15617994
Narciso de Andrade belongs in [ANSWER]
['Q3336050', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q3336050 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Brazil
Narciso de Andrade belongs in Brazil
Brazil
action filter_type
action find
entity Narciso de Andrade
relation country of citizenship
type designation for an administrative territorial entity
['Narciso de Andrade', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Narciso_de_Andrade property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3336050
P21
Q290
USER
Which sex does that person belong to ?
(Q155,P21,c(Q290))
action filter_type
action find
entity Q3336050
relation P21
type Q290
['Q155', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q3336050 property:P21 ?p . ?p rdf:type ontology:Q290 }
Narciso de Andrade
action filter_type
action find
entity Narciso de Andrade
relation gender
type sex
['Brazil', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Narciso_de_Andrade property:gender ?p . ?p rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q155,P21,c(Q290))
action filter_type
action find
entity Q3336050
relation P21
type Q290
That person belongs to [ANSWER]
['Q155', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q3336050 property:P21 ?p . ?p rdf:type ontology:Q290 }
male
That person belongs to male
male
action filter_type
action find
entity Narciso de Andrade
relation gender
type sex
['Brazil', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Narciso_de_Andrade property:gender ?p . ?p rdf:type ontology:sex }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q43845
P921
Q12737077 Q2342494 Q838948
USER
Which occupations were greater number of collectables and works of art mainly about than businessperson ?
(c(Q2342494)|c(Q838948),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q43845
relation P921
type Q2342494
type Q838948
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) ?t WHERE { { ?m property:P921 ?t . ?t rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q838948 } UNION { ?t rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q2342494 . ?m property:P921 ?t } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:P921 resource:Q43845 . { ?j rdf:type ?f . VALUES ( ?f ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } } } } . FILTER ( ?a > ?d ) }
businessperson
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity businessperson
relation main subject
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) ?t WHERE { { ?m property:main_subject ?t . ?t rdf:type ontology:occupation . ?m rdf:type ontology:work_of_art } UNION { ?t rdf:type ontology:occupation . ?m rdf:type ontology:collectable . ?m property:main_subject ?t } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:main_subject resource:businessperson . { ?j rdf:type ?f . VALUES ( ?f ) { ( ontology:collectable ) ( ontology:work_of_art ) } } } } . FILTER ( ?a > ?d ) }
[]
occupation collectable work of art
Q1930187 Q937857 Q16746569
SYSTEM
journalist, association football player, high school student
Q39631 Q11631 Q33999 Q1930187 Q937857 Q9402 Q101539 Q164236 Q16746569 Q16003605 Q33231 Q16003532
(c(Q2342494)|c(Q838948),P921,c(Q12737077))
action greater
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q43845
relation P921
type Q2342494
type Q838948
The [ANSWERS] were greater number of collectables and works of art mainly about than businessperson
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) ?t WHERE { { ?m property:P921 ?t . ?t rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q838948 } UNION { ?t rdf:type ontology:Q12737077 . ?m rdf:type ontology:Q2342494 . ?m property:P921 ?t } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:P921 resource:Q43845 . { ?j rdf:type ?f . VALUES ( ?f ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } } } } . FILTER ( ?a > ?d ) }
physician astronaut actor journalist association football player ninja flight attendant war correspondent high school student elementary school student photographer middle school student
The journalist, association football player and high school student were greater number of collectables and works of art mainly about than businessperson
journalist association football player high school student
action greater
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
action find_reverse_tuple_counts
relation main subject
type occupation
type work of art
action count
action filter_multi_types
action find_reverse
entity businessperson
relation main subject
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?a ) ?t WHERE { { ?m property:main_subject ?t . ?t rdf:type ontology:occupation . ?m rdf:type ontology:work_of_art } UNION { ?t rdf:type ontology:occupation . ?m rdf:type ontology:collectable . ?m property:main_subject ?t } } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { ?j property:main_subject resource:businessperson . { ?j rdf:type ?f . VALUES ( ?f ) { ( ontology:collectable ) ( ontology:work_of_art ) } } } } . FILTER ( ?a > ?d ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q155
P138
Q34442 Q102786
USER
How many roads or abbreviations have Brazil as their namesake ?
(c(Q34442),P138,Q155) (c(Q102786),P138,Q155)
action count
action union
action filter_type
action find_reverse
entity Q155
relation P138
type Q34442
action filter_type
action find_reverse
entity Q155
relation P138
type Q102786
[{'concept': 'Q34442'}, 'P138', 'Q155'] [{'concept': 'Q102786'}, 'P138', 'Q155']
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { ?h rdf:type ?s . VALUES ( ?s ) { ( ontology:Q102786 ) ( ontology:Q34442 ) } }
Brazil
action count
action union
action filter_type
action find_reverse
entity Brazil
relation named after
type road
action filter_type
action find_reverse
entity Brazil
relation named after
type abbreviation
[{'concept': 'road'}, 'named after', 'Brazil'] [{'concept': 'abbreviation'}, 'named after', 'Brazil']
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { ?h rdf:type ?s . VALUES ( ?s ) { ( ontology:abbreviation ) ( ontology:road ) } }
[]
road abbreviation
SYSTEM
2
Q833202 Q27212874
(c(Q34442),P138,Q155) (c(Q102786),P138,Q155)
action count
action union
action filter_type
action find_reverse
entity Q155
relation P138
type Q34442
action filter_type
action find_reverse
entity Q155
relation P138
type Q102786
[ANSWER]
[{'concept': 'Q34442'}, 'P138', 'Q155'] [{'concept': 'Q102786'}, 'P138', 'Q155']
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { ?h rdf:type ?s . VALUES ( ?s ) { ( ontology:Q102786 ) ( ontology:Q34442 ) } }
BRIC avenida de Brasil
2
action count
action union
action filter_type
action find_reverse
entity Brazil
relation named after
type road
action filter_type
action find_reverse
entity Brazil
relation named after
type abbreviation
[{'concept': 'road'}, 'named after', 'Brazil'] [{'concept': 'abbreviation'}, 'named after', 'Brazil']
SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { ?h rdf:type ?s . VALUES ( ?s ) { ( ontology:abbreviation ) ( ontology:road ) } }
[]