Simple Question (Direct)
Simple Question
Q16235659
P19
Q56061
USER
Which administrative territory was Michael Vinícius Silva de Morais born at ?
(Q16235659,P19,c(Q56061))
action filter_type
action find
entity Q16235659
relation P19
type Q56061
['Q16235659', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q16235659 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Michael Vinícius Silva de Morais
action filter_type
action find
entity Michael Vinícius Silva de Morais
relation place of birth
type administrative territorial entity
['Michael Vinícius Silva de Morais', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Michael_Vinícius_Silva_de_Morais property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q643392
SYSTEM
São Francisco de Sales
Q643392
(Q16235659,P19,c(Q56061))
action filter_type
action find
entity Q16235659
relation P19
type Q56061
[ANSWER] was Michael Vinícius Silva de Morais born at
['Q16235659', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q16235659 property:P19 ?u . ?u rdf:type ontology:Q56061 }
São Francisco de Sales
São Francisco de Sales was Michael Vinícius Silva de Morais born at
São Francisco de Sales
action filter_type
action find
entity Michael Vinícius Silva de Morais
relation place of birth
type administrative territorial entity
['Michael Vinícius Silva de Morais', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Michael_Vinícius_Silva_de_Morais property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q643392
P17
Q15617994
USER
Which administrative territory is that administrative territory situated in ?
(Q643392,P17,c(Q15617994))
action filter_type
action find
entity Q643392
relation P17
type Q15617994
['Q643392', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q643392 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
São Francisco de Sales
action filter_type
action find
entity São Francisco de Sales
relation country
type designation for an administrative territorial entity
['São Francisco de Sales', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:São_Francisco_de_Sales property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
(Q643392,P17,c(Q15617994))
action filter_type
action find
entity Q643392
relation P17
type Q15617994
That administrative territory is situated in [ANSWER]
['Q643392', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q643392 property:P17 ?m . ?m rdf:type ontology:Q15617994 }
Brazil
That administrative territory is situated in Brazil
Brazil
action filter_type
action find
entity São Francisco de Sales
relation country
type designation for an administrative territorial entity
['São Francisco de Sales', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:São_Francisco_de_Sales property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P1001
Q12737077 Q14660
USER
How many occupations or flags have jurisdiction over that administrative territory ?
(c(Q12737077),P1001,Q155) (c(Q14660),P1001,Q155) (c(Q12737077),P1001,Q155) (c(Q14660),P1001,Q155)
action count
action union
action filter_type
action find_reverse
entity Q155
relation P1001
type Q12737077
action filter_type
action find_reverse
entity Q155
relation P1001
type Q14660
[{'concept': 'Q12737077'}, 'P1001', 'Q155'] [{'concept': 'Q14660'}, 'P1001', 'Q155'] [{'concept': 'Q12737077'}, 'P1001', 'Q155'] [{'concept': 'Q14660'}, 'P1001', 'Q155']
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { { ?u property:P1001 resource:Q155 . ?u rdf:type ontology:Q12737077 } UNION { ?u rdf:type ontology:Q14660 . ?u property:P1001 resource:Q155 } }
action count
action union
action filter_type
action find_reverse
entity Brazil
relation applies to jurisdiction
type occupation
action filter_type
action find_reverse
entity Brazil
relation applies to jurisdiction
type flag
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Brazil'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Brazil'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Brazil'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Brazil']
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { { ?u property:applies_to_jurisdiction resource:Brazil . ?u rdf:type ontology:occupation } UNION { ?u rdf:type ontology:flag . ?u property:applies_to_jurisdiction resource:Brazil } }
[]
occupation flag
SYSTEM
6
Q5097042 Q18964326 Q2978540 Q20058725 Q82194 Q5176750
(c(Q12737077),P1001,Q155) (c(Q14660),P1001,Q155) (c(Q12737077),P1001,Q155) (c(Q14660),P1001,Q155)
action count
action union
action filter_type
action find_reverse
entity Q155
relation P1001
type Q12737077
action filter_type
action find_reverse
entity Q155
relation P1001
type Q14660
[ANSWER]
[{'concept': 'Q12737077'}, 'P1001', 'Q155'] [{'concept': 'Q14660'}, 'P1001', 'Q155'] [{'concept': 'Q12737077'}, 'P1001', 'Q155'] [{'concept': 'Q14660'}, 'P1001', 'Q155']
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { { ?u property:P1001 resource:Q155 . ?u rdf:type ontology:Q12737077 } UNION { ?u rdf:type ontology:Q14660 . ?u property:P1001 resource:Q155 } }
Chief of Staff of Brazil Member of the Senate of Brazil Vice President of Brazil member of the Chamber of Deputies of Brazil flag of Brazil President of Brazil
6
action count
action union
action filter_type
action find_reverse
entity Brazil
relation applies to jurisdiction
type occupation
action filter_type
action find_reverse
entity Brazil
relation applies to jurisdiction
type flag
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Brazil'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Brazil'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Brazil'] [{'concept': 'flag'}, 'applies to jurisdiction', 'Brazil']
SELECT DISTINCT ( COUNT ( ?u ) AS ?c ) WHERE { { ?u property:applies_to_jurisdiction resource:Brazil . ?u rdf:type ontology:occupation } UNION { ?u rdf:type ontology:flag . ?u property:applies_to_jurisdiction resource:Brazil } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16235659
P106
Q12737077
USER
Which occupation is the profession of Michael Vinícius Silva de Morais ?
(Q16235659,P106,c(Q12737077))
action filter_type
action find
entity Q16235659
relation P106
type Q12737077
['Q16235659', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q16235659 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
Michael Vinícius Silva de Morais
action filter_type
action find
entity Michael Vinícius Silva de Morais
relation occupation
type occupation
['Michael Vinícius Silva de Morais', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Michael_Vinícius_Silva_de_Morais property:occupation ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q16235659,P106,c(Q12737077))
action filter_type
action find
entity Q16235659
relation P106
type Q12737077
The [ANSWER] is the profession of Michael Vinícius Silva de Morais
['Q16235659', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q16235659 property:P106 ?h . ?h rdf:type ontology:Q12737077 }
association football player
The association football player is the profession of Michael Vinícius Silva de Morais
association football player
action filter_type
action find
entity Michael Vinícius Silva de Morais
relation occupation
type occupation
['Michael Vinícius Silva de Morais', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Michael_Vinícius_Silva_de_Morais property:occupation ?h . ?h rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16235659
P641
Q349
USER
Which sport did Michael Vinícius Silva de Morais participate in ?
(Q16235659,P641,c(Q349))
action filter_type
action find
entity Q16235659
relation P641
type Q349
['Q16235659', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q349 . resource:Q16235659 property:P641 ?x }
Michael Vinícius Silva de Morais
action filter_type
action find
entity Michael Vinícius Silva de Morais
relation sport
type sport
['Michael Vinícius Silva de Morais', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sport . resource:Michael_Vinícius_Silva_de_Morais property:sport ?x }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q16235659,P641,c(Q349))
action filter_type
action find
entity Q16235659
relation P641
type Q349
Michael Vinícius Silva de Morais participated in [ANSWER]
['Q16235659', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q349 . resource:Q16235659 property:P641 ?x }
association football
Michael Vinícius Silva de Morais participated in association football
association football
action filter_type
action find
entity Michael Vinícius Silva de Morais
relation sport
type sport
['Michael Vinícius Silva de Morais', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:sport . resource:Michael_Vinícius_Silva_de_Morais property:sport ?x }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q21872585 Q16235659
P641
Q349
USER
Or Demarius Bolds?
OR((Q16235659,P641,c(Q349)), (Q21872585,P641,c(Q349)))
action filter_type
action union
action find
entity Q16235659
relation P641
action find
entity Q21872585
relation P641
type Q349
{'OR': [['Q16235659', 'P641', {'concept': 'Q349'}], ['Q21872585', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?n WHERE { { ?k property:P641 ?n . VALUES ( ?k ) { ( resource:Q16235659 ) ( resource:Q21872585 ) } } . ?n rdf:type ontology:Q349 }
Demarius Bolds Michael Vinícius Silva de Morais
action filter_type
action union
action find
entity Michael Vinícius Silva de Morais
relation sport
action find
entity Demarius Bolds
relation sport
type sport
{'OR': [['Michael Vinícius Silva de Morais', 'sport', {'concept': 'sport'}], ['Demarius Bolds', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?n WHERE { { ?k property:sport ?n . VALUES ( ?k ) { ( resource:Michael_Vinícius_Silva_de_Morais ) ( resource:Demarius_Bolds ) } } . ?n rdf:type ontology:sport }
[]
sport
Q5372 Q2736
SYSTEM
basketball, association football
Q5372 Q2736
OR((Q16235659,P641,c(Q349)), (Q21872585,P641,c(Q349)))
action filter_type
action union
action find
entity Q16235659
relation P641
action find
entity Q21872585
relation P641
type Q349
[ANSWERS]
{'OR': [['Q16235659', 'P641', {'concept': 'Q349'}], ['Q21872585', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?n WHERE { { ?k property:P641 ?n . VALUES ( ?k ) { ( resource:Q16235659 ) ( resource:Q21872585 ) } } . ?n rdf:type ontology:Q349 }
basketball association football
basketball association football
action filter_type
action union
action find
entity Michael Vinícius Silva de Morais
relation sport
action find
entity Demarius Bolds
relation sport
type sport
{'OR': [['Michael Vinícius Silva de Morais', 'sport', {'concept': 'sport'}], ['Demarius Bolds', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?n WHERE { { ?k property:sport ?n . VALUES ( ?k ) { ( resource:Michael_Vinícius_Silva_de_Morais ) ( resource:Demarius_Bolds ) } } . ?n rdf:type ontology:sport }
[]