Simple Question (Direct)
Simple Question
Q4164136
P21
Q290
USER
Which sex does Norton Dodge have ?
(Q4164136,P21,c(Q290))
action filter_type
action find
entity Q4164136
relation P21
type Q290
['Q4164136', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q4164136 property:P21 ?a . ?a rdf:type ontology:Q290 }
Norton Dodge
action filter_type
action find
entity Norton Dodge
relation gender
type sex
['Norton Dodge', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Norton_Dodge property:gender ?a . ?a rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4164136,P21,c(Q290))
action filter_type
action find
entity Q4164136
relation P21
type Q290
Norton Dodge has a [ANSWER]
['Q4164136', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?a WHERE { resource:Q4164136 property:P21 ?a . ?a rdf:type ontology:Q290 }
male
Norton Dodge has a male
male
action filter_type
action find
entity Norton Dodge
relation gender
type sex
['Norton Dodge', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?a WHERE { resource:Norton_Dodge property:gender ?a . ?a rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4164136
P19
Q56061
USER
Which administrative territory is the birthplace of Norton Dodge ?
(Q4164136,P19,c(Q56061))
action filter_type
action find
entity Q4164136
relation P19
type Q56061
['Q4164136', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . resource:Q4164136 property:P19 ?p }
Norton Dodge
action filter_type
action find
entity Norton Dodge
relation place of birth
type administrative territorial entity
['Norton Dodge', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . resource:Norton_Dodge property:place_of_birth ?p }
[]
administrative territorial entity
Q34863
SYSTEM
Oklahoma City
Q34863
(Q4164136,P19,c(Q56061))
action filter_type
action find
entity Q4164136
relation P19
type Q56061
[ANSWER] is the birthplace of Norton Dodge
['Q4164136', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q56061 . resource:Q4164136 property:P19 ?p }
Oklahoma City
Oklahoma City is the birthplace of Norton Dodge
Oklahoma City
action filter_type
action find
entity Norton Dodge
relation place of birth
type administrative territorial entity
['Norton Dodge', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:administrative_territorial_entity . resource:Norton_Dodge property:place_of_birth ?p }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q3771490 Q4164136
P19
Q56061
USER
Or Giuseppe Stuard?
OR((Q4164136,P19,c(Q56061)), (Q3771490,P19,c(Q56061)))
action filter_type
action union
action find
entity Q4164136
relation P19
action find
entity Q3771490
relation P19
type Q56061
{'OR': [['Q4164136', 'P19', {'concept': 'Q56061'}], ['Q3771490', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?u ) { ( resource:Q4164136 ) ( resource:Q3771490 ) } . ?u property:P19 ?g } . ?g rdf:type ontology:Q56061 }
Giuseppe Stuard Norton Dodge
action filter_type
action union
action find
entity Norton Dodge
relation place of birth
action find
entity Giuseppe Stuard
relation place of birth
type administrative territorial entity
{'OR': [['Norton Dodge', 'place of birth', {'concept': 'administrative territorial entity'}], ['Giuseppe Stuard', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?u ) { ( resource:Norton_Dodge ) ( resource:Giuseppe_Stuard ) } . ?u property:place_of_birth ?g } . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2683 Q34863
SYSTEM
Parma, Oklahoma City
Q2683 Q34863
OR((Q4164136,P19,c(Q56061)), (Q3771490,P19,c(Q56061)))
action filter_type
action union
action find
entity Q4164136
relation P19
action find
entity Q3771490
relation P19
type Q56061
[ANSWERS]
{'OR': [['Q4164136', 'P19', {'concept': 'Q56061'}], ['Q3771490', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?u ) { ( resource:Q4164136 ) ( resource:Q3771490 ) } . ?u property:P19 ?g } . ?g rdf:type ontology:Q56061 }
Parma Oklahoma City
Parma Oklahoma City
action filter_type
action union
action find
entity Norton Dodge
relation place of birth
action find
entity Giuseppe Stuard
relation place of birth
type administrative territorial entity
{'OR': [['Norton Dodge', 'place of birth', {'concept': 'administrative territorial entity'}], ['Giuseppe Stuard', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { { VALUES ( ?u ) { ( resource:Norton_Dodge ) ( resource:Giuseppe_Stuard ) } . ?u property:place_of_birth ?g } . ?g rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P17
Q15617994
USER
How many administrative territories are that administrative territory located in ?
(Q2683,P17,c(Q15617994))
['Q2683', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q967838 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
['Parma', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Parma property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q2683
SYSTEM
Did you mean Parma ?
(Q2683,P17,c(Q15617994)) (Q34863,P17,c(Q15617994))
[ANSWER]
['Q2683', 'P17', {'concept': 'Q15617994'}] ['Q34863', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q967838 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean Parma ?
Parma
['Parma', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Oklahoma City', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Parma property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q2683,P17,c(Q15617994))
['Q2683', 'P17', {'concept': 'Q15617994'}]
['Parma', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
3
Q142 Q38 Q165040
(Q2683,P17,c(Q15617994))
[ANSWER]
['Q2683', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q967838 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
France Italy Duchy of Parma
3
['Parma', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Parma property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4975145 Q4164136
P27 P17
Q15617994
USER
Which administrative territories do Norton Dodge belong to or are Brookthorpe-with-Whaddon a part of ?
OR((Q4164136,P27,c(Q15617994)), (Q4975145,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q4164136
relation P27
action find
entity Q4975145
relation P17
type Q15617994
{'OR': [['Q4164136', 'P27', {'concept': 'Q15617994'}], ['Q4975145', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q4164136 property:P27 ?v } UNION { resource:Q4975145 property:P17 ?v } } . ?v rdf:type ontology:Q15617994 }
Brookthorpe-with-Whaddon Norton Dodge
action filter_type
action union
action find
entity Norton Dodge
relation country of citizenship
action find
entity Brookthorpe-with-Whaddon
relation country
type designation for an administrative territorial entity
{'OR': [['Norton Dodge', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Brookthorpe-with-Whaddon', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Norton_Dodge property:country_of_citizenship ?v } UNION { resource:Brookthorpe-with-Whaddon property:country ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q145
SYSTEM
United States of America, United Kingdom
Q30 Q145
OR((Q4164136,P27,c(Q15617994)), (Q4975145,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q4164136
relation P27
action find
entity Q4975145
relation P17
type Q15617994
Norton Dodge Brookthorpe-with-Whaddon belong to the [ANSWERS] or are a part of
{'OR': [['Q4164136', 'P27', {'concept': 'Q15617994'}], ['Q4975145', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q4164136 property:P27 ?v } UNION { resource:Q4975145 property:P17 ?v } } . ?v rdf:type ontology:Q15617994 }
United States of America United Kingdom
Norton Dodge Brookthorpe-with-Whaddon belong to the United States of America and United Kingdom or are a part of
United States of America United Kingdom
action filter_type
action union
action find
entity Norton Dodge
relation country of citizenship
action find
entity Brookthorpe-with-Whaddon
relation country
type designation for an administrative territorial entity
{'OR': [['Norton Dodge', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Brookthorpe-with-Whaddon', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Norton_Dodge property:country_of_citizenship ?v } UNION { resource:Brookthorpe-with-Whaddon property:country ?v } } . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q1677579 Q4164136
P69
Q163740
USER
Which nonprofit organizations are Norton Dodge and Jack Lew an alumni of ?
AND((Q4164136,P69,c(Q163740)), (Q1677579,P69,c(Q163740)))
action filter_type
action intersection
action find
entity Q4164136
relation P69
action find
entity Q1677579
relation P69
type Q163740
{'AND': [['Q4164136', 'P69', {'concept': 'Q163740'}], ['Q1677579', 'P69', {'concept': 'Q163740'}]]}
SELECT DISTINCT ?w WHERE { resource:Q1677579 property:P69 ?w . resource:Q4164136 property:P69 ?w . ?w rdf:type ontology:Q163740 }
Jack Lew Norton Dodge
action filter_type
action intersection
action find
entity Norton Dodge
relation educated at
action find
entity Jack Lew
relation educated at
type nonprofit organization
{'AND': [['Norton Dodge', 'educated at', {'concept': 'nonprofit organization'}], ['Jack Lew', 'educated at', {'concept': 'nonprofit organization'}]]}
SELECT DISTINCT ?w WHERE { resource:Jack_Lew property:educated_at ?w . resource:Norton_Dodge property:educated_at ?w . ?w rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q13371
SYSTEM
Harvard University
Q13371
AND((Q4164136,P69,c(Q163740)), (Q1677579,P69,c(Q163740)))
action filter_type
action intersection
action find
entity Q4164136
relation P69
action find
entity Q1677579
relation P69
type Q163740
The [ANSWER] is Norton Dodge and Jack Lew an alumni of
{'AND': [['Q4164136', 'P69', {'concept': 'Q163740'}], ['Q1677579', 'P69', {'concept': 'Q163740'}]]}
SELECT DISTINCT ?w WHERE { resource:Q1677579 property:P69 ?w . resource:Q4164136 property:P69 ?w . ?w rdf:type ontology:Q163740 }
Harvard University
The Harvard University is Norton Dodge and Jack Lew an alumni of
Harvard University
action filter_type
action intersection
action find
entity Norton Dodge
relation educated at
action find
entity Jack Lew
relation educated at
type nonprofit organization
{'AND': [['Norton Dodge', 'educated at', {'concept': 'nonprofit organization'}], ['Jack Lew', 'educated at', {'concept': 'nonprofit organization'}]]}
SELECT DISTINCT ?w WHERE { resource:Jack_Lew property:educated_at ?w . resource:Norton_Dodge property:educated_at ?w . ?w rdf:type ontology:nonprofit_organization }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q13371 Q318328 Q17305722
P138
Q502895
USER
Does that nonprofit organization have John Harvard and Chris Browning as its namesake ?
(Q13371,P138,Q318328) (Q13371,P138,Q17305722)
action is_in
entity Q13371
action intersection
action find_reverse
entity Q318328
relation P138
action find_reverse
entity Q17305722
relation P138
['Q13371', 'P138', 'Q318328'] ['Q13371', 'P138', 'Q17305722']
ASK WHERE { resource:Q13371 property:P138 resource:Q318328 . resource:Q13371 property:P138 resource:Q17305722 }
Harvard University John Harvard Chris Browning
action is_in
entity Harvard University
action intersection
action find_reverse
entity John Harvard
relation named after
action find_reverse
entity Chris Browning
relation named after
['Harvard University', 'named after', 'John Harvard'] ['Harvard University', 'named after', 'Chris Browning']
ASK WHERE { resource:Harvard_University property:named_after resource:John_Harvard . resource:Harvard_University property:named_after resource:Chris_Browning }
[]
common name
SYSTEM
YES and NO respectively
(Q13371,P138,Q318328) (Q13371,P138,Q17305722)
action is_in
entity Q13371
action intersection
action find_reverse
entity Q318328
relation P138
action find_reverse
entity Q17305722
relation P138
[ANSWER]
['Q13371', 'P138', 'Q318328'] ['Q13371', 'P138', 'Q17305722']
ASK WHERE { resource:Q13371 property:P138 resource:Q318328 . resource:Q13371 property:P138 resource:Q17305722 }
YES and NO respectively
action is_in
entity Harvard University
action intersection
action find_reverse
entity John Harvard
relation named after
action find_reverse
entity Chris Browning
relation named after
['Harvard University', 'named after', 'John Harvard'] ['Harvard University', 'named after', 'Chris Browning']
ASK WHERE { resource:Harvard_University property:named_after resource:John_Harvard . resource:Harvard_University property:named_after resource:Chris_Browning }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q13371
P361
Q12737077
USER
Which occupations are a portion of Harvard University ?
(c(Q12737077),P361,Q13371)
action filter_type
action find_reverse
entity Q13371
relation P361
type Q12737077
[{'concept': 'Q12737077'}, 'P361', 'Q13371']
SELECT DISTINCT ?z WHERE { ?z property:P361 resource:Q13371 . ?z rdf:type ontology:Q12737077 }
Harvard University
action filter_type
action find_reverse
entity Harvard University
relation part of
type occupation
[{'concept': 'occupation'}, 'part of', 'Harvard University']
SELECT DISTINCT ?z WHERE { ?z property:part_of resource:Harvard_University . ?z rdf:type ontology:occupation }
[]
occupation
Q19588706 Q19637559
SYSTEM
President of Harvard University, President of Harvard University
Q19588706 Q19637559
(c(Q12737077),P361,Q13371)
action filter_type
action find_reverse
entity Q13371
relation P361
type Q12737077
[ANSWERS] are a portion of Harvard University
[{'concept': 'Q12737077'}, 'P361', 'Q13371']
SELECT DISTINCT ?z WHERE { ?z property:P361 resource:Q13371 . ?z rdf:type ontology:Q12737077 }
President of Harvard University President of Harvard University
President of Harvard University and President of Harvard University are a portion of Harvard University
President of Harvard University President of Harvard University
action filter_type
action find_reverse
entity Harvard University
relation part of
type occupation
[{'concept': 'occupation'}, 'part of', 'Harvard University']
SELECT DISTINCT ?z WHERE { ?z property:part_of resource:Harvard_University . ?z rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q19588706 Q19637559
P361
Q163740
USER
Which nonprofit organizations are President of Harvard University and President of Harvard University a component of ?
(Q19588706,P361,c(Q163740)) (Q19637559,P361,c(Q163740))
action union
action filter_type
action find
entity Q19588706
relation P361
type Q163740
action filter_type
action find
entity Q19637559
relation P361
type Q163740
['Q19588706', 'P361', {'concept': 'Q163740'}] ['Q19637559', 'P361', {'concept': 'Q163740'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?u ) { ( resource:Q19588706 ) ( resource:Q19637559 ) } . ?u property:P361 ?b }
President of Harvard University President of Harvard University
action union
action filter_type
action find
entity President of Harvard University
relation part of
type nonprofit organization
action filter_type
action find
entity President of Harvard University
relation part of
type nonprofit organization
['President of Harvard University', 'part of', {'concept': 'nonprofit organization'}] ['President of Harvard University', 'part of', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?b WHERE { { resource:President_of_Harvard_University property:part_of ?b . ?b rdf:type ontology:nonprofit_organization } UNION { resource:President_of_Harvard_University property:part_of ?b . ?b rdf:type ontology:nonprofit_organization } }
[]
nonprofit organization
Q13371 Q13371
SYSTEM
Harvard University
Q13371 Q13371
(Q19588706,P361,c(Q163740)) (Q19637559,P361,c(Q163740))
action union
action filter_type
action find
entity Q19588706
relation P361
type Q163740
action filter_type
action find
entity Q19637559
relation P361
type Q163740
[ANSWER] and [ANSWER] are President of [ANSWER] and President of [ANSWER] a component of
['Q19588706', 'P361', {'concept': 'Q163740'}] ['Q19637559', 'P361', {'concept': 'Q163740'}]
SELECT DISTINCT ?b WHERE { VALUES ( ?u ) { ( resource:Q19588706 ) ( resource:Q19637559 ) } . ?u property:P361 ?b }
Harvard University Harvard University
Harvard University and Harvard University are President of Harvard University and President of Harvard University a component of
Harvard University Harvard University
action union
action filter_type
action find
entity President of Harvard University
relation part of
type nonprofit organization
action filter_type
action find
entity President of Harvard University
relation part of
type nonprofit organization
['President of Harvard University', 'part of', {'concept': 'nonprofit organization'}] ['President of Harvard University', 'part of', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?b WHERE { { resource:President_of_Harvard_University property:part_of ?b . ?b rdf:type ontology:nonprofit_organization } UNION { resource:President_of_Harvard_University property:part_of ?b . ?b rdf:type ontology:nonprofit_organization } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4164136
P735
Q82799
USER
What is forename of Norton Dodge ?
(Q4164136,P735,c(Q82799))
action filter_type
action find
entity Q4164136
relation P735
type Q82799
['Q4164136', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { resource:Q4164136 property:P735 ?a . ?a rdf:type ontology:Q82799 }
Norton Dodge
action filter_type
action find
entity Norton Dodge
relation given name
type name
['Norton Dodge', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { resource:Norton_Dodge property:given_name ?a . ?a rdf:type ontology:name }
[]
name
Q16290858
SYSTEM
Norton
Q16290858
(Q4164136,P735,c(Q82799))
action filter_type
action find
entity Q4164136
relation P735
type Q82799
Forename of [ANSWER] Dodge is of [ANSWER]
['Q4164136', 'P735', {'concept': 'Q82799'}]
SELECT DISTINCT ?a WHERE { resource:Q4164136 property:P735 ?a . ?a rdf:type ontology:Q82799 }
Norton
Forename of Norton Dodge is of Norton
Norton
action filter_type
action find
entity Norton Dodge
relation given name
type name
['Norton Dodge', 'given name', {'concept': 'name'}]
SELECT DISTINCT ?a WHERE { resource:Norton_Dodge property:given_name ?a . ?a rdf:type ontology:name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4164136
P1412
Q34770
USER
Which language is Norton Dodge capable of writing ?
(Q4164136,P1412,c(Q34770))
action filter_type
action find
entity Q4164136
relation P1412
type Q34770
['Q4164136', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { resource:Q4164136 property:P1412 ?a . ?a rdf:type ontology:Q34770 }
Norton Dodge
action filter_type
action find
entity Norton Dodge
relation languages spoken, written or signed
type language
['Norton Dodge', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { resource:Norton_Dodge property:languages_spoken,_written_or_signed ?a . ?a rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q4164136,P1412,c(Q34770))
action filter_type
action find
entity Q4164136
relation P1412
type Q34770
[ANSWER] is Norton Dodge capable of writing
['Q4164136', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?a WHERE { resource:Q4164136 property:P1412 ?a . ?a rdf:type ontology:Q34770 }
English
English is Norton Dodge capable of writing
English
action filter_type
action find
entity Norton Dodge
relation languages spoken, written or signed
type language
['Norton Dodge', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?a WHERE { resource:Norton_Dodge property:languages_spoken,_written_or_signed ?a . ?a rdf:type ontology:language }
[]