Simple Question (Direct)
Simple Question
Q5524603
P1412
Q34770
USER
Which language is spoken by Gary Anderson ?
(Q5524603,P1412,c(Q34770))
action filter_type
action find
entity Q5524603
relation P1412
type Q34770
['Q5524603', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { resource:Q5524603 property:P1412 ?x . ?x rdf:type ontology:Q34770 }
Gary Anderson
action filter_type
action find
entity Gary Anderson
relation languages spoken, written or signed
type language
['Gary Anderson', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { resource:Gary_Anderson property:languages_spoken,_written_or_signed ?x . ?x rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q5524603,P1412,c(Q34770))
action filter_type
action find
entity Q5524603
relation P1412
type Q34770
[ANSWER] is spoken by Gary Anderson
['Q5524603', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { resource:Q5524603 property:P1412 ?x . ?x rdf:type ontology:Q34770 }
English
English is spoken by Gary Anderson
English
action filter_type
action find
entity Gary Anderson
relation languages spoken, written or signed
type language
['Gary Anderson', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { resource:Gary_Anderson property:languages_spoken,_written_or_signed ?x . ?x rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5524603
P69
Q163740
USER
Where was Gary Anderson educated ?
(Q5524603,P69,c(Q163740))
action filter_type
action find
entity Q5524603
relation P69
type Q163740
['Q5524603', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?e WHERE { resource:Q5524603 property:P69 ?e . ?e rdf:type ontology:Q163740 }
Gary Anderson
action filter_type
action find
entity Gary Anderson
relation educated at
type nonprofit organization
['Gary Anderson', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?e WHERE { resource:Gary_Anderson property:educated_at ?e . ?e rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q41506
SYSTEM
Stanford University
Q41506
(Q5524603,P69,c(Q163740))
action filter_type
action find
entity Q5524603
relation P69
type Q163740
Gary Anderson was educated at [ANSWER]
['Q5524603', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?e WHERE { resource:Q5524603 property:P69 ?e . ?e rdf:type ontology:Q163740 }
Stanford University
Gary Anderson was educated at Stanford University
Stanford University
action filter_type
action find
entity Gary Anderson
relation educated at
type nonprofit organization
['Gary Anderson', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?e WHERE { resource:Gary_Anderson property:educated_at ?e . ?e rdf:type ontology:nonprofit_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5524603
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q41506,P27,c(Q15617994))
action filter_type
action find
entity Q5524603
relation P27
type Q15617994
['Q41506', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q5524603 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Gary Anderson
action filter_type
action find
entity Gary Anderson
relation country of citizenship
type designation for an administrative territorial entity
['Stanford University', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Gary_Anderson property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q41506,P27,c(Q15617994))
action filter_type
action find
entity Q5524603
relation P27
type Q15617994
The [ANSWER] is the country of citizenship of that person
['Q41506', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q5524603 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
United States of America
The United States of America is the country of citizenship of that person
United States of America
action filter_type
action find
entity Gary Anderson
relation country of citizenship
type designation for an administrative territorial entity
['Stanford University', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Gary_Anderson property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q30 Q32638
P530
Q1048835
USER
Does Aldeias have a diplomatic relationship with that administrative territory ?
(Q30,P530,Q32638)
action is_in
entity Q32638
action find
entity Q30
relation P530
['Q30', 'P530', 'Q32638']
ASK WHERE { resource:Q30 property:P530 resource:Q32638 }
United States of America Aldeias
action is_in
entity Aldeias
action find
entity United States of America
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Aldeias']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Aldeias }
[]
political territorial entity
SYSTEM
NO
(Q30,P530,Q32638)
action is_in
entity Q32638
action find
entity Q30
relation P530
[ANSWER]
['Q30', 'P530', 'Q32638']
ASK WHERE { resource:Q30 property:P530 resource:Q32638 }
No
action is_in
entity Aldeias
action find
entity United States of America
relation diplomatic relation
['United States of America', 'diplomatic relation', 'Aldeias']
ASK WHERE { resource:United_States_of_America property:diplomatic_relation resource:Aldeias }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1860 Q1346342 Q1196071
P361
Q5962346
USER
Is English a component of Anglic languages and collie ?
(Q1860,P361,Q1346342) (Q1860,P361,Q1196071)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q1346342
relation P361
action find_reverse
entity Q1196071
relation P361
['Q1860', 'P361', 'Q1346342'] ['Q1860', 'P361', 'Q1196071']
ASK WHERE { resource:Q1860 property:P361 resource:Q1346342 . resource:Q1860 property:P361 resource:Q1196071 }
English Anglic languages collie
action is_in
entity English
action intersection
action find_reverse
entity Anglic languages
relation part of
action find_reverse
entity collie
relation part of
['English', 'part of', 'Anglic languages'] ['English', 'part of', 'collie']
ASK WHERE { resource:English property:part_of resource:Anglic_languages . resource:English property:part_of resource:collie }
[]
classification scheme
SYSTEM
YES and NO respectively
(Q1860,P361,Q1346342) (Q1860,P361,Q1196071)
action is_in
entity Q1860
action intersection
action find_reverse
entity Q1346342
relation P361
action find_reverse
entity Q1196071
relation P361
[ANSWER]
['Q1860', 'P361', 'Q1346342'] ['Q1860', 'P361', 'Q1196071']
ASK WHERE { resource:Q1860 property:P361 resource:Q1346342 . resource:Q1860 property:P361 resource:Q1196071 }
YES and NO respectively
action is_in
entity English
action intersection
action find_reverse
entity Anglic languages
relation part of
action find_reverse
entity collie
relation part of
['English', 'part of', 'Anglic languages'] ['English', 'part of', 'collie']
ASK WHERE { resource:English property:part_of resource:Anglic_languages . resource:English property:part_of resource:collie }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q30 Q15971781
P463
Q43229
USER
How many organizations were United States of America or Kloster Donndorf a member of ?
(Q30,P463,c(Q43229)) (Q15971781,P463,c(Q43229))
action count
action union
action filter_type
action find
entity Q30
relation P463
type Q43229
action filter_type
action find
entity Q15971781
relation P463
type Q43229
['Q30', 'P463', {'concept': 'Q43229'}] ['Q15971781', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { { ?w rdf:type ontology:Q43229 . resource:Q30 property:P463 ?w } UNION { resource:Q15971781 property:P463 ?w . ?w rdf:type ontology:Q43229 } }
United States of America Kloster Donndorf
action count
action union
action filter_type
action find
entity United States of America
relation member of
type organization
action filter_type
action find
entity Kloster Donndorf
relation member of
type organization
['United States of America', 'member of', {'concept': 'organization'}] ['Kloster Donndorf', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { { ?w rdf:type ontology:organization . resource:United_States_of_America property:member_of ?w } UNION { resource:Kloster_Donndorf property:member_of ?w . ?w rdf:type ontology:organization } }
[]
organization
SYSTEM
9
Q340195 Q830522 Q191384 Q899770 Q41550 Q656801 Q7825 Q170481 Q827525
(Q30,P463,c(Q43229)) (Q15971781,P463,c(Q43229))
action count
action union
action filter_type
action find
entity Q30
relation P463
type Q43229
action filter_type
action find
entity Q15971781
relation P463
type Q43229
[ANSWER]
['Q30', 'P463', {'concept': 'Q43229'}] ['Q15971781', 'P463', {'concept': 'Q43229'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { { ?w rdf:type ontology:Q43229 . resource:Q30 property:P463 ?w } UNION { resource:Q15971781 property:P463 ?w . ?w rdf:type ontology:Q43229 } }
African Development Bank Evangelical Church in Central Germany International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes Organisation for Economic Co-operation and Development International Finance Corporation World Trade Organization Asia-Pacific Economic Cooperation International Development Association
9
action count
action union
action filter_type
action find
entity United States of America
relation member of
type organization
action filter_type
action find
entity Kloster Donndorf
relation member of
type organization
['United States of America', 'member of', {'concept': 'organization'}] ['Kloster Donndorf', 'member of', {'concept': 'organization'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { { ?w rdf:type ontology:organization . resource:United_States_of_America property:member_of ?w } UNION { resource:Kloster_Donndorf property:member_of ?w . ?w rdf:type ontology:organization } }
[]