Simple Question (Direct)
Simple Question
Q5661883
P21
Q290
USER
Which sex does Harold Nichols belong to ?
(Q5661883,P21,c(Q290))
action filter_type
action find
entity Q5661883
relation P21
type Q290
['Q5661883', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q5661883 property:P21 ?m . ?m rdf:type ontology:Q290 }
Harold Nichols
action filter_type
action find
entity Harold Nichols
relation gender
type sex
['Harold Nichols', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Harold_Nichols property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q5661883,P21,c(Q290))
action filter_type
action find
entity Q5661883
relation P21
type Q290
Harold Nichols belongs to [ANSWER]
['Q5661883', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q5661883 property:P21 ?m . ?m rdf:type ontology:Q290 }
male
Harold Nichols belongs to male
male
action filter_type
action find
entity Harold Nichols
relation gender
type sex
['Harold Nichols', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Harold_Nichols property:gender ?m . ?m rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P655
Q502895 Q7725634 Q2342494
USER
Which people did the translation of max number of literary works or collectables ?
(c(Q7725634)|c(Q2342494),P655,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q7725634
action find_reverse_tuple_counts
relation P655
type Q502895
type Q2342494
[[{'concept': 'Q7725634'}, {'concept': 'Q2342494'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) ?r WHERE { ?x rdf:type ?h . VALUES ( ?h ) { ( ontology:Q7725634 ) ( ontology:Q2342494 ) } } GROUP BY ?r } } . FILTER ( ?d = ?t ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) ?s WHERE { VALUES ( ?v ) { ( ontology:Q7725634 ) ( ontology:Q2342494 ) } . ?i rdf:type ?v } GROUP BY ?s } }
action argmax
action union
action find_reverse_tuple_counts
relation translator
type common name
type literary work
action find_reverse_tuple_counts
relation translator
type common name
type collectable
[[{'concept': 'literary work'}, {'concept': 'collectable'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) ?r WHERE { ?x rdf:type ?h . VALUES ( ?h ) { ( ontology:literary_work ) ( ontology:collectable ) } } GROUP BY ?r } } . FILTER ( ?d = ?t ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) ?s WHERE { VALUES ( ?v ) { ( ontology:literary_work ) ( ontology:collectable ) } . ?i rdf:type ?v } GROUP BY ?s } }
[]
common name literary work collectable
Q461104
SYSTEM
Jaroslav Vrchlický
Q461104
(c(Q7725634)|c(Q2342494),P655,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P655
type Q502895
type Q7725634
action find_reverse_tuple_counts
relation P655
type Q502895
type Q2342494
[ANSWER] did the translation of max number of literary works or collectables
[[{'concept': 'Q7725634'}, {'concept': 'Q2342494'}], 'P655', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) ?r WHERE { ?x rdf:type ?h . VALUES ( ?h ) { ( ontology:Q7725634 ) ( ontology:Q2342494 ) } } GROUP BY ?r } } . FILTER ( ?d = ?t ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) ?s WHERE { VALUES ( ?v ) { ( ontology:Q7725634 ) ( ontology:Q2342494 ) } . ?i rdf:type ?v } GROUP BY ?s } }
Jaroslav Vrchlický
Jaroslav Vrchlický did the translation of max number of literary works or collectables
Jaroslav Vrchlický
action argmax
action union
action find_reverse_tuple_counts
relation translator
type common name
type literary work
action find_reverse_tuple_counts
relation translator
type common name
type collectable
[[{'concept': 'literary work'}, {'concept': 'collectable'}], 'translator', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?q ) AS ?t ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?q ) ?r WHERE { ?x rdf:type ?h . VALUES ( ?h ) { ( ontology:literary_work ) ( ontology:collectable ) } } GROUP BY ?r } } . FILTER ( ?d = ?t ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?d ) ?s WHERE { VALUES ( ?v ) { ( ontology:literary_work ) ( ontology:collectable ) } . ?i rdf:type ?v } GROUP BY ?s } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q5398426
USER
How many television series did approximately 9 people do the dubbing for ?
(c(Q5398426),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q5398426
type Q502895
value 9
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?c ) AS ?g ) WHERE { ?l property:P725 ?c . ?l rdf:type ontology:Q5398426 . ?c rdf:type ontology:Q502895 } GROUP BY ?l } . FILTER ( ?g = 9 ) }
action count
action approx
action find_tuple_counts
relation voice actor
type television series
type common name
value 9
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?c ) AS ?g ) WHERE { ?l property:voice_actor ?c . ?l rdf:type ontology:television_series . ?c rdf:type ontology:common_name } GROUP BY ?l } . FILTER ( ?g = 9 ) }
[]
common name television series
SYSTEM
4
Q211183 Q3280971 Q921440 Q15392994
(c(Q5398426),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q5398426
type Q502895
value 9
[ANSWER]
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?c ) AS ?g ) WHERE { ?l property:P725 ?c . ?l rdf:type ontology:Q5398426 . ?c rdf:type ontology:Q502895 } GROUP BY ?l } . FILTER ( ?g = 9 ) }
Tamako Market Love Live! Seitokai Yakuindomo Prison School
4
action count
action approx
action find_tuple_counts
relation voice actor
type television series
type common name
value 9
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?c ) AS ?g ) WHERE { ?l property:voice_actor ?c . ?l rdf:type ontology:television_series . ?c rdf:type ontology:common_name } GROUP BY ?l } . FILTER ( ?g = 9 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q461104
P103
Q34770
USER
What is the mother tongue of Jaroslav Vrchlický ?
(Q461104,P103,c(Q34770))
action filter_type
action find
entity Q461104
relation P103
type Q34770
['Q461104', 'P103', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { resource:Q461104 property:P103 ?h . ?h rdf:type ontology:Q34770 }
Jaroslav Vrchlický
action filter_type
action find
entity Jaroslav Vrchlický
relation native language
type language
['Jaroslav Vrchlický', 'native language', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { resource:Jaroslav_Vrchlický property:native_language ?h . ?h rdf:type ontology:language }
[]
language
Q9056
SYSTEM
Czech
Q9056
(Q461104,P103,c(Q34770))
action filter_type
action find
entity Q461104
relation P103
type Q34770
The mother tongue of Jaroslav Vrchlický is the [ANSWER]
['Q461104', 'P103', {'concept': 'Q34770'}]
SELECT DISTINCT ?h WHERE { resource:Q461104 property:P103 ?h . ?h rdf:type ontology:Q34770 }
Czech
The mother tongue of Jaroslav Vrchlický is the Czech
Czech
action filter_type
action find
entity Jaroslav Vrchlický
relation native language
type language
['Jaroslav Vrchlický', 'native language', {'concept': 'language'}]
SELECT DISTINCT ?h WHERE { resource:Jaroslav_Vrchlický property:native_language ?h . ?h rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q461104
P7
Q502895
USER
Who is that one a brother of ?
(c(Q502895),P7,Q9056)
action filter_type
action find
entity Q461104
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q9056']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q461104 property:P7 ?m }
Jaroslav Vrchlický
action filter_type
action find
entity Jaroslav Vrchlický
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Czech']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:Jaroslav_Vrchlický property:brother ?m }
[]
common name
Q4492702
SYSTEM
Bedřich Frida
Q4492702
(c(Q502895),P7,Q9056)
action filter_type
action find
entity Q461104
relation P7
type Q502895
That one a brother of is the [ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q9056']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q461104 property:P7 ?m }
Bedřich Frida
That one a brother of is the Bedřich Frida
Bedřich Frida
action filter_type
action find
entity Jaroslav Vrchlický
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Czech']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:Jaroslav_Vrchlický property:brother ?m }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q461104 Q1894655
P106
Q12737077
USER
How many occupations are the professions of Jaroslav Vrchlický and I.K. Bonset ?
(Q461104,P106,c(Q12737077)) (Q1894655,P106,c(Q12737077))
action count
action intersection
action filter_type
action find
entity Q461104
relation P106
type Q12737077
action filter_type
action find
entity Q1894655
relation P106
type Q12737077
['Q461104', 'P106', {'concept': 'Q12737077'}] ['Q1894655', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { resource:Q1894655 property:P106 ?k . ?k rdf:type ontology:Q12737077 . resource:Q461104 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Jaroslav Vrchlický I.K. Bonset
action count
action intersection
action filter_type
action find
entity Jaroslav Vrchlický
relation occupation
type occupation
action filter_type
action find
entity I.K. Bonset
relation occupation
type occupation
['Jaroslav Vrchlický', 'occupation', {'concept': 'occupation'}] ['I.K. Bonset', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { resource:I.K._Bonset property:occupation ?k . ?k rdf:type ontology:occupation . resource:Jaroslav_Vrchlický property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
SYSTEM
2
Q49757 Q36180
(Q461104,P106,c(Q12737077)) (Q1894655,P106,c(Q12737077))
action count
action intersection
action filter_type
action find
entity Q461104
relation P106
type Q12737077
action filter_type
action find
entity Q1894655
relation P106
type Q12737077
[ANSWER]
['Q461104', 'P106', {'concept': 'Q12737077'}] ['Q1894655', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { resource:Q1894655 property:P106 ?k . ?k rdf:type ontology:Q12737077 . resource:Q461104 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
poet writer
2
action count
action intersection
action filter_type
action find
entity Jaroslav Vrchlický
relation occupation
type occupation
action filter_type
action find
entity I.K. Bonset
relation occupation
type occupation
['Jaroslav Vrchlický', 'occupation', {'concept': 'occupation'}] ['I.K. Bonset', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?j ) WHERE { resource:I.K._Bonset property:occupation ?k . ?k rdf:type ontology:occupation . resource:Jaroslav_Vrchlický property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q612685 Q4492702
P161 P7
Q502895
USER
Which people have Bedřich Frida as their sibling or were casted in Slappy and the Stinkers ?
OR((Q4492702,P7,c(Q502895)), (Q612685,P161,c(Q502895)))
action filter_type
action union
action find
entity Q4492702
relation P7
action find
entity Q612685
relation P161
type Q502895
{'OR': [['Q4492702', 'P7', {'concept': 'Q502895'}], ['Q612685', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q4492702 property:P7 ?q } UNION { resource:Q612685 property:P161 ?q } } . ?q rdf:type ontology:Q502895 }
Slappy and the Stinkers Bedřich Frida
action filter_type
action union
action find
entity Bedřich Frida
relation brother
action find
entity Slappy and the Stinkers
relation cast member
type common name
{'OR': [['Bedřich Frida', 'brother', {'concept': 'common name'}], ['Slappy and the Stinkers', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Bedřich_Frida property:brother ?q } UNION { resource:Slappy_and_the_Stinkers property:cast_member ?q } } . ?q rdf:type ontology:common_name }
[]
common name
Q4936532 Q4858991 Q5405327 Q461104 Q2013721 Q441974 Q445337 Q5525451 Q4801740 Q3810176
SYSTEM
Some of them are Bodhi Elfman, Barbara Howard, Jamie Donnelly, Jaroslav Vrchlický, David Dukes, Terri Garber, Bronson Pinchot, Gary LeRoi Gray, Arturo Gil, Joseph Ashton
Q359207 Q445337 Q461104 Q3810176 Q4801740 Q2013721 Q711898 Q3808289 Q5525451 Q6274439 Q1607972 Q442453 Q17198256 Q4858991 Q5405327 Q230278 Q441974 Q4936532
OR((Q4492702,P7,c(Q502895)), (Q612685,P161,c(Q502895)))
action filter_type
action union
action find
entity Q4492702
relation P7
action find
entity Q612685
relation P161
type Q502895
[ANSWERS] have Bedřich Frida as their sibling or were casted in Slappy and the Stinkers
{'OR': [['Q4492702', 'P7', {'concept': 'Q502895'}], ['Q612685', 'P161', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q4492702 property:P7 ?q } UNION { resource:Q612685 property:P161 ?q } } . ?q rdf:type ontology:Q502895 }
B. D. Wong Bronson Pinchot Jaroslav Vrchlický Joseph Ashton Arturo Gil David Dukes Sam McMurray Jill Remez Gary LeRoi Gray Jonathan Slavin Travis Tedford Scarlett Pomers Spencer Klein Barbara Howard Jamie Donnelly Jennifer Coolidge Terri Garber Bodhi Elfman
Bodhi Elfman, Barbara Howard, Jamie Donnelly, Jaroslav Vrchlický, David Dukes, Terri Garber, Bronson Pinchot, Gary LeRoi Gray, Arturo Gil and Joseph Ashton have Bedřich Frida as their sibling or were casted in Slappy and the Stinkers
Bodhi Elfman Barbara Howard Jamie Donnelly Jaroslav Vrchlický David Dukes Terri Garber Bronson Pinchot Gary LeRoi Gray Arturo Gil Joseph Ashton
action filter_type
action union
action find
entity Bedřich Frida
relation brother
action find
entity Slappy and the Stinkers
relation cast member
type common name
{'OR': [['Bedřich Frida', 'brother', {'concept': 'common name'}], ['Slappy and the Stinkers', 'cast member', {'concept': 'common name'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Bedřich_Frida property:brother ?q } UNION { resource:Slappy_and_the_Stinkers property:cast_member ?q } } . ?q rdf:type ontology:common_name }
[]