Simple Question (Direct)
Simple Question
Q722077
P26
Q502895
USER
Which person is the life partner of Tomáš Plekanec ?
(Q722077,P26,c(Q502895))
action filter_type
action find
entity Q722077
relation P26
type Q502895
['Q722077', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q722077 property:P26 ?e . ?e rdf:type ontology:Q502895 }
Tomáš Plekanec
action filter_type
action find
entity Tomáš Plekanec
relation spouse
type common name
['Tomáš Plekanec', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Tomáš_Plekanec property:spouse ?e . ?e rdf:type ontology:common_name }
[]
common name
Q2569624
SYSTEM
Lucie Vondráčková
Q2569624
(Q722077,P26,c(Q502895))
action filter_type
action find
entity Q722077
relation P26
type Q502895
[ANSWER] is the life partner of Tomáš Plekanec
['Q722077', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q722077 property:P26 ?e . ?e rdf:type ontology:Q502895 }
Lucie Vondráčková
Lucie Vondráčková is the life partner of Tomáš Plekanec
Lucie Vondráčková
action filter_type
action find
entity Tomáš Plekanec
relation spouse
type common name
['Tomáš Plekanec', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Tomáš_Plekanec property:spouse ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q722077
P1344
Q15900616
USER
What event sequences did Tomáš Plekanec participate in ?
(Q722077,P1344,c(Q15900616))
action filter_type
action find
entity Q722077
relation P1344
type Q15900616
['Q722077', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15900616 . resource:Q722077 property:P1344 ?n }
Tomáš Plekanec
action filter_type
action find
entity Tomáš Plekanec
relation participant of
type event sequence
['Tomáš Plekanec', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:event_sequence . resource:Tomáš_Plekanec property:participant_of ?n }
[]
event sequence
Q9678 Q9674
SYSTEM
2014 Winter Olympics, 2010 Winter Olympics
Q9678 Q9674
(Q722077,P1344,c(Q15900616))
action filter_type
action find
entity Q722077
relation P1344
type Q15900616
Tomáš Plekanec participated in [ANSWERS]
['Q722077', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15900616 . resource:Q722077 property:P1344 ?n }
2014 Winter Olympics 2010 Winter Olympics
Tomáš Plekanec participated in 2014 Winter Olympics and 2010 Winter Olympics
2014 Winter Olympics 2010 Winter Olympics
action filter_type
action find
entity Tomáš Plekanec
relation participant of
type event sequence
['Tomáš Plekanec', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:event_sequence . resource:Tomáš_Plekanec property:participant_of ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2569624
P25
Q502895
USER
Which female person was the parent of Lucie Vondráčková ?
(Q2569624,P25,c(Q502895))
action filter_type
action find
entity Q2569624
relation P25
type Q502895
['Q2569624', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q2569624 property:P25 ?b . ?b rdf:type ontology:Q502895 }
Lucie Vondráčková
action filter_type
action find
entity Lucie Vondráčková
relation mother
type common name
['Lucie Vondráčková', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Lucie_Vondráčková property:mother ?b . ?b rdf:type ontology:common_name }
[]
common name
Q16515434
SYSTEM
Hana Sorrosová
Q16515434
(Q2569624,P25,c(Q502895))
action filter_type
action find
entity Q2569624
relation P25
type Q502895
[ANSWER] was the parent of Lucie Vondráčková
['Q2569624', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q2569624 property:P25 ?b . ?b rdf:type ontology:Q502895 }
Hana Sorrosová
Hana Sorrosová was the parent of Lucie Vondráčková
Hana Sorrosová
action filter_type
action find
entity Lucie Vondráčková
relation mother
type common name
['Lucie Vondráčková', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Lucie_Vondráčková property:mother ?b . ?b rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q16515434 Q2658248 Q1085
P19
Q56061
USER
Was that person born at Pintsch and Prague ?
(Q16515434,P19,Q2658248) (Q16515434,P19,Q1085)
action is_in
entity Q16515434
action intersection
action find_reverse
entity Q2658248
relation P19
action find_reverse
entity Q1085
relation P19
['Q16515434', 'P19', 'Q2658248'] ['Q16515434', 'P19', 'Q1085']
ASK WHERE { resource:Q16515434 property:P19 resource:Q2658248 . resource:Q16515434 property:P19 resource:Q1085 }
Hana Sorrosová Pintsch Prague
action is_in
entity Hana Sorrosová
action intersection
action find_reverse
entity Pintsch
relation place of birth
action find_reverse
entity Prague
relation place of birth
['Hana Sorrosová', 'place of birth', 'Pintsch'] ['Hana Sorrosová', 'place of birth', 'Prague']
ASK WHERE { resource:Hana_Sorrosová property:place_of_birth resource:Pintsch . resource:Hana_Sorrosová property:place_of_birth resource:Prague }
[]
administrative territorial entity
SYSTEM
NO and YES respectively
(Q16515434,P19,Q2658248) (Q16515434,P19,Q1085)
action is_in
entity Q16515434
action intersection
action find_reverse
entity Q2658248
relation P19
action find_reverse
entity Q1085
relation P19
[ANSWER]
['Q16515434', 'P19', 'Q2658248'] ['Q16515434', 'P19', 'Q1085']
ASK WHERE { resource:Q16515434 property:P19 resource:Q2658248 . resource:Q16515434 property:P19 resource:Q1085 }
NO and YES respectively
action is_in
entity Hana Sorrosová
action intersection
action find_reverse
entity Pintsch
relation place of birth
action find_reverse
entity Prague
relation place of birth
['Hana Sorrosová', 'place of birth', 'Pintsch'] ['Hana Sorrosová', 'place of birth', 'Prague']
ASK WHERE { resource:Hana_Sorrosová property:place_of_birth resource:Pintsch . resource:Hana_Sorrosová property:place_of_birth resource:Prague }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q2569624
P21 P40
Q502895
USER
Which people have Lucie Vondráčková as an offspring and have male as the sex ?
AND((c(Q502895),P40,Q2569624), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q2569624
relation P40
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q2569624'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?j WHERE { ?j property:P40 resource:Q2569624 . ?j property:P21 resource:Q6581097 . ?j rdf:type ontology:Q502895 }
male Lucie Vondráčková
action filter_type
action intersection
action find_reverse
entity Lucie Vondráčková
relation child
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Lucie Vondráčková'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?j WHERE { ?j property:child resource:Lucie_Vondráčková . ?j property:gender resource:male . ?j rdf:type ontology:common_name }
[]
common name
Q12857317
SYSTEM
Jiří Vondráček
Q12857317
AND((c(Q502895),P40,Q2569624), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q2569624
relation P40
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have Lucie Vondráčková as an offspring and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P40', 'Q2569624'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?j WHERE { ?j property:P40 resource:Q2569624 . ?j property:P21 resource:Q6581097 . ?j rdf:type ontology:Q502895 }
Jiří Vondráček
Jiří Vondráček have Lucie Vondráčková as an offspring and have male as the sex
Jiří Vondráček
action filter_type
action intersection
action find_reverse
entity Lucie Vondráčková
relation child
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'child', 'Lucie Vondráčková'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?j WHERE { ?j property:child resource:Lucie_Vondráčková . ?j property:gender resource:male . ?j rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3795139 Q12857317
P161 P26
Q502895
USER
Which people are married to Jiří Vondráček or were casted in Ante Up ?
OR((Q12857317,P26,c(Q502895)), (Q3795139,P161,c(Q502895)))
action filter_type
action union
action find
entity Q12857317
relation P26
action find
entity Q3795139
relation P161
type Q502895
{'OR': [['Q12857317', 'P26', {'concept': 'Q502895'}], ['Q3795139', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q3795139 property:P161 ?f } UNION { resource:Q12857317 property:P26 ?f } } . ?f rdf:type ontology:Q502895 }
Ante Up Jiří Vondráček
action filter_type
action union
action find
entity Jiří Vondráček
relation spouse
action find
entity Ante Up
relation cast member
type common name
{'OR': [['Jiří Vondráček', 'spouse', {'concept': 'common name'}], ['Ante Up', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Ante_Up property:cast_member ?f } UNION { resource:Jiří_Vondráček property:spouse ?f } } . ?f rdf:type ontology:common_name }
[]
common name
Q433903 Q395511 Q530176 Q3723144 Q3836814 Q1163802 Q176736 Q452366 Q769732 Q3622894
SYSTEM
Some of them are Claudio Gora, Agostina Belli, Franco Diogene, Elisa Mainardi, Loredana Martinez, Daniele Vargas, Piero Chiara, Aldo Maccione, Maria Antonietta Beluzzi, Armando Brancia
Q176736 Q395511 Q3874040 Q3609665 Q530176 Q556400 Q433903 Q3837043 Q599249 Q3779357 Q444522 Q16515434 Q3617074 Q3770850 Q452366 Q3723144 Q1163802 Q769732 Q3836814 Q3622894
OR((Q12857317,P26,c(Q502895)), (Q3795139,P161,c(Q502895)))
action filter_type
action union
action find
entity Q12857317
relation P26
action find
entity Q3795139
relation P161
type Q502895
[ANSWERS] are married to Jiří Vondráček or were casted in Ante Up
{'OR': [['Q12857317', 'P26', {'concept': 'Q502895'}], ['Q3795139', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Q3795139 property:P161 ?f } UNION { resource:Q12857317 property:P26 ?f } } . ?f rdf:type ontology:Q502895 }
Piero Chiara Agostina Belli Nazzareno Natale Alessandra Cardini Franco Diogene Erminio Macario Claudio Gora Lorenzo Piani Bernard Blier Guido Leontini Andréa Ferréol Hana Sorrosová Angelo Maria Pellegrino Giuseppe Maffioli Aldo Maccione Elisa Mainardi Daniele Vargas Maria Antonietta Beluzzi Loredana Martinez Armando Brancia
Claudio Gora, Agostina Belli, Franco Diogene, Elisa Mainardi, Loredana Martinez, Daniele Vargas, Piero Chiara, Aldo Maccione, Maria Antonietta Beluzzi and Armando Brancia are married to Jiří Vondráček or were casted in Ante Up
Claudio Gora Agostina Belli Franco Diogene Elisa Mainardi Loredana Martinez Daniele Vargas Piero Chiara Aldo Maccione Maria Antonietta Beluzzi Armando Brancia
action filter_type
action union
action find
entity Jiří Vondráček
relation spouse
action find
entity Ante Up
relation cast member
type common name
{'OR': [['Jiří Vondráček', 'spouse', {'concept': 'common name'}], ['Ante Up', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?f WHERE { { { resource:Ante_Up property:cast_member ?f } UNION { resource:Jiří_Vondráček property:spouse ?f } } . ?f rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4726453
P161
Q838948
USER
Does Alien Origin star those people as actor ?
(Q4726453,P161,Q433903) (Q4726453,P161,Q395511) (Q4726453,P161,Q530176) (Q4726453,P161,Q3723144) (Q4726453,P161,Q3836814) (Q4726453,P161,Q1163802) (Q4726453,P161,Q176736) (Q4726453,P161,Q452366) (Q4726453,P161,Q769732) (Q4726453,P161,Q3622894)
action is_in
entity prev_answer
action find
entity Q4726453
relation P161
['Q4726453', 'P161', 'Q433903'] ['Q4726453', 'P161', 'Q395511'] ['Q4726453', 'P161', 'Q530176'] ['Q4726453', 'P161', 'Q3723144'] ['Q4726453', 'P161', 'Q3836814'] ['Q4726453', 'P161', 'Q1163802'] ['Q4726453', 'P161', 'Q176736'] ['Q4726453', 'P161', 'Q452366'] ['Q4726453', 'P161', 'Q769732'] ['Q4726453', 'P161', 'Q3622894']
ASK WHERE { resource:Q4726453 property:P161 ?o . VALUES ( ?o ) { ( resource:Q176736 ) ( resource:Q395511 ) ( resource:Q3874040 ) } }
Alien Origin
action is_in
entity prev_answer
action find
entity Alien Origin
relation cast member
['Alien Origin', 'cast member', 'Claudio Gora'] ['Alien Origin', 'cast member', 'Agostina Belli'] ['Alien Origin', 'cast member', 'Franco Diogene'] ['Alien Origin', 'cast member', 'Elisa Mainardi'] ['Alien Origin', 'cast member', 'Loredana Martinez'] ['Alien Origin', 'cast member', 'Daniele Vargas'] ['Alien Origin', 'cast member', 'Piero Chiara'] ['Alien Origin', 'cast member', 'Aldo Maccione'] ['Alien Origin', 'cast member', 'Maria Antonietta Beluzzi'] ['Alien Origin', 'cast member', 'Armando Brancia']
ASK WHERE { resource:Alien_Origin property:cast_member ?o . VALUES ( ?o ) { ( resource:Piero_Chiara ) ( resource:Agostina_Belli ) ( resource:Nazzareno_Natale ) } }
[]
work of art
SYSTEM
NO
(Q4726453,P161,Q433903) (Q4726453,P161,Q395511) (Q4726453,P161,Q530176) (Q4726453,P161,Q3723144) (Q4726453,P161,Q3836814) (Q4726453,P161,Q1163802) (Q4726453,P161,Q176736) (Q4726453,P161,Q452366) (Q4726453,P161,Q769732) (Q4726453,P161,Q3622894)
action is_in
entity prev_answer
action find
entity Q4726453
relation P161
[ANSWER]
['Q4726453', 'P161', 'Q433903'] ['Q4726453', 'P161', 'Q395511'] ['Q4726453', 'P161', 'Q530176'] ['Q4726453', 'P161', 'Q3723144'] ['Q4726453', 'P161', 'Q3836814'] ['Q4726453', 'P161', 'Q1163802'] ['Q4726453', 'P161', 'Q176736'] ['Q4726453', 'P161', 'Q452366'] ['Q4726453', 'P161', 'Q769732'] ['Q4726453', 'P161', 'Q3622894']
ASK WHERE { resource:Q4726453 property:P161 ?o . VALUES ( ?o ) { ( resource:Q176736 ) ( resource:Q395511 ) ( resource:Q3874040 ) } }
No
action is_in
entity prev_answer
action find
entity Alien Origin
relation cast member
['Alien Origin', 'cast member', 'Claudio Gora'] ['Alien Origin', 'cast member', 'Agostina Belli'] ['Alien Origin', 'cast member', 'Franco Diogene'] ['Alien Origin', 'cast member', 'Elisa Mainardi'] ['Alien Origin', 'cast member', 'Loredana Martinez'] ['Alien Origin', 'cast member', 'Daniele Vargas'] ['Alien Origin', 'cast member', 'Piero Chiara'] ['Alien Origin', 'cast member', 'Aldo Maccione'] ['Alien Origin', 'cast member', 'Maria Antonietta Beluzzi'] ['Alien Origin', 'cast member', 'Armando Brancia']
ASK WHERE { resource:Alien_Origin property:cast_member ?o . VALUES ( ?o ) { ( resource:Piero_Chiara ) ( resource:Agostina_Belli ) ( resource:Nazzareno_Natale ) } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q11424
USER
Which films did approximately 32 people dub for ?
(c(Q11424),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q11424
type Q502895
value 32
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?a = 32 ) . { SELECT DISTINCT ?v ( COUNT ( ?b ) AS ?a ) WHERE { ?v rdf:type ontology:Q11424 . ?b rdf:type ontology:Q502895 . ?v property:P725 ?b } GROUP BY ?v } }
action approx
action find_tuple_counts
relation voice actor
type film
type common name
value 32
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?a = 32 ) . { SELECT DISTINCT ?v ( COUNT ( ?b ) AS ?a ) WHERE { ?v rdf:type ontology:film . ?b rdf:type ontology:common_name . ?v property:voice_actor ?b } GROUP BY ?v } }
[]
common name film
Q190135 Q165512 Q179673
SYSTEM
The Little Mermaid, One Hundred and One Dalmatians, Beauty and the Beast
Q179673 Q216929 Q165512 Q933887 Q184701 Q190135 Q15270775
(c(Q11424),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q11424
type Q502895
value 32
Approximately 32 people dubbed [ANSWERS]
[{'concept': 'Q11424'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?a = 32 ) . { SELECT DISTINCT ?v ( COUNT ( ?b ) AS ?a ) WHERE { ?v rdf:type ontology:Q11424 . ?b rdf:type ontology:Q502895 . ?v property:P725 ?b } GROUP BY ?v } }
Beauty and the Beast Oliver & Company One Hundred and One Dalmatians Tintin and the Temple of the Sun The Aristocats The Little Mermaid Hotel Transylvania 2
Approximately 32 people dubbed The Little Mermaid, One Hundred and One Dalmatians and Beauty and the Beast
The Little Mermaid One Hundred and One Dalmatians Beauty and the Beast
action approx
action find_tuple_counts
relation voice actor
type film
type common name
value 32
[{'concept': 'film'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?a = 32 ) . { SELECT DISTINCT ?v ( COUNT ( ?b ) AS ?a ) WHERE { ?v rdf:type ontology:film . ?b rdf:type ontology:common_name . ?v property:voice_actor ?b } GROUP BY ?v } }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q318975 Q179673
P272
Q375336
USER
Which film studios were the producer of Beauty and the Beast and Atlantis: The Lost Empire ?
AND((Q179673,P272,c(Q375336)), (Q318975,P272,c(Q375336)))
action filter_type
action intersection
action find
entity Q179673
relation P272
action find
entity Q318975
relation P272
type Q375336
{'AND': [['Q179673', 'P272', {'concept': 'Q375336'}], ['Q318975', 'P272', {'concept': 'Q375336'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q375336 . resource:Q179673 property:P272 ?k . resource:Q318975 property:P272 ?k }
Atlantis: The Lost Empire Beauty and the Beast
action filter_type
action intersection
action find
entity Beauty and the Beast
relation production company
action find
entity Atlantis: The Lost Empire
relation production company
type film studio
{'AND': [['Beauty and the Beast', 'production company', {'concept': 'film studio'}], ['Atlantis: The Lost Empire', 'production company', {'concept': 'film studio'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:film_studio . resource:Beauty_and_the_Beast property:production_company ?k . resource:Atlantis:_The_Lost_Empire property:production_company ?k }
[]
film studio
Q1047410
SYSTEM
Walt Disney Animation Studios
Q1047410
AND((Q179673,P272,c(Q375336)), (Q318975,P272,c(Q375336)))
action filter_type
action intersection
action find
entity Q179673
relation P272
action find
entity Q318975
relation P272
type Q375336
The [ANSWER] was the producer of Beauty and the Beast and Atlantis: The Lost Empire
{'AND': [['Q179673', 'P272', {'concept': 'Q375336'}], ['Q318975', 'P272', {'concept': 'Q375336'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q375336 . resource:Q179673 property:P272 ?k . resource:Q318975 property:P272 ?k }
Walt Disney Animation Studios
The Walt Disney Animation Studios was the producer of Beauty and the Beast and Atlantis: The Lost Empire
Walt Disney Animation Studios
action filter_type
action intersection
action find
entity Beauty and the Beast
relation production company
action find
entity Atlantis: The Lost Empire
relation production company
type film studio
{'AND': [['Beauty and the Beast', 'production company', {'concept': 'film studio'}], ['Atlantis: The Lost Empire', 'production company', {'concept': 'film studio'}]]}
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:film_studio . resource:Beauty_and_the_Beast property:production_company ?k . resource:Atlantis:_The_Lost_Empire property:production_company ?k }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P272
Q375336 Q201658 Q15416
USER
How many film studios produced around the same number of film genres and television programs as that film studio ?
(c(Q201658)|c(Q15416),P272,c(Q375336))
action count
action approx
action union
action find_reverse_tuple_counts
relation P272
type Q375336
type Q201658
action find_reverse_tuple_counts
relation P272
type Q375336
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q1047410
relation P272
type Q201658
type Q15416
[[{'concept': 'Q201658'}, {'concept': 'Q15416'}], 'P272', {'concept': 'Q375336'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) ?i WHERE { { ?j property:P272 ?i . ?i rdf:type ontology:Q375336 . ?j rdf:type ontology:Q201658 } UNION { ?j property:P272 ?i . ?i rdf:type ontology:Q375336 . ?j rdf:type ontology:Q15416 } } GROUP BY ?i } . FILTER ( ?q = ?p ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { ?l property:P272 resource:Q1047410 . { { ?l rdf:type ontology:Q201658 } UNION { ?l rdf:type ontology:Q15416 } } } } }
action count
action approx
action union
action find_reverse_tuple_counts
relation production company
type film studio
type film genre
action find_reverse_tuple_counts
relation production company
type film studio
type television program
action count
action filter_multi_types
action find_reverse
entity Walt Disney Animation Studios
relation production company
type film genre
type television program
[[{'concept': 'film genre'}, {'concept': 'television program'}], 'production company', {'concept': 'film studio'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) ?i WHERE { { ?j property:production_company ?i . ?i rdf:type ontology:film_studio . ?j rdf:type ontology:film_genre } UNION { ?j property:production_company ?i . ?i rdf:type ontology:film_studio . ?j rdf:type ontology:television_program } } GROUP BY ?i } . FILTER ( ?q = ?p ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { ?l property:production_company resource:Walt_Disney_Animation_Studios . { { ?l rdf:type ontology:film_genre } UNION { ?l rdf:type ontology:television_program } } } } }
[]
film studio film genre television program
SYSTEM
7
Q1047410 Q182950 Q877325 Q834471 Q730179 Q500088 Q679912
(c(Q201658)|c(Q15416),P272,c(Q375336))
action count
action approx
action union
action find_reverse_tuple_counts
relation P272
type Q375336
type Q201658
action find_reverse_tuple_counts
relation P272
type Q375336
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q1047410
relation P272
type Q201658
type Q15416
[ANSWER]
[[{'concept': 'Q201658'}, {'concept': 'Q15416'}], 'P272', {'concept': 'Q375336'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) ?i WHERE { { ?j property:P272 ?i . ?i rdf:type ontology:Q375336 . ?j rdf:type ontology:Q201658 } UNION { ?j property:P272 ?i . ?i rdf:type ontology:Q375336 . ?j rdf:type ontology:Q15416 } } GROUP BY ?i } . FILTER ( ?q = ?p ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { ?l property:P272 resource:Q1047410 . { { ?l rdf:type ontology:Q201658 } UNION { ?l rdf:type ontology:Q15416 } } } } }
Walt Disney Animation Studios Studio Ghibli Kyoto Animation Bones Toei Animation DreamWorks Animation Soyuzmultfilm
7
action count
action approx
action union
action find_reverse_tuple_counts
relation production company
type film studio
type film genre
action find_reverse_tuple_counts
relation production company
type film studio
type television program
action count
action filter_multi_types
action find_reverse
entity Walt Disney Animation Studios
relation production company
type film genre
type television program
[[{'concept': 'film genre'}, {'concept': 'television program'}], 'production company', {'concept': 'film studio'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) ?i WHERE { { ?j property:production_company ?i . ?i rdf:type ontology:film_studio . ?j rdf:type ontology:film_genre } UNION { ?j property:production_company ?i . ?i rdf:type ontology:film_studio . ?j rdf:type ontology:television_program } } GROUP BY ?i } . FILTER ( ?q = ?p ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { ?l property:production_company resource:Walt_Disney_Animation_Studios . { { ?l rdf:type ontology:film_genre } UNION { ?l rdf:type ontology:television_program } } } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q170172
P674
Q502895 Q15850590 Q571
USER
Which people are the name of the persons who plays a role in less number of theatrical genres or books than Boris Godunov ?
(c(Q15850590)|c(Q571),P674,c(Q502895))
action less
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q15850590
action find_reverse_tuple_counts
relation P674
type Q502895
type Q571
action count
action filter_multi_types
action find_reverse
entity Q170172
relation P674
type Q15850590
type Q571
[[{'concept': 'Q15850590'}, {'concept': 'Q571'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { ?o property:P674 resource:Q170172 . { { ?o rdf:type ontology:Q15850590 } UNION { ?o rdf:type ontology:Q571 } } } } . FILTER ( ?f < ?g ) . { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?f ) WHERE { { ?h rdf:type ontology:Q502895 . ?r rdf:type ontology:Q15850590 . ?r property:P674 ?h } UNION { ?r property:P674 ?h . ?h rdf:type ontology:Q502895 . ?r rdf:type ontology:Q571 } } GROUP BY ?h } }
Boris Godunov
action less
action union
action find_reverse_tuple_counts
relation characters
type common name
type theatrical genre
action find_reverse_tuple_counts
relation characters
type common name
type book
action count
action filter_multi_types
action find_reverse
entity Boris Godunov
relation characters
type theatrical genre
type book
[[{'concept': 'theatrical genre'}, {'concept': 'book'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { ?o property:characters resource:Boris_Godunov . { { ?o rdf:type ontology:theatrical_genre } UNION { ?o rdf:type ontology:book } } } } . FILTER ( ?f < ?g ) . { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?f ) WHERE { { ?h rdf:type ontology:common_name . ?r rdf:type ontology:theatrical_genre . ?r property:characters ?h } UNION { ?r property:characters ?h . ?h rdf:type ontology:common_name . ?r rdf:type ontology:book } } GROUP BY ?h } }
[]
common name theatrical genre book
Q7243 Q5879 Q41370
SYSTEM
Leo Tolstoy, Johann Wolfgang von Goethe, David
Q13562217 Q7793319 Q315726 Q5254 Q6741571 Q18720650 Q216362 Q457881 Q1986812 Q272246 Q33923 Q2054 Q33760 Q315795 Q3051256 Q676555 Q744125 Q157 Q7788839 Q152513 Q1353836 Q551481 Q43706 Q725118 Q1093574 Q200902 Q12316446 Q18733964 Q10261 Q5879 Q295824 Q2458567 Q118653 Q353879 Q262513 Q6779230 Q635 Q41370 Q3299086 Q5685 Q5686 Q854177 Q2468262 Q1093885 Q1774745 Q9640 Q248029 Q2850415 Q5170 Q57384 Q3867479 Q48438 Q849 Q36591 Q234022 Q319713 Q1354988 Q92639 Q981915 Q243203 Q1291267 Q229807 Q130221 Q6113413 Q6323112 Q3181675 Q4212237 Q10265876 Q2085338 Q41155 Q270438 Q43353 Q220344 Q44387 Q2254800 Q6139425 Q547828 Q44265 Q172480 Q830183 Q1937560 Q317554 Q257442 Q256663 Q62788 Q313421 Q47365 Q104804 Q294147 Q230677 Q6562057 Q244912 Q1347324 Q2915318 Q1338025 Q6777920 Q41980 Q2721219 Q185101 Q286238 Q2355196 Q229702 Q129165 Q55398 Q363636 Q1419 Q2521377 Q1067 Q42305 Q367387 Q937415 Q7200 Q20749193 Q312332 Q5363384 Q172916 Q84192 Q6780580 Q187982 Q59180 Q43393 Q188646 Q328793 Q34428 Q8778 Q42544 Q5015 Q7523 Q169329 Q83041 Q271278 Q1979876 Q1227273 Q543853 Q9438 Q2412941 Q1348718 Q12927 Q81018 Q232913 Q2361344 Q5264 Q6780925 Q7742 Q1133523 Q281146 Q9077 Q181875 Q152717 Q15718786 Q81422 Q3187975 Q634239 Q591879 Q207535 Q426862 Q1209603 Q154938 Q1059572 Q6818772 Q359237 Q662533 Q317188 Q378053 Q469118 Q594805 Q719418 Q991 Q43600 Q3090807 Q5598 Q531748 Q7243 Q76918 Q4344 Q19844997 Q188541 Q737786 Q172353 Q256439 Q184176 Q43939 Q297285 Q335173 Q2750254 Q355903 Q1425 Q1427 Q9353 Q312537 Q9215 Q4791018 Q137680 Q315628 Q86745 Q7422342 Q1981295 Q321166 Q40787 Q737533 Q1281235 Q532354 Q111559 Q297776 Q953718 Q81506 Q3860377 Q154971 Q83400 Q8442 Q200817 Q76721 Q352489 Q1030008 Q951503 Q289694 Q160441 Q7732 Q7734 Q311456 Q153670 Q1394 Q3236830 Q310303 Q1398 Q7328 Q434217 Q638973 Q231944 Q7326 Q63639 Q307 Q6527 Q1280744 Q15995718 Q75568 Q20750935 Q166876 Q134309 Q273942 Q332020 Q1938388 Q7198 Q2633351 Q68366 Q6184 Q282280 Q8747 Q118081 Q3064195 Q83375 Q549041 Q34943 Q1177456 Q170859 Q674683 Q8011 Q48305 Q8018 Q15897 Q165479 Q109860 Q8409 Q154723 Q2438324 Q451516 Q519984 Q312682 Q20749268 Q691873 Q102851 Q694093 Q706003 Q228896 Q9045 Q19348839 Q57652 Q7071043 Q131412 Q743858 Q353081 Q166056 Q131002 Q47180 Q122290 Q452048 Q5582 Q1377025 Q612501 Q231997 Q310686 Q170373 Q316876 Q16912694 Q144622 Q8581 Q913 Q785250 Q950850 Q7617726 Q335165 Q544680 Q717441 Q211246 Q234533 Q2872353 Q366270 Q559541 Q41866 Q8058 Q1824066 Q199991 Q106077 Q141791 Q200637 Q16404704 Q2755054 Q193660 Q6780526 Q3421721 Q4230107 Q15463333 Q466048 Q6264078 Q670332 Q868 Q5544435 Q247137 Q9458 Q778520 Q7367631 Q1370965 Q43718 Q170335 Q555304 Q1402591 Q5202472 Q1394174 Q172248 Q4712236 Q1281177 Q208359 Q186652 Q134646 Q188411 Q15711674 Q75090 Q365695 Q2497107 Q313817 Q4403346 Q2596433 Q5689201 Q879350 Q82006 Q1541 Q151209 Q132786 Q828583 Q6197 Q859 Q310267 Q1747004 Q233359 Q2116944 Q360798 Q203792 Q205523 Q325026 Q545875 Q380482 Q230314 Q26702 Q43963 Q366205 Q1048 Q453382 Q85393 Q665165 Q6691 Q36456 Q39837 Q6779045 Q3687804 Q469050 Q438615 Q44279 Q204236 Q889694 Q297050 Q36303 Q258369 Q17131 Q131463 Q3182316 Q6762867 Q37085 Q313555 Q267733 Q920912 Q2361032 Q1774982 Q3471206 Q43746 Q40662 Q107626 Q205365 Q448586 Q5553293 Q315347 Q12324262 Q8820 Q9181 Q860084 Q332750 Q772930 Q434579 Q671872 Q83321 Q1405 Q39259 Q15427574 Q289149 Q187447 Q155596 Q174210 Q207370 Q60059 Q463440 Q218747 Q9960
(c(Q15850590)|c(Q571),P674,c(Q502895))
action less
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q15850590
action find_reverse_tuple_counts
relation P674
type Q502895
type Q571
action count
action filter_multi_types
action find_reverse
entity Q170172
relation P674
type Q15850590
type Q571
[ANSWERS] are the name of the persons who plays a role in less number of theatrical genres or books than Boris Godunov
[[{'concept': 'Q15850590'}, {'concept': 'Q571'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { ?o property:P674 resource:Q170172 . { { ?o rdf:type ontology:Q15850590 } UNION { ?o rdf:type ontology:Q571 } } } } . FILTER ( ?f < ?g ) . { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?f ) WHERE { { ?h rdf:type ontology:Q502895 . ?r rdf:type ontology:Q15850590 . ?r property:P674 ?h } UNION { ?r property:P674 ?h . ?h rdf:type ontology:Q502895 . ?r rdf:type ontology:Q571 } } GROUP BY ?h } }
Mary Cecilia Bailly Thomas Putnam Grand Duke Alexei Alexandrovich of Russia Folquet de Marselha Malayaketu Nyssia August von Goethe John Tenniel Tituba Johanne Luise Heiberg Peter Seneca Bertrand Russell Bernal Díaz del Castillo Elizabeth Parris Francis of Assisi Chaerephon François Hollande Thomas Danforth Henry Wadsworth Longfellow Hrothgar Antoine Barnave John Chrysostom Carl Christian Hall Ruggieri degli Ubaldini Shem Henrik Sass Larsen Peter Stahl Pythagoras Johann Wolfgang von Goethe Peter I of Portugal François Bonivard August Engelhardt Jean François Paul de Gondi John Felton Mary Cleophas Foley Cleopatra David Mathos Anton Chekhov Charles Dickens Kay Scarpetta Jonah Hathi Billy Milligan Lyndon B. Johnson Jiro Horikoshi Ann Putnam, Jr. Blondel de Nesle Wernher von Braun Musciatto Franzesi Saint George François Villon Vladimir Nabokov Inês de Castro Leopold V, Duke of Austria Giles Corey Christos Papadimitriou Joseph Bazalgette Publius Papinius Statius Gundomar I Berengaria of Navarre Frederick II, Holy Roman Emperor Rucio Nahor John Hale Kanva Dhana Nanda Vahan I Mamikonian Heraclitus Charles of Valois Aristophanes Pythia Darius I of Persia Cunizza da Romano Thomas Hayward Christiaan de Wet Benedict of Nursia Isaac of Armenia Eve Mogens Lykketoft Hugh of Saint Victor Sarah Paulson Anne Geneviève de Bourbon Jethro Abel Marie Antoinette Saint Mesrob William Bligh Madame du Barry Mushegh IV Mamikonian Hezekiah François de Vendôme, Duc de Beaufort Soupy Sales Emma Forsayth Maruja Pachón Democritus Farinata degli Uberti Hamilcar Barca Thaïs Martinus Theunis Steyn Ham Xerxes Bernadette Soubirous Cardinal de Rohan Vespasian Ottaviano degli Ubaldini Dante Alighieri Richard I of England William II of Sicily James Stewart, 1st Earl of Moray Alexander Pushkin Irma Le Fer de la Motte Alessandro Cagliostro Elizabeth Proctor John XXI Maximilian I of Mexico Mary Raphael Slattery Alcibiades Diogenes of Sinope Robert Boyle Lucan Periander Philip Galen Thomas More Mette Frederiksen Kublai Khan Conrad of Montferrat Anaxagoras Jeanne of Valois-Saint-Rémy Israel Hands Henry Mayhew Herod II Thomas Aquinas The Fox and the Cat Jean-Claude Romand Marine Le Pen Judas Iscariot Beatrice Portinari Durvasa Hippocrates Mary Warren Louis XIV of France Jephthah Yeznik of Kolb Moses Robert Peel Henry VII, Holy Roman Emperor Winona Noah Judith Atto Melani Piet Cronjé Roland Guido Bonatti Dick Beardsley Bede Khaled Al Khamissi Mercy Lewis Charles Martel of Anjou Hrólfr Kraki Theo van Gogh Rob Roy MacGregor Gaius Calpurnius Piso Jochebed Vasily Rozanov Fyodor Dostoyevsky Matthew the Apostle Almanzo Wilder Rembrandt Carsten Hansen Leo Tolstoy Johann Georg Faust Arnaut Daniel Sahakanuysh Chandragupta Maurya Giuseppe Moscati Pyrrhus Claudia Acte Seleucus I Nicator Anselm of Canterbury Ali Pasha Edward Hyde, 1st Earl of Clarendon Pharantzem Siger of Brabant Trajan Hadrian John Locke Gyges of Lydia Sigmund Freud Aristodemus of Cydathenaeum Angela Burdett-Coutts, 1st Baroness Burdett-Coutts Cuitláhuac Georg Michael Welzel Sarah Good Francisco Santos Calderón Abihu Nicholas II of Russia Louis XIII of France Abas I of Armenia Margaret Erskine Judah Maccabee Pedanius Dioscorides Henry Bennet, 1st Earl of Arlington Charles I of England The Nun of Monza Carlota of Mexico Paulo da Gama Otto von Bismarck Titus van Rijn Godfrey of Bouillon Aulus Plautius Tamar Ashot II of Armenia Abigail Williams Rabanus Maurus Louis XVI of France Joshua Orosius Primo Levi Vladimir Lenin Princess Changping Yazdegerd II Virgil Vasco da Gama Candaules Leofric, Earl of Mercia Ann Radcliffe Hernán Cortés Charlotte Buff Galileo Galilei Jean-Jacques Rousseau Vardan Mamikonian Albert Hahl Ottilie von Goethe Athanasius Fogarty Isidore of Seville Charles IX of France Pia Gjellerup César Gaviria Miriam Ovid Vasak of Syunik Siward, Earl of Northumbria Plotius Tucca Vladimir Solovyov Euclid Pope Celestine V Hovsep Ier de Holotsim Empedocles Graciano Ptolemy David of Scotland, Earl of Huntingdon Nicholas III Terpsion Avicenna Euripides Augustine of Hippo Amy Winehouse Saint Patrick Dagobert I Alexander the Great Viktor Frankl Julie d'Aubigny Gaius Scribonius Curio Neil Strauss Euclid of Megara John Corbe Anthony Wood Boethius Ditlev Gothard Monrad Ugolino della Gherardesca Salome Chanakya Salammbô Helle Thorning-Schmidt Nydia Quintero Turbay Mary, Queen of Scots Joscius, Archbishop of Tyre Robert de Sablé Cardinal Mazarin Harun al-Rashid Petronius Jean-Paul Marat Hasdrubal Gisco Vincent van Gogh Bharata Yeghishe Sadako Sasaki Dionysius the Areopagite Christopher Wren Guido Cavalcanti Cornelia van Rijn Phil Collins Saladin Socrates Petrus Comestor Samuel Morland William Douglas, 6th Earl of Morton Osceola John Thurloe Alberto Salazar Caiaphas Cornelia Africana Autaritus Guido Guinizelli Salvatore Giuliano Justinian I Louis XI of France Arturo Bandini Joachim of Fiore Lady Godiva Moctezuma IIl Japheth Endel Nelis Guido I da Montefeltro Ramon Llull Mary Pius Regnier Rebecca Nurse William Compton John Mordaunt, 1st Viscount Mordaunt Francesca da Rimini John Willard Comte de Troisville Aristotle George Seton, 7th Lord Seton Aelius Donatus Muhammad Diana Turbay Rose Angela Horan Peter Heywood Nikolai Gogol Constance, Queen of Sicily Georges Cadoudal Ohthere Célestine Guynemer de la Hailandière Paphnutius of Thebes Marcus Junius Brutus Alberto Villamizar Beowulf John Wallis Gilbert du Motier Boniface VIII Bernard of Clairvaux Zecora Adele Schopenhauer Moses of Chorene Igor Svyatoslavich George Villiers, 1st Duke of Buckingham Sahak Sevada Naomi Hernando Santos Castillo Bjarne Corydon Benjamin Disraeli Cicero Anne of Austria Anastasius II Bertrand-François Mahé de La Bourdonnais Horace Plato Shapur III Timon of Athens Atossa Wealhþeow Saint Eligius Robert Guiscard Zipporah Anacharsis Monte Melkonian Agathon La Malinche Cardinal Richelieu Jack the Ripper Tigellinus Julius Caesar John Adams Friedrich Wilhelm Riemer Sordello Homer Hannibal Averroes Mary Bernard Laughlin Conte Attilio Pomponia Graecina Marie de Rohan Oliver Cromwell John Fryer Hygelac Cuauhtémoc Thales Peter Damian Pontius Pilatus Clement V John Proctor Marie Helene Franey Solomon Hanno the Great Thaïs Theaetetus Thomas Ken Ruth Samuel Parris Bonaventure John the Baptist Seth Cain Fra Dolcino Gertrude Clare Owens Peter Lombard Lene Jensen Lucius Varius Rufus Abraham Pausanias of Athens Dionysius I of Syracuse Aulus Plautius Théodore Guérin Isaac Giacomo Casanova Augustus Recep Tayyip Erdoğan John Hathorne Étienne François, duc de Choiseul Pablo Escobar Philippe, Duke of Orléans, Regent of France Gael Corteza Gaius Cassius Longinus Albertus Magnus Hendrickje Stoffels Honoré Gabriel Riqueti, comte de Mirabeau Ronald Reagan
Leo Tolstoy, Johann Wolfgang von Goethe and David are the name of the persons who plays a role in less number of theatrical genres or books than Boris Godunov
Leo Tolstoy Johann Wolfgang von Goethe David
action less
action union
action find_reverse_tuple_counts
relation characters
type common name
type theatrical genre
action find_reverse_tuple_counts
relation characters
type common name
type book
action count
action filter_multi_types
action find_reverse
entity Boris Godunov
relation characters
type theatrical genre
type book
[[{'concept': 'theatrical genre'}, {'concept': 'book'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?g ) WHERE { ?o property:characters resource:Boris_Godunov . { { ?o rdf:type ontology:theatrical_genre } UNION { ?o rdf:type ontology:book } } } } . FILTER ( ?f < ?g ) . { SELECT DISTINCT ?h ( COUNT ( ?r ) AS ?f ) WHERE { { ?h rdf:type ontology:common_name . ?r rdf:type ontology:theatrical_genre . ?r property:characters ?h } UNION { ?r property:characters ?h . ?h rdf:type ontology:common_name . ?r rdf:type ontology:book } } GROUP BY ?h } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q43954
P674
Q502895 Q15850590 Q571
USER
And what about Leo I?
(c(Q15850590)|c(Q571),P674,c(Q502895))
action less
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q15850590
action find_reverse_tuple_counts
relation P674
type Q502895
type Q571
action count
action filter_multi_types
action find_reverse
entity Q43954
relation P674
type Q15850590
type Q571
[[{'concept': 'Q15850590'}, {'concept': 'Q571'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?o ) WHERE { { ?r rdf:type ontology:Q502895 . ?j rdf:type ontology:Q571 . ?j property:P674 ?r } UNION { ?j property:P674 ?r . ?r rdf:type ontology:Q502895 . ?j rdf:type ontology:Q15850590 } } GROUP BY ?r } . FILTER ( ?o < ?f ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { ?p property:P674 resource:Q43954 . { { ?p rdf:type ontology:Q15850590 } UNION { ?p rdf:type ontology:Q571 } } } } }
Leo I
action less
action union
action find_reverse_tuple_counts
relation characters
type common name
type theatrical genre
action find_reverse_tuple_counts
relation characters
type common name
type book
action count
action filter_multi_types
action find_reverse
entity Leo I
relation characters
type theatrical genre
type book
[[{'concept': 'theatrical genre'}, {'concept': 'book'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?o ) WHERE { { ?r rdf:type ontology:common_name . ?j rdf:type ontology:book . ?j property:characters ?r } UNION { ?j property:characters ?r . ?r rdf:type ontology:common_name . ?j rdf:type ontology:theatrical_genre } } GROUP BY ?r } . FILTER ( ?o < ?f ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { ?p property:characters resource:Leo_I . { { ?p rdf:type ontology:theatrical_genre } UNION { ?p rdf:type ontology:book } } } } }
[]
common name theatrical genre book
Q7243 Q5879 Q41370
SYSTEM
Leo Tolstoy, Johann Wolfgang von Goethe, David
Q13562217 Q7793319 Q315726 Q5254 Q6741571 Q18720650 Q216362 Q457881 Q1986812 Q272246 Q33923 Q2054 Q33760 Q315795 Q3051256 Q676555 Q744125 Q157 Q7788839 Q152513 Q1353836 Q551481 Q43706 Q725118 Q1093574 Q200902 Q12316446 Q18733964 Q10261 Q5879 Q295824 Q2458567 Q118653 Q353879 Q262513 Q6779230 Q635 Q41370 Q3299086 Q5685 Q5686 Q854177 Q2468262 Q1093885 Q1774745 Q9640 Q248029 Q2850415 Q5170 Q57384 Q3867479 Q48438 Q849 Q36591 Q234022 Q319713 Q1354988 Q92639 Q981915 Q243203 Q1291267 Q229807 Q130221 Q6113413 Q6323112 Q3181675 Q4212237 Q10265876 Q2085338 Q41155 Q270438 Q43353 Q220344 Q44387 Q2254800 Q6139425 Q547828 Q44265 Q172480 Q830183 Q1937560 Q317554 Q257442 Q256663 Q62788 Q313421 Q47365 Q104804 Q294147 Q230677 Q6562057 Q244912 Q1347324 Q2915318 Q1338025 Q6777920 Q41980 Q2721219 Q185101 Q286238 Q2355196 Q229702 Q129165 Q55398 Q363636 Q1419 Q2521377 Q1067 Q42305 Q367387 Q937415 Q7200 Q20749193 Q312332 Q5363384 Q172916 Q84192 Q6780580 Q187982 Q59180 Q43393 Q188646 Q328793 Q34428 Q8778 Q42544 Q5015 Q7523 Q169329 Q83041 Q271278 Q1979876 Q1227273 Q543853 Q9438 Q2412941 Q1348718 Q12927 Q81018 Q232913 Q2361344 Q5264 Q6780925 Q7742 Q1133523 Q281146 Q9077 Q181875 Q152717 Q15718786 Q81422 Q3187975 Q634239 Q591879 Q207535 Q426862 Q1209603 Q154938 Q1059572 Q6818772 Q359237 Q662533 Q317188 Q378053 Q469118 Q594805 Q719418 Q991 Q43600 Q3090807 Q5598 Q531748 Q7243 Q76918 Q4344 Q19844997 Q188541 Q737786 Q172353 Q256439 Q184176 Q43939 Q297285 Q335173 Q2750254 Q355903 Q1425 Q1427 Q9353 Q312537 Q9215 Q4791018 Q137680 Q315628 Q86745 Q7422342 Q1981295 Q321166 Q40787 Q737533 Q1281235 Q532354 Q111559 Q297776 Q953718 Q81506 Q3860377 Q154971 Q83400 Q8442 Q200817 Q76721 Q352489 Q1030008 Q951503 Q289694 Q160441 Q7732 Q7734 Q311456 Q153670 Q1394 Q3236830 Q310303 Q1398 Q7328 Q434217 Q638973 Q231944 Q7326 Q63639 Q307 Q6527 Q1280744 Q15995718 Q75568 Q20750935 Q166876 Q134309 Q273942 Q332020 Q1938388 Q7198 Q2633351 Q68366 Q6184 Q282280 Q8747 Q118081 Q3064195 Q83375 Q549041 Q34943 Q1177456 Q170859 Q674683 Q8011 Q48305 Q8018 Q15897 Q165479 Q109860 Q8409 Q154723 Q2438324 Q451516 Q519984 Q312682 Q20749268 Q691873 Q102851 Q694093 Q706003 Q228896 Q9045 Q19348839 Q57652 Q7071043 Q131412 Q743858 Q353081 Q166056 Q131002 Q47180 Q122290 Q452048 Q5582 Q1377025 Q612501 Q231997 Q310686 Q170373 Q316876 Q16912694 Q144622 Q8581 Q913 Q785250 Q950850 Q7617726 Q335165 Q544680 Q717441 Q211246 Q234533 Q2872353 Q366270 Q559541 Q41866 Q8058 Q1824066 Q199991 Q106077 Q141791 Q200637 Q16404704 Q2755054 Q193660 Q6780526 Q3421721 Q4230107 Q15463333 Q466048 Q6264078 Q670332 Q868 Q5544435 Q247137 Q9458 Q778520 Q7367631 Q1370965 Q43718 Q170335 Q555304 Q1402591 Q5202472 Q1394174 Q172248 Q4712236 Q1281177 Q208359 Q186652 Q134646 Q188411 Q15711674 Q75090 Q365695 Q2497107 Q313817 Q4403346 Q2596433 Q5689201 Q879350 Q82006 Q1541 Q151209 Q132786 Q828583 Q6197 Q859 Q310267 Q1747004 Q233359 Q2116944 Q360798 Q203792 Q205523 Q325026 Q545875 Q380482 Q230314 Q26702 Q43963 Q366205 Q1048 Q453382 Q85393 Q665165 Q6691 Q36456 Q39837 Q6779045 Q3687804 Q469050 Q438615 Q44279 Q204236 Q889694 Q297050 Q36303 Q258369 Q17131 Q131463 Q3182316 Q6762867 Q37085 Q313555 Q267733 Q920912 Q2361032 Q1774982 Q3471206 Q43746 Q40662 Q107626 Q205365 Q448586 Q5553293 Q315347 Q12324262 Q8820 Q9181 Q860084 Q332750 Q772930 Q434579 Q671872 Q83321 Q1405 Q39259 Q15427574 Q289149 Q187447 Q155596 Q174210 Q207370 Q60059 Q463440 Q218747 Q9960
(c(Q15850590)|c(Q571),P674,c(Q502895))
action less
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q15850590
action find_reverse_tuple_counts
relation P674
type Q502895
type Q571
action count
action filter_multi_types
action find_reverse
entity Q43954
relation P674
type Q15850590
type Q571
[ANSWERS]
[[{'concept': 'Q15850590'}, {'concept': 'Q571'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?o ) WHERE { { ?r rdf:type ontology:Q502895 . ?j rdf:type ontology:Q571 . ?j property:P674 ?r } UNION { ?j property:P674 ?r . ?r rdf:type ontology:Q502895 . ?j rdf:type ontology:Q15850590 } } GROUP BY ?r } . FILTER ( ?o < ?f ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { ?p property:P674 resource:Q43954 . { { ?p rdf:type ontology:Q15850590 } UNION { ?p rdf:type ontology:Q571 } } } } }
Mary Cecilia Bailly Thomas Putnam Grand Duke Alexei Alexandrovich of Russia Folquet de Marselha Malayaketu Nyssia August von Goethe John Tenniel Tituba Johanne Luise Heiberg Peter Seneca Bertrand Russell Bernal Díaz del Castillo Elizabeth Parris Francis of Assisi Chaerephon François Hollande Thomas Danforth Henry Wadsworth Longfellow Hrothgar Antoine Barnave John Chrysostom Carl Christian Hall Ruggieri degli Ubaldini Shem Henrik Sass Larsen Peter Stahl Pythagoras Johann Wolfgang von Goethe Peter I of Portugal François Bonivard August Engelhardt Jean François Paul de Gondi John Felton Mary Cleophas Foley Cleopatra David Mathos Anton Chekhov Charles Dickens Kay Scarpetta Jonah Hathi Billy Milligan Lyndon B. Johnson Jiro Horikoshi Ann Putnam, Jr. Blondel de Nesle Wernher von Braun Musciatto Franzesi Saint George François Villon Vladimir Nabokov Inês de Castro Leopold V, Duke of Austria Giles Corey Christos Papadimitriou Joseph Bazalgette Publius Papinius Statius Gundomar I Berengaria of Navarre Frederick II, Holy Roman Emperor Rucio Nahor John Hale Kanva Dhana Nanda Vahan I Mamikonian Heraclitus Charles of Valois Aristophanes Pythia Darius I of Persia Cunizza da Romano Thomas Hayward Christiaan de Wet Benedict of Nursia Isaac of Armenia Eve Mogens Lykketoft Hugh of Saint Victor Sarah Paulson Anne Geneviève de Bourbon Jethro Abel Marie Antoinette Saint Mesrob William Bligh Madame du Barry Mushegh IV Mamikonian Hezekiah François de Vendôme, Duc de Beaufort Soupy Sales Emma Forsayth Maruja Pachón Democritus Farinata degli Uberti Hamilcar Barca Thaïs Martinus Theunis Steyn Ham Xerxes Bernadette Soubirous Cardinal de Rohan Vespasian Ottaviano degli Ubaldini Dante Alighieri Richard I of England William II of Sicily James Stewart, 1st Earl of Moray Alexander Pushkin Irma Le Fer de la Motte Alessandro Cagliostro Elizabeth Proctor John XXI Maximilian I of Mexico Mary Raphael Slattery Alcibiades Diogenes of Sinope Robert Boyle Lucan Periander Philip Galen Thomas More Mette Frederiksen Kublai Khan Conrad of Montferrat Anaxagoras Jeanne of Valois-Saint-Rémy Israel Hands Henry Mayhew Herod II Thomas Aquinas The Fox and the Cat Jean-Claude Romand Marine Le Pen Judas Iscariot Beatrice Portinari Durvasa Hippocrates Mary Warren Louis XIV of France Jephthah Yeznik of Kolb Moses Robert Peel Henry VII, Holy Roman Emperor Winona Noah Judith Atto Melani Piet Cronjé Roland Guido Bonatti Dick Beardsley Bede Khaled Al Khamissi Mercy Lewis Charles Martel of Anjou Hrólfr Kraki Theo van Gogh Rob Roy MacGregor Gaius Calpurnius Piso Jochebed Vasily Rozanov Fyodor Dostoyevsky Matthew the Apostle Almanzo Wilder Rembrandt Carsten Hansen Leo Tolstoy Johann Georg Faust Arnaut Daniel Sahakanuysh Chandragupta Maurya Giuseppe Moscati Pyrrhus Claudia Acte Seleucus I Nicator Anselm of Canterbury Ali Pasha Edward Hyde, 1st Earl of Clarendon Pharantzem Siger of Brabant Trajan Hadrian John Locke Gyges of Lydia Sigmund Freud Aristodemus of Cydathenaeum Angela Burdett-Coutts, 1st Baroness Burdett-Coutts Cuitláhuac Georg Michael Welzel Sarah Good Francisco Santos Calderón Abihu Nicholas II of Russia Louis XIII of France Abas I of Armenia Margaret Erskine Judah Maccabee Pedanius Dioscorides Henry Bennet, 1st Earl of Arlington Charles I of England The Nun of Monza Carlota of Mexico Paulo da Gama Otto von Bismarck Titus van Rijn Godfrey of Bouillon Aulus Plautius Tamar Ashot II of Armenia Abigail Williams Rabanus Maurus Louis XVI of France Joshua Orosius Primo Levi Vladimir Lenin Princess Changping Yazdegerd II Virgil Vasco da Gama Candaules Leofric, Earl of Mercia Ann Radcliffe Hernán Cortés Charlotte Buff Galileo Galilei Jean-Jacques Rousseau Vardan Mamikonian Albert Hahl Ottilie von Goethe Athanasius Fogarty Isidore of Seville Charles IX of France Pia Gjellerup César Gaviria Miriam Ovid Vasak of Syunik Siward, Earl of Northumbria Plotius Tucca Vladimir Solovyov Euclid Pope Celestine V Hovsep Ier de Holotsim Empedocles Graciano Ptolemy David of Scotland, Earl of Huntingdon Nicholas III Terpsion Avicenna Euripides Augustine of Hippo Amy Winehouse Saint Patrick Dagobert I Alexander the Great Viktor Frankl Julie d'Aubigny Gaius Scribonius Curio Neil Strauss Euclid of Megara John Corbe Anthony Wood Boethius Ditlev Gothard Monrad Ugolino della Gherardesca Salome Chanakya Salammbô Helle Thorning-Schmidt Nydia Quintero Turbay Mary, Queen of Scots Joscius, Archbishop of Tyre Robert de Sablé Cardinal Mazarin Harun al-Rashid Petronius Jean-Paul Marat Hasdrubal Gisco Vincent van Gogh Bharata Yeghishe Sadako Sasaki Dionysius the Areopagite Christopher Wren Guido Cavalcanti Cornelia van Rijn Phil Collins Saladin Socrates Petrus Comestor Samuel Morland William Douglas, 6th Earl of Morton Osceola John Thurloe Alberto Salazar Caiaphas Cornelia Africana Autaritus Guido Guinizelli Salvatore Giuliano Justinian I Louis XI of France Arturo Bandini Joachim of Fiore Lady Godiva Moctezuma IIl Japheth Endel Nelis Guido I da Montefeltro Ramon Llull Mary Pius Regnier Rebecca Nurse William Compton John Mordaunt, 1st Viscount Mordaunt Francesca da Rimini John Willard Comte de Troisville Aristotle George Seton, 7th Lord Seton Aelius Donatus Muhammad Diana Turbay Rose Angela Horan Peter Heywood Nikolai Gogol Constance, Queen of Sicily Georges Cadoudal Ohthere Célestine Guynemer de la Hailandière Paphnutius of Thebes Marcus Junius Brutus Alberto Villamizar Beowulf John Wallis Gilbert du Motier Boniface VIII Bernard of Clairvaux Zecora Adele Schopenhauer Moses of Chorene Igor Svyatoslavich George Villiers, 1st Duke of Buckingham Sahak Sevada Naomi Hernando Santos Castillo Bjarne Corydon Benjamin Disraeli Cicero Anne of Austria Anastasius II Bertrand-François Mahé de La Bourdonnais Horace Plato Shapur III Timon of Athens Atossa Wealhþeow Saint Eligius Robert Guiscard Zipporah Anacharsis Monte Melkonian Agathon La Malinche Cardinal Richelieu Jack the Ripper Tigellinus Julius Caesar John Adams Friedrich Wilhelm Riemer Sordello Homer Hannibal Averroes Mary Bernard Laughlin Conte Attilio Pomponia Graecina Marie de Rohan Oliver Cromwell John Fryer Hygelac Cuauhtémoc Thales Peter Damian Pontius Pilatus Clement V John Proctor Marie Helene Franey Solomon Hanno the Great Thaïs Theaetetus Thomas Ken Ruth Samuel Parris Bonaventure John the Baptist Seth Cain Fra Dolcino Gertrude Clare Owens Peter Lombard Lene Jensen Lucius Varius Rufus Abraham Pausanias of Athens Dionysius I of Syracuse Aulus Plautius Théodore Guérin Isaac Giacomo Casanova Augustus Recep Tayyip Erdoğan John Hathorne Étienne François, duc de Choiseul Pablo Escobar Philippe, Duke of Orléans, Regent of France Gael Corteza Gaius Cassius Longinus Albertus Magnus Hendrickje Stoffels Honoré Gabriel Riqueti, comte de Mirabeau Ronald Reagan
Leo Tolstoy Johann Wolfgang von Goethe David
action less
action union
action find_reverse_tuple_counts
relation characters
type common name
type theatrical genre
action find_reverse_tuple_counts
relation characters
type common name
type book
action count
action filter_multi_types
action find_reverse
entity Leo I
relation characters
type theatrical genre
type book
[[{'concept': 'theatrical genre'}, {'concept': 'book'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?j ) AS ?o ) WHERE { { ?r rdf:type ontology:common_name . ?j rdf:type ontology:book . ?j property:characters ?r } UNION { ?j property:characters ?r . ?r rdf:type ontology:common_name . ?j rdf:type ontology:theatrical_genre } } GROUP BY ?r } . FILTER ( ?o < ?f ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?f ) WHERE { ?p property:characters resource:Leo_I . { { ?p rdf:type ontology:theatrical_genre } UNION { ?p rdf:type ontology:book } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2658248
P17
Q15617994
USER
Which administrative territory is Pintsch a part of ?
(Q2658248,P17,c(Q15617994))
action filter_type
action find
entity Q2658248
relation P17
type Q15617994
['Q2658248', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q2658248 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Pintsch
action filter_type
action find
entity Pintsch
relation country
type designation for an administrative territorial entity
['Pintsch', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Pintsch property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q32
SYSTEM
Luxembourg
Q32
(Q2658248,P17,c(Q15617994))
action filter_type
action find
entity Q2658248
relation P17
type Q15617994
Which administrative territory is Pintsch a part of
['Q2658248', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q2658248 property:P17 ?e . ?e rdf:type ontology:Q15617994 }
Luxembourg
Which administrative territory is Pintsch a part of
Luxembourg
action filter_type
action find
entity Pintsch
relation country
type designation for an administrative territorial entity
['Pintsch', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Pintsch property:country ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q179673
P800
Q502895
USER
Which person has Beauty and the Beast as a notable work ?
(c(Q502895),P800,Q179673)
action filter_type
action find_reverse
entity Q179673
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q179673']
SELECT DISTINCT ?b WHERE { ?b property:P800 resource:Q179673 . ?b rdf:type ontology:Q502895 }
Beauty and the Beast
action filter_type
action find_reverse
entity Beauty and the Beast
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Beauty and the Beast']
SELECT DISTINCT ?b WHERE { ?b property:notable_work resource:Beauty_and_the_Beast . ?b rdf:type ontology:common_name }
[]
common name
Q317272
SYSTEM
Alan Menken
Q317272
(c(Q502895),P800,Q179673)
action filter_type
action find_reverse
entity Q179673
relation P800
type Q502895
[ANSWER] has Beauty and the Beast as a notable work
[{'concept': 'Q502895'}, 'P800', 'Q179673']
SELECT DISTINCT ?b WHERE { ?b property:P800 resource:Q179673 . ?b rdf:type ontology:Q502895 }
Alan Menken
Alan Menken has Beauty and the Beast as a notable work
Alan Menken
action filter_type
action find_reverse
entity Beauty and the Beast
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'Beauty and the Beast']
SELECT DISTINCT ?b WHERE { ?b property:notable_work resource:Beauty_and_the_Beast . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q317272
P27
Q15617994
USER
Which administrative territory is the country of citizenship of that person ?
(Q317272,P27,c(Q15617994))
action filter_type
action find
entity Q317272
relation P27
type Q15617994
['Q317272', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q317272 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
Alan Menken
action filter_type
action find
entity Alan Menken
relation country of citizenship
type designation for an administrative territorial entity
['Alan Menken', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Alan_Menken property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q317272,P27,c(Q15617994))
action filter_type
action find
entity Q317272
relation P27
type Q15617994
The [ANSWER] is the country of citizenship of that person
['Q317272', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q317272 property:P27 ?o . ?o rdf:type ontology:Q15617994 }
United States of America
The United States of America is the country of citizenship of that person
United States of America
action filter_type
action find
entity Alan Menken
relation country of citizenship
type designation for an administrative territorial entity
['Alan Menken', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Alan_Menken property:country_of_citizenship ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]