Simple Question (Direct)
Simple Question
Q2572506
P641
Q349
USER
Which sport was Daniel Aquino a part of ?
(Q2572506,P641,c(Q349))
action filter_type
action find
entity Q2572506
relation P641
type Q349
['Q2572506', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q2572506 property:P641 ?g . ?g rdf:type ontology:Q349 }
Daniel Aquino
action filter_type
action find
entity Daniel Aquino
relation sport
type sport
['Daniel Aquino', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Daniel_Aquino property:sport ?g . ?g rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q2572506,P641,c(Q349))
action filter_type
action find
entity Q2572506
relation P641
type Q349
Daniel Aquino was in [ANSWER]
['Q2572506', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q2572506 property:P641 ?g . ?g rdf:type ontology:Q349 }
association football
Daniel Aquino was in association football
association football
action filter_type
action find
entity Daniel Aquino
relation sport
type sport
['Daniel Aquino', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Daniel_Aquino property:sport ?g . ?g rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2572506
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q2572506
relation P27
type Q15617994
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q2572506 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Daniel Aquino
action filter_type
action find
entity Daniel Aquino
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Daniel_Aquino property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q414
SYSTEM
Argentina
Q414
(Q2736,P27,c(Q15617994))
action filter_type
action find
entity Q2572506
relation P27
type Q15617994
[ANSWER] is that person an inhabitant of
['Q2736', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q2572506 property:P27 ?k . ?k rdf:type ontology:Q15617994 }
Argentina
Argentina is that person an inhabitant of
Argentina
action filter_type
action find
entity Daniel Aquino
relation country of citizenship
type designation for an administrative territorial entity
['association football', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Daniel_Aquino property:country_of_citizenship ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2572506
P21
Q290
USER
What is the sex of that person ?
(Q414,P21,c(Q290))
action filter_type
action find
entity Q2572506
relation P21
type Q290
['Q414', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q2572506 property:P21 ?i . ?i rdf:type ontology:Q290 }
Daniel Aquino
action filter_type
action find
entity Daniel Aquino
relation gender
type sex
['Argentina', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Daniel_Aquino property:gender ?i . ?i rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q414,P21,c(Q290))
action filter_type
action find
entity Q2572506
relation P21
type Q290
The sex of that person is a [ANSWER]
['Q414', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?i WHERE { resource:Q2572506 property:P21 ?i . ?i rdf:type ontology:Q290 }
male
The sex of that person is a male
male
action filter_type
action find
entity Daniel Aquino
relation gender
type sex
['Argentina', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?i WHERE { resource:Daniel_Aquino property:gender ?i . ?i rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q6062788 Q2572506
P21
Q290
USER
Or Håkan Ramsin?
OR((Q2572506,P21,c(Q290)), (Q6062788,P21,c(Q290)))
action filter_type
action union
action find
entity Q2572506
relation P21
action find
entity Q6062788
relation P21
type Q290
{'OR': [['Q2572506', 'P21', {'concept': 'Q290'}], ['Q6062788', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q6062788 property:P21 ?o } UNION { resource:Q2572506 property:P21 ?o } } . ?o rdf:type ontology:Q290 }
Håkan Ramsin Daniel Aquino
action filter_type
action union
action find
entity Daniel Aquino
relation gender
action find
entity Håkan Ramsin
relation gender
type sex
{'OR': [['Daniel Aquino', 'gender', {'concept': 'sex'}], ['Håkan Ramsin', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Håkan_Ramsin property:gender ?o } UNION { resource:Daniel_Aquino property:gender ?o } } . ?o rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
OR((Q2572506,P21,c(Q290)), (Q6062788,P21,c(Q290)))
action filter_type
action union
action find
entity Q2572506
relation P21
action find
entity Q6062788
relation P21
type Q290
[ANSWER]
{'OR': [['Q2572506', 'P21', {'concept': 'Q290'}], ['Q6062788', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q6062788 property:P21 ?o } UNION { resource:Q2572506 property:P21 ?o } } . ?o rdf:type ontology:Q290 }
male
male
action filter_type
action union
action find
entity Daniel Aquino
relation gender
action find
entity Håkan Ramsin
relation gender
type sex
{'OR': [['Daniel Aquino', 'gender', {'concept': 'sex'}], ['Håkan Ramsin', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Håkan_Ramsin property:gender ?o } UNION { resource:Daniel_Aquino property:gender ?o } } . ?o rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6062788
P106
Q12737077
USER
Which occupation is the profession of Håkan Ramsin ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q6062788
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q6062788 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
Håkan Ramsin
action filter_type
action find
entity Håkan Ramsin
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Håkan_Ramsin property:occupation ?j . ?j rdf:type ontology:occupation }
[]
occupation
Q36180
SYSTEM
writer
Q36180
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q6062788
relation P106
type Q12737077
The [ANSWER] is the profession of Håkan Ramsin
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?j WHERE { resource:Q6062788 property:P106 ?j . ?j rdf:type ontology:Q12737077 }
writer
The writer is the profession of Håkan Ramsin
writer
action filter_type
action find
entity Håkan Ramsin
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?j WHERE { resource:Håkan_Ramsin property:occupation ?j . ?j rdf:type ontology:occupation }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P194
Q1752346 Q11204 Q15617994
USER
Which administrative territories have approximately 1 assemblies or legislatures as their council ?
(c(Q15617994),P194,c(Q1752346)|c(Q11204))
action approx
action union
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
action find_tuple_counts
relation P194
type Q15617994
type Q11204
value 1
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q1752346'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) ?l WHERE { ?w rdf:type ?x . VALUES ( ?x ) { ( ontology:Q1752346 ) ( ontology:Q11204 ) } } GROUP BY ?l } . FILTER ( ?o = 1 ) }
action approx
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'assembly'}, {'concept': 'legislature'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) ?l WHERE { ?w rdf:type ?x . VALUES ( ?x ) { ( ontology:assembly ) ( ontology:legislature ) } } GROUP BY ?l } . FILTER ( ?o = 1 ) }
[]
assembly legislature designation for an administrative territorial entity
Q38 Q155 Q30
SYSTEM
Italy, Brazil, United States of America
Q805 Q804 Q801 Q800 Q1462 Q1250 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q189 Q786 Q710 Q717 Q1460 Q657 Q258 Q45 Q43 Q41 Q155 Q792 Q4628 Q779011 Q889 Q884 Q958 Q12574 Q1965 Q12761 Q242 Q244 Q33 Q31 Q30 Q37 Q36 Q34 Q929 Q39 Q38 Q739 Q3685392 Q733 Q29999 Q854 Q153091 Q1447 Q1282 Q1284 Q3389 Q236 Q747074 Q72449 Q233 Q238 Q12661 Q20 Q1273 Q28 Q29 Q1279 Q1049 Q783 Q184 Q1458 Q228 Q227 Q224 Q223 Q222 Q221 Q815731 Q96 Q229 Q347 Q17 Q902 Q191 Q697 Q298 Q114 Q754 Q750 Q213 Q211 Q214 Q215 Q218 Q219 Q1210 Q917 Q16110 Q736 Q34020 Q686 Q760 Q574 Q79 Q77 Q1222 Q774 Q811 Q1016 Q27 Q1243 Q1013 Q12626 Q672 Q176 Q1952 Q869 Q1237
(c(Q15617994),P194,c(Q1752346)|c(Q11204))
action approx
action union
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
action find_tuple_counts
relation P194
type Q15617994
type Q11204
value 1
[ANSWERS] have approximately 1 assemblies or legislatures as their council
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q1752346'}, {'concept': 'Q11204'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) ?l WHERE { ?w rdf:type ?x . VALUES ( ?x ) { ( ontology:Q1752346 ) ( ontology:Q11204 ) } } GROUP BY ?l } . FILTER ( ?o = 1 ) }
Yemen Panama Israel Costa Rica Sardinia Friuli–Venezia Giulia Peru India Argentina France Netherlands United Kingdom People's Republic of China Iceland Dominican Republic Kiribati Venezuela Sicily Chad South Africa Portugal Turkey Greece Brazil El Salvador Faroe Islands Principality of Montenegro Afghanistan South Korea South Sudan Loiret New Brunswick Seine-Saint-Denis Belize Barbados Finland Belgium United States of America Lithuania Poland Sweden Central African Republic Switzerland Italy Colombia Municipality of Monaco Paraguay Kingdom of the Netherlands Sri Lanka Duchy of Prussia Apulia Lazio Abruzzo Finistère Montenegro comune of Italy Roccarainola Malta San Marino Nord Norway Tuscany Hungary Spain Marche Sudan Honduras Belarus Calabria Andorra Azerbaijan Croatia Greenland Albania Republic of Macedonia Principality of Bulgaria Mexico Cyprus Liechtenstein Japan Bangladesh Estonia Nauru Chile Kenya Trinidad and Tobago Bolivia Czech Republic Latvia Slovakia Slovenia Romania Bulgaria Lombardy Bhutan region of Italy Ecuador Niue Vanuatu Saint Lucia East Timor Egypt Uruguay Aosta Valley Guatemala Nicaragua Libya Ireland Veneto Lesotho Meurthe-et-Moselle Tuvalu Quebec Nova Scotia Thailand Trentino-South Tyrol
Italy, Brazil and United States of America have approximately 1 assemblies or legislatures as their council
Italy Brazil United States of America
action approx
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
value 1
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'assembly'}, {'concept': 'legislature'}]]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) ?l WHERE { ?w rdf:type ?x . VALUES ( ?x ) { ( ontology:assembly ) ( ontology:legislature ) } } GROUP BY ?l } . FILTER ( ?o = 1 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q38 Q155 Q30
P30
Q2221906
USER
Where are those administrative territories situated ?
(Q38,P30,c(Q2221906)) (Q155,P30,c(Q2221906)) (Q30,P30,c(Q2221906))
action filter_type
action find
entity prev_answer
relation P30
type Q2221906
['Q38', 'P30', {'concept': 'Q2221906'}] ['Q155', 'P30', {'concept': 'Q2221906'}] ['Q30', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?a ) { ( resource:Q805 ) ( resource:Q804 ) ( resource:Q801 ) } . ?n rdf:type ontology:Q2221906 . ?a property:P30 ?n }
Italy Brazil United States of America
action filter_type
action find
entity prev_answer
relation continent
type geographic location
['Italy', 'continent', {'concept': 'geographic location'}] ['Brazil', 'continent', {'concept': 'geographic location'}] ['United States of America', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?a ) { ( resource:Yemen ) ( resource:Panama ) ( resource:Israel ) } . ?n rdf:type ontology:geographic_location . ?a property:continent ?n }
[]
geographic location
Q46 Q18 Q49
SYSTEM
Europe, South America, North America
Q46 Q18 Q538 Q49
(Q38,P30,c(Q2221906)) (Q155,P30,c(Q2221906)) (Q30,P30,c(Q2221906))
action filter_type
action find
entity prev_answer
relation P30
type Q2221906
Those administrative territories are situated in [ANSWERS]
['Q38', 'P30', {'concept': 'Q2221906'}] ['Q155', 'P30', {'concept': 'Q2221906'}] ['Q30', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?a ) { ( resource:Q805 ) ( resource:Q804 ) ( resource:Q801 ) } . ?n rdf:type ontology:Q2221906 . ?a property:P30 ?n }
Europe South America Oceania North America
Those administrative territories are situated in Europe, South America and North America
Europe South America North America
action filter_type
action find
entity prev_answer
relation continent
type geographic location
['Italy', 'continent', {'concept': 'geographic location'}] ['Brazil', 'continent', {'concept': 'geographic location'}] ['United States of America', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?n WHERE { VALUES ( ?a ) { ( resource:Yemen ) ( resource:Panama ) ( resource:Israel ) } . ?n rdf:type ontology:geographic_location . ?a property:continent ?n }
[]