Simple Question (Direct)
Simple Question
Q8053866
P106
Q12737077
USER
What are the professions of Yisrael Poliakov ?
(Q8053866,P106,c(Q12737077))
action filter_type
action find
entity Q8053866
relation P106
type Q12737077
['Q8053866', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q8053866 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
Yisrael Poliakov
action filter_type
action find
entity Yisrael Poliakov
relation occupation
type occupation
['Yisrael Poliakov', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Yisrael_Poliakov property:occupation ?a . ?a rdf:type ontology:occupation }
[]
occupation
Q33999 Q177220
SYSTEM
actor, singer
Q33999 Q177220
(Q8053866,P106,c(Q12737077))
action filter_type
action find
entity Q8053866
relation P106
type Q12737077
The professions of Yisrael Poliakov are the [ANSWERS]
['Q8053866', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?a WHERE { resource:Q8053866 property:P106 ?a . ?a rdf:type ontology:Q12737077 }
actor singer
The professions of Yisrael Poliakov are the actor and singer
actor singer
action filter_type
action find
entity Yisrael Poliakov
relation occupation
type occupation
['Yisrael Poliakov', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?a WHERE { resource:Yisrael_Poliakov property:occupation ?a . ?a rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q8053866
P1412
Q25295
USER
Which language family can that person understand ?
(Q33999,P1412,c(Q25295)) (Q177220,P1412,c(Q25295))
action filter_type
action find
entity Q8053866
relation P1412
type Q25295
['Q33999', 'P1412', {'concept': 'Q25295'}] ['Q177220', 'P1412', {'concept': 'Q25295'}]
SELECT DISTINCT ?z WHERE { resource:Q8053866 property:P1412 ?z . ?z rdf:type ontology:Q25295 }
Yisrael Poliakov
action filter_type
action find
entity Yisrael Poliakov
relation languages spoken, written or signed
type language family
['actor', 'languages spoken, written or signed', {'concept': 'language family'}] ['singer', 'languages spoken, written or signed', {'concept': 'language family'}]
SELECT DISTINCT ?z WHERE { resource:Yisrael_Poliakov property:languages_spoken,_written_or_signed ?z . ?z rdf:type ontology:language_family }
[]
language family
Q9288
SYSTEM
Hebrew
Q9288
(Q33999,P1412,c(Q25295)) (Q177220,P1412,c(Q25295))
action filter_type
action find
entity Q8053866
relation P1412
type Q25295
[ANSWER] can that person understand
['Q33999', 'P1412', {'concept': 'Q25295'}] ['Q177220', 'P1412', {'concept': 'Q25295'}]
SELECT DISTINCT ?z WHERE { resource:Q8053866 property:P1412 ?z . ?z rdf:type ontology:Q25295 }
Hebrew
Hebrew can that person understand
Hebrew
action filter_type
action find
entity Yisrael Poliakov
relation languages spoken, written or signed
type language family
['actor', 'languages spoken, written or signed', {'concept': 'language family'}] ['singer', 'languages spoken, written or signed', {'concept': 'language family'}]
SELECT DISTINCT ?z WHERE { resource:Yisrael_Poliakov property:languages_spoken,_written_or_signed ?z . ?z rdf:type ontology:language_family }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9288
P103
Q502895
USER
Who speaks that language family as his/her mother tongue ?
(c(Q502895),P103,Q9288)
action filter_type
action find_reverse
entity Q9288
relation P103
type Q502895
[{'concept': 'Q502895'}, 'P103', 'Q9288']
SELECT DISTINCT ?p WHERE { ?p property:P103 resource:Q9288 . ?p rdf:type ontology:Q502895 }
Hebrew
action filter_type
action find_reverse
entity Hebrew
relation native language
type common name
[{'concept': 'common name'}, 'native language', 'Hebrew']
SELECT DISTINCT ?p WHERE { ?p property:native_language resource:Hebrew . ?p rdf:type ontology:common_name }
[]
common name
Q43723 Q188783 Q60206
SYSTEM
Benjamin Netanyahu, Moshe Dayan, Ariel Sharon
Q43723 Q2910192 Q258128 Q5560660 Q128911 Q1391612 Q34060 Q319015 Q196773 Q7019356 Q167429 Q125731 Q188783 Q311583 Q93181 Q22956259 Q16130712 Q39318 Q19366883 Q6577236 Q4096293 Q219569 Q60206 Q16338787 Q2732690 Q5622519 Q528415
(c(Q502895),P103,Q9288)
action filter_type
action find_reverse
entity Q9288
relation P103
type Q502895
[ANSWERS] speak that language family as his/her mother tongue
[{'concept': 'Q502895'}, 'P103', 'Q9288']
SELECT DISTINCT ?p WHERE { ?p property:P103 resource:Q9288 . ?p rdf:type ontology:Q502895 }
Benjamin Netanyahu Ofira Navon Ron Arad Gila Katsav Ezer Weizman Yona Metzger Yitzhak Rabin Yigal Allon Zeruya Shalev Yinon Magal Ephraim Kishon Ehud Barak Moshe Dayan Yitzhak Navon Ehud Olmert Hanan Ben Ari Dan Allon Naftali Bennett Omer Atzili Yehuda Pinchover Neta Riskin Ilan Ramon Ariel Sharon Benyamin Shvili Dan Pagis Guy Oseary Hasdai Crescas
Benjamin Netanyahu, Moshe Dayan and Ariel Sharon speak that language family as his/her mother tongue
Benjamin Netanyahu Moshe Dayan Ariel Sharon
action filter_type
action find_reverse
entity Hebrew
relation native language
type common name
[{'concept': 'common name'}, 'native language', 'Hebrew']
SELECT DISTINCT ?p WHERE { ?p property:native_language resource:Hebrew . ?p rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q43723
P410
Q4189293
USER
Which title has Benjamin Netanyahu achieved ?
(Q43723,P410,c(Q4189293))
action filter_type
action find
entity Q43723
relation P410
type Q4189293
['Q43723', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?l WHERE { resource:Q43723 property:P410 ?l . ?l rdf:type ontology:Q4189293 }
Benjamin Netanyahu
action filter_type
action find
entity Benjamin Netanyahu
relation military rank
type title
['Benjamin Netanyahu', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?l WHERE { resource:Benjamin_Netanyahu property:military_rank ?l . ?l rdf:type ontology:title }
[]
title
Q19100
SYSTEM
captain
Q19100
(Q43723,P410,c(Q4189293))
action filter_type
action find
entity Q43723
relation P410
type Q4189293
Benjamin Netanyahu has achieved to [ANSWER]
['Q43723', 'P410', {'concept': 'Q4189293'}]
SELECT DISTINCT ?l WHERE { resource:Q43723 property:P410 ?l . ?l rdf:type ontology:Q4189293 }
captain
Benjamin Netanyahu has achieved to captain
captain
action filter_type
action find
entity Benjamin Netanyahu
relation military rank
type title
['Benjamin Netanyahu', 'military rank', {'concept': 'title'}]
SELECT DISTINCT ?l WHERE { resource:Benjamin_Netanyahu property:military_rank ?l . ?l rdf:type ontology:title }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q19100
P39
Q95074
USER
Which fictional characters were responsible for occupying the position of that title ?
(c(Q95074),P39,Q19100)
action filter_type
action find_reverse
entity Q19100
relation P39
type Q95074
[{'concept': 'Q95074'}, 'P39', 'Q19100']
SELECT DISTINCT ?x WHERE { ?x property:P39 resource:Q19100 . ?x rdf:type ontology:Q95074 }
captain
action filter_type
action find_reverse
entity captain
relation position held
type fictional character
[{'concept': 'fictional character'}, 'position held', 'captain']
SELECT DISTINCT ?x WHERE { ?x property:position_held resource:captain . ?x rdf:type ontology:fictional_character }
[]
fictional character
Q27702890 Q27272386
SYSTEM
Phoebus, Captain Crocodile
Q27702890 Q27272386
(c(Q95074),P39,Q19100)
action filter_type
action find_reverse
entity Q19100
relation P39
type Q95074
[ANSWERS] were responsible for occupying the position of that title
[{'concept': 'Q95074'}, 'P39', 'Q19100']
SELECT DISTINCT ?x WHERE { ?x property:P39 resource:Q19100 . ?x rdf:type ontology:Q95074 }
Phoebus Captain Crocodile
Phoebus and Captain Crocodile were responsible for occupying the position of that title
Phoebus Captain Crocodile
action filter_type
action find_reverse
entity captain
relation position held
type fictional character
[{'concept': 'fictional character'}, 'position held', 'captain']
SELECT DISTINCT ?x WHERE { ?x property:position_held resource:captain . ?x rdf:type ontology:fictional_character }
[]
Clarification
Simple Question|Single Entity|Indirect
Q27702890
P941
Q95074
USER
What was that one inspired by ?
(Q27702890,P941,c(Q95074))
action filter_type
action find
entity Q27702890
relation P941
type Q95074
['Q27702890', 'P941', {'concept': 'Q95074'}]
SELECT DISTINCT ?r WHERE { resource:Q27702890 property:P941 ?r . ?r rdf:type ontology:Q95074 }
Phoebus
action filter_type
action find
entity Phoebus
relation inspired by
type fictional character
['Phoebus', 'inspired by', {'concept': 'fictional character'}]
SELECT DISTINCT ?r WHERE { resource:Phoebus property:inspired_by ?r . ?r rdf:type ontology:fictional_character }
[]
fictional character
Clarification for simple ques.
Q27702890
SYSTEM
Did you mean Phoebus ?
Q27702890 Q27272386
(Q27702890,P941,c(Q95074)) (Q27272386,P941,c(Q95074))
[ANSWER]
['Q27702890', 'P941', {'concept': 'Q95074'}] ['Q27272386', 'P941', {'concept': 'Q95074'}]
SELECT DISTINCT ?r WHERE { resource:Q27702890 property:P941 ?r . ?r rdf:type ontology:Q95074 }
Phoebus Captain Crocodile
Did you mean Phoebus ?
Phoebus
['Phoebus', 'inspired by', {'concept': 'fictional character'}] ['Captain Crocodile', 'inspired by', {'concept': 'fictional character'}]
SELECT DISTINCT ?r WHERE { resource:Phoebus property:inspired_by ?r . ?r rdf:type ontology:fictional_character }
[]
Simple Question (Coreferenced)
USER
Yes
(Q27702890,P941,c(Q95074))
['Q27702890', 'P941', {'concept': 'Q95074'}]
['Phoebus', 'inspired by', {'concept': 'fictional character'}]
[]
Q27702918
SYSTEM
Pierre Gringoire
Q27702918
(Q27702890,P941,c(Q95074))
action filter_type
action find
entity Q27702890
relation P941
type Q95074
That one was inspired by [ANSWER]
['Q27702890', 'P941', {'concept': 'Q95074'}]
SELECT DISTINCT ?r WHERE { resource:Q27702890 property:P941 ?r . ?r rdf:type ontology:Q95074 }
Pierre Gringoire
That one was inspired by Pierre Gringoire
Pierre Gringoire
action filter_type
action find
entity Phoebus
relation inspired by
type fictional character
['Phoebus', 'inspired by', {'concept': 'fictional character'}]
SELECT DISTINCT ?r WHERE { resource:Phoebus property:inspired_by ?r . ?r rdf:type ontology:fictional_character }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q27702918 Q191380
P674
Q234460
USER
Is that fictional character a character of The Hunchback of Notre Dame ?
(Q191380,P674,Q27702918)
action is_in
entity Q27702918
action find
entity Q191380
relation P674
['Q191380', 'P674', 'Q27702918']
ASK WHERE { resource:Q191380 property:P674 resource:Q27702918 }
Pierre Gringoire The Hunchback of Notre Dame
action is_in
entity Pierre Gringoire
action find
entity The Hunchback of Notre Dame
relation characters
['The Hunchback of Notre Dame', 'characters', 'Pierre Gringoire']
ASK WHERE { resource:The_Hunchback_of_Notre_Dame property:characters resource:Pierre_Gringoire }
[]
text
SYSTEM
YES
(Q191380,P674,Q27702918)
action is_in
entity Q27702918
action find
entity Q191380
relation P674
[ANSWER]
['Q191380', 'P674', 'Q27702918']
ASK WHERE { resource:Q191380 property:P674 resource:Q27702918 }
Yes
action is_in
entity Pierre Gringoire
action find
entity The Hunchback of Notre Dame
relation characters
['The Hunchback of Notre Dame', 'characters', 'Pierre Gringoire']
ASK WHERE { resource:The_Hunchback_of_Notre_Dame property:characters resource:Pierre_Gringoire }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q177220 Q18697160
P425
Q9332
USER
How many behaviors are associated with the field of occupation singer or Golf ball diver ?
(Q177220,P425,c(Q9332)) (Q18697160,P425,c(Q9332))
action count
action union
action filter_type
action find
entity Q177220
relation P425
type Q9332
action filter_type
action find
entity Q18697160
relation P425
type Q9332
['Q177220', 'P425', {'concept': 'Q9332'}] ['Q18697160', 'P425', {'concept': 'Q9332'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { ?a rdf:type ontology:Q9332 . resource:Q177220 property:P425 ?a } UNION { resource:Q18697160 property:P425 ?a . ?a rdf:type ontology:Q9332 } }
singer Golf ball diver
action count
action union
action filter_type
action find
entity singer
relation field of this occupation
type behavior
action filter_type
action find
entity Golf ball diver
relation field of this occupation
type behavior
['singer', 'field of this occupation', {'concept': 'behavior'}] ['Golf ball diver', 'field of this occupation', {'concept': 'behavior'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { ?a rdf:type ontology:behavior . resource:singer property:field_of_this_occupation ?a } UNION { resource:Golf_ball_diver property:field_of_this_occupation ?a . ?a rdf:type ontology:behavior } }
[]
behavior
SYSTEM
2
Q179643 Q27939
(Q177220,P425,c(Q9332)) (Q18697160,P425,c(Q9332))
action count
action union
action filter_type
action find
entity Q177220
relation P425
type Q9332
action filter_type
action find
entity Q18697160
relation P425
type Q9332
[ANSWER]
['Q177220', 'P425', {'concept': 'Q9332'}] ['Q18697160', 'P425', {'concept': 'Q9332'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { ?a rdf:type ontology:Q9332 . resource:Q177220 property:P425 ?a } UNION { resource:Q18697160 property:P425 ?a . ?a rdf:type ontology:Q9332 } }
underwater diving singing
2
action count
action union
action filter_type
action find
entity singer
relation field of this occupation
type behavior
action filter_type
action find
entity Golf ball diver
relation field of this occupation
type behavior
['singer', 'field of this occupation', {'concept': 'behavior'}] ['Golf ball diver', 'field of this occupation', {'concept': 'behavior'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?p ) WHERE { { ?a rdf:type ontology:behavior . resource:singer property:field_of_this_occupation ?a } UNION { resource:Golf_ball_diver property:field_of_this_occupation ?a . ?a rdf:type ontology:behavior } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1028714
P674
Q95074 Q234460 Q5398426
USER
How many fictional characters plays a role in greater number of texts and television series than Jiminy Cricket ?
(c(Q234460)|c(Q5398426),P674,c(Q95074))
action count
action greater
action union
action find_reverse_tuple_counts
relation P674
type Q95074
type Q234460
action find_reverse_tuple_counts
relation P674
type Q95074
type Q5398426
action count
action filter_multi_types
action find_reverse
entity Q1028714
relation P674
type Q234460
type Q5398426
[[{'concept': 'Q234460'}, {'concept': 'Q5398426'}], 'P674', {'concept': 'Q95074'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?p ) WHERE { VALUES ( ?v ) { ( ontology:Q234460 ) ( ontology:Q5398426 ) } . ?m rdf:type ?v } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { { { ?n rdf:type ontology:Q234460 } UNION { ?n rdf:type ontology:Q5398426 } } . ?n property:P674 resource:Q1028714 } } . FILTER ( ?p > ?r ) }
Jiminy Cricket
action count
action greater
action union
action find_reverse_tuple_counts
relation characters
type fictional character
type text
action find_reverse_tuple_counts
relation characters
type fictional character
type television series
action count
action filter_multi_types
action find_reverse
entity Jiminy Cricket
relation characters
type text
type television series
[[{'concept': 'text'}, {'concept': 'television series'}], 'characters', {'concept': 'fictional character'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?p ) WHERE { VALUES ( ?v ) { ( ontology:text ) ( ontology:television_series ) } . ?m rdf:type ?v } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { { { ?n rdf:type ontology:text } UNION { ?n rdf:type ontology:television_series } } . ?n property:characters resource:Jiminy_Cricket } } . FILTER ( ?p > ?r ) }
[]
fictional character text television series
SYSTEM
19
Q16027672 Q2985575 Q1750634 Q461606 Q2340460 Q510102 Q4653 Q191114 Q23906183 Q159709 Q850506 Q27703517 Q2979585 Q3471289 Q520812 Q27703691 Q3073552 Q27702918 Q661491
(c(Q234460)|c(Q5398426),P674,c(Q95074))
action count
action greater
action union
action find_reverse_tuple_counts
relation P674
type Q95074
type Q234460
action find_reverse_tuple_counts
relation P674
type Q95074
type Q5398426
action count
action filter_multi_types
action find_reverse
entity Q1028714
relation P674
type Q234460
type Q5398426
[ANSWER]
[[{'concept': 'Q234460'}, {'concept': 'Q5398426'}], 'P674', {'concept': 'Q95074'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?p ) WHERE { VALUES ( ?v ) { ( ontology:Q234460 ) ( ontology:Q5398426 ) } . ?m rdf:type ?v } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { { { ?n rdf:type ontology:Q234460 } UNION { ?n rdf:type ontology:Q5398426 } } . ?n property:P674 resource:Q1028714 } } . FILTER ( ?p > ?r ) }
Dr. Stewart K-9 Quasimodo Arsène Lupin Captain Falcon Captain Phoebus Sherlock Holmes Sita Herbert Einstein Gilgamesh Brynhildr Sister Gudule Clopin Trouillefou Samurai Goroh Claude Frollo Jehan Frollo Fleur-de-Lys Pierre Gringoire Esméralda
19
action count
action greater
action union
action find_reverse_tuple_counts
relation characters
type fictional character
type text
action find_reverse_tuple_counts
relation characters
type fictional character
type television series
action count
action filter_multi_types
action find_reverse
entity Jiminy Cricket
relation characters
type text
type television series
[[{'concept': 'text'}, {'concept': 'television series'}], 'characters', {'concept': 'fictional character'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?m ) AS ?p ) WHERE { VALUES ( ?v ) { ( ontology:text ) ( ontology:television_series ) } . ?m rdf:type ?v } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { { { ?n rdf:type ontology:text } UNION { ?n rdf:type ontology:television_series } } . ?n property:characters resource:Jiminy_Cricket } } . FILTER ( ?p > ?r ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q11309288
P674
Q95074 Q234460 Q5398426
USER
And how about Jeff?
(c(Q234460)|c(Q5398426),P674,c(Q95074))
action count
action greater
action union
action find_reverse_tuple_counts
relation P674
type Q95074
type Q234460
action find_reverse_tuple_counts
relation P674
type Q95074
type Q5398426
action count
action filter_multi_types
action find_reverse
entity Q11309288
relation P674
type Q234460
type Q5398426
[[{'concept': 'Q234460'}, {'concept': 'Q5398426'}], 'P674', {'concept': 'Q95074'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?v ) WHERE { { ?g property:P674 ?s . ?g rdf:type ontology:Q234460 . ?s rdf:type ontology:Q95074 } UNION { ?s rdf:type ontology:Q95074 . ?g rdf:type ontology:Q5398426 . ?g property:P674 ?s } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { ?m property:P674 resource:Q11309288 . { { ?m rdf:type ontology:Q5398426 } UNION { ?m rdf:type ontology:Q234460 } } } } . FILTER ( ?v > ?f ) }
Jeff
action count
action greater
action union
action find_reverse_tuple_counts
relation characters
type fictional character
type text
action find_reverse_tuple_counts
relation characters
type fictional character
type television series
action count
action filter_multi_types
action find_reverse
entity Jeff
relation characters
type text
type television series
[[{'concept': 'text'}, {'concept': 'television series'}], 'characters', {'concept': 'fictional character'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?v ) WHERE { { ?g property:characters ?s . ?g rdf:type ontology:text . ?s rdf:type ontology:fictional_character } UNION { ?s rdf:type ontology:fictional_character . ?g rdf:type ontology:television_series . ?g property:characters ?s } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { ?m property:characters resource:Jeff . { { ?m rdf:type ontology:television_series } UNION { ?m rdf:type ontology:text } } } } . FILTER ( ?v > ?f ) }
[]
fictional character text television series
SYSTEM
19
Q16027672 Q2985575 Q1750634 Q461606 Q2340460 Q510102 Q4653 Q191114 Q23906183 Q159709 Q850506 Q27703517 Q2979585 Q3471289 Q520812 Q27703691 Q3073552 Q27702918 Q661491
(c(Q234460)|c(Q5398426),P674,c(Q95074))
action count
action greater
action union
action find_reverse_tuple_counts
relation P674
type Q95074
type Q234460
action find_reverse_tuple_counts
relation P674
type Q95074
type Q5398426
action count
action filter_multi_types
action find_reverse
entity Q11309288
relation P674
type Q234460
type Q5398426
[ANSWER]
[[{'concept': 'Q234460'}, {'concept': 'Q5398426'}], 'P674', {'concept': 'Q95074'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?v ) WHERE { { ?g property:P674 ?s . ?g rdf:type ontology:Q234460 . ?s rdf:type ontology:Q95074 } UNION { ?s rdf:type ontology:Q95074 . ?g rdf:type ontology:Q5398426 . ?g property:P674 ?s } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { ?m property:P674 resource:Q11309288 . { { ?m rdf:type ontology:Q5398426 } UNION { ?m rdf:type ontology:Q234460 } } } } . FILTER ( ?v > ?f ) }
Dr. Stewart K-9 Quasimodo Arsène Lupin Captain Falcon Captain Phoebus Sherlock Holmes Sita Herbert Einstein Gilgamesh Brynhildr Sister Gudule Clopin Trouillefou Samurai Goroh Claude Frollo Jehan Frollo Fleur-de-Lys Pierre Gringoire Esméralda
19
action count
action greater
action union
action find_reverse_tuple_counts
relation characters
type fictional character
type text
action find_reverse_tuple_counts
relation characters
type fictional character
type television series
action count
action filter_multi_types
action find_reverse
entity Jeff
relation characters
type text
type television series
[[{'concept': 'text'}, {'concept': 'television series'}], 'characters', {'concept': 'fictional character'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?z ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?g ) AS ?v ) WHERE { { ?g property:characters ?s . ?g rdf:type ontology:text . ?s rdf:type ontology:fictional_character } UNION { ?s rdf:type ontology:fictional_character . ?g rdf:type ontology:television_series . ?g property:characters ?s } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?f ) WHERE { ?m property:characters resource:Jeff . { { ?m rdf:type ontology:television_series } UNION { ?m rdf:type ontology:text } } } } . FILTER ( ?v > ?f ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P157
Q95074 Q15619164
USER
Which abstract beings were murdered by atleast 1 fictional character ?
(c(Q15619164),P157,c(Q95074))
action atleast
action find_tuple_counts
relation P157
type Q15619164
type Q95074
value 1
[{'concept': 'Q15619164'}, 'P157', {'concept': 'Q95074'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?j ) WHERE { ?r property:P157 ?m . ?m rdf:type ontology:Q95074 . ?r rdf:type ontology:Q15619164 } GROUP BY ?r } . FILTER ( ?j >= 1 ) }
action atleast
action find_tuple_counts
relation killed by
type abstract being
type fictional character
value 1
[{'concept': 'abstract being'}, 'killed by', {'concept': 'fictional character'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?j ) WHERE { ?r property:killed_by ?m . ?m rdf:type ontology:fictional_character . ?r rdf:type ontology:abstract_being } GROUP BY ?r } . FILTER ( ?j >= 1 ) }
[]
fictional character abstract being
Q51311 Q51339 Q2846264
SYSTEM
John Locke, Alex Rousseau, Andre Drazen
Q51339 Q51311 Q51725 Q2343363 Q2846264 Q932724 Q51742
(c(Q15619164),P157,c(Q95074))
action atleast
action find_tuple_counts
relation P157
type Q15619164
type Q95074
value 1
[ANSWERS] were murdered by atleast 1 fictional character
[{'concept': 'Q15619164'}, 'P157', {'concept': 'Q95074'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?j ) WHERE { ?r property:P157 ?m . ?m rdf:type ontology:Q95074 . ?r rdf:type ontology:Q15619164 } GROUP BY ?r } . FILTER ( ?j >= 1 ) }
Alex Rousseau John Locke Mace Windu Saesee Tiin Andre Drazen Kit Fisto Agen Kolar
John Locke, Alex Rousseau and Andre Drazen were murdered by atleast 1 fictional character
John Locke Alex Rousseau Andre Drazen
action atleast
action find_tuple_counts
relation killed by
type abstract being
type fictional character
value 1
[{'concept': 'abstract being'}, 'killed by', {'concept': 'fictional character'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?m ) AS ?j ) WHERE { ?r property:killed_by ?m . ?m rdf:type ontology:fictional_character . ?r rdf:type ontology:abstract_being } GROUP BY ?r } . FILTER ( ?j >= 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P674
Q95074 Q234460 Q15850590
USER
Which fictional characters plays a role in around 1 texts and theatrical genres ?
(c(Q234460)|c(Q15850590),P674,c(Q95074))
action approx
action union
action find_reverse_tuple_counts
relation P674
type Q95074
type Q234460
action find_reverse_tuple_counts
relation P674
type Q95074
type Q15850590
value 1
[[{'concept': 'Q234460'}, {'concept': 'Q15850590'}], 'P674', {'concept': 'Q95074'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) ?p WHERE { VALUES ( ?b ) { ( ontology:Q234460 ) ( ontology:Q15850590 ) } . ?s rdf:type ?b } GROUP BY ?p } . FILTER ( ?k = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation characters
type fictional character
type text
action find_reverse_tuple_counts
relation characters
type fictional character
type theatrical genre
value 1
[[{'concept': 'text'}, {'concept': 'theatrical genre'}], 'characters', {'concept': 'fictional character'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) ?p WHERE { VALUES ( ?b ) { ( ontology:text ) ( ontology:theatrical_genre ) } . ?s rdf:type ?b } GROUP BY ?p } . FILTER ( ?k = 1 ) }
[]
fictional character text theatrical genre
Q520812 Q661491 Q1750634
SYSTEM
Claude Frollo, Esméralda, Quasimodo
Q1750634 Q510102 Q191114 Q23906183 Q159709 Q1115859 Q850506 Q27703517 Q2979585 Q22264381 Q520812 Q16451200 Q27703691 Q3073552 Q27702918 Q661491
(c(Q234460)|c(Q15850590),P674,c(Q95074))
action approx
action union
action find_reverse_tuple_counts
relation P674
type Q95074
type Q234460
action find_reverse_tuple_counts
relation P674
type Q95074
type Q15850590
value 1
[ANSWERS] play a role in around 1 texts and theatrical genres
[[{'concept': 'Q234460'}, {'concept': 'Q15850590'}], 'P674', {'concept': 'Q95074'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) ?p WHERE { VALUES ( ?b ) { ( ontology:Q234460 ) ( ontology:Q15850590 ) } . ?s rdf:type ?b } GROUP BY ?p } . FILTER ( ?k = 1 ) }
Quasimodo Captain Phoebus Sita Herbert Einstein Gilgamesh Horatius Cocles Brynhildr Sister Gudule Clopin Trouillefou Barbarella Claude Frollo Taras Bulba Jehan Frollo Fleur-de-Lys Pierre Gringoire Esméralda
Claude Frollo, Esméralda and Quasimodo play a role in around 1 texts and theatrical genres
Claude Frollo Esméralda Quasimodo
action approx
action union
action find_reverse_tuple_counts
relation characters
type fictional character
type text
action find_reverse_tuple_counts
relation characters
type fictional character
type theatrical genre
value 1
[[{'concept': 'text'}, {'concept': 'theatrical genre'}], 'characters', {'concept': 'fictional character'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?k ) ?p WHERE { VALUES ( ?b ) { ( ontology:text ) ( ontology:theatrical_genre ) } . ?s rdf:type ?b } GROUP BY ?p } . FILTER ( ?k = 1 ) }
[]