Simple Question (Direct)
Simple Question
Q3081583
P734
Q82799
USER
Who has the surname Francis Martin ?
(Q3081583,P734,c(Q82799))
action filter_type
action find
entity Q3081583
relation P734
type Q82799
['Q3081583', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q3081583 property:P734 ?h . ?h rdf:type ontology:Q82799 }
Francis Martin
action filter_type
action find
entity Francis Martin
relation family name
type name
['Francis Martin', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:Francis_Martin property:family_name ?h . ?h rdf:type ontology:name }
[]
name
Q17744604
SYSTEM
Martin
Q17744604
(Q3081583,P734,c(Q82799))
action filter_type
action find
entity Q3081583
relation P734
type Q82799
[ANSWER] has the surname Francis [ANSWER]
['Q3081583', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q3081583 property:P734 ?h . ?h rdf:type ontology:Q82799 }
Martin
Martin has the surname Francis Martin
Martin
action filter_type
action find
entity Francis Martin
relation family name
type name
['Francis Martin', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:Francis_Martin property:family_name ?h . ?h rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3081583
P27
Q15617994
USER
Which administrative territory is Francis Martin an inhabitant of ?
(Q3081583,P27,c(Q15617994))
action filter_type
action find
entity Q3081583
relation P27
type Q15617994
['Q3081583', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q3081583 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
Francis Martin
action filter_type
action find
entity Francis Martin
relation country of citizenship
type designation for an administrative territorial entity
['Francis Martin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Francis_Martin property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q3081583,P27,c(Q15617994))
action filter_type
action find
entity Q3081583
relation P27
type Q15617994
The [ANSWER] is Francis Martin an inhabitant of
['Q3081583', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q3081583 property:P27 ?s . ?s rdf:type ontology:Q15617994 }
United States of America
The United States of America is Francis Martin an inhabitant of
United States of America
action filter_type
action find
entity Francis Martin
relation country of citizenship
type designation for an administrative territorial entity
['Francis Martin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Francis_Martin property:country_of_citizenship ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5533165 Q30
P530 P27
Q15617994
USER
Which administrative territories have a diplomatic relationship with United States of America or are Genichiro Takahashi an inhabitant of ?
OR((Q30,P530,c(Q15617994)), (Q5533165,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q30
relation P530
action find
entity Q5533165
relation P27
type Q15617994
{'OR': [['Q30', 'P530', {'concept': 'Q15617994'}], ['Q5533165', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q30 property:P530 ?o } UNION { resource:Q5533165 property:P27 ?o } } . ?o rdf:type ontology:Q15617994 }
Genichiro Takahashi United States of America
action filter_type
action union
action find
entity United States of America
relation diplomatic relation
action find
entity Genichiro Takahashi
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Genichiro Takahashi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:United_States_of_America property:diplomatic_relation ?o } UNION { resource:Genichiro_Takahashi property:country_of_citizenship ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155 Q222 Q159 Q801 Q668 Q805 Q1011 Q37 Q414 Q889
SYSTEM
Some of them are Brazil, Albania, Russia, Israel, India, Yemen, Cape Verde, Lithuania, Argentina, Afghanistan
Q805 Q38 Q159 Q222 Q801 Q155 Q148 Q1011 Q889 Q796 Q17 Q37 Q953 Q668 Q403 Q347 Q414
OR((Q30,P530,c(Q15617994)), (Q5533165,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q30
relation P530
action find
entity Q5533165
relation P27
type Q15617994
[ANSWERS] have a diplomatic relationship with United States of America or are Genichiro Takahashi an inhabitant of
{'OR': [['Q30', 'P530', {'concept': 'Q15617994'}], ['Q5533165', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q30 property:P530 ?o } UNION { resource:Q5533165 property:P27 ?o } } . ?o rdf:type ontology:Q15617994 }
Yemen Italy Russia Albania Israel Brazil People's Republic of China Cape Verde Afghanistan Iraq Japan Lithuania Zambia India Serbia Liechtenstein Argentina
Brazil, Albania, Russia, Israel, India, Yemen, Cape Verde, Lithuania, Argentina and Afghanistan have a diplomatic relationship with United States of America or are Genichiro Takahashi an inhabitant of
Brazil Albania Russia Israel India Yemen Cape Verde Lithuania Argentina Afghanistan
action filter_type
action union
action find
entity United States of America
relation diplomatic relation
action find
entity Genichiro Takahashi
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['United States of America', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Genichiro Takahashi', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:United_States_of_America property:diplomatic_relation ?o } UNION { resource:Genichiro_Takahashi property:country_of_citizenship ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q42417
P530
Q15617994
USER
Are Dresano known to have diplomatic connections with those ones ?
(Q42417,P530,Q155) (Q42417,P530,Q222) (Q42417,P530,Q159) (Q42417,P530,Q801) (Q42417,P530,Q668) (Q42417,P530,Q805) (Q42417,P530,Q1011) (Q42417,P530,Q37) (Q42417,P530,Q414) (Q42417,P530,Q889)
action is_in
entity prev_answer
action find
entity Q42417
relation P530
['Q42417', 'P530', 'Q155'] ['Q42417', 'P530', 'Q222'] ['Q42417', 'P530', 'Q159'] ['Q42417', 'P530', 'Q801'] ['Q42417', 'P530', 'Q668'] ['Q42417', 'P530', 'Q805'] ['Q42417', 'P530', 'Q1011'] ['Q42417', 'P530', 'Q37'] ['Q42417', 'P530', 'Q414'] ['Q42417', 'P530', 'Q889']
ASK WHERE { VALUES ( ?k ) { ( resource:Q805 ) ( resource:Q38 ) ( resource:Q159 ) } . resource:Q42417 property:P530 ?k }
Dresano
action is_in
entity prev_answer
action find
entity Dresano
relation diplomatic relation
['Dresano', 'diplomatic relation', 'Brazil'] ['Dresano', 'diplomatic relation', 'Albania'] ['Dresano', 'diplomatic relation', 'Russia'] ['Dresano', 'diplomatic relation', 'Israel'] ['Dresano', 'diplomatic relation', 'India'] ['Dresano', 'diplomatic relation', 'Yemen'] ['Dresano', 'diplomatic relation', 'Cape Verde'] ['Dresano', 'diplomatic relation', 'Lithuania'] ['Dresano', 'diplomatic relation', 'Argentina'] ['Dresano', 'diplomatic relation', 'Afghanistan']
ASK WHERE { VALUES ( ?k ) { ( resource:Yemen ) ( resource:Italy ) ( resource:Russia ) } . resource:Dresano property:diplomatic_relation ?k }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q42417,P530,Q155) (Q42417,P530,Q222) (Q42417,P530,Q159) (Q42417,P530,Q801) (Q42417,P530,Q668) (Q42417,P530,Q805) (Q42417,P530,Q1011) (Q42417,P530,Q37) (Q42417,P530,Q414) (Q42417,P530,Q889)
action is_in
entity prev_answer
action find
entity Q42417
relation P530
[ANSWER]
['Q42417', 'P530', 'Q155'] ['Q42417', 'P530', 'Q222'] ['Q42417', 'P530', 'Q159'] ['Q42417', 'P530', 'Q801'] ['Q42417', 'P530', 'Q668'] ['Q42417', 'P530', 'Q805'] ['Q42417', 'P530', 'Q1011'] ['Q42417', 'P530', 'Q37'] ['Q42417', 'P530', 'Q414'] ['Q42417', 'P530', 'Q889']
ASK WHERE { VALUES ( ?k ) { ( resource:Q805 ) ( resource:Q38 ) ( resource:Q159 ) } . resource:Q42417 property:P530 ?k }
No
action is_in
entity prev_answer
action find
entity Dresano
relation diplomatic relation
['Dresano', 'diplomatic relation', 'Brazil'] ['Dresano', 'diplomatic relation', 'Albania'] ['Dresano', 'diplomatic relation', 'Russia'] ['Dresano', 'diplomatic relation', 'Israel'] ['Dresano', 'diplomatic relation', 'India'] ['Dresano', 'diplomatic relation', 'Yemen'] ['Dresano', 'diplomatic relation', 'Cape Verde'] ['Dresano', 'diplomatic relation', 'Lithuania'] ['Dresano', 'diplomatic relation', 'Argentina'] ['Dresano', 'diplomatic relation', 'Afghanistan']
ASK WHERE { VALUES ( ?k ) { ( resource:Yemen ) ( resource:Italy ) ( resource:Russia ) } . resource:Dresano property:diplomatic_relation ?k }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q30 Q37143 Q188822
P463
Q484652
USER
Does United States of America have a membership of G8 and Asian Development Bank ?
(Q30,P463,Q37143) (Q30,P463,Q188822)
action is_in
entity Q30
action intersection
action find_reverse
entity Q37143
relation P463
action find_reverse
entity Q188822
relation P463
['Q30', 'P463', 'Q37143'] ['Q30', 'P463', 'Q188822']
ASK WHERE { resource:Q30 property:P463 resource:Q37143 . resource:Q30 property:P463 resource:Q188822 }
United States of America G8 Asian Development Bank
action is_in
entity United States of America
action intersection
action find_reverse
entity G8
relation member of
action find_reverse
entity Asian Development Bank
relation member of
['United States of America', 'member of', 'G8'] ['United States of America', 'member of', 'Asian Development Bank']
ASK WHERE { resource:United_States_of_America property:member_of resource:G8 . resource:United_States_of_America property:member_of resource:Asian_Development_Bank }
[]
international organization
SYSTEM
YES
(Q30,P463,Q37143) (Q30,P463,Q188822)
action is_in
entity Q30
action intersection
action find_reverse
entity Q37143
relation P463
action find_reverse
entity Q188822
relation P463
[ANSWER]
['Q30', 'P463', 'Q37143'] ['Q30', 'P463', 'Q188822']
ASK WHERE { resource:Q30 property:P463 resource:Q37143 . resource:Q30 property:P463 resource:Q188822 }
Yes
action is_in
entity United States of America
action intersection
action find_reverse
entity G8
relation member of
action find_reverse
entity Asian Development Bank
relation member of
['United States of America', 'member of', 'G8'] ['United States of America', 'member of', 'Asian Development Bank']
ASK WHERE { resource:United_States_of_America property:member_of resource:G8 . resource:United_States_of_America property:member_of resource:Asian_Development_Bank }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many political territories have diplomatic relations with approximately 91 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 91
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?s ) WHERE { ?r rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 . ?r property:P530 ?o } GROUP BY ?r } . FILTER ( ?s = 91 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 91
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?s ) WHERE { ?r rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r property:diplomatic_relation ?o } GROUP BY ?r } . FILTER ( ?s = 91 ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
2
Q183 Q408
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 91
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?s ) WHERE { ?r rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 . ?r property:P530 ?o } GROUP BY ?r } . FILTER ( ?s = 91 ) }
Germany Australia
2
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 91
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?l ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?o ) AS ?s ) WHERE { ?r rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?r property:diplomatic_relation ?o } GROUP BY ?r } . FILTER ( ?s = 91 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q155
P159
Q334453 Q7210356
USER
How many divisions and political organizations have HQ at Brazil ?
(c(Q334453),P159,Q155) (c(Q7210356),P159,Q155)
action count
action union
action filter_type
action find_reverse
entity Q155
relation P159
type Q334453
action filter_type
action find_reverse
entity Q155
relation P159
type Q7210356
[{'concept': 'Q334453'}, 'P159', 'Q155'] [{'concept': 'Q7210356'}, 'P159', 'Q155']
SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { VALUES ( ?t ) { ( ontology:Q334453 ) ( ontology:Q7210356 ) } . ?a rdf:type ?t }
Brazil
action count
action union
action filter_type
action find_reverse
entity Brazil
relation headquarters location
type division
action filter_type
action find_reverse
entity Brazil
relation headquarters location
type political organization
[{'concept': 'division'}, 'headquarters location', 'Brazil'] [{'concept': 'political organization'}, 'headquarters location', 'Brazil']
SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { VALUES ( ?t ) { ( ontology:division ) ( ontology:political_organization ) } . ?a rdf:type ?t }
[]
division political organization
SYSTEM
2 divisions and 1 political organizations
Q3964488 Q599328 Q1327940
(c(Q334453),P159,Q155) (c(Q7210356),P159,Q155)
action count
action union
action filter_type
action find_reverse
entity Q155
relation P159
type Q334453
action filter_type
action find_reverse
entity Q155
relation P159
type Q7210356
[ANSWER]
[{'concept': 'Q334453'}, 'P159', 'Q155'] [{'concept': 'Q7210356'}, 'P159', 'Q155']
SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { VALUES ( ?t ) { ( ontology:Q334453 ) ( ontology:Q7210356 ) } . ?a rdf:type ?t }
Som Livre International Workers League Elenco
2 divisions and 1 political organizations
action count
action union
action filter_type
action find_reverse
entity Brazil
relation headquarters location
type division
action filter_type
action find_reverse
entity Brazil
relation headquarters location
type political organization
[{'concept': 'division'}, 'headquarters location', 'Brazil'] [{'concept': 'political organization'}, 'headquarters location', 'Brazil']
SELECT DISTINCT ( COUNT ( ?a ) AS ?j ) WHERE { VALUES ( ?t ) { ( ontology:division ) ( ontology:political_organization ) } . ?a rdf:type ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q155
P710
Q930933
USER
What event did Brazil particiate in ?
(c(Q930933),P710,Q155)
action filter_type
action find_reverse
entity Q155
relation P710
type Q930933
[{'concept': 'Q930933'}, 'P710', 'Q155']
SELECT DISTINCT ?n WHERE { ?n property:P710 resource:Q155 . ?n rdf:type ontology:Q930933 }
Brazil
action filter_type
action find_reverse
entity Brazil
relation participant
type relationship
[{'concept': 'relationship'}, 'participant', 'Brazil']
SELECT DISTINCT ?n WHERE { ?n property:participant resource:Brazil . ?n rdf:type ontology:relationship }
[]
relationship
Q4825269
SYSTEM
Australia–Brazil relations
Q4825269
(c(Q930933),P710,Q155)
action filter_type
action find_reverse
entity Q155
relation P710
type Q930933
Brazil particiated in [ANSWER]
[{'concept': 'Q930933'}, 'P710', 'Q155']
SELECT DISTINCT ?n WHERE { ?n property:P710 resource:Q155 . ?n rdf:type ontology:Q930933 }
Australia–Brazil relations
Brazil particiated in Australia–Brazil relations
Australia–Brazil relations
action filter_type
action find_reverse
entity Brazil
relation participant
type relationship
[{'concept': 'relationship'}, 'participant', 'Brazil']
SELECT DISTINCT ?n WHERE { ?n property:participant resource:Brazil . ?n rdf:type ontology:relationship }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q155
P610
Q14524493
USER
Which is the highest point of Brazil ?
(Q155,P610,c(Q14524493))
action filter_type
action find
entity Q155
relation P610
type Q14524493
['Q155', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?g WHERE { resource:Q155 property:P610 ?g . ?g rdf:type ontology:Q14524493 }
Brazil
action filter_type
action find
entity Brazil
relation highest point
type terrain
['Brazil', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?g WHERE { resource:Brazil property:highest_point ?g . ?g rdf:type ontology:terrain }
[]
terrain
Q739484
SYSTEM
Pico da Neblina
Q739484
(Q155,P610,c(Q14524493))
action filter_type
action find
entity Q155
relation P610
type Q14524493
The highest point of Brazil is the [ANSWER]
['Q155', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?g WHERE { resource:Q155 property:P610 ?g . ?g rdf:type ontology:Q14524493 }
Pico da Neblina
The highest point of Brazil is the Pico da Neblina
Pico da Neblina
action filter_type
action find
entity Brazil
relation highest point
type terrain
['Brazil', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?g WHERE { resource:Brazil property:highest_point ?g . ?g rdf:type ontology:terrain }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q739484
P706
Q107425
USER
What is the location where that terrain is located ?
(Q739484,P706,c(Q107425))
action filter_type
action find
entity Q739484
relation P706
type Q107425
['Q739484', 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ?o WHERE { resource:Q739484 property:P706 ?o . ?o rdf:type ontology:Q107425 }
Pico da Neblina
action filter_type
action find
entity Pico da Neblina
relation located on terrain feature
type landscape
['Pico da Neblina', 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ?o WHERE { resource:Pico_da_Neblina property:located_on_terrain_feature ?o . ?o rdf:type ontology:landscape }
[]
landscape
Q8534941
SYSTEM
Cerro de la Neblina
Q8534941
(Q739484,P706,c(Q107425))
action filter_type
action find
entity Q739484
relation P706
type Q107425
The location that terrain is located is the [ANSWER]
['Q739484', 'P706', {'concept': 'Q107425'}]
SELECT DISTINCT ?o WHERE { resource:Q739484 property:P706 ?o . ?o rdf:type ontology:Q107425 }
Cerro de la Neblina
The location that terrain is located is the Cerro de la Neblina
Cerro de la Neblina
action filter_type
action find
entity Pico da Neblina
relation located on terrain feature
type landscape
['Pico da Neblina', 'located on terrain feature', {'concept': 'landscape'}]
SELECT DISTINCT ?o WHERE { resource:Pico_da_Neblina property:located_on_terrain_feature ?o . ?o rdf:type ontology:landscape }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P163
Q14660
USER
Which flag is associated with United States of America ?
(Q30,P163,c(Q14660))
action filter_type
action find
entity Q30
relation P163
type Q14660
['Q30', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q14660 . resource:Q30 property:P163 ?b }
United States of America
action filter_type
action find
entity United States of America
relation flag
type flag
['United States of America', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:flag . resource:United_States_of_America property:flag ?b }
[]
flag
Q42537
SYSTEM
flag of the United States of America
Q42537
(Q30,P163,c(Q14660))
action filter_type
action find
entity Q30
relation P163
type Q14660
The [ANSWER] is associated with United States of America
['Q30', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q14660 . resource:Q30 property:P163 ?b }
flag of the United States of America
The flag of the United States of America is associated with United States of America
flag of the United States of America
action filter_type
action find
entity United States of America
relation flag
type flag
['United States of America', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:flag . resource:United_States_of_America property:flag ?b }
[]