Simple Question (Direct)
Simple Question
Q7342640
P241
Q781132
USER
Which military branch did Robert C. Murphy belong to ?
(Q7342640,P241,c(Q781132))
action filter_type
action find
entity Q7342640
relation P241
type Q781132
['Q7342640', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?y WHERE { resource:Q7342640 property:P241 ?y . ?y rdf:type ontology:Q781132 }
Robert C. Murphy
action filter_type
action find
entity Robert C. Murphy
relation military branch
type military branch
['Robert C. Murphy', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?y WHERE { resource:Robert_C._Murphy property:military_branch ?y . ?y rdf:type ontology:military_branch }
[]
military branch
Q11220
SYSTEM
United States Navy
Q11220
(Q7342640,P241,c(Q781132))
action filter_type
action find
entity Q7342640
relation P241
type Q781132
Robert C. Murphy belonged to [ANSWER]
['Q7342640', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?y WHERE { resource:Q7342640 property:P241 ?y . ?y rdf:type ontology:Q781132 }
United States Navy
Robert C. Murphy belonged to United States Navy
United States Navy
action filter_type
action find
entity Robert C. Murphy
relation military branch
type military branch
['Robert C. Murphy', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?y WHERE { resource:Robert_C._Murphy property:military_branch ?y . ?y rdf:type ontology:military_branch }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7342640
P21
Q290
USER
Which sex does that person have ?
(Q11220,P21,c(Q290))
action filter_type
action find
entity Q7342640
relation P21
type Q290
['Q11220', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q7342640 property:P21 ?g . ?g rdf:type ontology:Q290 }
Robert C. Murphy
action filter_type
action find
entity Robert C. Murphy
relation gender
type sex
['United States Navy', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Robert_C._Murphy property:gender ?g . ?g rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q11220,P21,c(Q290))
action filter_type
action find
entity Q7342640
relation P21
type Q290
That person has a [ANSWER]
['Q11220', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?g WHERE { resource:Q7342640 property:P21 ?g . ?g rdf:type ontology:Q290 }
male
That person has a male
male
action filter_type
action find
entity Robert C. Murphy
relation gender
type sex
['United States Navy', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?g WHERE { resource:Robert_C._Murphy property:gender ?g . ?g rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7342640
P607
Q198
USER
Which battle did that person take part in ?
(Q6581097,P607,c(Q198))
action filter_type
action find
entity Q7342640
relation P607
type Q198
['Q6581097', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q198 . resource:Q7342640 property:P607 ?h }
Robert C. Murphy
action filter_type
action find
entity Robert C. Murphy
relation conflict
type war
['male', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:war . resource:Robert_C._Murphy property:conflict ?h }
[]
war
Q362
SYSTEM
World War II
Q362
(Q6581097,P607,c(Q198))
action filter_type
action find
entity Q7342640
relation P607
type Q198
That person took in part in [ANSWER]
['Q6581097', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q198 . resource:Q7342640 property:P607 ?h }
World War II
That person took in part in World War II
World War II
action filter_type
action find
entity Robert C. Murphy
relation conflict
type war
['male', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:war . resource:Robert_C._Murphy property:conflict ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7342640
P27
Q15617994
USER
Which administrative territory does Robert C. Murphy belong to ?
(Q7342640,P27,c(Q15617994))
action filter_type
action find
entity Q7342640
relation P27
type Q15617994
['Q7342640', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q7342640 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
Robert C. Murphy
action filter_type
action find
entity Robert C. Murphy
relation country of citizenship
type designation for an administrative territorial entity
['Robert C. Murphy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Robert_C._Murphy 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
(Q7342640,P27,c(Q15617994))
action filter_type
action find
entity Q7342640
relation P27
type Q15617994
[ANSWER] does Robert C. Murphy belong to
['Q7342640', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { resource:Q7342640 property:P27 ?p . ?p rdf:type ontology:Q15617994 }
United States of America
United States of America does Robert C. Murphy belong to
United States of America
action filter_type
action find
entity Robert C. Murphy
relation country of citizenship
type designation for an administrative territorial entity
['Robert C. Murphy', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Robert_C._Murphy property:country_of_citizenship ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7342640
P106
Q12737077
USER
What are the job of Robert C. Murphy ?
(Q7342640,P106,c(Q12737077))
action filter_type
action find
entity Q7342640
relation P106
type Q12737077
['Q7342640', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q7342640 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
Robert C. Murphy
action filter_type
action find
entity Robert C. Murphy
relation occupation
type occupation
['Robert C. Murphy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Robert_C._Murphy property:occupation ?y . ?y rdf:type ontology:occupation }
[]
occupation
Q16533 Q82955
SYSTEM
judge, politician
Q16533 Q82955
(Q7342640,P106,c(Q12737077))
action filter_type
action find
entity Q7342640
relation P106
type Q12737077
The job of Robert C. Murphy are a [ANSWERS]
['Q7342640', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?y WHERE { resource:Q7342640 property:P106 ?y . ?y rdf:type ontology:Q12737077 }
judge politician
The job of Robert C. Murphy are a judge and politician
judge politician
action filter_type
action find
entity Robert C. Murphy
relation occupation
type occupation
['Robert C. Murphy', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?y WHERE { resource:Robert_C._Murphy property:occupation ?y . ?y rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7342640
P69
Q3918
USER
Which university is Robert C. Murphy an alumni of ?
(Q7342640,P69,c(Q3918))
action filter_type
action find
entity Q7342640
relation P69
type Q3918
['Q7342640', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?x WHERE { resource:Q7342640 property:P69 ?x . ?x rdf:type ontology:Q3918 }
Robert C. Murphy
action filter_type
action find
entity Robert C. Murphy
relation educated at
type university
['Robert C. Murphy', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?x WHERE { resource:Robert_C._Murphy property:educated_at ?x . ?x rdf:type ontology:university }
[]
university
Q7895695
SYSTEM
University of Maryland School of Law
Q7895695
(Q7342640,P69,c(Q3918))
action filter_type
action find
entity Q7342640
relation P69
type Q3918
[ANSWER] is Robert C. Murphy an alumni of
['Q7342640', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?x WHERE { resource:Q7342640 property:P69 ?x . ?x rdf:type ontology:Q3918 }
University of Maryland School of Law
University of Maryland School of Law is Robert C. Murphy an alumni of
University of Maryland School of Law
action filter_type
action find
entity Robert C. Murphy
relation educated at
type university
['Robert C. Murphy', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?x WHERE { resource:Robert_C._Murphy property:educated_at ?x . ?x rdf:type ontology:university }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q5353179
Q3918
USER
And what about Elaine Chan?
(Q5353179,P69,c(Q3918))
action filter_type
action find
entity Q5353179
relation P69
type Q3918
['Q5353179', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?q WHERE { resource:Q5353179 property:P69 ?q . ?q rdf:type ontology:Q3918 }
Elaine Chan
action filter_type
action find
entity Elaine Chan
relation educated at
type university
['Elaine Chan', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?q WHERE { resource:Elaine_Chan property:educated_at ?q . ?q rdf:type ontology:university }
[]
university
Q15568
SYSTEM
The University of Hong Kong
Q15568
(Q5353179,P69,c(Q3918))
action filter_type
action find
entity Q5353179
relation P69
type Q3918
[ANSWER]
['Q5353179', 'P69', {'concept': 'Q3918'}]
SELECT DISTINCT ?q WHERE { resource:Q5353179 property:P69 ?q . ?q rdf:type ontology:Q3918 }
The University of Hong Kong
The University of Hong Kong
action filter_type
action find
entity Elaine Chan
relation educated at
type university
['Elaine Chan', 'educated at', {'concept': 'university'}]
SELECT DISTINCT ?q WHERE { resource:Elaine_Chan property:educated_at ?q . ?q rdf:type ontology:university }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5353179
P734
Q82799
USER
Who is associated with that person ?
(Q15568,P734,c(Q82799))
action filter_type
action find
entity Q5353179
relation P734
type Q82799
['Q15568', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q82799 . resource:Q5353179 property:P734 ?h }
Elaine Chan
action filter_type
action find
entity Elaine Chan
relation family name
type name
['The University of Hong Kong', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:name . resource:Elaine_Chan property:family_name ?h }
[]
name
Q804988
SYSTEM
Chen
Q804988
(Q15568,P734,c(Q82799))
action filter_type
action find
entity Q5353179
relation P734
type Q82799
[ANSWER] is associated with that person
['Q15568', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q82799 . resource:Q5353179 property:P734 ?h }
Chen
Chen is associated with that person
Chen
action filter_type
action find
entity Elaine Chan
relation family name
type name
['The University of Hong Kong', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:name . resource:Elaine_Chan property:family_name ?h }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q16533
P106
Q15619164 Q3918
USER
How many abstract beings and universities have the profession as judge ?
(c(Q15619164),P106,Q16533) (c(Q3918),P106,Q16533)
action count
action union
action filter_type
action find_reverse
entity Q16533
relation P106
type Q15619164
action filter_type
action find_reverse
entity Q16533
relation P106
type Q3918
[{'concept': 'Q15619164'}, 'P106', 'Q16533'] [{'concept': 'Q3918'}, 'P106', 'Q16533']
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { { ?r rdf:type ontology:Q15619164 . ?r property:P106 resource:Q16533 } UNION { ?r property:P106 resource:Q16533 . ?r rdf:type ontology:Q3918 } }
judge
action count
action union
action filter_type
action find_reverse
entity judge
relation occupation
type abstract being
action filter_type
action find_reverse
entity judge
relation occupation
type university
[{'concept': 'abstract being'}, 'occupation', 'judge'] [{'concept': 'university'}, 'occupation', 'judge']
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { { ?r rdf:type ontology:abstract_being . ?r property:occupation resource:judge } UNION { ?r property:occupation resource:judge . ?r rdf:type ontology:university } }
[]
abstract being university
SYSTEM
1 abstract beings and 1 universities
Q2151996 Q27691569
(c(Q15619164),P106,Q16533) (c(Q3918),P106,Q16533)
action count
action union
action filter_type
action find_reverse
entity Q16533
relation P106
type Q15619164
action filter_type
action find_reverse
entity Q16533
relation P106
type Q3918
[ANSWER]
[{'concept': 'Q15619164'}, 'P106', 'Q16533'] [{'concept': 'Q3918'}, 'P106', 'Q16533']
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { { ?r rdf:type ontology:Q15619164 . ?r property:P106 resource:Q16533 } UNION { ?r property:P106 resource:Q16533 . ?r rdf:type ontology:Q3918 } }
Constance Harm Janine M. Otalora Malassis
1 abstract beings and 1 universities
action count
action union
action filter_type
action find_reverse
entity judge
relation occupation
type abstract being
action filter_type
action find_reverse
entity judge
relation occupation
type university
[{'concept': 'abstract being'}, 'occupation', 'judge'] [{'concept': 'university'}, 'occupation', 'judge']
SELECT DISTINCT ( COUNT ( ?r ) AS ?i ) WHERE { { ?r rdf:type ontology:abstract_being . ?r property:occupation resource:judge } UNION { ?r property:occupation resource:judge . ?r rdf:type ontology:university } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1711547 Q30
P47 P27
Q15617994
USER
Which administrative territories are bordered by United States of America or are Juhani Pallasmaa an inhabitant of ?
OR((Q30,P47,c(Q15617994)), (Q1711547,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q30
relation P47
action find
entity Q1711547
relation P27
type Q15617994
{'OR': [['Q30', 'P47', {'concept': 'Q15617994'}], ['Q1711547', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . { { resource:Q30 property:P47 ?c } UNION { resource:Q1711547 property:P27 ?c } } }
Juhani Pallasmaa United States of America
action filter_type
action union
action find
entity United States of America
relation shares border with
action find
entity Juhani Pallasmaa
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Juhani Pallasmaa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:United_States_of_America property:shares_border_with ?c } UNION { resource:Juhani_Pallasmaa property:country_of_citizenship ?c } } }
[]
designation for an administrative territorial entity
Q790 Q241 Q33 Q702 Q96 Q159 Q710 Q804 Q717 Q683
SYSTEM
Some of them are Haiti, Cuba, Finland, Federated States of Micronesia, Mexico, Russia, Kiribati, Panama, Venezuela, Samoa
Q241 Q702 Q804 Q159 Q96 Q683 Q786 Q33 Q17 Q710 Q678 Q717 Q790
OR((Q30,P47,c(Q15617994)), (Q1711547,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q30
relation P47
action find
entity Q1711547
relation P27
type Q15617994
[ANSWERS] are bordered by United States of America or are Juhani Pallasmaa an inhabitant of
{'OR': [['Q30', 'P47', {'concept': 'Q15617994'}], ['Q1711547', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q15617994 . { { resource:Q30 property:P47 ?c } UNION { resource:Q1711547 property:P27 ?c } } }
Cuba Federated States of Micronesia Panama Russia Mexico Samoa Dominican Republic Finland Japan Kiribati Tonga Venezuela Haiti
Haiti, Cuba, Finland, Federated States of Micronesia, Mexico, Russia, Kiribati, Panama, Venezuela and Samoa are bordered by United States of America or are Juhani Pallasmaa an inhabitant of
Haiti Cuba Finland Federated States of Micronesia Mexico Russia Kiribati Panama Venezuela Samoa
action filter_type
action union
action find
entity United States of America
relation shares border with
action find
entity Juhani Pallasmaa
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Juhani Pallasmaa', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:United_States_of_America property:shares_border_with ?c } UNION { resource:Juhani_Pallasmaa property:country_of_citizenship ?c } } }
[]