Simple Question (Direct)
Simple Question
Q5616381
P364
Q34770
USER
Which language was used originally for the creation of Guilty Bystander ?
(Q5616381,P364,c(Q34770))
action filter_type
action find
entity Q5616381
relation P364
type Q34770
['Q5616381', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { resource:Q5616381 property:P364 ?z . ?z rdf:type ontology:Q34770 }
Guilty Bystander
action filter_type
action find
entity Guilty Bystander
relation original language of work
type language
['Guilty Bystander', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { resource:Guilty_Bystander property:original_language_of_work ?z . ?z rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q5616381,P364,c(Q34770))
action filter_type
action find
entity Q5616381
relation P364
type Q34770
[ANSWER] was used originally for the creation of Guilty Bystander
['Q5616381', 'P364', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { resource:Q5616381 property:P364 ?z . ?z rdf:type ontology:Q34770 }
English
English was used originally for the creation of Guilty Bystander
English
action filter_type
action find
entity Guilty Bystander
relation original language of work
type language
['Guilty Bystander', 'original language of work', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { resource:Guilty_Bystander property:original_language_of_work ?z . ?z rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5616381
P57
Q502895
USER
Which person served as the directed of that work of art ?
(Q1860,P57,c(Q502895))
action filter_type
action find
entity Q5616381
relation P57
type Q502895
['Q1860', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q5616381 property:P57 ?u . ?u rdf:type ontology:Q502895 }
Guilty Bystander
action filter_type
action find
entity Guilty Bystander
relation director
type common name
['English', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Guilty_Bystander property:director ?u . ?u rdf:type ontology:common_name }
[]
common name
Q6284933
SYSTEM
Joseph Lerner
Q6284933
(Q1860,P57,c(Q502895))
action filter_type
action find
entity Q5616381
relation P57
type Q502895
[ANSWER] served as the directed of that work of art
['Q1860', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q5616381 property:P57 ?u . ?u rdf:type ontology:Q502895 }
Joseph Lerner
Joseph Lerner served as the directed of that work of art
Joseph Lerner
action filter_type
action find
entity Guilty Bystander
relation director
type common name
['English', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Guilty_Bystander property:director ?u . ?u rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments are played by max number of people ?
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?b ) WHERE { ?u property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?n } . FILTER ( ?b = ?s ) . { SELECT DISTINCT ( MAX ( ?z ) AS ?s ) { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?z ) WHERE { ?m rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 . ?q property:P1303 ?m } GROUP BY ?m } } }
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?b ) WHERE { ?u property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?n } . FILTER ( ?b = ?s ) . { SELECT DISTINCT ( MAX ( ?z ) AS ?s ) { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?z ) WHERE { ?m rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name . ?q property:instrument ?m } GROUP BY ?m } } }
[]
musical instrument common name
Q5994
SYSTEM
piano
Q5994
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[ANSWER] is played by max number of people
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?b ) WHERE { ?u property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?u rdf:type ontology:Q502895 } GROUP BY ?n } . FILTER ( ?b = ?s ) . { SELECT DISTINCT ( MAX ( ?z ) AS ?s ) { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?z ) WHERE { ?m rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 . ?q property:P1303 ?m } GROUP BY ?m } } }
piano
Piano is played by max number of people
piano
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?b ) WHERE { ?u property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?u rdf:type ontology:common_name } GROUP BY ?n } . FILTER ( ?b = ?s ) . { SELECT DISTINCT ( MAX ( ?z ) AS ?s ) { SELECT DISTINCT ?m ( COUNT ( ?q ) AS ?z ) WHERE { ?m rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name . ?q property:instrument ?m } GROUP BY ?m } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P870
Q34379 Q9748 Q862597
USER
How many musical instruments are the instrumentations used in less number of concertoes or musical forms than that musical instrument ?
(c(Q9748)|c(Q862597),P870,c(Q34379))
action count
action less
action union
action find_reverse_tuple_counts
relation P870
type Q34379
type Q9748
action find_reverse_tuple_counts
relation P870
type Q34379
type Q862597
action count
action filter_multi_types
action find_reverse
entity Q5994
relation P870
type Q9748
type Q862597
[[{'concept': 'Q9748'}, {'concept': 'Q862597'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) ?k WHERE { VALUES ( ?u ) { ( ontology:Q9748 ) ( ontology:Q862597 ) } . ?x rdf:type ?u } GROUP BY ?k } . FILTER ( ?m < ?v ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { { VALUES ( ?p ) { ( ontology:Q9748 ) ( ontology:Q862597 ) } . ?j rdf:type ?p } . ?j property:P870 resource:Q5994 } } }
action count
action less
action union
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type concerto
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type musical form
action count
action filter_multi_types
action find_reverse
entity piano
relation instrumentation
type concerto
type musical form
[[{'concept': 'concerto'}, {'concept': 'musical form'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) ?k WHERE { VALUES ( ?u ) { ( ontology:concerto ) ( ontology:musical_form ) } . ?x rdf:type ?u } GROUP BY ?k } . FILTER ( ?m < ?v ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { { VALUES ( ?p ) { ( ontology:concerto ) ( ontology:musical_form ) } . ?j rdf:type ?p } . ?j property:instrumentation resource:piano } } }
[]
musical instrument concerto musical form
SYSTEM
18
Q80284 Q8371 Q213461 Q46185 Q845193 Q190172 Q189737 Q626035 Q593995 Q521151 Q8338 Q320341 Q1444 Q39777 Q8355 Q11404 Q206987 Q81982
(c(Q9748)|c(Q862597),P870,c(Q34379))
action count
action less
action union
action find_reverse_tuple_counts
relation P870
type Q34379
type Q9748
action find_reverse_tuple_counts
relation P870
type Q34379
type Q862597
action count
action filter_multi_types
action find_reverse
entity Q5994
relation P870
type Q9748
type Q862597
[ANSWER]
[[{'concept': 'Q9748'}, {'concept': 'Q862597'}], 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) ?k WHERE { VALUES ( ?u ) { ( ontology:Q9748 ) ( ontology:Q862597 ) } . ?x rdf:type ?u } GROUP BY ?k } . FILTER ( ?m < ?v ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { { VALUES ( ?p ) { ( ontology:Q9748 ) ( ontology:Q862597 ) } . ?j rdf:type ?p } . ?j property:P870 resource:Q5994 } } }
viola cello harmonium bass guitar xylorimba cymbal timpani glockenspiel player piano baryton trumpet celesta organ maraca violin drum vibraphone harpsichord
18
action count
action less
action union
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type concerto
action find_reverse_tuple_counts
relation instrumentation
type musical instrument
type musical form
action count
action filter_multi_types
action find_reverse
entity piano
relation instrumentation
type concerto
type musical form
[[{'concept': 'concerto'}, {'concept': 'musical form'}], 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) ?k WHERE { VALUES ( ?u ) { ( ontology:concerto ) ( ontology:musical_form ) } . ?x rdf:type ?u } GROUP BY ?k } . FILTER ( ?m < ?v ) . { SELECT DISTINCT ( COUNT ( ?j ) AS ?v ) WHERE { { VALUES ( ?p ) { ( ontology:concerto ) ( ontology:musical_form ) } . ?j rdf:type ?p } . ?j property:instrumentation resource:piano } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1860 Q12665675
P361
Q5962346
USER
How many classification schemes are English or Mitinis Kalvis a part of ?
(Q1860,P361,c(Q5962346)) (Q12665675,P361,c(Q5962346))
action count
action union
action filter_type
action find
entity Q1860
relation P361
type Q5962346
action filter_type
action find
entity Q12665675
relation P361
type Q5962346
['Q1860', 'P361', {'concept': 'Q5962346'}] ['Q12665675', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { resource:Q1860 property:P361 ?c . ?c rdf:type ontology:Q5962346 } UNION { ?c rdf:type ontology:Q5962346 . resource:Q12665675 property:P361 ?c } }
English Mitinis Kalvis
action count
action union
action filter_type
action find
entity English
relation part of
type classification scheme
action filter_type
action find
entity Mitinis Kalvis
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}] ['Mitinis Kalvis', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { resource:English property:part_of ?c . ?c rdf:type ontology:classification_scheme } UNION { ?c rdf:type ontology:classification_scheme . resource:Mitinis_Kalvis property:part_of ?c } }
[]
classification scheme
SYSTEM
2
Q1346342 Q5329170
(Q1860,P361,c(Q5962346)) (Q12665675,P361,c(Q5962346))
action count
action union
action filter_type
action find
entity Q1860
relation P361
type Q5962346
action filter_type
action find
entity Q12665675
relation P361
type Q5962346
[ANSWER]
['Q1860', 'P361', {'concept': 'Q5962346'}] ['Q12665675', 'P361', {'concept': 'Q5962346'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { resource:Q1860 property:P361 ?c . ?c rdf:type ontology:Q5962346 } UNION { ?c rdf:type ontology:Q5962346 . resource:Q12665675 property:P361 ?c } }
Anglic languages Anglo-Frisian languages
2
action count
action union
action filter_type
action find
entity English
relation part of
type classification scheme
action filter_type
action find
entity Mitinis Kalvis
relation part of
type classification scheme
['English', 'part of', {'concept': 'classification scheme'}] ['Mitinis Kalvis', 'part of', {'concept': 'classification scheme'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?r ) WHERE { { resource:English property:part_of ?c . ?c rdf:type ontology:classification_scheme } UNION { ?c rdf:type ontology:classification_scheme . resource:Mitinis_Kalvis property:part_of ?c } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P282
Q9779 Q2001982 Q34770
USER
How many languages utilizes around 1 alphabets or notations as the writing system ?
(c(Q34770),P282,c(Q9779)|c(Q2001982))
action count
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q2001982
value 1
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { FILTER ( ?n = 1 ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) ?d WHERE { { ?d property:P282 ?f . ?d rdf:type ontology:Q34770 . ?f rdf:type ontology:Q9779 } UNION { ?d property:P282 ?f . ?d rdf:type ontology:Q34770 . ?f rdf:type ontology:Q2001982 } } GROUP BY ?d } }
action count
action approx
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type notation
value 1
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'notation'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { FILTER ( ?n = 1 ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) ?d WHERE { { ?d property:writing_system ?f . ?d rdf:type ontology:language . ?f rdf:type ontology:alphabet } UNION { ?d property:writing_system ?f . ?d rdf:type ontology:language . ?f rdf:type ontology:notation } } GROUP BY ?d } }
[]
alphabet notation language
SYSTEM
14
Q182695 Q35470 Q13211 Q35499 Q33251 Q21161942 Q1639124 Q2705672 Q36795 Q20972034 Q36790 Q36751 Q36464 Q652
(c(Q34770),P282,c(Q9779)|c(Q2001982))
action count
action approx
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q2001982
value 1
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { FILTER ( ?n = 1 ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) ?d WHERE { { ?d property:P282 ?f . ?d rdf:type ontology:Q34770 . ?f rdf:type ontology:Q9779 } UNION { ?d property:P282 ?f . ?d rdf:type ontology:Q34770 . ?f rdf:type ontology:Q2001982 } } GROUP BY ?d } }
Late Old Japanese Elamite language Ruthenian Old Church Slavonic Church Slavonic Serbian written in Cyrillic Slavoserbian Paeonian language Tartessian Classic Greek Sumerian Phrygian language Nivkh language Italian
14
action count
action approx
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type notation
value 1
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'notation'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) WHERE { FILTER ( ?n = 1 ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) ?d WHERE { { ?d property:writing_system ?f . ?d rdf:type ontology:language . ?f rdf:type ontology:alphabet } UNION { ?d property:writing_system ?f . ?d rdf:type ontology:language . ?f rdf:type ontology:notation } } GROUP BY ?d } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18352045 Q5616381
P495
Q15617994
USER
Which administrative territories are the origin of Guilty Bystander or Manakkale Thatha ?
OR((Q5616381,P495,c(Q15617994)), (Q18352045,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q5616381
relation P495
action find
entity Q18352045
relation P495
type Q15617994
{'OR': [['Q5616381', 'P495', {'concept': 'Q15617994'}], ['Q18352045', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . { { resource:Q5616381 property:P495 ?q } UNION { resource:Q18352045 property:P495 ?q } } }
Manakkale Thatha Guilty Bystander
action filter_type
action union
action find
entity Guilty Bystander
relation country of origin
action find
entity Manakkale Thatha
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Guilty Bystander', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Manakkale Thatha', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Guilty_Bystander property:country_of_origin ?q } UNION { resource:Manakkale_Thatha property:country_of_origin ?q } } }
[]
designation for an administrative territorial entity
Q30 Q668
SYSTEM
United States of America, India
Q30 Q668
OR((Q5616381,P495,c(Q15617994)), (Q18352045,P495,c(Q15617994)))
action filter_type
action union
action find
entity Q5616381
relation P495
action find
entity Q18352045
relation P495
type Q15617994
[ANSWERS] are the origin of Guilty Bystander or Manakkale Thatha
{'OR': [['Q5616381', 'P495', {'concept': 'Q15617994'}], ['Q18352045', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15617994 . { { resource:Q5616381 property:P495 ?q } UNION { resource:Q18352045 property:P495 ?q } } }
United States of America India
United States of America and India are the origin of Guilty Bystander or Manakkale Thatha
United States of America India
action filter_type
action union
action find
entity Guilty Bystander
relation country of origin
action find
entity Manakkale Thatha
relation country of origin
type designation for an administrative territorial entity
{'OR': [['Guilty Bystander', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Manakkale Thatha', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . { { resource:Guilty_Bystander property:country_of_origin ?q } UNION { resource:Manakkale_Thatha property:country_of_origin ?q } } }
[]