Simple Question (Direct)
Simple Question
Q3984736
P21
Q290
USER
What is the sex of Terrence Frederick ?
(Q3984736,P21,c(Q290))
action filter_type
action find
entity Q3984736
relation P21
type Q290
['Q3984736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q3984736 property:P21 ?c . ?c rdf:type ontology:Q290 }
Terrence Frederick
action filter_type
action find
entity Terrence Frederick
relation gender
type sex
['Terrence Frederick', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Terrence_Frederick property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3984736,P21,c(Q290))
action filter_type
action find
entity Q3984736
relation P21
type Q290
The sex of Terrence Frederick is a [ANSWER]
['Q3984736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q3984736 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
The sex of Terrence Frederick is a male
male
action filter_type
action find
entity Terrence Frederick
relation gender
type sex
['Terrence Frederick', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Terrence_Frederick property:gender ?c . ?c rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3984736
P106
Q12737077
USER
Which occupation is the profession of that person ?
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q3984736
relation P106
type Q12737077
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q3984736 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Terrence Frederick
action filter_type
action find
entity Terrence Frederick
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Terrence_Frederick property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q19204627
SYSTEM
American football player
Q19204627
(Q6581097,P106,c(Q12737077))
action filter_type
action find
entity Q3984736
relation P106
type Q12737077
[ANSWER] is the profession of that person
['Q6581097', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q3984736 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
American football player
American football player is the profession of that person
American football player
action filter_type
action find
entity Terrence Frederick
relation occupation
type occupation
['male', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Terrence_Frederick property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3898638 Q3984736
P27
Q15617994
USER
Which administrative territories are Terrence Frederick or Pedro Franco an inhabitant of ?
OR((Q3984736,P27,c(Q15617994)), (Q3898638,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3984736
relation P27
action find
entity Q3898638
relation P27
type Q15617994
{'OR': [['Q3984736', 'P27', {'concept': 'Q15617994'}], ['Q3898638', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q3984736 property:P27 ?z } UNION { resource:Q3898638 property:P27 ?z } } . ?z rdf:type ontology:Q15617994 }
Pedro Franco Terrence Frederick
action filter_type
action union
action find
entity Terrence Frederick
relation country of citizenship
action find
entity Pedro Franco
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Terrence Frederick', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Pedro Franco', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Terrence_Frederick property:country_of_citizenship ?z } UNION { resource:Pedro_Franco property:country_of_citizenship ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q739 Q30
SYSTEM
Colombia, United States of America
Q739 Q30
OR((Q3984736,P27,c(Q15617994)), (Q3898638,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q3984736
relation P27
action find
entity Q3898638
relation P27
type Q15617994
[ANSWERS] are Terrence Frederick or Pedro Franco an inhabitant of
{'OR': [['Q3984736', 'P27', {'concept': 'Q15617994'}], ['Q3898638', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q3984736 property:P27 ?z } UNION { resource:Q3898638 property:P27 ?z } } . ?z rdf:type ontology:Q15617994 }
Colombia United States of America
Colombia and United States of America are Terrence Frederick or Pedro Franco an inhabitant of
Colombia United States of America
action filter_type
action union
action find
entity Terrence Frederick
relation country of citizenship
action find
entity Pedro Franco
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Terrence Frederick', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Pedro Franco', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Terrence_Frederick property:country_of_citizenship ?z } UNION { resource:Pedro_Franco property:country_of_citizenship ?z } } . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q739
P463
Q484652 Q43229
USER
How many international organizations or organizations were Colombia a member of ?
(Q739,P463,c(Q484652)) (Q739,P463,c(Q43229))
action count
action union
action filter_type
action find
entity Q739
relation P463
type Q484652
action filter_type
action find
entity Q739
relation P463
type Q43229
['Q739', 'P463', {'concept': 'Q484652'}] ['Q739', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { { resource:Q739 property:P463 ?n . ?n rdf:type ontology:Q484652 } UNION { resource:Q739 property:P463 ?n . ?n rdf:type ontology:Q43229 } }
Colombia
action count
action union
action filter_type
action find
entity Colombia
relation member of
type international organization
action filter_type
action find
entity Colombia
relation member of
type organization
['Colombia', 'member of', {'concept': 'international organization'}] ['Colombia', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { { resource:Colombia property:member_of ?n . ?n rdf:type ontology:international_organization } UNION { resource:Colombia property:member_of ?n . ?n rdf:type ontology:organization } }
[]
international organization organization
SYSTEM
13
Q191384 Q1065 Q656801 Q471690 Q190008 Q899770 Q4230 Q8475 Q3772571 Q1045401 Q7825 Q827525 Q1043527
(Q739,P463,c(Q484652)) (Q739,P463,c(Q43229))
action count
action union
action filter_type
action find
entity Q739
relation P463
type Q484652
action filter_type
action find
entity Q739
relation P463
type Q43229
[ANSWER]
['Q739', 'P463', {'concept': 'Q484652'}] ['Q739', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { { resource:Q739 property:P463 ?n . ?n rdf:type ontology:Q484652 } UNION { resource:Q739 property:P463 ?n . ?n rdf:type ontology:Q43229 } }
International Bank for Reconstruction and Development United Nations International Finance Corporation Andean Community of Nations Central American Bank for Economic Integration International Centre for Settlement of Investment Disputes Union of South American Nations Interpol Caribbean Development Bank Community of Latin American and Caribbean States World Trade Organization International Development Association Multilateral Investment Guarantee Agency
13
action count
action union
action filter_type
action find
entity Colombia
relation member of
type international organization
action filter_type
action find
entity Colombia
relation member of
type organization
['Colombia', 'member of', {'concept': 'international organization'}] ['Colombia', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?e ) WHERE { { resource:Colombia property:member_of ?n . ?n rdf:type ontology:international_organization } UNION { resource:Colombia property:member_of ?n . ?n rdf:type ontology:organization } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q739
P180
Q340169
USER
Which medias express that administrative territory ?
action filter_type
action find_reverse
entity Q739
relation P180
type Q340169
SELECT DISTINCT ?e WHERE { ?e property:P180 resource:Q739 . ?e rdf:type ontology:Q340169 }
Colombia
action filter_type
action find_reverse
entity Colombia
relation depicts
type media
SELECT DISTINCT ?e WHERE { ?e property:depicts resource:Colombia . ?e rdf:type ontology:media }
[]
media
Q20199491 Q20199314
SYSTEM
Colombia or Ecuador, Church Roofs, A Waterfall in Colombia
Q20199491 Q20199314
action filter_type
action find_reverse
entity Q739
relation P180
type Q340169
[ANSWERS] express that administrative territory
SELECT DISTINCT ?e WHERE { ?e property:P180 resource:Q739 . ?e rdf:type ontology:Q340169 }
Colombia or Ecuador, Church Roofs A Waterfall in Colombia
Colombia or Ecuador, Church Roofs and A Waterfall in Colombia express that administrative territory
Colombia or Ecuador, Church Roofs A Waterfall in Colombia
action filter_type
action find_reverse
entity Colombia
relation depicts
type media
SELECT DISTINCT ?e WHERE { ?e property:depicts resource:Colombia . ?e rdf:type ontology:media }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q10884 Q739
P180
Q340169
USER
Or tree?
OR((c(Q340169),P180,Q739), (c(Q340169),P180,Q10884))
action filter_type
action union
action find_reverse
entity Q739
relation P180
action find_reverse
entity Q10884
relation P180
type Q340169
{'OR': [[{'concept': 'Q340169'}, 'P180', 'Q739'], [{'concept': 'Q340169'}, 'P180', 'Q10884']]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q340169 . { VALUES ( ?f ) { ( resource:Q10884 ) ( resource:Q739 ) } . ?z property:P180 ?f } }
tree Colombia
action filter_type
action union
action find_reverse
entity Colombia
relation depicts
action find_reverse
entity tree
relation depicts
type media
{'OR': [[{'concept': 'media'}, 'depicts', 'Colombia'], [{'concept': 'media'}, 'depicts', 'tree']]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:media . { VALUES ( ?f ) { ( resource:tree ) ( resource:Colombia ) } . ?z property:depicts ?f } }
[]
media
Q19862186 Q2918420 Q20639508 Q20746805 Q20739274 Q24037218 Q19859020 Q20670888 Q24037291 Q20054703
SYSTEM
Some of them are Man Walking on a Road, The Owls' Nest, View of the Shawangunke Mountains, graphite with white heightening on paper by Johann Herman Carmiencke, 1865,Honolulu Museum of Art, Sketchbook: Conway, New Hampshire, Landscape with Stone Bridge, Banks of the Seine in Charenton, Willows and White Poplars, River Landscape, View of a Mill in Charenton, Milton, New York
Q24037218 Q20199491 Q20746730 Q19967277 Q20670888 Q20739274 Q20199314 Q20746805 Q2918420 Q19862186 Q24037291 Q18683315 Q20746778 Q20639508 Q19859020 Q20054703
OR((c(Q340169),P180,Q739), (c(Q340169),P180,Q10884))
action filter_type
action union
action find_reverse
entity Q739
relation P180
action find_reverse
entity Q10884
relation P180
type Q340169
[ANSWERS]
{'OR': [[{'concept': 'Q340169'}, 'P180', 'Q739'], [{'concept': 'Q340169'}, 'P180', 'Q10884']]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q340169 . { VALUES ( ?f ) { ( resource:Q10884 ) ( resource:Q739 ) } . ?z property:P180 ?f } }
Banks of the Seine in Charenton Colombia or Ecuador, Church Roofs Catskills Monks at Prayer in a Cloister River Landscape Landscape with Stone Bridge A Waterfall in Colombia Sketchbook: Conway, New Hampshire The Owls' Nest Man Walking on a Road View of a Mill in Charenton Diana Bathing Mud Pond, Pine Plains, New York View of the Shawangunke Mountains, graphite with white heightening on paper by Johann Herman Carmiencke, 1865,Honolulu Museum of Art Willows and White Poplars Milton, New York
Man Walking on a Road The Owls' Nest View of the Shawangunke Mountains, graphite with white heightening on paper by Johann Herman Carmiencke, 1865,Honolulu Museum of Art Sketchbook: Conway, New Hampshire Landscape with Stone Bridge Banks of the Seine in Charenton Willows and White Poplars River Landscape View of a Mill in Charenton Milton, New York
action filter_type
action union
action find_reverse
entity Colombia
relation depicts
action find_reverse
entity tree
relation depicts
type media
{'OR': [[{'concept': 'media'}, 'depicts', 'Colombia'], [{'concept': 'media'}, 'depicts', 'tree']]}
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:media . { VALUES ( ?f ) { ( resource:tree ) ( resource:Colombia ) } . ?z property:depicts ?f } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q739 Q38
P530
Q1048835
USER
How many political territories have diplomatic relations with Colombia and Italy ?
(c(Q1048835),P530,Q739) (c(Q1048835),P530,Q38)
action count
action intersection
action filter_type
action find_reverse
entity Q739
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q38
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', 'Q739'] [{'concept': 'Q1048835'}, 'P530', 'Q38']
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { ?f rdf:type ontology:Q1048835 . ?f property:P530 resource:Q739 . ?f property:P530 resource:Q38 . ?f rdf:type ontology:Q1048835 }
Colombia Italy
action count
action intersection
action filter_type
action find_reverse
entity Colombia
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Italy
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Colombia'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Italy']
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { ?f rdf:type ontology:political_territorial_entity . ?f property:diplomatic_relation resource:Colombia . ?f property:diplomatic_relation resource:Italy . ?f rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
3
Q16 Q408 Q183
(c(Q1048835),P530,Q739) (c(Q1048835),P530,Q38)
action count
action intersection
action filter_type
action find_reverse
entity Q739
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q38
relation P530
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', 'Q739'] [{'concept': 'Q1048835'}, 'P530', 'Q38']
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { ?f rdf:type ontology:Q1048835 . ?f property:P530 resource:Q739 . ?f property:P530 resource:Q38 . ?f rdf:type ontology:Q1048835 }
Canada Australia Germany
3
action count
action intersection
action filter_type
action find_reverse
entity Colombia
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Italy
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Colombia'] [{'concept': 'political territorial entity'}, 'diplomatic relation', 'Italy']
SELECT DISTINCT ( COUNT ( ?f ) AS ?z ) WHERE { ?f rdf:type ontology:political_territorial_entity . ?f property:diplomatic_relation resource:Colombia . ?f property:diplomatic_relation resource:Italy . ?f rdf:type ontology:political_territorial_entity }
[]