Simple Question (Direct)
Simple Question
Q4701132
P102
Q7210356
USER
Which party is Akira Hatano affiliated with ?
(Q4701132,P102,c(Q7210356))
action filter_type
action find
entity Q4701132
relation P102
type Q7210356
['Q4701132', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?c WHERE { resource:Q4701132 property:P102 ?c . ?c rdf:type ontology:Q7210356 }
Akira Hatano
action filter_type
action find
entity Akira Hatano
relation member of political party
type political organization
['Akira Hatano', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?c WHERE { resource:Akira_Hatano property:member_of_political_party ?c . ?c rdf:type ontology:political_organization }
[]
political organization
Q232595
SYSTEM
Liberal Democratic Party
Q232595
(Q4701132,P102,c(Q7210356))
action filter_type
action find
entity Q4701132
relation P102
type Q7210356
Akira Hatano is affiliated with [ANSWER]
['Q4701132', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?c WHERE { resource:Q4701132 property:P102 ?c . ?c rdf:type ontology:Q7210356 }
Liberal Democratic Party
Akira Hatano is affiliated with Liberal Democratic Party
Liberal Democratic Party
action filter_type
action find
entity Akira Hatano
relation member of political party
type political organization
['Akira Hatano', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?c WHERE { resource:Akira_Hatano property:member_of_political_party ?c . ?c rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4701132
P106
Q12737077
USER
Which occupation has Akira Hatano as his/her 's career ?
(Q4701132,P106,c(Q12737077))
action filter_type
action find
entity Q4701132
relation P106
type Q12737077
['Q4701132', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q4701132 property:P106 ?z }
Akira Hatano
action filter_type
action find
entity Akira Hatano
relation occupation
type occupation
['Akira Hatano', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:Akira_Hatano property:occupation ?z }
[]
occupation
Q82955
SYSTEM
politician
Q82955
(Q4701132,P106,c(Q12737077))
action filter_type
action find
entity Q4701132
relation P106
type Q12737077
As [ANSWER] has Akira Hatano as his/her 's career
['Q4701132', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q12737077 . resource:Q4701132 property:P106 ?z }
politician
As politician has Akira Hatano as his/her 's career
politician
action filter_type
action find
entity Akira Hatano
relation occupation
type occupation
['Akira Hatano', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:occupation . resource:Akira_Hatano property:occupation ?z }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11806850
Q12737077
USER
And also tell me about Keith Arbuthnott, 15th Viscount of Arbuthnott?
(Q11806850,P106,c(Q12737077))
action filter_type
action find
entity Q11806850
relation P106
type Q12737077
['Q11806850', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q11806850 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
Keith Arbuthnott, 15th Viscount of Arbuthnott
action filter_type
action find
entity Keith Arbuthnott, 15th Viscount of Arbuthnott
relation occupation
type occupation
['Keith Arbuthnott, 15th Viscount of Arbuthnott', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Keith_Arbuthnott,_15th_Viscount_of_Arbuthnott property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q47064
SYSTEM
military personnel
Q47064
(Q11806850,P106,c(Q12737077))
action filter_type
action find
entity Q11806850
relation P106
type Q12737077
[ANSWER]
['Q11806850', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q11806850 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
military personnel
military personnel
action filter_type
action find
entity Keith Arbuthnott, 15th Viscount of Arbuthnott
relation occupation
type occupation
['Keith Arbuthnott, 15th Viscount of Arbuthnott', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:Keith_Arbuthnott,_15th_Viscount_of_Arbuthnott property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q232595
P488
Q502895
USER
How many people served as the chairperson of Liberal Democratic Party ?
(Q232595,P488,c(Q502895))
action count
action filter_type
action find
entity Q232595
relation P488
type Q502895
['Q232595', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { resource:Q232595 property:P488 ?g . ?g rdf:type ontology:Q502895 }
Liberal Democratic Party
action count
action filter_type
action find
entity Liberal Democratic Party
relation chairperson
type common name
['Liberal Democratic Party', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { resource:Liberal_Democratic_Party property:chairperson ?g . ?g rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q132345
(Q232595,P488,c(Q502895))
action count
action filter_type
action find
entity Q232595
relation P488
type Q502895
[ANSWER]
['Q232595', 'P488', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { resource:Q232595 property:P488 ?g . ?g rdf:type ontology:Q502895 }
Shinzō Abe
1
action count
action filter_type
action find
entity Liberal Democratic Party
relation chairperson
type common name
['Liberal Democratic Party', 'chairperson', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { resource:Liberal_Democratic_Party property:chairperson ?g . ?g rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q47064 Q1187500
P180
Q15709879
USER
How many artwork series express military personnel or Boy with Thorn ?
(c(Q15709879),P180,Q47064) (c(Q15709879),P180,Q1187500)
action count
action union
action filter_type
action find_reverse
entity Q47064
relation P180
type Q15709879
action filter_type
action find_reverse
entity Q1187500
relation P180
type Q15709879
[{'concept': 'Q15709879'}, 'P180', 'Q47064'] [{'concept': 'Q15709879'}, 'P180', 'Q1187500']
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { ?b property:P180 ?s . VALUES ( ?s ) { ( resource:Q47064 ) ( resource:Q1187500 ) } }
military personnel Boy with Thorn
action count
action union
action filter_type
action find_reverse
entity military personnel
relation depicts
type artwork series
action filter_type
action find_reverse
entity Boy with Thorn
relation depicts
type artwork series
[{'concept': 'artwork series'}, 'depicts', 'military personnel'] [{'concept': 'artwork series'}, 'depicts', 'Boy with Thorn']
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { ?b property:depicts ?s . VALUES ( ?s ) { ( resource:military_personnel ) ( resource:Boy_with_Thorn ) } }
[]
artwork series
SYSTEM
2
Q3094657 Q7729430
(c(Q15709879),P180,Q47064) (c(Q15709879),P180,Q1187500)
action count
action union
action filter_type
action find_reverse
entity Q47064
relation P180
type Q15709879
action filter_type
action find_reverse
entity Q1187500
relation P180
type Q15709879
[ANSWER]
[{'concept': 'Q15709879'}, 'P180', 'Q47064'] [{'concept': 'Q15709879'}, 'P180', 'Q1187500']
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { ?b property:P180 ?s . VALUES ( ?s ) { ( resource:Q47064 ) ( resource:Q1187500 ) } }
Ancient Rome The Death of General Warren at the Battle of Bunker's Hill, June 17, 1775
2
action count
action union
action filter_type
action find_reverse
entity military personnel
relation depicts
type artwork series
action filter_type
action find_reverse
entity Boy with Thorn
relation depicts
type artwork series
[{'concept': 'artwork series'}, 'depicts', 'military personnel'] [{'concept': 'artwork series'}, 'depicts', 'Boy with Thorn']
SELECT DISTINCT ( COUNT ( ?b ) AS ?u ) WHERE { ?b property:depicts ?s . VALUES ( ?s ) { ( resource:military_personnel ) ( resource:Boy_with_Thorn ) } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q47064
P39
Q502895
USER
Which people were responsible for occupying the position of that occupation ?
action filter_type
action find_reverse
entity Q47064
relation P39
type Q502895
SELECT DISTINCT ?p WHERE { ?p property:P39 resource:Q47064 . ?p rdf:type ontology:Q502895 }
military personnel
action filter_type
action find_reverse
entity military personnel
relation position held
type common name
SELECT DISTINCT ?p WHERE { ?p property:position_held resource:military_personnel . ?p rdf:type ontology:common_name }
[]
common name
Q3084746 Q3047915
SYSTEM
François Goiran, Edmond Magendie
Q3084746 Q3047915
action filter_type
action find_reverse
entity Q47064
relation P39
type Q502895
[ANSWERS] were responsible for occupying the position of that occupation
SELECT DISTINCT ?p WHERE { ?p property:P39 resource:Q47064 . ?p rdf:type ontology:Q502895 }
François Goiran Edmond Magendie
François Goiran and Edmond Magendie were responsible for occupying the position of that occupation
François Goiran Edmond Magendie
action filter_type
action find_reverse
entity military personnel
relation position held
type common name
SELECT DISTINCT ?p WHERE { ?p property:position_held resource:military_personnel . ?p rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q3084746 Q3047915
P27
Q15617994
USER
Which administrative territories are François Goiran and Edmond Magendie an inhabitant of ?
(Q3084746,P27,c(Q15617994)) (Q3047915,P27,c(Q15617994))
action union
action filter_type
action find
entity Q3084746
relation P27
type Q15617994
action filter_type
action find
entity Q3047915
relation P27
type Q15617994
['Q3084746', 'P27', {'concept': 'Q15617994'}] ['Q3047915', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { resource:Q3084746 property:P27 ?a . ?a rdf:type ontology:Q15617994 } UNION { resource:Q3047915 property:P27 ?a . ?a rdf:type ontology:Q15617994 } }
François Goiran Edmond Magendie
action union
action filter_type
action find
entity François Goiran
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Edmond Magendie
relation country of citizenship
type designation for an administrative territorial entity
['François Goiran', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Edmond Magendie', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { resource:François_Goiran property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Edmond_Magendie property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q142 Q142
SYSTEM
France
Q142 Q142
(Q3084746,P27,c(Q15617994)) (Q3047915,P27,c(Q15617994))
action union
action filter_type
action find
entity Q3084746
relation P27
type Q15617994
action filter_type
action find
entity Q3047915
relation P27
type Q15617994
[ANSWER] and [ANSWER] are François Goiran and Edmond Magendie an inhabitant of
['Q3084746', 'P27', {'concept': 'Q15617994'}] ['Q3047915', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { { resource:Q3084746 property:P27 ?a . ?a rdf:type ontology:Q15617994 } UNION { resource:Q3047915 property:P27 ?a . ?a rdf:type ontology:Q15617994 } }
France France
France and France are François Goiran and Edmond Magendie an inhabitant of
France France
action union
action filter_type
action find
entity François Goiran
relation country of citizenship
type designation for an administrative territorial entity
action filter_type
action find
entity Edmond Magendie
relation country of citizenship
type designation for an administrative territorial entity
['François Goiran', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['Edmond Magendie', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { resource:François_Goiran property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Edmond_Magendie property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]