Simple Question (Direct)
Simple Question
Q7324164
P119
Q43229
USER
Which organization is the tomb of Richard Binder ?
(Q7324164,P119,c(Q43229))
action filter_type
action find
entity Q7324164
relation P119
type Q43229
['Q7324164', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?w WHERE { resource:Q7324164 property:P119 ?w . ?w rdf:type ontology:Q43229 }
Richard Binder
action filter_type
action find
entity Richard Binder
relation place of burial
type organization
['Richard Binder', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?w WHERE { resource:Richard_Binder property:place_of_burial ?w . ?w rdf:type ontology:organization }
[]
organization
Q7985717
SYSTEM
West Laurel Hill Cemetery
Q7985717
(Q7324164,P119,c(Q43229))
action filter_type
action find
entity Q7324164
relation P119
type Q43229
Cemetery [ANSWER] is the tomb of Richard Binder
['Q7324164', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?w WHERE { resource:Q7324164 property:P119 ?w . ?w rdf:type ontology:Q43229 }
West Laurel Hill Cemetery
Cemetery West Laurel Hill Cemetery is the tomb of Richard Binder
West Laurel Hill Cemetery
action filter_type
action find
entity Richard Binder
relation place of burial
type organization
['Richard Binder', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?w WHERE { resource:Richard_Binder property:place_of_burial ?w . ?w rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7324164
P166
Q618779
USER
What was received by Richard Binder ?
(Q7324164,P166,c(Q618779))
action filter_type
action find
entity Q7324164
relation P166
type Q618779
['Q7324164', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q7324164 property:P166 ?s . ?s rdf:type ontology:Q618779 }
Richard Binder
action filter_type
action find
entity Richard Binder
relation award received
type award
['Richard Binder', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Richard_Binder property:award_received ?s . ?s rdf:type ontology:award }
[]
award
Q203535
SYSTEM
Medal of Honor
Q203535
(Q7324164,P166,c(Q618779))
action filter_type
action find
entity Q7324164
relation P166
type Q618779
The [ANSWER] was received by Richard Binder
['Q7324164', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q7324164 property:P166 ?s . ?s rdf:type ontology:Q618779 }
Medal of Honor
The Medal of Honor was received by Richard Binder
Medal of Honor
action filter_type
action find
entity Richard Binder
relation award received
type award
['Richard Binder', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Richard_Binder property:award_received ?s . ?s rdf:type ontology:award }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3324133
Q618779
USER
And also tell me about Morits Borissovitch Berkh?
(Q3324133,P166,c(Q618779))
action filter_type
action find
entity Q3324133
relation P166
type Q618779
['Q3324133', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?o WHERE { resource:Q3324133 property:P166 ?o . ?o rdf:type ontology:Q618779 }
Morits Borissovitch Berkh
action filter_type
action find
entity Morits Borissovitch Berkh
relation award received
type award
['Morits Borissovitch Berkh', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?o WHERE { resource:Morits_Borissovitch_Berkh property:award_received ?o . ?o rdf:type ontology:award }
[]
award
Q15972369 Q15972370 Q19344818
SYSTEM
Order of Saint Anna, 1st class, Order of Saint Anna, 2nd class, Order of St. Vladimir, 3rd class
Q19344818 Q21148960 Q15972369 Q19344746 Q15972370
(Q3324133,P166,c(Q618779))
action filter_type
action find
entity Q3324133
relation P166
type Q618779
[ANSWERS]
['Q3324133', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?o WHERE { resource:Q3324133 property:P166 ?o . ?o rdf:type ontology:Q618779 }
Order of St. Vladimir, 3rd class Order of St. Vladimir, 4th class Order of Saint Anna, 1st class Order of Saint Stanislaus, 1st class Order of Saint Anna, 2nd class
Order of Saint Anna, 1st class Order of Saint Anna, 2nd class Order of St. Vladimir, 3rd class
action filter_type
action find
entity Morits Borissovitch Berkh
relation award received
type award
['Morits Borissovitch Berkh', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?o WHERE { resource:Morits_Borissovitch_Berkh property:award_received ?o . ?o rdf:type ontology:award }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q11345463
P166
Q502895
USER
Were Yandi Munawar awarded with those awards ?
(Q11345463,P166,Q15972369) (Q11345463,P166,Q15972370) (Q11345463,P166,Q19344818)
action is_in
entity prev_answer
action find
entity Q11345463
relation P166
['Q11345463', 'P166', 'Q15972369'] ['Q11345463', 'P166', 'Q15972370'] ['Q11345463', 'P166', 'Q19344818']
ASK WHERE { resource:Q11345463 property:P166 ?v . VALUES ( ?v ) { ( resource:Q19344818 ) ( resource:Q21148960 ) ( resource:Q15972369 ) } }
Yandi Munawar
action is_in
entity prev_answer
action find
entity Yandi Munawar
relation award received
['Yandi Munawar', 'award received', 'Order of Saint Anna, 1st class'] ['Yandi Munawar', 'award received', 'Order of Saint Anna, 2nd class'] ['Yandi Munawar', 'award received', 'Order of St. Vladimir, 3rd class']
ASK WHERE { resource:Yandi_Munawar property:award_received ?v . VALUES ( ?v ) { ( resource:Order_of_St._Vladimir,_3rd_class ) ( resource:Order_of_St._Vladimir,_4th_class ) ( resource:Order_of_Saint_Anna,_1st_class ) } }
[]
common name
SYSTEM
NO
(Q11345463,P166,Q15972369) (Q11345463,P166,Q15972370) (Q11345463,P166,Q19344818)
action is_in
entity prev_answer
action find
entity Q11345463
relation P166
[ANSWER]
['Q11345463', 'P166', 'Q15972369'] ['Q11345463', 'P166', 'Q15972370'] ['Q11345463', 'P166', 'Q19344818']
ASK WHERE { resource:Q11345463 property:P166 ?v . VALUES ( ?v ) { ( resource:Q19344818 ) ( resource:Q21148960 ) ( resource:Q15972369 ) } }
No
action is_in
entity prev_answer
action find
entity Yandi Munawar
relation award received
['Yandi Munawar', 'award received', 'Order of Saint Anna, 1st class'] ['Yandi Munawar', 'award received', 'Order of Saint Anna, 2nd class'] ['Yandi Munawar', 'award received', 'Order of St. Vladimir, 3rd class']
ASK WHERE { resource:Yandi_Munawar property:award_received ?v . VALUES ( ?v ) { ( resource:Order_of_St._Vladimir,_3rd_class ) ( resource:Order_of_St._Vladimir,_4th_class ) ( resource:Order_of_Saint_Anna,_1st_class ) } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6254032 Q7324164
P241
Q781132
USER
Which military branches contain Richard Binder or John R. Towle as their part ?
OR((Q7324164,P241,c(Q781132)), (Q6254032,P241,c(Q781132)))
action filter_type
action union
action find
entity Q7324164
relation P241
action find
entity Q6254032
relation P241
type Q781132
{'OR': [['Q7324164', 'P241', {'concept': 'Q781132'}], ['Q6254032', 'P241', {'concept': 'Q781132'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?i ) { ( resource:Q7324164 ) ( resource:Q6254032 ) } . ?i property:P241 ?a } . ?a rdf:type ontology:Q781132 }
John R. Towle Richard Binder
action filter_type
action union
action find
entity Richard Binder
relation military branch
action find
entity John R. Towle
relation military branch
type military branch
{'OR': [['Richard Binder', 'military branch', {'concept': 'military branch'}], ['John R. Towle', 'military branch', {'concept': 'military branch'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?i ) { ( resource:Richard_Binder ) ( resource:John_R._Towle ) } . ?i property:military_branch ?a } . ?a rdf:type ontology:military_branch }
[]
military branch
Q9212 Q11218
SYSTEM
United States Army, United States Marine Corps
Q9212 Q11218
OR((Q7324164,P241,c(Q781132)), (Q6254032,P241,c(Q781132)))
action filter_type
action union
action find
entity Q7324164
relation P241
action find
entity Q6254032
relation P241
type Q781132
[ANSWERS] contain Richard Binder or John R. Towle as their part
{'OR': [['Q7324164', 'P241', {'concept': 'Q781132'}], ['Q6254032', 'P241', {'concept': 'Q781132'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?i ) { ( resource:Q7324164 ) ( resource:Q6254032 ) } . ?i property:P241 ?a } . ?a rdf:type ontology:Q781132 }
United States Army United States Marine Corps
United States Army and United States Marine Corps contain Richard Binder or John R. Towle as their part
United States Army United States Marine Corps
action filter_type
action union
action find
entity Richard Binder
relation military branch
action find
entity John R. Towle
relation military branch
type military branch
{'OR': [['Richard Binder', 'military branch', {'concept': 'military branch'}], ['John R. Towle', 'military branch', {'concept': 'military branch'}]]}
SELECT DISTINCT ?a WHERE { { VALUES ( ?i ) { ( resource:Richard_Binder ) ( resource:John_R._Towle ) } . ?i property:military_branch ?a } . ?a rdf:type ontology:military_branch }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5491610
P241
Q502895
USER
Are Franklin J. Phillips known to be linked with the army branch named those ones ?
(Q5491610,P241,Q9212) (Q5491610,P241,Q11218)
action is_in
entity prev_answer
action find
entity Q5491610
relation P241
['Q5491610', 'P241', 'Q9212'] ['Q5491610', 'P241', 'Q11218']
ASK WHERE { VALUES ( ?o ) { ( resource:Q9212 ) ( resource:Q11218 ) } . resource:Q5491610 property:P241 ?o }
Franklin J. Phillips
action is_in
entity prev_answer
action find
entity Franklin J. Phillips
relation military branch
['Franklin J. Phillips', 'military branch', 'United States Army'] ['Franklin J. Phillips', 'military branch', 'United States Marine Corps']
ASK WHERE { VALUES ( ?o ) { ( resource:United_States_Army ) ( resource:United_States_Marine_Corps ) } . resource:Franklin_J._Phillips property:military_branch ?o }
[]
common name
SYSTEM
YES
(Q5491610,P241,Q9212) (Q5491610,P241,Q11218)
action is_in
entity prev_answer
action find
entity Q5491610
relation P241
[ANSWER]
['Q5491610', 'P241', 'Q9212'] ['Q5491610', 'P241', 'Q11218']
ASK WHERE { VALUES ( ?o ) { ( resource:Q9212 ) ( resource:Q11218 ) } . resource:Q5491610 property:P241 ?o }
Yes
action is_in
entity prev_answer
action find
entity Franklin J. Phillips
relation military branch
['Franklin J. Phillips', 'military branch', 'United States Army'] ['Franklin J. Phillips', 'military branch', 'United States Marine Corps']
ASK WHERE { VALUES ( ?o ) { ( resource:United_States_Army ) ( resource:United_States_Marine_Corps ) } . resource:Franklin_J._Phillips property:military_branch ?o }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q23034505 Q5491610
P27 P17
Q15617994
USER
Which administrative territories are the native countriesof Franklin J. Phillips or are Corner Stone Nursery and Primary School situated in ?
OR((Q5491610,P27,c(Q15617994)), (Q23034505,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q5491610
relation P27
action find
entity Q23034505
relation P17
type Q15617994
{'OR': [['Q5491610', 'P27', {'concept': 'Q15617994'}], ['Q23034505', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . { { resource:Q5491610 property:P27 ?t } UNION { resource:Q23034505 property:P17 ?t } } }
Corner Stone Nursery and Primary School Franklin J. Phillips
action filter_type
action union
action find
entity Franklin J. Phillips
relation country of citizenship
action find
entity Corner Stone Nursery and Primary School
relation country
type designation for an administrative territorial entity
{'OR': [['Franklin J. Phillips', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Corner Stone Nursery and Primary School', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Franklin_J._Phillips property:country_of_citizenship ?t } UNION { resource:Corner_Stone_Nursery_and_Primary_School property:country ?t } } }
[]
designation for an administrative territorial entity
Q1036 Q30
SYSTEM
Uganda, United States of America
Q1036 Q30
OR((Q5491610,P27,c(Q15617994)), (Q23034505,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q5491610
relation P27
action find
entity Q23034505
relation P17
type Q15617994
[ANSWERS] are the native countriesof Franklin J. Phillips or are Corner Stone Nursery and Primary School situated in
{'OR': [['Q5491610', 'P27', {'concept': 'Q15617994'}], ['Q23034505', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q15617994 . { { resource:Q5491610 property:P27 ?t } UNION { resource:Q23034505 property:P17 ?t } } }
Uganda United States of America
Uganda and United States of America are the native countriesof Franklin J. Phillips or are Corner Stone Nursery and Primary School situated in
Uganda United States of America
action filter_type
action union
action find
entity Franklin J. Phillips
relation country of citizenship
action find
entity Corner Stone Nursery and Primary School
relation country
type designation for an administrative territorial entity
{'OR': [['Franklin J. Phillips', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Corner Stone Nursery and Primary School', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Franklin_J._Phillips property:country_of_citizenship ?t } UNION { resource:Corner_Stone_Nursery_and_Primary_School property:country ?t } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1916297
P530
Q1048835
USER
Are Puigverd d'Agramunt known to have diplomatic connections with those administrative territories ?
(Q1916297,P530,Q1036) (Q1916297,P530,Q30)
action is_in
entity prev_answer
action find
entity Q1916297
relation P530
['Q1916297', 'P530', 'Q1036'] ['Q1916297', 'P530', 'Q30']
ASK WHERE { VALUES ( ?b ) { ( resource:Q1036 ) ( resource:Q30 ) } . resource:Q1916297 property:P530 ?b }
Puigverd d'Agramunt
action is_in
entity prev_answer
action find
entity Puigverd d'Agramunt
relation diplomatic relation
["Puigverd d'Agramunt", 'diplomatic relation', 'Uganda'] ["Puigverd d'Agramunt", 'diplomatic relation', 'United States of America']
ASK WHERE { VALUES ( ?b ) { ( resource:Uganda ) ( resource:United_States_of_America ) } . resource:Puigverd_d'Agramunt property:diplomatic_relation ?b }
[]
political territorial entity
SYSTEM
NO
(Q1916297,P530,Q1036) (Q1916297,P530,Q30)
action is_in
entity prev_answer
action find
entity Q1916297
relation P530
[ANSWER]
['Q1916297', 'P530', 'Q1036'] ['Q1916297', 'P530', 'Q30']
ASK WHERE { VALUES ( ?b ) { ( resource:Q1036 ) ( resource:Q30 ) } . resource:Q1916297 property:P530 ?b }
No
action is_in
entity prev_answer
action find
entity Puigverd d'Agramunt
relation diplomatic relation
["Puigverd d'Agramunt", 'diplomatic relation', 'Uganda'] ["Puigverd d'Agramunt", 'diplomatic relation', 'United States of America']
ASK WHERE { VALUES ( ?b ) { ( resource:Uganda ) ( resource:United_States_of_America ) } . resource:Puigverd_d'Agramunt property:diplomatic_relation ?b }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q7985717
P119 P21
Q502895
USER
Which people were burried at West Laurel Hill Cemetery and have the gender as male ?
AND((c(Q502895),P119,Q7985717), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q7985717
relation P119
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P119', 'Q7985717'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . ?y property:P119 resource:Q7985717 . ?y property:P21 resource:Q6581097 }
male West Laurel Hill Cemetery
action filter_type
action intersection
action find_reverse
entity West Laurel Hill Cemetery
relation place of burial
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of burial', 'West Laurel Hill Cemetery'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . ?y property:place_of_burial resource:West_Laurel_Hill_Cemetery . ?y property:gender resource:male }
[]
common name
Q1610272 Q16031159 Q2422899 Q7324164 Q203906
SYSTEM
Herman Haupt, Charles M. Betts, Thomas Cardeza, Richard Binder, Frederick Winslow
Q1610272 Q16031159 Q2422899 Q7324164 Q203906
AND((c(Q502895),P119,Q7985717), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q7985717
relation P119
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] were burried at West Laurel Hill Cemetery and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P119', 'Q7985717'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . ?y property:P119 resource:Q7985717 . ?y property:P21 resource:Q6581097 }
Herman Haupt Charles M. Betts Thomas Cardeza Richard Binder Frederick Winslow
Herman Haupt, Charles M. Betts, Thomas Cardeza, Richard Binder and Frederick Winslow were burried at West Laurel Hill Cemetery and have the gender as male
Herman Haupt Charles M. Betts Thomas Cardeza Richard Binder Frederick Winslow
action filter_type
action intersection
action find_reverse
entity West Laurel Hill Cemetery
relation place of burial
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of burial', 'West Laurel Hill Cemetery'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . ?y property:place_of_burial resource:West_Laurel_Hill_Cemetery . ?y property:gender resource:male }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by atmost 3768 people ?
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3768
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?s ) AS ?h ) WHERE { ?s property:P1303 ?l . ?l rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 } GROUP BY ?l } . FILTER ( ?h <= 3768 ) }
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3768
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?s ) AS ?h ) WHERE { ?s property:instrument ?l . ?l rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name } GROUP BY ?l } . FILTER ( ?h <= 3768 ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3768
[ANSWERS] are played by atmost 3768 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?s ) AS ?h ) WHERE { ?s property:P1303 ?l . ?l rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 } GROUP BY ?l } . FILTER ( ?h <= 3768 ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
Davul, harpsichord and Wurlitzer electric piano are played by atmost 3768 people
davul harpsichord Wurlitzer electric piano
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3768
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ?l ( COUNT ( ?s ) AS ?h ) WHERE { ?s property:instrument ?l . ?l rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name } GROUP BY ?l } . FILTER ( ?h <= 3768 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q15275719 Q234460 Q618779
USER
How many awards are a component of atleast 1 recurring events or texts ?
(c(Q618779),P361,c(Q15275719)|c(Q234460))
action count
action atleast
action union
action find_tuple_counts
relation P361
type Q618779
type Q15275719
action find_tuple_counts
relation P361
type Q618779
type Q234460
value 1
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q15275719'}, {'concept': 'Q234460'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { FILTER ( ?h >= 1 ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) ?g WHERE { { ?u rdf:type ontology:Q15275719 . ?g rdf:type ontology:Q618779 . ?g property:P361 ?u } UNION { ?g property:P361 ?u . ?u rdf:type ontology:Q234460 . ?g rdf:type ontology:Q618779 } } GROUP BY ?g } }
action count
action atleast
action union
action find_tuple_counts
relation part of
type award
type recurring event
action find_tuple_counts
relation part of
type award
type text
value 1
[{'concept': 'award'}, 'part of', [{'concept': 'recurring event'}, {'concept': 'text'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { FILTER ( ?h >= 1 ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) ?g WHERE { { ?u rdf:type ontology:recurring_event . ?g rdf:type ontology:award . ?g property:part_of ?u } UNION { ?g property:part_of ?u . ?u rdf:type ontology:text . ?g rdf:type ontology:award } } GROUP BY ?g } }
[]
recurring event text award
SYSTEM
9
Q1700510 Q674146 Q21071120 Q279820 Q1071326 Q140146 Q3895781 Q3910742 Q21071119
(c(Q618779),P361,c(Q15275719)|c(Q234460))
action count
action atleast
action union
action find_tuple_counts
relation P361
type Q618779
type Q15275719
action find_tuple_counts
relation P361
type Q618779
type Q234460
value 1
[ANSWER]
[{'concept': 'Q618779'}, 'P361', [{'concept': 'Q15275719'}, {'concept': 'Q234460'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { FILTER ( ?h >= 1 ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) ?g WHERE { { ?u rdf:type ontology:Q15275719 . ?g rdf:type ontology:Q618779 . ?g property:P361 ?u } UNION { ?g property:P361 ?u . ?u rdf:type ontology:Q234460 . ?g rdf:type ontology:Q618779 } } GROUP BY ?g } }
Golden Leopard Leopard of Honour Toronto International Film Festival Award for Best Canadian First Feature Film Golden Calf Un Certain Regard Zafenat-Paneach Best Direction Award Special Jury Prize Toronto International Film Festival Award for Best Canadian Film
9
action count
action atleast
action union
action find_tuple_counts
relation part of
type award
type recurring event
action find_tuple_counts
relation part of
type award
type text
value 1
[{'concept': 'award'}, 'part of', [{'concept': 'recurring event'}, {'concept': 'text'}]]
SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { FILTER ( ?h >= 1 ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?h ) ?g WHERE { { ?u rdf:type ontology:recurring_event . ?g rdf:type ontology:award . ?g property:part_of ?u } UNION { ?g property:part_of ?u . ?u rdf:type ontology:text . ?g rdf:type ontology:award } } GROUP BY ?g } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q203906
P509
Q2057971
USER
Which health problem was the cause of death of Frederick Winslow ?
(Q203906,P509,c(Q2057971))
action filter_type
action find
entity Q203906
relation P509
type Q2057971
['Q203906', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?h WHERE { resource:Q203906 property:P509 ?h . ?h rdf:type ontology:Q2057971 }
Frederick Winslow
action filter_type
action find
entity Frederick Winslow
relation cause of death
type health problem
['Frederick Winslow', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?h WHERE { resource:Frederick_Winslow property:cause_of_death ?h . ?h rdf:type ontology:health_problem }
[]
health problem
Q12192
SYSTEM
pneumonia
Q12192
(Q203906,P509,c(Q2057971))
action filter_type
action find
entity Q203906
relation P509
type Q2057971
Ia [ANSWER] was the cause of death of Frederick Winslow
['Q203906', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?h WHERE { resource:Q203906 property:P509 ?h . ?h rdf:type ontology:Q2057971 }
pneumonia
Ia pneumonia was the cause of death of Frederick Winslow
pneumonia
action filter_type
action find
entity Frederick Winslow
relation cause of death
type health problem
['Frederick Winslow', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?h WHERE { resource:Frederick_Winslow property:cause_of_death ?h . ?h rdf:type ontology:health_problem }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9212
P178
Q223557
USER
Which physical object was developed by United States Army ?
(c(Q223557),P178,Q9212)
action filter_type
action find_reverse
entity Q9212
relation P178
type Q223557
[{'concept': 'Q223557'}, 'P178', 'Q9212']
SELECT DISTINCT ?k WHERE { ?k property:P178 resource:Q9212 . ?k rdf:type ontology:Q223557 }
United States Army
action filter_type
action find_reverse
entity United States Army
relation developer
type physical object
[{'concept': 'physical object'}, 'developer', 'United States Army']
SELECT DISTINCT ?k WHERE { ?k property:developer resource:United_States_Army . ?k rdf:type ontology:physical_object }
[]
physical object
Q7934927
SYSTEM
Virtual Army Experience
Q7934927
(c(Q223557),P178,Q9212)
action filter_type
action find_reverse
entity Q9212
relation P178
type Q223557
[ANSWER] was developed by United States Army
[{'concept': 'Q223557'}, 'P178', 'Q9212']
SELECT DISTINCT ?k WHERE { ?k property:P178 resource:Q9212 . ?k rdf:type ontology:Q223557 }
Virtual Army Experience
Virtual Army Experience was developed by United States Army
Virtual Army Experience
action filter_type
action find_reverse
entity United States Army
relation developer
type physical object
[{'concept': 'physical object'}, 'developer', 'United States Army']
SELECT DISTINCT ?k WHERE { ?k property:developer resource:United_States_Army . ?k rdf:type ontology:physical_object }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9212
P287
Q166142
USER
Which application was designed by United States Army ?
(c(Q166142),P287,Q9212)
action filter_type
action find_reverse
entity Q9212
relation P287
type Q166142
[{'concept': 'Q166142'}, 'P287', 'Q9212']
SELECT DISTINCT ?c WHERE { ?c property:P287 resource:Q9212 . ?c rdf:type ontology:Q166142 }
United States Army
action filter_type
action find_reverse
entity United States Army
relation designer
type application
[{'concept': 'application'}, 'designer', 'United States Army']
SELECT DISTINCT ?c WHERE { ?c property:designer resource:United_States_Army . ?c rdf:type ontology:application }
[]
application
Q467507
SYSTEM
America's Army
Q467507
(c(Q166142),P287,Q9212)
action filter_type
action find_reverse
entity Q9212
relation P287
type Q166142
Army [ANSWER] was designed by United States Army
[{'concept': 'Q166142'}, 'P287', 'Q9212']
SELECT DISTINCT ?c WHERE { ?c property:P287 resource:Q9212 . ?c rdf:type ontology:Q166142 }
America's Army
Army America's Army was designed by United States Army
America's Army
action filter_type
action find_reverse
entity United States Army
relation designer
type application
[{'concept': 'application'}, 'designer', 'United States Army']
SELECT DISTINCT ?c WHERE { ?c property:designer resource:United_States_Army . ?c rdf:type ontology:application }
[]