Simple Question (Direct)
Simple Question
Q20972834
P21
Q290
USER
Which sex does Albert Marcadé belong to ?
(Q20972834,P21,c(Q290))
action filter_type
action find
entity Q20972834
relation P21
type Q290
['Q20972834', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q20972834 property:P21 ?q . ?q rdf:type ontology:Q290 }
Albert Marcadé
action filter_type
action find
entity Albert Marcadé
relation gender
type sex
['Albert Marcadé', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Albert_Marcadé property:gender ?q . ?q rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q20972834,P21,c(Q290))
action filter_type
action find
entity Q20972834
relation P21
type Q290
Albert Marcadé belongs to [ANSWER]
['Q20972834', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?q WHERE { resource:Q20972834 property:P21 ?q . ?q rdf:type ontology:Q290 }
male
Albert Marcadé belongs to male
male
action filter_type
action find
entity Albert Marcadé
relation gender
type sex
['Albert Marcadé', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?q WHERE { resource:Albert_Marcadé property:gender ?q . ?q rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20972834
P166
Q618779
USER
Which award was Albert Marcadé awarded with ?
(Q20972834,P166,c(Q618779))
action filter_type
action find
entity Q20972834
relation P166
type Q618779
['Q20972834', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?w WHERE { resource:Q20972834 property:P166 ?w . ?w rdf:type ontology:Q618779 }
Albert Marcadé
action filter_type
action find
entity Albert Marcadé
relation award received
type award
['Albert Marcadé', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?w WHERE { resource:Albert_Marcadé property:award_received ?w . ?w rdf:type ontology:award }
[]
award
Q10855271
SYSTEM
Knight of the Legion of Honour
Q10855271
(Q20972834,P166,c(Q618779))
action filter_type
action find
entity Q20972834
relation P166
type Q618779
Albert Marcadé was awarded the [ANSWER]
['Q20972834', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?w WHERE { resource:Q20972834 property:P166 ?w . ?w rdf:type ontology:Q618779 }
Knight of the Legion of Honour
Albert Marcadé was awarded the Knight of the Legion of Honour
Knight of the Legion of Honour
action filter_type
action find
entity Albert Marcadé
relation award received
type award
['Albert Marcadé', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?w WHERE { resource:Albert_Marcadé property:award_received ?w . ?w rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q20972834
P140
Q874405
USER
Which social group does Albert Marcadé correspond to ?
(Q20972834,P140,c(Q874405))
action filter_type
action find
entity Q20972834
relation P140
type Q874405
['Q20972834', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?h WHERE { resource:Q20972834 property:P140 ?h . ?h rdf:type ontology:Q874405 }
Albert Marcadé
action filter_type
action find
entity Albert Marcadé
relation religion
type social group
['Albert Marcadé', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?h WHERE { resource:Albert_Marcadé property:religion ?h . ?h rdf:type ontology:social_group }
[]
social group
Q1841
SYSTEM
Catholicism
Q1841
(Q20972834,P140,c(Q874405))
action filter_type
action find
entity Q20972834
relation P140
type Q874405
Albert Marcadé corresponds au [ANSWER]
['Q20972834', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?h WHERE { resource:Q20972834 property:P140 ?h . ?h rdf:type ontology:Q874405 }
Catholicism
Albert Marcadé corresponds au Catholicism
Catholicism
action filter_type
action find
entity Albert Marcadé
relation religion
type social group
['Albert Marcadé', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?h WHERE { resource:Albert_Marcadé property:religion ?h . ?h rdf:type ontology:social_group }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1841
P180
Q234460
USER
Which texts depict that social group ?
(c(Q234460),P180,Q1841)
action filter_type
action find_reverse
entity Q1841
relation P180
type Q234460
[{'concept': 'Q234460'}, 'P180', 'Q1841']
SELECT DISTINCT ?o WHERE { ?o property:P180 resource:Q1841 . ?o rdf:type ontology:Q234460 }
Catholicism
action filter_type
action find_reverse
entity Catholicism
relation depicts
type text
[{'concept': 'text'}, 'depicts', 'Catholicism']
SELECT DISTINCT ?o WHERE { ?o property:depicts resource:Catholicism . ?o rdf:type ontology:text }
[]
text
Q514002 Q1985103
SYSTEM
The Clown, Christmas Not Just Once a Year
Q514002 Q1985103
(c(Q234460),P180,Q1841)
action filter_type
action find_reverse
entity Q1841
relation P180
type Q234460
[ANSWERS] depict that social group
[{'concept': 'Q234460'}, 'P180', 'Q1841']
SELECT DISTINCT ?o WHERE { ?o property:P180 resource:Q1841 . ?o rdf:type ontology:Q234460 }
The Clown Christmas Not Just Once a Year
The Clown and Christmas Not Just Once a Year depict that social group
The Clown Christmas Not Just Once a Year
action filter_type
action find_reverse
entity Catholicism
relation depicts
type text
[{'concept': 'text'}, 'depicts', 'Catholicism']
SELECT DISTINCT ?o WHERE { ?o property:depicts resource:Catholicism . ?o rdf:type ontology:text }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P355
Q874405 Q874405 Q740752
USER
Which social groups are max number of social groups and transport companies the parent company of ?
(c(Q874405)|c(Q740752),P355,c(Q874405))
action argmax
action union
action find_reverse_tuple_counts
relation P355
type Q874405
type Q874405
action find_reverse_tuple_counts
relation P355
type Q874405
type Q740752
[[{'concept': 'Q874405'}, {'concept': 'Q740752'}], 'P355', {'concept': 'Q874405'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) ?y WHERE { ?h rdf:type ?a . VALUES ( ?a ) { ( ontology:Q874405 ) ( ontology:Q740752 ) } } GROUP BY ?y } . FILTER ( ?z = ?w ) . { SELECT DISTINCT ( MAX ( ?f ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) ?k WHERE { { ?v property:P355 ?k . ?v rdf:type ontology:Q740752 . ?k rdf:type ontology:Q874405 } UNION { ?v property:P355 ?k . ?k rdf:type ontology:Q874405 . ?v rdf:type ontology:Q874405 } } GROUP BY ?k } } }
action argmax
action union
action find_reverse_tuple_counts
relation subsidiary
type social group
type social group
action find_reverse_tuple_counts
relation subsidiary
type social group
type transport company
[[{'concept': 'social group'}, {'concept': 'transport company'}], 'subsidiary', {'concept': 'social group'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) ?y WHERE { ?h rdf:type ?a . VALUES ( ?a ) { ( ontology:social_group ) ( ontology:transport_company ) } } GROUP BY ?y } . FILTER ( ?z = ?w ) . { SELECT DISTINCT ( MAX ( ?f ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) ?k WHERE { { ?v property:subsidiary ?k . ?v rdf:type ontology:transport_company . ?k rdf:type ontology:social_group } UNION { ?v property:subsidiary ?k . ?k rdf:type ontology:social_group . ?v rdf:type ontology:social_group } } GROUP BY ?k } } }
[]
social group social group transport company
Q7437933 Q7988225 Q6670591
SYSTEM
Scottish Region of British Railways, Western Region of British Railways, London Midland Region of British Railways
Q7437933 Q7988225 Q6670591 Q5330408 Q7570387 Q7055281
(c(Q874405)|c(Q740752),P355,c(Q874405))
action argmax
action union
action find_reverse_tuple_counts
relation P355
type Q874405
type Q874405
action find_reverse_tuple_counts
relation P355
type Q874405
type Q740752
[ANSWERS] are max number of social groups and transport companies the parent company of
[[{'concept': 'Q874405'}, {'concept': 'Q740752'}], 'P355', {'concept': 'Q874405'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) ?y WHERE { ?h rdf:type ?a . VALUES ( ?a ) { ( ontology:Q874405 ) ( ontology:Q740752 ) } } GROUP BY ?y } . FILTER ( ?z = ?w ) . { SELECT DISTINCT ( MAX ( ?f ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) ?k WHERE { { ?v property:P355 ?k . ?v rdf:type ontology:Q740752 . ?k rdf:type ontology:Q874405 } UNION { ?v property:P355 ?k . ?k rdf:type ontology:Q874405 . ?v rdf:type ontology:Q874405 } } GROUP BY ?k } } }
Scottish Region of British Railways Western Region of British Railways London Midland Region of British Railways Eastern Region of British Railways Southern Region of British Railways North Eastern Region of British Railways
Scottish Region of British Railways, Western Region of British Railways and London Midland Region of British Railways are max number of social groups and transport companies the parent company of
Scottish Region of British Railways Western Region of British Railways London Midland Region of British Railways
action argmax
action union
action find_reverse_tuple_counts
relation subsidiary
type social group
type social group
action find_reverse_tuple_counts
relation subsidiary
type social group
type transport company
[[{'concept': 'social group'}, {'concept': 'transport company'}], 'subsidiary', {'concept': 'social group'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?z ) ?y WHERE { ?h rdf:type ?a . VALUES ( ?a ) { ( ontology:social_group ) ( ontology:transport_company ) } } GROUP BY ?y } . FILTER ( ?z = ?w ) . { SELECT DISTINCT ( MAX ( ?f ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?v ) AS ?f ) ?k WHERE { { ?v property:subsidiary ?k . ?v rdf:type ontology:transport_company . ?k rdf:type ontology:social_group } UNION { ?v property:subsidiary ?k . ?k rdf:type ontology:social_group . ?v rdf:type ontology:social_group } } GROUP BY ?k } } }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q7437933 Q7988225 Q6670591
P355
Q740752
USER
Which transport companies are those social groups the subordinate of ?
(c(Q740752),P355,Q7437933) (c(Q740752),P355,Q7988225) (c(Q740752),P355,Q6670591)
action filter_type
action find_reverse
entity prev_answer
relation P355
type Q740752
[{'concept': 'Q740752'}, 'P355', 'Q7437933'] [{'concept': 'Q740752'}, 'P355', 'Q7988225'] [{'concept': 'Q740752'}, 'P355', 'Q6670591']
SELECT DISTINCT ?c WHERE { ?c property:P355 ?v . VALUES ( ?v ) { ( resource:Q7437933 ) ( resource:Q7988225 ) ( resource:Q6670591 ) } . ?c rdf:type ontology:Q740752 }
Scottish Region of British Railways Western Region of British Railways London Midland Region of British Railways
action filter_type
action find_reverse
entity prev_answer
relation subsidiary
type transport company
[{'concept': 'transport company'}, 'subsidiary', 'Scottish Region of British Railways'] [{'concept': 'transport company'}, 'subsidiary', 'Western Region of British Railways'] [{'concept': 'transport company'}, 'subsidiary', 'London Midland Region of British Railways']
SELECT DISTINCT ?c WHERE { ?c property:subsidiary ?v . VALUES ( ?v ) { ( resource:Scottish_Region_of_British_Railways ) ( resource:Western_Region_of_British_Railways ) ( resource:London_Midland_Region_of_British_Railways ) } . ?c rdf:type ontology:transport_company }
[]
transport company
Q920016
SYSTEM
British Railways Board
Q920016
(c(Q740752),P355,Q7437933) (c(Q740752),P355,Q7988225) (c(Q740752),P355,Q6670591)
action filter_type
action find_reverse
entity prev_answer
relation P355
type Q740752
[ANSWER] is those social groups the subordinate of
[{'concept': 'Q740752'}, 'P355', 'Q7437933'] [{'concept': 'Q740752'}, 'P355', 'Q7988225'] [{'concept': 'Q740752'}, 'P355', 'Q6670591']
SELECT DISTINCT ?c WHERE { ?c property:P355 ?v . VALUES ( ?v ) { ( resource:Q7437933 ) ( resource:Q7988225 ) ( resource:Q6670591 ) } . ?c rdf:type ontology:Q740752 }
British Railways Board
British Railways Board is those social groups the subordinate of
British Railways Board
action filter_type
action find_reverse
entity prev_answer
relation subsidiary
type transport company
[{'concept': 'transport company'}, 'subsidiary', 'Scottish Region of British Railways'] [{'concept': 'transport company'}, 'subsidiary', 'Western Region of British Railways'] [{'concept': 'transport company'}, 'subsidiary', 'London Midland Region of British Railways']
SELECT DISTINCT ?c WHERE { ?c property:subsidiary ?v . VALUES ( ?v ) { ( resource:Scottish_Region_of_British_Railways ) ( resource:Western_Region_of_British_Railways ) ( resource:London_Midland_Region_of_British_Railways ) } . ?c rdf:type ontology:transport_company }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q920016
P159
Q56061
USER
Which administrative territory is the headquarter location of that transport company ?
(Q920016,P159,c(Q56061))
action filter_type
action find
entity Q920016
relation P159
type Q56061
['Q920016', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q920016 property:P159 ?c . ?c rdf:type ontology:Q56061 }
British Railways Board
action filter_type
action find
entity British Railways Board
relation headquarters location
type administrative territorial entity
['British Railways Board', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:British_Railways_Board property:headquarters_location ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q84
SYSTEM
London
Q84
(Q920016,P159,c(Q56061))
action filter_type
action find
entity Q920016
relation P159
type Q56061
[ANSWER] is the headquarter location of that transport company
['Q920016', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q920016 property:P159 ?c . ?c rdf:type ontology:Q56061 }
London
London is the headquarter location of that transport company
London
action filter_type
action find
entity British Railways Board
relation headquarters location
type administrative territorial entity
['British Railways Board', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:British_Railways_Board property:headquarters_location ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16966652
Q56061
USER
And what about PeaceHealth?
(Q16966652,P159,c(Q56061))
action filter_type
action find
entity Q16966652
relation P159
type Q56061
['Q16966652', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q16966652 property:P159 ?c . ?c rdf:type ontology:Q56061 }
PeaceHealth
action filter_type
action find
entity PeaceHealth
relation headquarters location
type administrative territorial entity
['PeaceHealth', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:PeaceHealth property:headquarters_location ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q234053
SYSTEM
Vancouver
Q234053
(Q16966652,P159,c(Q56061))
action filter_type
action find
entity Q16966652
relation P159
type Q56061
[ANSWER]
['Q16966652', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q16966652 property:P159 ?c . ?c rdf:type ontology:Q56061 }
Vancouver
Vancouver
action filter_type
action find
entity PeaceHealth
relation headquarters location
type administrative territorial entity
['PeaceHealth', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:PeaceHealth property:headquarters_location ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q234053 Q3078952
P17
Q15617994
USER
Is Vancouver present in Gombe ?
(Q234053,P17,Q3078952)
action is_in
entity Q3078952
action find
entity Q234053
relation P17
['Q234053', 'P17', 'Q3078952']
ASK WHERE { resource:Q234053 property:P17 resource:Q3078952 }
Vancouver Gombe
action is_in
entity Gombe
action find
entity Vancouver
relation country
['Vancouver', 'country', 'Gombe']
ASK WHERE { resource:Vancouver property:country resource:Gombe }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q234053,P17,Q3078952)
action is_in
entity Q3078952
action find
entity Q234053
relation P17
[ANSWER]
['Q234053', 'P17', 'Q3078952']
ASK WHERE { resource:Q234053 property:P17 resource:Q3078952 }
No
action is_in
entity Gombe
action find
entity Vancouver
relation country
['Vancouver', 'country', 'Gombe']
ASK WHERE { resource:Vancouver property:country resource:Gombe }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q84
P138
Q34442 Q811979
USER
How many roads or architectural structures have London as their toponym ?
(c(Q34442),P138,Q84) (c(Q811979),P138,Q84)
action count
action union
action filter_type
action find_reverse
entity Q84
relation P138
type Q34442
action filter_type
action find_reverse
entity Q84
relation P138
type Q811979
[{'concept': 'Q34442'}, 'P138', 'Q84'] [{'concept': 'Q811979'}, 'P138', 'Q84']
SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { { ?o property:P138 resource:Q84 . ?o rdf:type ontology:Q34442 } UNION { ?o property:P138 resource:Q84 . ?o rdf:type ontology:Q811979 } }
London
action count
action union
action filter_type
action find_reverse
entity London
relation named after
type road
action filter_type
action find_reverse
entity London
relation named after
type architectural structure
[{'concept': 'road'}, 'named after', 'London'] [{'concept': 'architectural structure'}, 'named after', 'London']
SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { { ?o property:named_after resource:London . ?o rdf:type ontology:road } UNION { ?o property:named_after resource:London . ?o rdf:type ontology:architectural_structure } }
[]
road architectural structure
SYSTEM
2
Q952990 Q1868889
(c(Q34442),P138,Q84) (c(Q811979),P138,Q84)
action count
action union
action filter_type
action find_reverse
entity Q84
relation P138
type Q34442
action filter_type
action find_reverse
entity Q84
relation P138
type Q811979
[ANSWER]
[{'concept': 'Q34442'}, 'P138', 'Q84'] [{'concept': 'Q811979'}, 'P138', 'Q84']
SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { { ?o property:P138 resource:Q84 . ?o rdf:type ontology:Q34442 } UNION { ?o property:P138 resource:Q84 . ?o rdf:type ontology:Q811979 } }
rue de Londres London Bridge
2
action count
action union
action filter_type
action find_reverse
entity London
relation named after
type road
action filter_type
action find_reverse
entity London
relation named after
type architectural structure
[{'concept': 'road'}, 'named after', 'London'] [{'concept': 'architectural structure'}, 'named after', 'London']
SELECT DISTINCT ( COUNT ( ?o ) AS ?p ) WHERE { { ?o property:named_after resource:London . ?o rdf:type ontology:road } UNION { ?o property:named_after resource:London . ?o rdf:type ontology:architectural_structure } }
[]