Simple Question (Direct)
Simple Question
Q16901254
P26
Q502895
USER
Which person is the life partner of Hemendra Chandra Singh ?
(Q16901254,P26,c(Q502895))
action filter_type
action find
entity Q16901254
relation P26
type Q502895
['Q16901254', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q16901254 property:P26 ?w . ?w rdf:type ontology:Q502895 }
Hemendra Chandra Singh
action filter_type
action find
entity Hemendra Chandra Singh
relation spouse
type common name
['Hemendra Chandra Singh', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Hemendra_Chandra_Singh property:spouse ?w . ?w rdf:type ontology:common_name }
[]
common name
Q18325951
SYSTEM
Pratyusha Rajeshwari Singh
Q18325951
(Q16901254,P26,c(Q502895))
action filter_type
action find
entity Q16901254
relation P26
type Q502895
[ANSWER] is the life partner of Hemendra Chandra Singh
['Q16901254', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q16901254 property:P26 ?w . ?w rdf:type ontology:Q502895 }
Pratyusha Rajeshwari Singh
Pratyusha Rajeshwari Singh is the life partner of Hemendra Chandra Singh
Pratyusha Rajeshwari Singh
action filter_type
action find
entity Hemendra Chandra Singh
relation spouse
type common name
['Hemendra Chandra Singh', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Hemendra_Chandra_Singh property:spouse ?w . ?w rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q6619679
USER
Which fictional humanoids did atleast 3 people dub for ?
(c(Q6619679),P725,c(Q502895))
action atleast
action find_tuple_counts
relation P725
type Q6619679
type Q502895
value 3
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?m ) WHERE { ?y rdf:type ontology:Q502895 . ?t rdf:type ontology:Q6619679 . ?t property:P725 ?y } GROUP BY ?t } . FILTER ( ?m >= 3 ) }
action atleast
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
value 3
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?m ) WHERE { ?y rdf:type ontology:common_name . ?t rdf:type ontology:fictional_humanoid . ?t property:voice_actor ?y } GROUP BY ?t } . FILTER ( ?m >= 3 ) }
[]
common name fictional humanoid
Q15711517 Q15707554 Q994344
SYSTEM
Granny Smith, Apple Bloom, Ezio Auditore da Firenze
Q15707554 Q11609133 Q15726751 Q11479883 Q994344 Q11677249 Q11382982 Q18073923 Q11514862 Q931 Q15711517
(c(Q6619679),P725,c(Q502895))
action atleast
action find_tuple_counts
relation P725
type Q6619679
type Q502895
value 3
Atleast 3 people dubbed [ANSWERS]
[{'concept': 'Q6619679'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?m ) WHERE { ?y rdf:type ontology:Q502895 . ?t rdf:type ontology:Q6619679 . ?t property:P725 ?y } GROUP BY ?t } . FILTER ( ?m >= 3 ) }
Apple Bloom Sayaka Miki Diamond Tiara Mami Tomoe Ezio Auditore da Firenze Madoka Kaname Kyoko Sakura Sunset Shimmer Homura Akemi Naruto Uzumaki Granny Smith
Atleast 3 people dubbed Granny Smith, Apple Bloom and Ezio Auditore da Firenze
Granny Smith Apple Bloom Ezio Auditore da Firenze
action atleast
action find_tuple_counts
relation voice actor
type fictional humanoid
type common name
value 3
[{'concept': 'fictional humanoid'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?y ) AS ?m ) WHERE { ?y rdf:type ontology:common_name . ?t rdf:type ontology:fictional_humanoid . ?t property:voice_actor ?y } GROUP BY ?t } . FILTER ( ?m >= 3 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3858661
P641
Q349
USER
What did Miodrag Krivokapić participate in ?
(Q3858661,P641,c(Q349))
action filter_type
action find
entity Q3858661
relation P641
type Q349
['Q3858661', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q3858661 property:P641 ?o . ?o rdf:type ontology:Q349 }
Miodrag Krivokapić
action filter_type
action find
entity Miodrag Krivokapić
relation sport
type sport
['Miodrag Krivokapić', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Miodrag_Krivokapić property:sport ?o . ?o rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3858661,P641,c(Q349))
action filter_type
action find
entity Q3858661
relation P641
type Q349
Miodrag Krivokapić participated in [ANSWER]
['Q3858661', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?o WHERE { resource:Q3858661 property:P641 ?o . ?o rdf:type ontology:Q349 }
association football
Miodrag Krivokapić participated in association football
association football
action filter_type
action find
entity Miodrag Krivokapić
relation sport
type sport
['Miodrag Krivokapić', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?o WHERE { resource:Miodrag_Krivokapić property:sport ?o . ?o rdf:type ontology:sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q16201925
Q349
USER
And also tell me about 1963–64 Israel State Cup?
(Q16201925,P641,c(Q349))
action filter_type
action find
entity Q16201925
relation P641
type Q349
['Q16201925', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q349 . resource:Q16201925 property:P641 ?t }
1963–64 Israel State Cup
action filter_type
action find
entity 1963–64 Israel State Cup
relation sport
type sport
['1963–64 Israel State Cup', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sport . resource:1963–64_Israel_State_Cup property:sport ?t }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q16201925,P641,c(Q349))
action filter_type
action find
entity Q16201925
relation P641
type Q349
[ANSWER]
['Q16201925', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q349 . resource:Q16201925 property:P641 ?t }
association football
association football
action filter_type
action find
entity 1963–64 Israel State Cup
relation sport
type sport
['1963–64 Israel State Cup', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:sport . resource:1963–64_Israel_State_Cup property:sport ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15707554
P9
Q15619164
USER
Which abstract beings have Apple Bloom as their sibling ?
(c(Q15619164),P9,Q15707554)
action filter_type
action find_reverse
entity Q15707554
relation P9
type Q15619164
[{'concept': 'Q15619164'}, 'P9', 'Q15707554']
SELECT DISTINCT ?f WHERE { ?f property:P9 resource:Q15707554 . ?f rdf:type ontology:Q15619164 }
Apple Bloom
action filter_type
action find_reverse
entity Apple Bloom
relation sister
type abstract being
[{'concept': 'abstract being'}, 'sister', 'Apple Bloom']
SELECT DISTINCT ?f WHERE { ?f property:sister resource:Apple_Bloom . ?f rdf:type ontology:abstract_being }
[]
abstract being
Q7468973 Q15710470
SYSTEM
Applejack, Big McIntosh
Q7468973 Q15710470
(c(Q15619164),P9,Q15707554)
action filter_type
action find_reverse
entity Q15707554
relation P9
type Q15619164
[ANSWERS] have Apple Bloom as their sibling
[{'concept': 'Q15619164'}, 'P9', 'Q15707554']
SELECT DISTINCT ?f WHERE { ?f property:P9 resource:Q15707554 . ?f rdf:type ontology:Q15619164 }
Applejack Big McIntosh
Applejack and Big McIntosh have Apple Bloom as their sibling
Applejack Big McIntosh
action filter_type
action find_reverse
entity Apple Bloom
relation sister
type abstract being
[{'concept': 'abstract being'}, 'sister', 'Apple Bloom']
SELECT DISTINCT ?f WHERE { ?f property:sister resource:Apple_Bloom . ?f rdf:type ontology:abstract_being }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q15707554
P734
Q82799
USER
Who is associated with Apple Bloom ?
(Q15707554,P734,c(Q82799))
action filter_type
action find
entity Q15707554
relation P734
type Q82799
['Q15707554', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?e WHERE { resource:Q15707554 property:P734 ?e . ?e rdf:type ontology:Q82799 }
Apple Bloom
action filter_type
action find
entity Apple Bloom
relation family name
type name
['Apple Bloom', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?e WHERE { resource:Apple_Bloom property:family_name ?e . ?e rdf:type ontology:name }
[]
name
Q16860126
SYSTEM
Bloom
Q16860126
(Q15707554,P734,c(Q82799))
action filter_type
action find
entity Q15707554
relation P734
type Q82799
[ANSWER] is associated with Apple [ANSWER]
['Q15707554', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?e WHERE { resource:Q15707554 property:P734 ?e . ?e rdf:type ontology:Q82799 }
Bloom
Bloom is associated with Apple Bloom
Bloom
action filter_type
action find
entity Apple Bloom
relation family name
type name
['Apple Bloom', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?e WHERE { resource:Apple_Bloom property:family_name ?e . ?e rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q15707554
P19
Q3895768
USER
Which fictional location was that fictional humanoid born in ?
(Q16860126,P19,c(Q3895768))
action filter_type
action find
entity Q15707554
relation P19
type Q3895768
['Q16860126', 'P19', {'concept': 'Q3895768'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q3895768 . resource:Q15707554 property:P19 ?p }
Apple Bloom
action filter_type
action find
entity Apple Bloom
relation place of birth
type fictional location
['Bloom', 'place of birth', {'concept': 'fictional location'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:fictional_location . resource:Apple_Bloom property:place_of_birth ?p }
[]
fictional location
Q3908318
SYSTEM
Ponyville
Q3908318
(Q16860126,P19,c(Q3895768))
action filter_type
action find
entity Q15707554
relation P19
type Q3895768
That fictional humanoid was born in [ANSWER]
['Q16860126', 'P19', {'concept': 'Q3895768'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q3895768 . resource:Q15707554 property:P19 ?p }
Ponyville
That fictional humanoid was born in Ponyville
Ponyville
action filter_type
action find
entity Apple Bloom
relation place of birth
type fictional location
['Bloom', 'place of birth', {'concept': 'fictional location'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:fictional_location . resource:Apple_Bloom property:place_of_birth ?p }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q3908318 Q1869620
P551
Q502895
USER
Does Lonnie Glosson dwell at that fictional location ?
(Q1869620,P551,Q3908318)
action is_in
entity Q1869620
action find
entity Q3908318
relation P551
['Q1869620', 'P551', 'Q3908318']
ASK WHERE { resource:Q3908318 property:P551 resource:Q1869620 }
Ponyville Lonnie Glosson
action is_in
entity Lonnie Glosson
action find
entity Ponyville
relation residence
['Lonnie Glosson', 'residence', 'Ponyville']
ASK WHERE { resource:Ponyville property:residence resource:Lonnie_Glosson }
[]
common name
SYSTEM
NO
(Q1869620,P551,Q3908318)
action is_in
entity Q1869620
action find
entity Q3908318
relation P551
[ANSWER]
['Q1869620', 'P551', 'Q3908318']
ASK WHERE { resource:Q3908318 property:P551 resource:Q1869620 }
No
action is_in
entity Lonnie Glosson
action find
entity Ponyville
relation residence
['Lonnie Glosson', 'residence', 'Ponyville']
ASK WHERE { resource:Ponyville property:residence resource:Lonnie_Glosson }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q994344 Q1957905
P20
Q56061
USER
Is Mejlby the place of death of Ezio Auditore da Firenze ?
(Q994344,P20,Q1957905)
action is_in
entity Q1957905
action find
entity Q994344
relation P20
['Q994344', 'P20', 'Q1957905']
ASK WHERE { resource:Q994344 property:P20 resource:Q1957905 }
Ezio Auditore da Firenze Mejlby
action is_in
entity Mejlby
action find
entity Ezio Auditore da Firenze
relation place of death
['Ezio Auditore da Firenze', 'place of death', 'Mejlby']
ASK WHERE { resource:Ezio_Auditore_da_Firenze property:place_of_death resource:Mejlby }
[]
administrative territorial entity
SYSTEM
NO
(Q994344,P20,Q1957905)
action is_in
entity Q1957905
action find
entity Q994344
relation P20
[ANSWER]
['Q994344', 'P20', 'Q1957905']
ASK WHERE { resource:Q994344 property:P20 resource:Q1957905 }
No
action is_in
entity Mejlby
action find
entity Ezio Auditore da Firenze
relation place of death
['Ezio Auditore da Firenze', 'place of death', 'Mejlby']
ASK WHERE { resource:Ezio_Auditore_da_Firenze property:place_of_death resource:Mejlby }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q994344
P674
Q166142
USER
Which application has the character that fictional humanoid ?
action filter_type
action find_reverse
entity Q994344
relation P674
type Q166142
SELECT DISTINCT ?l WHERE { ?l property:P674 resource:Q994344 . ?l rdf:type ontology:Q166142 }
Ezio Auditore da Firenze
action filter_type
action find_reverse
entity Ezio Auditore da Firenze
relation characters
type application
SELECT DISTINCT ?l WHERE { ?l property:characters resource:Ezio_Auditore_da_Firenze . ?l rdf:type ontology:application }
[]
application
Q739654
SYSTEM
Assassin's Creed: Revelations
Q739654
action filter_type
action find_reverse
entity Q994344
relation P674
type Q166142
[ANSWER] has the character that fictional humanoid
SELECT DISTINCT ?l WHERE { ?l property:P674 resource:Q994344 . ?l rdf:type ontology:Q166142 }
Assassin's Creed: Revelations
Assassin's Creed: Revelations has the character that fictional humanoid
Assassin's Creed: Revelations
action filter_type
action find_reverse
entity Ezio Auditore da Firenze
relation characters
type application
SELECT DISTINCT ?l WHERE { ?l property:characters resource:Ezio_Auditore_da_Firenze . ?l rdf:type ontology:application }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q903621 Q994344
P178 P674
Q166142
USER
Which applications are Ezio Auditore da Firenze a character of and were developed by Ubisoft Montreal ?
AND((c(Q166142),P674,Q994344), (c(Q166142),P178,Q903621))
action filter_type
action intersection
action find_reverse
entity Q994344
relation P674
action find_reverse
entity Q903621
relation P178
type Q166142
{'AND': [[{'concept': 'Q166142'}, 'P674', 'Q994344'], [{'concept': 'Q166142'}, 'P178', 'Q903621']]}
SELECT DISTINCT ?t WHERE { ?t property:P178 resource:Q903621 . ?t property:P674 resource:Q994344 . ?t rdf:type ontology:Q166142 }
Ubisoft Montreal Ezio Auditore da Firenze
action filter_type
action intersection
action find_reverse
entity Ezio Auditore da Firenze
relation characters
action find_reverse
entity Ubisoft Montreal
relation developer
type application
{'AND': [[{'concept': 'application'}, 'characters', 'Ezio Auditore da Firenze'], [{'concept': 'application'}, 'developer', 'Ubisoft Montreal']]}
SELECT DISTINCT ?t WHERE { ?t property:developer resource:Ubisoft_Montreal . ?t property:characters resource:Ezio_Auditore_da_Firenze . ?t rdf:type ontology:application }
[]
application
Q739654
SYSTEM
Assassin's Creed: Revelations
Q739654
AND((c(Q166142),P674,Q994344), (c(Q166142),P178,Q903621))
action filter_type
action intersection
action find_reverse
entity Q994344
relation P674
action find_reverse
entity Q903621
relation P178
type Q166142
In [ANSWER] is Ezio Auditore da Firenze a character of and were developed by Ubisoft Montreal
{'AND': [[{'concept': 'Q166142'}, 'P674', 'Q994344'], [{'concept': 'Q166142'}, 'P178', 'Q903621']]}
SELECT DISTINCT ?t WHERE { ?t property:P178 resource:Q903621 . ?t property:P674 resource:Q994344 . ?t rdf:type ontology:Q166142 }
Assassin's Creed: Revelations
In Assassin's Creed: Revelations is Ezio Auditore da Firenze a character of and were developed by Ubisoft Montreal
Assassin's Creed: Revelations
action filter_type
action intersection
action find_reverse
entity Ezio Auditore da Firenze
relation characters
action find_reverse
entity Ubisoft Montreal
relation developer
type application
{'AND': [[{'concept': 'application'}, 'characters', 'Ezio Auditore da Firenze'], [{'concept': 'application'}, 'developer', 'Ubisoft Montreal']]}
SELECT DISTINCT ?t WHERE { ?t property:developer resource:Ubisoft_Montreal . ?t property:characters resource:Ezio_Auditore_da_Firenze . ?t rdf:type ontology:application }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q9010739
P157
Q95074 Q636497 Q6619679
USER
How many fictional humanoids were killed by around the same number of fictional characters and stock characters as Jamey Farrell ?
(c(Q6619679),P157,c(Q95074)|c(Q636497))
action count
action approx
action union
action find_tuple_counts
relation P157
type Q6619679
type Q95074
action find_tuple_counts
relation P157
type Q6619679
type Q636497
action count
action filter_multi_types
action find
entity Q9010739
relation P157
type Q95074
type Q636497
[{'concept': 'Q6619679'}, 'P157', [{'concept': 'Q95074'}, {'concept': 'Q636497'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?r ) AS ?z ) WHERE { ?r rdf:type ?j . VALUES ( ?j ) { ( ontology:Q95074 ) ( ontology:Q636497 ) } } GROUP BY ?q } . FILTER ( ?z = ?e ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { resource:Q9010739 property:P157 ?m . { { ?m rdf:type ontology:Q95074 } UNION { ?m rdf:type ontology:Q636497 } } } } }
Jamey Farrell
action count
action approx
action union
action find_tuple_counts
relation killed by
type fictional humanoid
type fictional character
action find_tuple_counts
relation killed by
type fictional humanoid
type stock character
action count
action filter_multi_types
action find
entity Jamey Farrell
relation killed by
type fictional character
type stock character
[{'concept': 'fictional humanoid'}, 'killed by', [{'concept': 'fictional character'}, {'concept': 'stock character'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?r ) AS ?z ) WHERE { ?r rdf:type ?j . VALUES ( ?j ) { ( ontology:fictional_character ) ( ontology:stock_character ) } } GROUP BY ?q } . FILTER ( ?z = ?e ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { resource:Jamey_Farrell property:killed_by ?m . { { ?m rdf:type ontology:fictional_character } UNION { ?m rdf:type ontology:stock_character } } } } }
[]
fictional character stock character fictional humanoid
SYSTEM
43
Q21431308 Q2142742 Q2076946 Q20818052 Q26741401 Q21431307 Q2461109 Q14920993 Q2130544 Q21501356 Q14921007 Q23900446 Q15118476 Q2089037 Q21411069 Q21431283 Q384436 Q1033932 Q7624009 Q18535424 Q24040935 Q2536239 Q21431277 Q1095612 Q2307276 Q20001183 Q51293 Q15223888 Q2439551 Q15733721 Q2609344 Q21489880 Q27624318 Q2297974 Q18535363 Q3808286 Q3870091 Q3836775 Q10264220 Q1916185 Q765092 Q9010739 Q642549
(c(Q6619679),P157,c(Q95074)|c(Q636497))
action count
action approx
action union
action find_tuple_counts
relation P157
type Q6619679
type Q95074
action find_tuple_counts
relation P157
type Q6619679
type Q636497
action count
action filter_multi_types
action find
entity Q9010739
relation P157
type Q95074
type Q636497
[ANSWER]
[{'concept': 'Q6619679'}, 'P157', [{'concept': 'Q95074'}, {'concept': 'Q636497'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?r ) AS ?z ) WHERE { ?r rdf:type ?j . VALUES ( ?j ) { ( ontology:Q95074 ) ( ontology:Q636497 ) } } GROUP BY ?q } . FILTER ( ?z = ?e ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { resource:Q9010739 property:P157 ?m . { { ?m rdf:type ontology:Q95074 } UNION { ?m rdf:type ontology:Q636497 } } } } }
Queen Eva Emilio Largo Plenty O'Toole Rhaegar Targaryen Conrad King Leopold General Ourumov Kevin Carroll Tracy Bond Alma Coin Mark DeSalvo Howard Stark Julius Solange Peter Pan Cora Mills Silas Haresh Clay Stringer Bell Rashek Maria Stark Jenny Calendar Maid Marian Teri Bauer Rosa Klebb Killian Jones Jack Shephard Janduin Isam Achilles de Flandres Jonathan Levinson King Fergus Lucian/Strong Zealot Peter Franks Kelsier Jill Masterson Nancy Lord Luc Dario Sergei Barsov Caspian Jamey Farrell Francisco Scaramanga
43
action count
action approx
action union
action find_tuple_counts
relation killed by
type fictional humanoid
type fictional character
action find_tuple_counts
relation killed by
type fictional humanoid
type stock character
action count
action filter_multi_types
action find
entity Jamey Farrell
relation killed by
type fictional character
type stock character
[{'concept': 'fictional humanoid'}, 'killed by', [{'concept': 'fictional character'}, {'concept': 'stock character'}]]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?r ) AS ?z ) WHERE { ?r rdf:type ?j . VALUES ( ?j ) { ( ontology:fictional_character ) ( ontology:stock_character ) } } GROUP BY ?q } . FILTER ( ?z = ?e ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { resource:Jamey_Farrell property:killed_by ?m . { { ?m rdf:type ontology:fictional_character } UNION { ?m rdf:type ontology:stock_character } } } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q284262
P157
Q95074 Q636497 Q6619679
USER
And what about Nina Myers?
(c(Q6619679),P157,c(Q95074)|c(Q636497))
action count
action approx
action union
action find_tuple_counts
relation P157
type Q6619679
type Q95074
action find_tuple_counts
relation P157
type Q6619679
type Q636497
action count
action filter_multi_types
action find
entity Q284262
relation P157
type Q95074
type Q636497
[{'concept': 'Q6619679'}, 'P157', [{'concept': 'Q95074'}, {'concept': 'Q636497'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?b ) WHERE { { ?c property:P157 ?f . ?c rdf:type ontology:Q6619679 . ?f rdf:type ontology:Q636497 } UNION { ?f rdf:type ontology:Q95074 . ?c rdf:type ontology:Q6619679 . ?c property:P157 ?f } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { resource:Q284262 property:P157 ?q . { { ?q rdf:type ontology:Q95074 } UNION { ?q rdf:type ontology:Q636497 } } } } . FILTER ( ?b = ?i ) }
Nina Myers
action count
action approx
action union
action find_tuple_counts
relation killed by
type fictional humanoid
type fictional character
action find_tuple_counts
relation killed by
type fictional humanoid
type stock character
action count
action filter_multi_types
action find
entity Nina Myers
relation killed by
type fictional character
type stock character
[{'concept': 'fictional humanoid'}, 'killed by', [{'concept': 'fictional character'}, {'concept': 'stock character'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?b ) WHERE { { ?c property:killed_by ?f . ?c rdf:type ontology:fictional_humanoid . ?f rdf:type ontology:stock_character } UNION { ?f rdf:type ontology:fictional_character . ?c rdf:type ontology:fictional_humanoid . ?c property:killed_by ?f } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { resource:Nina_Myers property:killed_by ?q . { { ?q rdf:type ontology:fictional_character } UNION { ?q rdf:type ontology:stock_character } } } } . FILTER ( ?b = ?i ) }
[]
fictional character stock character fictional humanoid
SYSTEM
5
Q2362758 Q21282852 Q27101792 Q284262 Q9093657
(c(Q6619679),P157,c(Q95074)|c(Q636497))
action count
action approx
action union
action find_tuple_counts
relation P157
type Q6619679
type Q95074
action find_tuple_counts
relation P157
type Q6619679
type Q636497
action count
action filter_multi_types
action find
entity Q284262
relation P157
type Q95074
type Q636497
[ANSWER]
[{'concept': 'Q6619679'}, 'P157', [{'concept': 'Q95074'}, {'concept': 'Q636497'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?b ) WHERE { { ?c property:P157 ?f . ?c rdf:type ontology:Q6619679 . ?f rdf:type ontology:Q636497 } UNION { ?f rdf:type ontology:Q95074 . ?c rdf:type ontology:Q6619679 . ?c property:P157 ?f } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { resource:Q284262 property:P157 ?q . { { ?q rdf:type ontology:Q95074 } UNION { ?q rdf:type ontology:Q636497 } } } } . FILTER ( ?b = ?i ) }
Ira Gaines Rachel Banks Pietro Maximoff / Quicksilver Nina Myers Victor Drazen
5
action count
action approx
action union
action find_tuple_counts
relation killed by
type fictional humanoid
type fictional character
action find_tuple_counts
relation killed by
type fictional humanoid
type stock character
action count
action filter_multi_types
action find
entity Nina Myers
relation killed by
type fictional character
type stock character
[{'concept': 'fictional humanoid'}, 'killed by', [{'concept': 'fictional character'}, {'concept': 'stock character'}]]
SELECT DISTINCT ( COUNT ( ?c ) AS ?l ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?b ) WHERE { { ?c property:killed_by ?f . ?c rdf:type ontology:fictional_humanoid . ?f rdf:type ontology:stock_character } UNION { ?f rdf:type ontology:fictional_character . ?c rdf:type ontology:fictional_humanoid . ?c property:killed_by ?f } } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?i ) WHERE { resource:Nina_Myers property:killed_by ?q . { { ?q rdf:type ontology:fictional_character } UNION { ?q rdf:type ontology:stock_character } } } } . FILTER ( ?b = ?i ) }
[]