Simple Question (Direct)
Simple Question
Q20650426
P27
Q15617994
USER
Which administrative territory does Juan Silva belong to ?
(Q20650426,P27,c(Q15617994))
action filter_type
action find
entity Q20650426
relation P27
type Q15617994
['Q20650426', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q20650426 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Juan Silva
action filter_type
action find
entity Juan Silva
relation country of citizenship
type designation for an administrative territorial entity
['Juan Silva', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Juan_Silva property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q298
SYSTEM
Chile
Q298
(Q20650426,P27,c(Q15617994))
action filter_type
action find
entity Q20650426
relation P27
type Q15617994
Juan Silva belongs to [ANSWER]
['Q20650426', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q20650426 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Chile
Juan Silva belongs to Chile
Chile
action filter_type
action find
entity Juan Silva
relation country of citizenship
type designation for an administrative territorial entity
['Juan Silva', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Juan_Silva property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q298
P2695
Q11173
USER
Which chemical compound can be obtained naturally in abundance in that administrative territory ?
(c(Q11173),P2695,Q298)
action filter_type
action find_reverse
entity Q298
relation P2695
type Q11173
[{'concept': 'Q11173'}, 'P2695', 'Q298']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q11173 . ?o property:P2695 resource:Q298 }
Chile
action filter_type
action find_reverse
entity Chile
relation type locality
type chemical compound
[{'concept': 'chemical compound'}, 'type locality', 'Chile']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:chemical_compound . ?o property:type_locality resource:Chile }
[]
chemical compound
Q3877379
SYSTEM
nitrobarite
Q3877379
(c(Q11173),P2695,Q298)
action filter_type
action find_reverse
entity Q298
relation P2695
type Q11173
[ANSWER] can be obtained naturally in abundance in that administrative territory
[{'concept': 'Q11173'}, 'P2695', 'Q298']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q11173 . ?o property:P2695 resource:Q298 }
nitrobarite
Nitrobarite can be obtained naturally in abundance in that administrative territory
nitrobarite
action filter_type
action find_reverse
entity Chile
relation type locality
type chemical compound
[{'concept': 'chemical compound'}, 'type locality', 'Chile']
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:chemical_compound . ?o property:type_locality resource:Chile }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q325345
P2695
Q56061 Q14524493 Q11173
USER
Which chemical compounds can be found in abundance in around the same number of administrative territories or terrains as covellite ?
(c(Q11173),P2695,c(Q56061)|c(Q14524493))
action approx
action union
action find_tuple_counts
relation P2695
type Q11173
type Q56061
action find_tuple_counts
relation P2695
type Q11173
type Q14524493
action count
action filter_multi_types
action find
entity Q325345
relation P2695
type Q56061
type Q14524493
[{'concept': 'Q11173'}, 'P2695', [{'concept': 'Q56061'}, {'concept': 'Q14524493'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?e ) AS ?z ) WHERE { ?e rdf:type ?l . VALUES ( ?l ) { ( ontology:Q14524493 ) ( ontology:Q56061 ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { { ?d rdf:type ontology:Q56061 } UNION { ?d rdf:type ontology:Q14524493 } } . resource:Q325345 property:P2695 ?d } } . FILTER ( ?z = ?r ) }
covellite
action approx
action union
action find_tuple_counts
relation type locality
type chemical compound
type administrative territorial entity
action find_tuple_counts
relation type locality
type chemical compound
type terrain
action count
action filter_multi_types
action find
entity covellite
relation type locality
type administrative territorial entity
type terrain
[{'concept': 'chemical compound'}, 'type locality', [{'concept': 'administrative territorial entity'}, {'concept': 'terrain'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?e ) AS ?z ) WHERE { ?e rdf:type ?l . VALUES ( ?l ) { ( ontology:terrain ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { { ?d rdf:type ontology:administrative_territorial_entity } UNION { ?d rdf:type ontology:terrain } } . resource:covellite property:type_locality ?d } } . FILTER ( ?z = ?r ) }
[]
administrative territorial entity terrain chemical compound
Q102151 Q15646565 Q418215
SYSTEM
fluorite, kangite, moissanite
Q3877379 Q420924 Q3731805 Q786358 Q15646565 Q425639 Q3951326 Q890291 Q1058797 Q163577 Q429876 Q769470 Q3434761 Q19860903 Q418215 Q422903 Q412658 Q409122 Q2451851 Q19861203 Q19833532 Q417303 Q407861 Q3776702 Q3638833 Q425316 Q3850678 Q3714815 Q102151 Q24254450 Q3698830 Q1066986 Q325345 Q3876696 Q388053 Q1370418 Q19861258 Q2622967 Q3940333 Q409091 Q19810687
(c(Q11173),P2695,c(Q56061)|c(Q14524493))
action approx
action union
action find_tuple_counts
relation P2695
type Q11173
type Q56061
action find_tuple_counts
relation P2695
type Q11173
type Q14524493
action count
action filter_multi_types
action find
entity Q325345
relation P2695
type Q56061
type Q14524493
[ANSWERS] can be found in abundance in around the same number of administrative territories or terrains as covellite
[{'concept': 'Q11173'}, 'P2695', [{'concept': 'Q56061'}, {'concept': 'Q14524493'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?e ) AS ?z ) WHERE { ?e rdf:type ?l . VALUES ( ?l ) { ( ontology:Q14524493 ) ( ontology:Q56061 ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { { ?d rdf:type ontology:Q56061 } UNION { ?d rdf:type ontology:Q14524493 } } . resource:Q325345 property:P2695 ?d } } . FILTER ( ?z = ?r ) }
nitrobarite maghemite eriochalcite spherocobaltite kangite cotunnite scacchite bayerite oldhamite tenorite montroydite molysite naumannite kokinosite moissanite crocoite paratellurite cerussite salammoniac postite engelhauptite bromellite chalcanthite griceite berndtite troilite mascagnite doyleite fluorite kegginite cryptohalite tarapacáite covellite nierite kieserite formicaite sardignaite nitratine rollandite sylvite bosoite
Fluorite, kangite and moissanite can be found in abundance in around the same number of administrative territories or terrains as covellite
fluorite kangite moissanite
action approx
action union
action find_tuple_counts
relation type locality
type chemical compound
type administrative territorial entity
action find_tuple_counts
relation type locality
type chemical compound
type terrain
action count
action filter_multi_types
action find
entity covellite
relation type locality
type administrative territorial entity
type terrain
[{'concept': 'chemical compound'}, 'type locality', [{'concept': 'administrative territorial entity'}, {'concept': 'terrain'}]]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?e ) AS ?z ) WHERE { ?e rdf:type ?l . VALUES ( ?l ) { ( ontology:terrain ) ( ontology:administrative_territorial_entity ) } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?r ) WHERE { { { ?d rdf:type ontology:administrative_territorial_entity } UNION { ?d rdf:type ontology:terrain } } . resource:covellite property:type_locality ?d } } . FILTER ( ?z = ?r ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q298
P6
Q502895
USER
Which person is the head of government of Chile ?
(Q298,P6,c(Q502895))
action filter_type
action find
entity Q298
relation P6
type Q502895
['Q298', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q298 property:P6 ?p . ?p rdf:type ontology:Q502895 }
Chile
action filter_type
action find
entity Chile
relation head of government
type common name
['Chile', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Chile property:head_of_government ?p . ?p rdf:type ontology:common_name }
[]
common name
Q320
SYSTEM
Michelle Bachelet
Q320
(Q298,P6,c(Q502895))
action filter_type
action find
entity Q298
relation P6
type Q502895
[ANSWER] is the head of government of Chile
['Q298', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q298 property:P6 ?p . ?p rdf:type ontology:Q502895 }
Michelle Bachelet
Michelle Bachelet is the head of government of Chile
Michelle Bachelet
action filter_type
action find
entity Chile
relation head of government
type common name
['Chile', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Chile property:head_of_government ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q64032
Q502895
USER
And how about Uster?
(Q64032,P6,c(Q502895))
action filter_type
action find
entity Q64032
relation P6
type Q502895
['Q64032', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q64032 property:P6 ?u . ?u rdf:type ontology:Q502895 }
Uster
action filter_type
action find
entity Uster
relation head of government
type common name
['Uster', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Uster property:head_of_government ?u . ?u rdf:type ontology:common_name }
[]
common name
Q119484 Q15018599 Q18648739
SYSTEM
Theophil Pfister, Martin Bornhauser, Werner Graf
Q18648732 Q18648731 Q18648730 Q18648737 Q18648736 Q18648735 Q18648739 Q18648738 Q15018521 Q18648729 Q15018564 Q15018599 Q119484 Q15018557
(Q64032,P6,c(Q502895))
action filter_type
action find
entity Q64032
relation P6
type Q502895
[ANSWERS]
['Q64032', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q64032 property:P6 ?u . ?u rdf:type ontology:Q502895 }
Emil Stadler-Gujer Hans Berchtold Werner Egli Berthold Kirchhofer Johann Heinrich Bosshard-Morf Jean Graf-Brunner Werner Graf Emil Stadler-Dändliker Walter Flach Ernst Wettstein Elisabeth Surbeck Martin Bornhauser Theophil Pfister Hans Thalmann
Theophil Pfister Martin Bornhauser Werner Graf
action filter_type
action find
entity Uster
relation head of government
type common name
['Uster', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Uster property:head_of_government ?u . ?u rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q15619164
USER
Which abstract beings did max number of people dub for ?
(c(Q15619164),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q15619164
type Q502895
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?k ) { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?c ) WHERE { ?u property:P725 ?o . ?u rdf:type ontology:Q15619164 . ?o rdf:type ontology:Q502895 } GROUP BY ?u } } . FILTER ( ?b = ?k ) . { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?b ) WHERE { ?d property:P725 ?v . ?d rdf:type ontology:Q15619164 . ?v rdf:type ontology:Q502895 } GROUP BY ?d } }
action argmax
action find_tuple_counts
relation voice actor
type abstract being
type common name
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?k ) { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?c ) WHERE { ?u property:voice_actor ?o . ?u rdf:type ontology:abstract_being . ?o rdf:type ontology:common_name } GROUP BY ?u } } . FILTER ( ?b = ?k ) . { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?b ) WHERE { ?d property:voice_actor ?v . ?d rdf:type ontology:abstract_being . ?v rdf:type ontology:common_name } GROUP BY ?d } }
[]
common name abstract being
Q5409355
SYSTEM
Fluttershy
Q5409355
(c(Q15619164),P725,c(Q502895))
action argmax
action find_tuple_counts
relation P725
type Q15619164
type Q502895
Which abstract beings max number of people dubbed for
[{'concept': 'Q15619164'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?k ) { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?c ) WHERE { ?u property:P725 ?o . ?u rdf:type ontology:Q15619164 . ?o rdf:type ontology:Q502895 } GROUP BY ?u } } . FILTER ( ?b = ?k ) . { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?b ) WHERE { ?d property:P725 ?v . ?d rdf:type ontology:Q15619164 . ?v rdf:type ontology:Q502895 } GROUP BY ?d } }
Fluttershy
Which abstract beings max number of people dubbed for
Fluttershy
action argmax
action find_tuple_counts
relation voice actor
type abstract being
type common name
[{'concept': 'abstract being'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?c ) AS ?k ) { SELECT DISTINCT ?u ( COUNT ( ?o ) AS ?c ) WHERE { ?u property:voice_actor ?o . ?u rdf:type ontology:abstract_being . ?o rdf:type ontology:common_name } GROUP BY ?u } } . FILTER ( ?b = ?k ) . { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?b ) WHERE { ?d property:voice_actor ?v . ?d rdf:type ontology:abstract_being . ?v rdf:type ontology:common_name } GROUP BY ?d } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q794
P176
Q41291
USER
What was built by Iran ?
(c(Q41291),P176,Q794)
action filter_type
action find_reverse
entity Q794
relation P176
type Q41291
[{'concept': 'Q41291'}, 'P176', 'Q794']
SELECT DISTINCT ?z WHERE { ?z property:P176 resource:Q794 . ?z rdf:type ontology:Q41291 }
Iran
action filter_type
action find_reverse
entity Iran
relation manufacturer
type rocket
[{'concept': 'rocket'}, 'manufacturer', 'Iran']
SELECT DISTINCT ?z WHERE { ?z property:manufacturer resource:Iran . ?z rdf:type ontology:rocket }
[]
rocket
Q3445293
SYSTEM
Ashoura
Q3445293
(c(Q41291),P176,Q794)
action filter_type
action find_reverse
entity Q794
relation P176
type Q41291
[ANSWER] was built by Iran
[{'concept': 'Q41291'}, 'P176', 'Q794']
SELECT DISTINCT ?z WHERE { ?z property:P176 resource:Q794 . ?z rdf:type ontology:Q41291 }
Ashoura
Ashoura was built by Iran
Ashoura
action filter_type
action find_reverse
entity Iran
relation manufacturer
type rocket
[{'concept': 'rocket'}, 'manufacturer', 'Iran']
SELECT DISTINCT ?z WHERE { ?z property:manufacturer resource:Iran . ?z rdf:type ontology:rocket }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q794
P85
Q484692
USER
What is the national anthem of that administrative territory ?
(Q3445293,P85,c(Q484692))
action filter_type
action find
entity Q794
relation P85
type Q484692
['Q3445293', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?f WHERE { resource:Q794 property:P85 ?f . ?f rdf:type ontology:Q484692 }
Iran
action filter_type
action find
entity Iran
relation anthem
type hymn
['Ashoura', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?f WHERE { resource:Iran property:anthem ?f . ?f rdf:type ontology:hymn }
[]
hymn
Q211047
SYSTEM
National Anthem of the Islamic Republic of Iran
Q211047
(Q3445293,P85,c(Q484692))
action filter_type
action find
entity Q794
relation P85
type Q484692
The national anthem of that administrative territory is the [ANSWER]
['Q3445293', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?f WHERE { resource:Q794 property:P85 ?f . ?f rdf:type ontology:Q484692 }
National Anthem of the Islamic Republic of Iran
The national anthem of that administrative territory is the National Anthem of the Islamic Republic of Iran
National Anthem of the Islamic Republic of Iran
action filter_type
action find
entity Iran
relation anthem
type hymn
['Ashoura', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?f WHERE { resource:Iran property:anthem ?f . ?f rdf:type ontology:hymn }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P85
Q484692 Q161243
USER
How many hymns are the anthems for lesser number of dependent territories than that hymn ?
(c(Q161243),P85,c(Q484692))
action count
action less
action find_tuple_counts
relation P85
type Q484692
type Q161243
action count
action filter_type
action find
entity Q211047
relation P85
type Q484692
[{'concept': 'Q161243'}, 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?d ) WHERE { ?b property:P85 ?y . ?b rdf:type ontology:Q484692 . ?y rdf:type ontology:Q161243 } GROUP BY ?b } . FILTER ( ?d < ?t ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { resource:Q211047 property:P85 ?k . ?k rdf:type ontology:Q484692 } } }
action count
action less
action find_tuple_counts
relation anthem
type hymn
type dependent territory
action count
action filter_type
action find
entity National Anthem of the Islamic Republic of Iran
relation anthem
type hymn
[{'concept': 'dependent territory'}, 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?d ) WHERE { ?b property:anthem ?y . ?b rdf:type ontology:hymn . ?y rdf:type ontology:dependent_territory } GROUP BY ?b } . FILTER ( ?d < ?t ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { resource:National_Anthem_of_the_Islamic_Republic_of_Iran property:anthem ?k . ?k rdf:type ontology:hymn } } }
[]
hymn dependent territory
SYSTEM
0
(c(Q161243),P85,c(Q484692))
action count
action less
action find_tuple_counts
relation P85
type Q484692
type Q161243
action count
action filter_type
action find
entity Q211047
relation P85
type Q484692
[ANSWER]
[{'concept': 'Q161243'}, 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?d ) WHERE { ?b property:P85 ?y . ?b rdf:type ontology:Q484692 . ?y rdf:type ontology:Q161243 } GROUP BY ?b } . FILTER ( ?d < ?t ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { resource:Q211047 property:P85 ?k . ?k rdf:type ontology:Q484692 } } }
0
action count
action less
action find_tuple_counts
relation anthem
type hymn
type dependent territory
action count
action filter_type
action find
entity National Anthem of the Islamic Republic of Iran
relation anthem
type hymn
[{'concept': 'dependent territory'}, 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?y ) AS ?d ) WHERE { ?b property:anthem ?y . ?b rdf:type ontology:hymn . ?y rdf:type ontology:dependent_territory } GROUP BY ?b } . FILTER ( ?d < ?t ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { resource:National_Anthem_of_the_Islamic_Republic_of_Iran property:anthem ?k . ?k rdf:type ontology:hymn } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3023963 Q5409355
P674
Q36649
USER
Which visual artss have the character Fluttershy or Derpy Hooves ?
OR((c(Q36649),P674,Q5409355), (c(Q36649),P674,Q3023963))
action filter_type
action union
action find_reverse
entity Q5409355
relation P674
action find_reverse
entity Q3023963
relation P674
type Q36649
{'OR': [[{'concept': 'Q36649'}, 'P674', 'Q5409355'], [{'concept': 'Q36649'}, 'P674', 'Q3023963']]}
SELECT DISTINCT ?d WHERE { { { ?d property:P674 resource:Q5409355 } UNION { ?d property:P674 resource:Q3023963 } } . ?d rdf:type ontology:Q36649 }
Derpy Hooves Fluttershy
action filter_type
action union
action find_reverse
entity Fluttershy
relation characters
action find_reverse
entity Derpy Hooves
relation characters
type visual arts
{'OR': [[{'concept': 'visual arts'}, 'characters', 'Fluttershy'], [{'concept': 'visual arts'}, 'characters', 'Derpy Hooves']]}
SELECT DISTINCT ?d WHERE { { { ?d property:characters resource:Fluttershy } UNION { ?d property:characters resource:Derpy_Hooves } } . ?d rdf:type ontology:visual_arts }
[]
visual arts
Q15720633 Q15724383 Q15719446 Q15718317 Q15720745 Q15710682 Q15723567 Q15707828 Q15733449 Q15707844
SYSTEM
Some of them are Ponyville Confidential, Filli Vanilli, Read It and Weep, May the Best Pet Win!, Rainbow Falls, Lesson Zero, Wonderbolts Academy, The Ticket Master, Maud Pie, Griffon the Brush Off
Q15711191 Q15718965 Q15710682 Q15707828 Q15718326 Q15719277 Q15720745 Q15708491 Q15719446 Q7728331 Q15711566 Q15707832 Q15708432 Q15724383 Q4655711 Q15718317 Q15720633 Q15723567 Q15719009 Q15719418 Q15733449 Q15720759 Q15720790 Q15708937 Q15707844 Q6731014
OR((c(Q36649),P674,Q5409355), (c(Q36649),P674,Q3023963))
action filter_type
action union
action find_reverse
entity Q5409355
relation P674
action find_reverse
entity Q3023963
relation P674
type Q36649
[ANSWERS] have the character Fluttershy or Derpy Hooves
{'OR': [[{'concept': 'Q36649'}, 'P674', 'Q5409355'], [{'concept': 'Q36649'}, 'P674', 'Q3023963']]}
SELECT DISTINCT ?d WHERE { { { ?d property:P674 resource:Q5409355 } UNION { ?d property:P674 resource:Q3023963 } } . ?d rdf:type ontology:Q36649 }
Pinkie Pride Secret of My Excess Lesson Zero The Ticket Master Sweet and Elite Baby Cakes Rainbow Falls Friendship is Magic, part 2 Read It and Weep The Crystal Empire Three's A Crowd Applebuck Season Friendship is Magic, part 1 Filli Vanilli A Canterlot Wedding May the Best Pet Win! Ponyville Confidential Wonderbolts Academy Hearth's Warming Eve The Last Roundup Maud Pie Rarity Takes Manehattan Daring Don't Winter Wrap Up Griffon the Brush Off Magical Mystery Cure
Ponyville Confidential, Filli Vanilli, Read It and Weep, May the Best Pet Win!, Rainbow Falls, Lesson Zero, Wonderbolts Academy, The Ticket Master, Maud Pie and Griffon the Brush Off have the character Fluttershy or Derpy Hooves
Ponyville Confidential Filli Vanilli Read It and Weep May the Best Pet Win! Rainbow Falls Lesson Zero Wonderbolts Academy The Ticket Master Maud Pie Griffon the Brush Off
action filter_type
action union
action find_reverse
entity Fluttershy
relation characters
action find_reverse
entity Derpy Hooves
relation characters
type visual arts
{'OR': [[{'concept': 'visual arts'}, 'characters', 'Fluttershy'], [{'concept': 'visual arts'}, 'characters', 'Derpy Hooves']]}
SELECT DISTINCT ?d WHERE { { { ?d property:characters resource:Fluttershy } UNION { ?d property:characters resource:Derpy_Hooves } } . ?d rdf:type ontology:visual_arts }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P674
Q15619164
USER
How many abstract beings plays a role in that visual arts ?
(Q15707844,P674,c(Q15619164))
['Q15707844', 'P674', {'concept': 'Q15619164'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q15707844 property:P674 ?z . ?z rdf:type ontology:Q15619164 }
['Griffon the Brush Off', 'characters', {'concept': 'abstract being'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Griffon_the_Brush_Off property:characters ?z . ?z rdf:type ontology:abstract_being }
[]
abstract being
Quantitative|Count|Single entity type|Clarification
Q15710682
SYSTEM
Did you mean Lesson Zero ?
(Q15720633,P674,c(Q15619164)) (Q15724383,P674,c(Q15619164)) (Q15719446,P674,c(Q15619164)) (Q15718317,P674,c(Q15619164)) (Q15720745,P674,c(Q15619164)) (Q15710682,P674,c(Q15619164)) (Q15723567,P674,c(Q15619164)) (Q15707828,P674,c(Q15619164)) (Q15733449,P674,c(Q15619164)) (Q15707844,P674,c(Q15619164))
[ANSWER]
['Q15720633', 'P674', {'concept': 'Q15619164'}] ['Q15724383', 'P674', {'concept': 'Q15619164'}] ['Q15719446', 'P674', {'concept': 'Q15619164'}] ['Q15718317', 'P674', {'concept': 'Q15619164'}] ['Q15720745', 'P674', {'concept': 'Q15619164'}] ['Q15710682', 'P674', {'concept': 'Q15619164'}] ['Q15723567', 'P674', {'concept': 'Q15619164'}] ['Q15707828', 'P674', {'concept': 'Q15619164'}] ['Q15733449', 'P674', {'concept': 'Q15619164'}] ['Q15707844', 'P674', {'concept': 'Q15619164'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q15707844 property:P674 ?z . ?z rdf:type ontology:Q15619164 }
Did you mean Lesson Zero ?
Lesson Zero
['Ponyville Confidential', 'characters', {'concept': 'abstract being'}] ['Filli Vanilli', 'characters', {'concept': 'abstract being'}] ['Read It and Weep', 'characters', {'concept': 'abstract being'}] ['May the Best Pet Win!', 'characters', {'concept': 'abstract being'}] ['Rainbow Falls', 'characters', {'concept': 'abstract being'}] ['Lesson Zero', 'characters', {'concept': 'abstract being'}] ['Wonderbolts Academy', 'characters', {'concept': 'abstract being'}] ['The Ticket Master', 'characters', {'concept': 'abstract being'}] ['Maud Pie', 'characters', {'concept': 'abstract being'}] ['Griffon the Brush Off', 'characters', {'concept': 'abstract being'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Griffon_the_Brush_Off property:characters ?z . ?z rdf:type ontology:abstract_being }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Griffon the Brush Off. Could you tell me the answer for that?
(Q15707844,P674,c(Q15619164))
Q15707844
['Q15707844', 'P674', {'concept': 'Q15619164'}]
['Griffon the Brush Off', 'characters', {'concept': 'abstract being'}]
[]
SYSTEM
7
Q5409355 Q15710460 Q7468973 Q15141427 Q12739035 Q9300505 Q3966728
(Q15707844,P674,c(Q15619164))
[ANSWER]
['Q15707844', 'P674', {'concept': 'Q15619164'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q15707844 property:P674 ?z . ?z rdf:type ontology:Q15619164 }
Fluttershy Gilda, the Griffin Applejack Pinkie Pie Rainbow Dash Rarity Spike
7
['Griffon the Brush Off', 'characters', {'concept': 'abstract being'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Griffon_the_Brush_Off property:characters ?z . ?z rdf:type ontology:abstract_being }
[]