Simple Question (Direct)
Simple Question
Q2009982
P136
Q1792379
USER
What can be considered as category for Born Yesterday ?
(Q2009982,P136,c(Q1792379))
action filter_type
action find
entity Q2009982
relation P136
type Q1792379
['Q2009982', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?s WHERE { resource:Q2009982 property:P136 ?s . ?s rdf:type ontology:Q1792379 }
Born Yesterday
action filter_type
action find
entity Born Yesterday
relation genre
type art genre
['Born Yesterday', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?s WHERE { resource:Born_Yesterday property:genre ?s . ?s rdf:type ontology:art_genre }
[]
art genre
Q860626 Q1054574
SYSTEM
romantic comedy, romance film
Q860626 Q1054574
(Q2009982,P136,c(Q1792379))
action filter_type
action find
entity Q2009982
relation P136
type Q1792379
The [ANSWERS] can be considered as category for Born Yesterday
['Q2009982', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?s WHERE { resource:Q2009982 property:P136 ?s . ?s rdf:type ontology:Q1792379 }
romantic comedy romance film
The romantic comedy and romance film can be considered as category for Born Yesterday
romantic comedy romance film
action filter_type
action find
entity Born Yesterday
relation genre
type art genre
['Born Yesterday', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?s WHERE { resource:Born_Yesterday property:genre ?s . ?s rdf:type ontology:art_genre }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2009982
P344
Q502895
USER
Which person serves as the director of photography for Born Yesterday ?
(Q2009982,P344,c(Q502895))
action filter_type
action find
entity Q2009982
relation P344
type Q502895
['Q2009982', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q2009982 property:P344 ?n . ?n rdf:type ontology:Q502895 }
Born Yesterday
action filter_type
action find
entity Born Yesterday
relation director of photography
type common name
['Born Yesterday', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Born_Yesterday property:director_of_photography ?n . ?n rdf:type ontology:common_name }
[]
common name
Q638941
SYSTEM
Lajos Koltai
Q638941
(Q2009982,P344,c(Q502895))
action filter_type
action find
entity Q2009982
relation P344
type Q502895
[ANSWER] serves as the director of photography for Born Yesterday
['Q2009982', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?n WHERE { resource:Q2009982 property:P344 ?n . ?n rdf:type ontology:Q502895 }
Lajos Koltai
Lajos Koltai serves as the director of photography for Born Yesterday
Lajos Koltai
action filter_type
action find
entity Born Yesterday
relation director of photography
type common name
['Born Yesterday', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?n WHERE { resource:Born_Yesterday property:director_of_photography ?n . ?n rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2009982
P162
Q502895
USER
Which person is the produced of Born Yesterday ?
(Q2009982,P162,c(Q502895))
action filter_type
action find
entity Q2009982
relation P162
type Q502895
['Q2009982', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q2009982 property:P162 ?r }
Born Yesterday
action filter_type
action find
entity Born Yesterday
relation producer
type common name
['Born Yesterday', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:Born_Yesterday property:producer ?r }
[]
common name
Q3975906
SYSTEM
Stratton Leopold
Q3975906
(Q2009982,P162,c(Q502895))
action filter_type
action find
entity Q2009982
relation P162
type Q502895
[ANSWER] is the produced of Born Yesterday
['Q2009982', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q2009982 property:P162 ?r }
Stratton Leopold
Stratton Leopold is the produced of Born Yesterday
Stratton Leopold
action filter_type
action find
entity Born Yesterday
relation producer
type common name
['Born Yesterday', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:Born_Yesterday property:producer ?r }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q280006 Q2009982
P162 P161
Q502895
USER
Which people produced Born Yesterday or were casted in The Grand ?
OR((Q2009982,P162,c(Q502895)), (Q280006,P161,c(Q502895)))
action filter_type
action union
action find
entity Q2009982
relation P162
action find
entity Q280006
relation P161
type Q502895
{'OR': [['Q2009982', 'P162', {'concept': 'Q502895'}], ['Q280006', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q280006 property:P161 ?c } UNION { resource:Q2009982 property:P162 ?c } } . ?c rdf:type ontology:Q502895 }
The Grand Born Yesterday
action filter_type
action union
action find
entity Born Yesterday
relation producer
action find
entity The Grand
relation cast member
type common name
{'OR': [['Born Yesterday', 'producer', {'concept': 'common name'}], ['The Grand', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?c WHERE { { { resource:The_Grand property:cast_member ?c } UNION { resource:Born_Yesterday property:producer ?c } } . ?c rdf:type ontology:common_name }
[]
common name
Q202056 Q272917 Q1384181 Q724348 Q319204 Q449959 Q451934 Q1077635 Q44131 Q352935
SYSTEM
Some of them are Hank Azaria, Cheryl Hines, Michael McKean, Gabe Kaplan, Brett Ratner, Richard Kind, Andrea Savage, Chris Parnell, Werner Herzog, Dennis Farina
Q311754 Q724348 Q202056 Q3975906 Q201279 Q272917 Q352935 Q272935 Q236189 Q449959 Q319204 Q220836 Q607678 Q1384181 Q451934 Q228882 Q1077635 Q44131 Q362332
OR((Q2009982,P162,c(Q502895)), (Q280006,P161,c(Q502895)))
action filter_type
action union
action find
entity Q2009982
relation P162
action find
entity Q280006
relation P161
type Q502895
[ANSWERS] produced Born Yesterday or were casted in The Grand
{'OR': [['Q2009982', 'P162', {'concept': 'Q502895'}], ['Q280006', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?c WHERE { { { resource:Q280006 property:P161 ?c } UNION { resource:Q2009982 property:P162 ?c } } . ?c rdf:type ontology:Q502895 }
Jason Alexander Gabe Kaplan Hank Azaria Stratton Leopold Woody Harrelson Cheryl Hines Dennis Farina Estelle Harris Judy Greer Richard Kind Brett Ratner Ray Romano Barry Corbin Michael McKean Andrea Savage Shannon Elizabeth Chris Parnell Werner Herzog David Cross
Hank Azaria, Cheryl Hines, Michael McKean, Gabe Kaplan, Brett Ratner, Richard Kind, Andrea Savage, Chris Parnell, Werner Herzog and Dennis Farina produced Born Yesterday or were casted in The Grand
Hank Azaria Cheryl Hines Michael McKean Gabe Kaplan Brett Ratner Richard Kind Andrea Savage Chris Parnell Werner Herzog Dennis Farina
action filter_type
action union
action find
entity Born Yesterday
relation producer
action find
entity The Grand
relation cast member
type common name
{'OR': [['Born Yesterday', 'producer', {'concept': 'common name'}], ['The Grand', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?c WHERE { { { resource:The_Grand property:cast_member ?c } UNION { resource:Born_Yesterday property:producer ?c } } . ?c rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q16205561
P161
Q838948
USER
Do This Is What Winning Looks Like have those people in their star cast ?
(Q16205561,P161,Q202056) (Q16205561,P161,Q272917) (Q16205561,P161,Q1384181) (Q16205561,P161,Q724348) (Q16205561,P161,Q319204) (Q16205561,P161,Q449959) (Q16205561,P161,Q451934) (Q16205561,P161,Q1077635) (Q16205561,P161,Q44131) (Q16205561,P161,Q352935)
action is_in
entity prev_answer
action find
entity Q16205561
relation P161
['Q16205561', 'P161', 'Q202056'] ['Q16205561', 'P161', 'Q272917'] ['Q16205561', 'P161', 'Q1384181'] ['Q16205561', 'P161', 'Q724348'] ['Q16205561', 'P161', 'Q319204'] ['Q16205561', 'P161', 'Q449959'] ['Q16205561', 'P161', 'Q451934'] ['Q16205561', 'P161', 'Q1077635'] ['Q16205561', 'P161', 'Q44131'] ['Q16205561', 'P161', 'Q352935']
ASK WHERE { VALUES ( ?s ) { ( resource:Q311754 ) ( resource:Q724348 ) ( resource:Q202056 ) } . resource:Q16205561 property:P161 ?s }
This Is What Winning Looks Like
action is_in
entity prev_answer
action find
entity This Is What Winning Looks Like
relation cast member
['This Is What Winning Looks Like', 'cast member', 'Hank Azaria'] ['This Is What Winning Looks Like', 'cast member', 'Cheryl Hines'] ['This Is What Winning Looks Like', 'cast member', 'Michael McKean'] ['This Is What Winning Looks Like', 'cast member', 'Gabe Kaplan'] ['This Is What Winning Looks Like', 'cast member', 'Brett Ratner'] ['This Is What Winning Looks Like', 'cast member', 'Richard Kind'] ['This Is What Winning Looks Like', 'cast member', 'Andrea Savage'] ['This Is What Winning Looks Like', 'cast member', 'Chris Parnell'] ['This Is What Winning Looks Like', 'cast member', 'Werner Herzog'] ['This Is What Winning Looks Like', 'cast member', 'Dennis Farina']
ASK WHERE { VALUES ( ?s ) { ( resource:Jason_Alexander ) ( resource:Gabe_Kaplan ) ( resource:Hank_Azaria ) } . resource:This_Is_What_Winning_Looks_Like property:cast_member ?s }
[]
work of art
SYSTEM
NO
(Q16205561,P161,Q202056) (Q16205561,P161,Q272917) (Q16205561,P161,Q1384181) (Q16205561,P161,Q724348) (Q16205561,P161,Q319204) (Q16205561,P161,Q449959) (Q16205561,P161,Q451934) (Q16205561,P161,Q1077635) (Q16205561,P161,Q44131) (Q16205561,P161,Q352935)
action is_in
entity prev_answer
action find
entity Q16205561
relation P161
[ANSWER]
['Q16205561', 'P161', 'Q202056'] ['Q16205561', 'P161', 'Q272917'] ['Q16205561', 'P161', 'Q1384181'] ['Q16205561', 'P161', 'Q724348'] ['Q16205561', 'P161', 'Q319204'] ['Q16205561', 'P161', 'Q449959'] ['Q16205561', 'P161', 'Q451934'] ['Q16205561', 'P161', 'Q1077635'] ['Q16205561', 'P161', 'Q44131'] ['Q16205561', 'P161', 'Q352935']
ASK WHERE { VALUES ( ?s ) { ( resource:Q311754 ) ( resource:Q724348 ) ( resource:Q202056 ) } . resource:Q16205561 property:P161 ?s }
No
action is_in
entity prev_answer
action find
entity This Is What Winning Looks Like
relation cast member
['This Is What Winning Looks Like', 'cast member', 'Hank Azaria'] ['This Is What Winning Looks Like', 'cast member', 'Cheryl Hines'] ['This Is What Winning Looks Like', 'cast member', 'Michael McKean'] ['This Is What Winning Looks Like', 'cast member', 'Gabe Kaplan'] ['This Is What Winning Looks Like', 'cast member', 'Brett Ratner'] ['This Is What Winning Looks Like', 'cast member', 'Richard Kind'] ['This Is What Winning Looks Like', 'cast member', 'Andrea Savage'] ['This Is What Winning Looks Like', 'cast member', 'Chris Parnell'] ['This Is What Winning Looks Like', 'cast member', 'Werner Herzog'] ['This Is What Winning Looks Like', 'cast member', 'Dennis Farina']
ASK WHERE { VALUES ( ?s ) { ( resource:Jason_Alexander ) ( resource:Gabe_Kaplan ) ( resource:Hank_Azaria ) } . resource:This_Is_What_Winning_Looks_Like property:cast_member ?s }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q449959 Q643589 Q1939988
P27
Q15617994
USER
Is Richard Kind a native of department and Mittel-Kinzig ?
(Q449959,P27,Q643589) (Q449959,P27,Q1939988)
action is_in
entity Q449959
action intersection
action find_reverse
entity Q643589
relation P27
action find_reverse
entity Q1939988
relation P27
['Q449959', 'P27', 'Q643589'] ['Q449959', 'P27', 'Q1939988']
ASK WHERE { resource:Q449959 property:P27 resource:Q643589 . resource:Q449959 property:P27 resource:Q1939988 }
Richard Kind department Mittel-Kinzig
action is_in
entity Richard Kind
action intersection
action find_reverse
entity department
relation country of citizenship
action find_reverse
entity Mittel-Kinzig
relation country of citizenship
['Richard Kind', 'country of citizenship', 'department'] ['Richard Kind', 'country of citizenship', 'Mittel-Kinzig']
ASK WHERE { resource:Richard_Kind property:country_of_citizenship resource:department . resource:Richard_Kind property:country_of_citizenship resource:Mittel-Kinzig }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q449959,P27,Q643589) (Q449959,P27,Q1939988)
action is_in
entity Q449959
action intersection
action find_reverse
entity Q643589
relation P27
action find_reverse
entity Q1939988
relation P27
[ANSWER]
['Q449959', 'P27', 'Q643589'] ['Q449959', 'P27', 'Q1939988']
ASK WHERE { resource:Q449959 property:P27 resource:Q643589 . resource:Q449959 property:P27 resource:Q1939988 }
No
action is_in
entity Richard Kind
action intersection
action find_reverse
entity department
relation country of citizenship
action find_reverse
entity Mittel-Kinzig
relation country of citizenship
['Richard Kind', 'country of citizenship', 'department'] ['Richard Kind', 'country of citizenship', 'Mittel-Kinzig']
ASK WHERE { resource:Richard_Kind property:country_of_citizenship resource:department . resource:Richard_Kind property:country_of_citizenship resource:Mittel-Kinzig }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q20031145 Q280006
P27 P495
Q15617994
USER
Which administrative territories did The Grand originate or are Awad Zakka a civilian of ?
OR((Q280006,P495,c(Q15617994)), (Q20031145,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q280006
relation P495
action find
entity Q20031145
relation P27
type Q15617994
{'OR': [['Q280006', 'P495', {'concept': 'Q15617994'}], ['Q20031145', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q280006 property:P495 ?f } UNION { resource:Q20031145 property:P27 ?f } } . ?f rdf:type ontology:Q15617994 }
Awad Zakka The Grand
action filter_type
action union
action find
entity The Grand
relation country of origin
action find
entity Awad Zakka
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['The Grand', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Awad Zakka', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:The_Grand property:country_of_origin ?f } UNION { resource:Awad_Zakka property:country_of_citizenship ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1016 Q30
SYSTEM
Libya, United States of America
Q1016 Q30
OR((Q280006,P495,c(Q15617994)), (Q20031145,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q280006
relation P495
action find
entity Q20031145
relation P27
type Q15617994
Or are Awad Zakka a civilian of The Grand originated in [ANSWERS]
{'OR': [['Q280006', 'P495', {'concept': 'Q15617994'}], ['Q20031145', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q280006 property:P495 ?f } UNION { resource:Q20031145 property:P27 ?f } } . ?f rdf:type ontology:Q15617994 }
Libya United States of America
Or are Awad Zakka a civilian of The Grand originated in Libya and United States of America
Libya United States of America
action filter_type
action union
action find
entity The Grand
relation country of origin
action find
entity Awad Zakka
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['The Grand', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Awad Zakka', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { { { resource:The_Grand property:country_of_origin ?f } UNION { resource:Awad_Zakka property:country_of_citizenship ?f } } . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20031145
P106
Q12737077
USER
What is the job of that person ?
(Q1016,P106,c(Q12737077)) (Q30,P106,c(Q12737077))
action filter_type
action find
entity Q20031145
relation P106
type Q12737077
['Q1016', 'P106', {'concept': 'Q12737077'}] ['Q30', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q12737077 . resource:Q20031145 property:P106 ?u }
Awad Zakka
action filter_type
action find
entity Awad Zakka
relation occupation
type occupation
['Libya', 'occupation', {'concept': 'occupation'}] ['United States of America', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:occupation . resource:Awad_Zakka property:occupation ?u }
[]
occupation
Q15117302
SYSTEM
volleyball player
Q15117302
(Q1016,P106,c(Q12737077)) (Q30,P106,c(Q12737077))
action filter_type
action find
entity Q20031145
relation P106
type Q12737077
The job of that person is a [ANSWER]
['Q1016', 'P106', {'concept': 'Q12737077'}] ['Q30', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q12737077 . resource:Q20031145 property:P106 ?u }
volleyball player
The job of that person is a volleyball player
volleyball player
action filter_type
action find
entity Awad Zakka
relation occupation
type occupation
['Libya', 'occupation', {'concept': 'occupation'}] ['United States of America', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:occupation . resource:Awad_Zakka property:occupation ?u }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15117302
P425
Q349
USER
Who has that one as the associated field of occupation ?
(Q15117302,P425,c(Q349))
action filter_type
action find
entity Q15117302
relation P425
type Q349
['Q15117302', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q15117302 property:P425 ?z . ?z rdf:type ontology:Q349 }
volleyball player
action filter_type
action find
entity volleyball player
relation field of this occupation
type sport
['volleyball player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:volleyball_player property:field_of_this_occupation ?z . ?z rdf:type ontology:sport }
[]
sport
Q1734
SYSTEM
volleyball
Q1734
(Q15117302,P425,c(Q349))
action filter_type
action find
entity Q15117302
relation P425
type Q349
The [ANSWER] has that one as the associated field of occupation
['Q15117302', 'P425', {'concept': 'Q349'}]
SELECT DISTINCT ?z WHERE { resource:Q15117302 property:P425 ?z . ?z rdf:type ontology:Q349 }
volleyball
The volleyball has that one as the associated field of occupation
volleyball
action filter_type
action find
entity volleyball player
relation field of this occupation
type sport
['volleyball player', 'field of this occupation', {'concept': 'sport'}]
SELECT DISTINCT ?z WHERE { resource:volleyball_player property:field_of_this_occupation ?z . ?z rdf:type ontology:sport }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P101
Q349 Q2342494
USER
Which sports do more number of collectables belong to than that sport ?
(c(Q2342494),P101,c(Q349))
action greater
action find_reverse_tuple_counts
relation P101
type Q349
type Q2342494
action count
action filter_type
action find
entity Q1734
relation P101
type Q349
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?e ) WHERE { ?k property:P101 ?s . ?k rdf:type ontology:Q2342494 . ?s rdf:type ontology:Q349 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { resource:Q1734 property:P101 ?n . ?n rdf:type ontology:Q349 } } . FILTER ( ?e > ?f ) }
action greater
action find_reverse_tuple_counts
relation field of work
type sport
type collectable
action count
action filter_type
action find
entity volleyball
relation field of work
type sport
[{'concept': 'collectable'}, 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?e ) WHERE { ?k property:field_of_work ?s . ?k rdf:type ontology:collectable . ?s rdf:type ontology:sport } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { resource:volleyball property:field_of_work ?n . ?n rdf:type ontology:sport } } . FILTER ( ?e > ?f ) }
[]
sport collectable
Q1109032
SYSTEM
college football
Q1109032
(c(Q2342494),P101,c(Q349))
action greater
action find_reverse_tuple_counts
relation P101
type Q349
type Q2342494
action count
action filter_type
action find
entity Q1734
relation P101
type Q349
[ANSWER] do more number of collectables belong to than that sport
[{'concept': 'Q2342494'}, 'P101', {'concept': 'Q349'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?e ) WHERE { ?k property:P101 ?s . ?k rdf:type ontology:Q2342494 . ?s rdf:type ontology:Q349 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { resource:Q1734 property:P101 ?n . ?n rdf:type ontology:Q349 } } . FILTER ( ?e > ?f ) }
college football
College football do more number of collectables belong to than that sport
college football
action greater
action find_reverse_tuple_counts
relation field of work
type sport
type collectable
action count
action filter_type
action find
entity volleyball
relation field of work
type sport
[{'concept': 'collectable'}, 'field of work', {'concept': 'sport'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?k ) AS ?e ) WHERE { ?k property:field_of_work ?s . ?k rdf:type ontology:collectable . ?s rdf:type ontology:sport } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?f ) WHERE { resource:volleyball property:field_of_work ?n . ?n rdf:type ontology:sport } } . FILTER ( ?e > ?f ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P417
Q502895 Q12737077
USER
Which people are the patron saint of min number of occupations ?
(c(Q12737077),P417,Q208331)
action argmin
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
[{'concept': 'Q12737077'}, 'P417', 'Q208331']
SELECT DISTINCT ?s WHERE { FILTER ( ?b = ?l ) . { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:P417 ?s . ?s rdf:type ontology:Q502895 . ?t rdf:type ontology:Q12737077 } GROUP BY ?s } . { SELECT DISTINCT ( MIN ( ?w ) AS ?l ) { SELECT DISTINCT ?r ( COUNT ( ?a ) AS ?w ) WHERE { ?a property:P417 ?r . ?r rdf:type ontology:Q502895 . ?a rdf:type ontology:Q12737077 } GROUP BY ?r } } }
action argmin
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Olaf II of Norway']
SELECT DISTINCT ?s WHERE { FILTER ( ?b = ?l ) . { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:patron_saint ?s . ?s rdf:type ontology:common_name . ?t rdf:type ontology:occupation } GROUP BY ?s } . { SELECT DISTINCT ( MIN ( ?w ) AS ?l ) { SELECT DISTINCT ?r ( COUNT ( ?a ) AS ?w ) WHERE { ?a property:patron_saint ?r . ?r rdf:type ontology:common_name . ?a rdf:type ontology:occupation } GROUP BY ?r } } }
[]
common name occupation
Q9682 Q191479 Q346
SYSTEM
Elizabeth II, Tadeusz Kościuszko, Louis IX of France
Q2366998 Q561838 Q380092 Q129674 Q133704 Q43945 Q3922154 Q172390 Q1050218 Q464959 Q394727 Q268087 Q1141472 Q61914 Q2916248 Q516729 Q349086 Q315640 Q3893243 Q719683 Q331697 Q1553720 Q351635 Q732865 Q3759661 Q696682 Q118087 Q320199 Q1281133 Q236974 Q378656 Q61620 Q3776432 Q128267 Q2987904 Q2574015 Q101090 Q1834624 Q174044 Q1284098 Q1249745 Q47144 Q240610 Q31966 Q603655 Q44024 Q314700 Q3940728 Q44020 Q313807 Q149315 Q676555 Q2360539 Q244383 Q3615108 Q244380 Q235857 Q287916 Q192236 Q539890 Q102131 Q505937 Q44091 Q181715 Q2617668 Q670456 Q1346958 Q243122 Q51885 Q238744 Q3747052 Q153024 Q3949261 Q234697 Q1284971 Q132797 Q132100 Q188411 Q727316 Q4011186 Q233067 Q3838743 Q686948 Q733308 Q309953 Q118081 Q358325 Q537686 Q312057 Q357093 Q115550 Q1502088 Q8413 Q558148 Q160373 Q515953 Q1274242 Q443392 Q379685 Q191479 Q42887 Q3745904 Q4210004 Q4282480 Q177903 Q3859960 Q2697247 Q203437 Q457903 Q207113 Q8018 Q315312 Q43675 Q618214 Q216946 Q728245 Q384364 Q132113 Q33923 Q81634 Q161775 Q221522 Q43954 Q44047 Q37599 Q316599 Q232975 Q122376 Q145746 Q15284282 Q167477 Q380345 Q288295 Q297742 Q218921 Q316295 Q183332 Q4014956 Q159834 Q63070 Q134666 Q867765 Q914115 Q1289858 Q379914 Q3906150 Q3876580 Q189776 Q339541 Q965463 Q196527 Q160922 Q1115725 Q336731 Q913528 Q231256 Q560531 Q4161703 Q174880 Q1270991 Q235863 Q346 Q131159 Q190388 Q3924139 Q180936 Q83198 Q2142772 Q2182480 Q7226 Q2005417 Q243427 Q2456880 Q417686 Q185117 Q303640 Q241423 Q43999 Q447384 Q1747656 Q6732208 Q1393825 Q64196 Q2824511 Q3887342 Q310686 Q359259 Q12871 Q9156208 Q336704 Q181489 Q369691 Q44269 Q587596 Q372668 Q831571 Q3779522 Q2456500 Q2352076 Q977571 Q232453 Q58559 Q445357 Q359878 Q190240 Q210096 Q1976199 Q3724316 Q1343711 Q3663117 Q534691 Q160374 Q442516 Q920226 Q283447 Q26486 Q158504 Q130005 Q740907 Q44258 Q70991 Q318974 Q312314 Q254896 Q3947956 Q11905449 Q1172641 Q3738578 Q4026158 Q367208 Q469978 Q164294 Q2270111 Q103556 Q129603 Q3561124 Q1110905 Q335127 Q651226 Q355884 Q42827 Q159862 Q543320 Q318347 Q3958514 Q317131 Q257960 Q234689 Q385253 Q208961 Q235619 Q523662 Q284323 Q59071 Q1383532 Q160445 Q1269112 Q2424767 Q459032 Q131945 Q9682 Q127385 Q470608 Q196157 Q310633 Q208331
(c(Q12737077),P417,Q208331)
action argmin
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
[ANSWERS] are the patron saint of min number of occupations
[{'concept': 'Q12737077'}, 'P417', 'Q208331']
SELECT DISTINCT ?s WHERE { FILTER ( ?b = ?l ) . { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:P417 ?s . ?s rdf:type ontology:Q502895 . ?t rdf:type ontology:Q12737077 } GROUP BY ?s } . { SELECT DISTINCT ( MIN ( ?w ) AS ?l ) { SELECT DISTINCT ?r ( COUNT ( ?a ) AS ?w ) WHERE { ?a property:P417 ?r . ?r rdf:type ontology:Q502895 . ?a rdf:type ontology:Q12737077 } GROUP BY ?r } } }
Eurosia Alexander of Bergamo Francis Borgia, 4th Duke of Gandía Andrew Bobola Martin of Tours Jude the Apostle Prisco di Nocera Martin I Catald Onuphrius Agnes of Bohemia Pudentiana Roger of Cannae Gotthard of Hildesheim Alexander of Comana Sebaldus Leopold III, Margrave of Austria Francis of Paola Pamphilus of Sulmona Ludger Saint David Guy of Anderlecht Stanislaus of Szczepanów Vitalis of Milan Genesio di Brescello Arnold von Arnoldsweiler Ludmila of Bohemia Apollinaris of Ravenna Tudwal Radegund Saint Pantaleon Cunigunde of Luxembourg Gonçalo de Amarante Joseph Tryphon of Pechenga Nestor of Magydos Eleuterus Gummarus Alexander Nevsky Turibius of Astorga Mamilian of Palermo Linus Euphemia Mark the Evangelist Fidelis of Como Athanasius of Alexandria Joachim Romano martire Saint Matthias Joseph of Cupertino Silverius Francis of Assisi Donatus of Arezzo Rose of Lima Anatolia martire Saint Denis Elizabeth of Aragon Finbarr of Cork Thomas Becket Lazarus of Bethany Marcellus I Vincent Pallotti Saint Dominic Thérèse of Lisieux Saint Cunera Procopius of Sázava Judas Cyriacus Ferdinand III of Castile Thecla Peter of Verona Saint Fulk Rita of Cascia Saint Venera Maria Goretti La Mosca Victor Maurus Mark Anterus Bernard of Clairvaux Renaud de Montauban Vicinius of Sarsina Salome Lucido di Aquara Alban of Mainz Medardus Gregory the Illuminator Pope Celestine V Ivo of Kermartin Angelus of Jerusalem Saint Casimir Saint Spyridon Nicholas of Flüe Genesius of Arles Constantine the Great Leonard of Noblac Marcellinus Maximilian of Lorch Romanus of Caesarea Saint Bibiana Isidore the Laborer Tadeusz Kościuszko Clement I Fiorenzo di Bastia Venantius of Camerino Saint Martha Stephen I of Hungary Modestinus Catellus of Castellammare Stanislaus Kostka Saint Bavo Hippolytus Augustine of Hippo Januarius Philip the Apostle Aper of Toul Charles Borromeo Marziano di Siracusa Ursus of Aosta Pontian Peter Sixtus I Stephen John of Nepomuk Leo I James, son of Alphaeus Theodore of Amasea Saint Maurice Anastasia of Sirmium Callixtus I Joseph Adolphus Anthony of Padua Saint Maurus Justina of Padua Margaret the Virgin Saint Eustace Bernardino of Siena Saint Sebastian Vitaliano da Capua Hubertus Mary Magdalene Stephen I Sossius Prosdocimus Saint Bassian Saint Cajetan Placidus Nicolò Politi Zeno of Verona Rufinus of Assisi Rumbold of Mechelen Saint Wenceslaus I, Duke of Bohemia Celestine I Saint Giovanni Battista de Rossi Pancras of Rome Brice of Tours Francis de Sales Suitbert of Kaiserswerdt Dimitry Prilutsky Teresa of Ávila Eugenius of Carthage Genevieve Louis IX of France Fabian John of the Cross Prospero da Centuripe Saint Gall Pius I Gereon Felice Joan of Arc Privat de Mende Adalbert of Prague Tryphon, Respicius, and Nympha Nazarius Justin Martyr Marcian of Tortona Juliana of Nicomedia James Victoria, Anatolia, and Audax Saturninus of Cagliari Magnus of Cuneo Valerius of Saragossa Adelaide, Abbess of Vilich Adjutor Ottone Frangipane Dionysius the Areopagite Saint Emeric of Hungary Simon the Zealot Anthony Sulpicius Severus Eusebius of Vercelli Saint Ursula Saint Nicholas Magnus of Anagni John the Merciful Eusebius of Esztergom Guido of Acqui Eulalia of Barcelona Francis Solanus Caprasius of Lérins Martha Leo IX Henry Erasmus of Formiae Cyprian Agnes of Rome Gaudentius of Novara Emilianus of Trevi Ephysius Castrese di Sessa Paschal Baylon Norbert of Xanten Germanus of Auxerre Michael de Sanctis Lambert of Maastricht Ladislaus I of Hungary Clement of Ohrid Edward the Confessor Barbatus of Benevento Basil of Caesarea Hildegard of Bingen Vincent of Saragossa Bruno of Cologne Anastasius of Persia San Secondo Anastasi de Lleida Calogerus Falco di Palena Possidonio Saint Remigius Devota Saint Anna Maternus Henry II, Holy Roman Emperor Caesarius of Africa Acisclus Simplicio of Olbia Agabus Viktor of Xanten Josaphat Kuntsevych Gregory I Elizabeth of Hungary Marina the Monk Sigismund of Burgundy Severinus of Sanseverino Vincent Ferrer Felicitas of Rome Monica of Hippo Agostino Novello Brendan Gertrude of Nivelles Syrus of Pavia Eulalia of Mérida Peter de Regalado Rainerius Saint Boniface Saint Ninian Anthony of Apamea Elizabeth Ann Seton Pius V Elizabeth II Sixtus II Peter of Alcantara Louis of Toulouse Demetrius of Thessaloniki Olaf II of Norway
Elizabeth II, Tadeusz Kościuszko and Louis IX of France are the patron saint of min number of occupations
Elizabeth II Tadeusz Kościuszko Louis IX of France
action argmin
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Olaf II of Norway']
SELECT DISTINCT ?s WHERE { FILTER ( ?b = ?l ) . { SELECT DISTINCT ?s ( COUNT ( ?t ) AS ?b ) WHERE { ?t property:patron_saint ?s . ?s rdf:type ontology:common_name . ?t rdf:type ontology:occupation } GROUP BY ?s } . { SELECT DISTINCT ( MIN ( ?w ) AS ?l ) { SELECT DISTINCT ?r ( COUNT ( ?a ) AS ?w ) WHERE { ?a property:patron_saint ?r . ?r rdf:type ontology:common_name . ?a rdf:type ontology:occupation } GROUP BY ?r } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by around 832 people ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 832
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?w ) AS ?k ) WHERE { ?w property:P1303 ?a . ?w rdf:type ontology:Q502895 . ?a rdf:type ontology:Q34379 } GROUP BY ?a } . FILTER ( ?k = 832 ) }
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 832
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?w ) AS ?k ) WHERE { ?w property:instrument ?a . ?w rdf:type ontology:common_name . ?a rdf:type ontology:musical_instrument } GROUP BY ?a } . FILTER ( ?k = 832 ) }
[]
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 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 approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 832
[ANSWERS] are played by around 832 people
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?w ) AS ?k ) WHERE { ?w property:P1303 ?a . ?w rdf:type ontology:Q502895 . ?a rdf:type ontology:Q34379 } GROUP BY ?a } . FILTER ( ?k = 832 ) }
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 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 around 832 people
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 832
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?w ) AS ?k ) WHERE { ?w property:instrument ?a . ?w rdf:type ontology:common_name . ?a rdf:type ontology:musical_instrument } GROUP BY ?a } . FILTER ( ?k = 832 ) }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P425
Q12737077
USER
How many occupations have that musical instrument as thier associated field of occupation ?
(Q81982,P425,c(Q12737077))
['Q81982', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q81982 property:P425 ?z . ?z rdf:type ontology:Q528892 }
['harpsichord', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:harpsichord property:field_of_this_occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Quantitative|Count|Single entity type|Clarification
Q81982
SYSTEM
Did you mean harpsichord ?
(Q1178361,P425,c(Q12737077)) (Q81982,P425,c(Q12737077)) (Q1759986,P425,c(Q12737077))
[ANSWER]
['Q1178361', 'P425', {'concept': 'Q12737077'}] ['Q81982', 'P425', {'concept': 'Q12737077'}] ['Q1759986', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q81982 property:P425 ?z . ?z rdf:type ontology:Q528892 }
Did you mean harpsichord ?
harpsichord
['davul', 'field of this occupation', {'concept': 'occupation'}] ['harpsichord', 'field of this occupation', {'concept': 'occupation'}] ['Wurlitzer electric piano', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:harpsichord property:field_of_this_occupation ?z . ?z rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q81982,P425,c(Q12737077))
['Q81982', 'P425', {'concept': 'Q12737077'}]
['harpsichord', 'field of this occupation', {'concept': 'occupation'}]
[]
SYSTEM
1
Q5371902
(Q81982,P425,c(Q12737077))
[ANSWER]
['Q81982', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q81982 property:P425 ?z . ?z rdf:type ontology:Q528892 }
harpsichordist
1
['harpsichord', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:harpsichord property:field_of_this_occupation ?z . ?z rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q9682
P40
Q502895
USER
How many people are the children of Elizabeth II ?
(Q9682,P40,c(Q502895))
action count
action filter_type
action find
entity Q9682
relation P40
type Q502895
['Q9682', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { resource:Q9682 property:P40 ?d . ?d rdf:type ontology:Q502895 }
Elizabeth II
action count
action filter_type
action find
entity Elizabeth II
relation child
type common name
['Elizabeth II', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { resource:Elizabeth_II property:child ?d . ?d rdf:type ontology:common_name }
[]
common name
SYSTEM
4
Q153330 Q151754 Q154920 Q43274
(Q9682,P40,c(Q502895))
action count
action filter_type
action find
entity Q9682
relation P40
type Q502895
[ANSWER]
['Q9682', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { resource:Q9682 property:P40 ?d . ?d rdf:type ontology:Q502895 }
Prince Andrew, Duke of York Anne, Princess Royal Prince Edward, Earl of Wessex Charles, Prince of Wales
4
action count
action filter_type
action find
entity Elizabeth II
relation child
type common name
['Elizabeth II', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { resource:Elizabeth_II property:child ?d . ?d rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q545657
P40
Q502895
USER
And what about Ordulf, Duke of Saxony?
(Q545657,P40,c(Q502895))
action count
action filter_type
action find
entity Q545657
relation P40
type Q502895
['Q545657', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { ?q rdf:type ontology:Q502895 . resource:Q545657 property:P40 ?q }
Ordulf, Duke of Saxony
action count
action filter_type
action find
entity Ordulf, Duke of Saxony
relation child
type common name
['Ordulf, Duke of Saxony', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { ?q rdf:type ontology:common_name . resource:Ordulf,_Duke_of_Saxony property:child ?q }
[]
common name
SYSTEM
1
Q503687
(Q545657,P40,c(Q502895))
action count
action filter_type
action find
entity Q545657
relation P40
type Q502895
[ANSWER]
['Q545657', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { ?q rdf:type ontology:Q502895 . resource:Q545657 property:P40 ?q }
Magnus, Duke of Saxony
1
action count
action filter_type
action find
entity Ordulf, Duke of Saxony
relation child
type common name
['Ordulf, Duke of Saxony', 'child', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?m ) WHERE { ?q rdf:type ontology:common_name . resource:Ordulf,_Duke_of_Saxony property:child ?q }
[]