Simple Question (Direct)
Simple Question
Q5428179
P19
Q1048835
USER
Which political territory was Fabricio Ramos Melo born in ?
(Q5428179,P19,c(Q1048835))
action filter_type
action find
entity Q5428179
relation P19
type Q1048835
['Q5428179', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { resource:Q5428179 property:P19 ?h . ?h rdf:type ontology:Q1048835 }
Fabricio Ramos Melo
action filter_type
action find
entity Fabricio Ramos Melo
relation place of birth
type political territorial entity
['Fabricio Ramos Melo', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Fabricio_Ramos_Melo property:place_of_birth ?h . ?h rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q1805230
SYSTEM
Tomé-Açu
Q1805230
(Q5428179,P19,c(Q1048835))
action filter_type
action find
entity Q5428179
relation P19
type Q1048835
Fabricio Ramos Melo was born São [ANSWER]
['Q5428179', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { resource:Q5428179 property:P19 ?h . ?h rdf:type ontology:Q1048835 }
Tomé-Açu
Fabricio Ramos Melo was born São Tomé-Açu
Tomé-Açu
action filter_type
action find
entity Fabricio Ramos Melo
relation place of birth
type political territorial entity
['Fabricio Ramos Melo', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Fabricio_Ramos_Melo property:place_of_birth ?h . ?h rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5428179
P641
Q349
USER
Which sport did Fabricio Ramos Melo participate in ?
(Q5428179,P641,c(Q349))
action filter_type
action find
entity Q5428179
relation P641
type Q349
['Q5428179', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { resource:Q5428179 property:P641 ?n . ?n rdf:type ontology:Q349 }
Fabricio Ramos Melo
action filter_type
action find
entity Fabricio Ramos Melo
relation sport
type sport
['Fabricio Ramos Melo', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { resource:Fabricio_Ramos_Melo property:sport ?n . ?n rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q5428179,P641,c(Q349))
action filter_type
action find
entity Q5428179
relation P641
type Q349
Fabricio Ramos Melo participated in [ANSWER]
['Q5428179', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { resource:Q5428179 property:P641 ?n . ?n rdf:type ontology:Q349 }
association football
Fabricio Ramos Melo participated in association football
association football
action filter_type
action find
entity Fabricio Ramos Melo
relation sport
type sport
['Fabricio Ramos Melo', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { resource:Fabricio_Ramos_Melo property:sport ?n . ?n rdf:type ontology:sport }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2736 Q3771341
P641
Q502895
USER
Does Giuseppe Romano play that sport ?
(Q3771341,P641,Q2736)
action is_in
entity Q2736
action find
entity Q3771341
relation P641
['Q3771341', 'P641', 'Q2736']
ASK WHERE { resource:Q3771341 property:P641 resource:Q2736 }
association football Giuseppe Romano
action is_in
entity association football
action find
entity Giuseppe Romano
relation sport
['Giuseppe Romano', 'sport', 'association football']
ASK WHERE { resource:Giuseppe_Romano property:sport resource:association_football }
[]
common name
SYSTEM
YES
(Q3771341,P641,Q2736)
action is_in
entity Q2736
action find
entity Q3771341
relation P641
[ANSWER]
['Q3771341', 'P641', 'Q2736']
ASK WHERE { resource:Q3771341 property:P641 resource:Q2736 }
Yes
action is_in
entity association football
action find
entity Giuseppe Romano
relation sport
['Giuseppe Romano', 'sport', 'association football']
ASK WHERE { resource:Giuseppe_Romano property:sport resource:association_football }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q10439714 Q3771341
P27
Q15617994
USER
Which administrative territories do Giuseppe Romano or Luis Antonio Regalado belong to ?
OR((Q3771341,P27,c(Q15617994)), (Q10439714,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3771341
relation P27
action find
entity Q10439714
relation P27
type Q15617994
{'OR': [['Q3771341', 'P27', {'concept': 'Q15617994'}], ['Q10439714', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?e ) { ( resource:Q3771341 ) ( resource:Q10439714 ) } . ?e property:P27 ?z } . ?z rdf:type ontology:Q15617994 }
Luis Antonio Regalado Giuseppe Romano
action filter_type
action union
action find
entity Giuseppe Romano
relation country of citizenship
action find
entity Luis Antonio Regalado
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Giuseppe Romano', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Luis Antonio Regalado', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?e ) { ( resource:Giuseppe_Romano ) ( resource:Luis_Antonio_Regalado ) } . ?e property:country_of_citizenship ?z } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q792 Q38
SYSTEM
El Salvador, Italy
Q792 Q38
OR((Q3771341,P27,c(Q15617994)), (Q10439714,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3771341
relation P27
action find
entity Q10439714
relation P27
type Q15617994
Giuseppe Romano or Luis Antonio Regalado belong to the [ANSWERS]
{'OR': [['Q3771341', 'P27', {'concept': 'Q15617994'}], ['Q10439714', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?e ) { ( resource:Q3771341 ) ( resource:Q10439714 ) } . ?e property:P27 ?z } . ?z rdf:type ontology:Q15617994 }
El Salvador Italy
Giuseppe Romano or Luis Antonio Regalado belong to the El Salvador and Italy
El Salvador Italy
action filter_type
action union
action find
entity Giuseppe Romano
relation country of citizenship
action find
entity Luis Antonio Regalado
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Giuseppe Romano', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Luis Antonio Regalado', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?e ) { ( resource:Giuseppe_Romano ) ( resource:Luis_Antonio_Regalado ) } . ?e property:country_of_citizenship ?z } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10439714
P106
Q12737077
USER
What do Luis Antonio Regalado do for a living ?
(Q792,P106,c(Q12737077)) (Q38,P106,c(Q12737077))
action filter_type
action find
entity Q10439714
relation P106
type Q12737077
['Q792', 'P106', {'concept': 'Q12737077'}] ['Q38', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q10439714 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
Luis Antonio Regalado
action filter_type
action find
entity Luis Antonio Regalado
relation occupation
type occupation
['El Salvador', 'occupation', {'concept': 'occupation'}] ['Italy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Luis_Antonio_Regalado property:occupation ?g . ?g rdf:type ontology:occupation }
[]
occupation
Q628099 Q937857
SYSTEM
association football manager, association football player
Q628099 Q937857
(Q792,P106,c(Q12737077)) (Q38,P106,c(Q12737077))
action filter_type
action find
entity Q10439714
relation P106
type Q12737077
Luis Antonio Regalado do Costa [ANSWERS] for a living
['Q792', 'P106', {'concept': 'Q12737077'}] ['Q38', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { resource:Q10439714 property:P106 ?g . ?g rdf:type ontology:Q12737077 }
association football manager association football player
Luis Antonio Regalado do Costa association football manager and association football player for a living
association football manager association football player
action filter_type
action find
entity Luis Antonio Regalado
relation occupation
type occupation
['El Salvador', 'occupation', {'concept': 'occupation'}] ['Italy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { resource:Luis_Antonio_Regalado property:occupation ?g . ?g rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q38
P138
Q17444909 Q811979
USER
How many astronomical object types and architectural structures are named after Italy ?
(c(Q17444909),P138,Q38) (c(Q811979),P138,Q38)
action count
action union
action filter_type
action find_reverse
entity Q38
relation P138
type Q17444909
action filter_type
action find_reverse
entity Q38
relation P138
type Q811979
[{'concept': 'Q17444909'}, 'P138', 'Q38'] [{'concept': 'Q811979'}, 'P138', 'Q38']
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { VALUES ( ?u ) { ( ontology:Q811979 ) ( ontology:Q17444909 ) } . ?v rdf:type ?u }
Italy
action count
action union
action filter_type
action find_reverse
entity Italy
relation named after
type astronomical object type
action filter_type
action find_reverse
entity Italy
relation named after
type architectural structure
[{'concept': 'astronomical object type'}, 'named after', 'Italy'] [{'concept': 'architectural structure'}, 'named after', 'Italy']
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { VALUES ( ?u ) { ( ontology:architectural_structure ) ( ontology:astronomical_object_type ) } . ?v rdf:type ?u }
[]
astronomical object type architectural structure
SYSTEM
1 astronomical object types and 3 architectural structures
Q6079604 Q154636 Q2532668 Q1966521
(c(Q17444909),P138,Q38) (c(Q811979),P138,Q38)
action count
action union
action filter_type
action find_reverse
entity Q38
relation P138
type Q17444909
action filter_type
action find_reverse
entity Q38
relation P138
type Q811979
[ANSWER]
[{'concept': 'Q17444909'}, 'P138', 'Q38'] [{'concept': 'Q811979'}, 'P138', 'Q38']
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { VALUES ( ?u ) { ( ontology:Q811979 ) ( ontology:Q17444909 ) } . ?v rdf:type ?u }
Plaza Italia 477 Italia Plaza Italia, Buenos Aires place d'Italie
1 astronomical object types and 3 architectural structures
action count
action union
action filter_type
action find_reverse
entity Italy
relation named after
type astronomical object type
action filter_type
action find_reverse
entity Italy
relation named after
type architectural structure
[{'concept': 'astronomical object type'}, 'named after', 'Italy'] [{'concept': 'architectural structure'}, 'named after', 'Italy']
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { VALUES ( ?u ) { ( ontology:architectural_structure ) ( ontology:astronomical_object_type ) } . ?v rdf:type ?u }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q792
P30
Q2221906
USER
Which geographic location is El Salvador a part of ?
(Q792,P30,c(Q2221906))
action filter_type
action find
entity Q792
relation P30
type Q2221906
['Q792', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?w WHERE { resource:Q792 property:P30 ?w . ?w rdf:type ontology:Q2221906 }
El Salvador
action filter_type
action find
entity El Salvador
relation continent
type geographic location
['El Salvador', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?w WHERE { resource:El_Salvador property:continent ?w . ?w rdf:type ontology:geographic_location }
[]
geographic location
Q49
SYSTEM
North America
Q49
(Q792,P30,c(Q2221906))
action filter_type
action find
entity Q792
relation P30
type Q2221906
The [ANSWER] is El Salvador a part of
['Q792', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?w WHERE { resource:Q792 property:P30 ?w . ?w rdf:type ontology:Q2221906 }
North America
The North America is El Salvador a part of
North America
action filter_type
action find
entity El Salvador
relation continent
type geographic location
['El Salvador', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?w WHERE { resource:El_Salvador property:continent ?w . ?w rdf:type ontology:geographic_location }
[]