Simple Question (Direct)
Simple Question
Q47598
P57
Q502895
USER
Who directed Harry Potter and the Prisoner of Azkaban ?
(Q47598,P57,c(Q502895))
action filter_type
action find
entity Q47598
relation P57
type Q502895
['Q47598', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q47598 property:P57 ?j . ?j rdf:type ontology:Q502895 }
Harry Potter and the Prisoner of Azkaban
action filter_type
action find
entity Harry Potter and the Prisoner of Azkaban
relation director
type common name
['Harry Potter and the Prisoner of Azkaban', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Harry_Potter_and_the_Prisoner_of_Azkaban property:director ?j . ?j rdf:type ontology:common_name }
[]
common name
Q28028
SYSTEM
Alfonso Cuarón
Q28028
(Q47598,P57,c(Q502895))
action filter_type
action find
entity Q47598
relation P57
type Q502895
[ANSWER] directed Harry Potter and the Prisoner of Azkaban
['Q47598', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q47598 property:P57 ?j . ?j rdf:type ontology:Q502895 }
Alfonso Cuarón
Alfonso Cuarón directed Harry Potter and the Prisoner of Azkaban
Alfonso Cuarón
action filter_type
action find
entity Harry Potter and the Prisoner of Azkaban
relation director
type common name
['Harry Potter and the Prisoner of Azkaban', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Harry_Potter_and_the_Prisoner_of_Azkaban property:director ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q47598
P138
Q830248
USER
What is Harry Potter and the Prisoner of Azkaban named after ?
(Q47598,P138,c(Q830248))
action filter_type
action find
entity Q47598
relation P138
type Q830248
['Q47598', 'P138', {'concept': 'Q830248'}]
SELECT DISTINCT ?b WHERE { resource:Q47598 property:P138 ?b . ?b rdf:type ontology:Q830248 }
Harry Potter and the Prisoner of Azkaban
action filter_type
action find
entity Harry Potter and the Prisoner of Azkaban
relation named after
type animagus
['Harry Potter and the Prisoner of Azkaban', 'named after', {'concept': 'animagus'}]
SELECT DISTINCT ?b WHERE { resource:Harry_Potter_and_the_Prisoner_of_Azkaban property:named_after ?b . ?b rdf:type ontology:animagus }
[]
animagus
Q713701
SYSTEM
Sirius Black
Q713701
(Q47598,P138,c(Q830248))
action filter_type
action find
entity Q47598
relation P138
type Q830248
Is named after [ANSWER]
['Q47598', 'P138', {'concept': 'Q830248'}]
SELECT DISTINCT ?b WHERE { resource:Q47598 property:P138 ?b . ?b rdf:type ontology:Q830248 }
Sirius Black
Is named after Sirius Black
Sirius Black
action filter_type
action find
entity Harry Potter and the Prisoner of Azkaban
relation named after
type animagus
['Harry Potter and the Prisoner of Azkaban', 'named after', {'concept': 'animagus'}]
SELECT DISTINCT ?b WHERE { resource:Harry_Potter_and_the_Prisoner_of_Azkaban property:named_after ?b . ?b rdf:type ontology:animagus }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q713701 Q20243129 Q34660
P170
Q502895
USER
Does that animagu works were created by Lothar Salinger and J. K. Rowling ?
(Q713701,P170,Q20243129) (Q713701,P170,Q34660)
action is_in
entity Q713701
action intersection
action find_reverse
entity Q20243129
relation P170
action find_reverse
entity Q34660
relation P170
['Q713701', 'P170', 'Q20243129'] ['Q713701', 'P170', 'Q34660']
ASK WHERE { resource:Q713701 property:P170 resource:Q20243129 . resource:Q713701 property:P170 resource:Q34660 }
Sirius Black Lothar Salinger J. K. Rowling
action is_in
entity Sirius Black
action intersection
action find_reverse
entity Lothar Salinger
relation creator
action find_reverse
entity J. K. Rowling
relation creator
['Sirius Black', 'creator', 'Lothar Salinger'] ['Sirius Black', 'creator', 'J. K. Rowling']
ASK WHERE { resource:Sirius_Black property:creator resource:Lothar_Salinger . resource:Sirius_Black property:creator resource:J._K._Rowling }
[]
common name
SYSTEM
NO and YES respectively
(Q713701,P170,Q20243129) (Q713701,P170,Q34660)
action is_in
entity Q713701
action intersection
action find_reverse
entity Q20243129
relation P170
action find_reverse
entity Q34660
relation P170
[ANSWER]
['Q713701', 'P170', 'Q20243129'] ['Q713701', 'P170', 'Q34660']
ASK WHERE { resource:Q713701 property:P170 resource:Q20243129 . resource:Q713701 property:P170 resource:Q34660 }
NO and YES respectively
action is_in
entity Sirius Black
action intersection
action find_reverse
entity Lothar Salinger
relation creator
action find_reverse
entity J. K. Rowling
relation creator
['Sirius Black', 'creator', 'Lothar Salinger'] ['Sirius Black', 'creator', 'J. K. Rowling']
ASK WHERE { resource:Sirius_Black property:creator resource:Lothar_Salinger . resource:Sirius_Black property:creator resource:J._K._Rowling }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q47598 Q18945204
P50
Q502895
USER
Did Domenico Griminelli authore Harry Potter and the Prisoner of Azkaban ?
(Q47598,P50,Q18945204)
action is_in
entity Q18945204
action find
entity Q47598
relation P50
['Q47598', 'P50', 'Q18945204']
ASK WHERE { resource:Q47598 property:P50 resource:Q18945204 }
Harry Potter and the Prisoner of Azkaban Domenico Griminelli
action is_in
entity Domenico Griminelli
action find
entity Harry Potter and the Prisoner of Azkaban
relation author
['Harry Potter and the Prisoner of Azkaban', 'author', 'Domenico Griminelli']
ASK WHERE { resource:Harry_Potter_and_the_Prisoner_of_Azkaban property:author resource:Domenico_Griminelli }
[]
common name
SYSTEM
NO
(Q47598,P50,Q18945204)
action is_in
entity Q18945204
action find
entity Q47598
relation P50
[ANSWER]
['Q47598', 'P50', 'Q18945204']
ASK WHERE { resource:Q47598 property:P50 resource:Q18945204 }
No
action is_in
entity Domenico Griminelli
action find
entity Harry Potter and the Prisoner of Azkaban
relation author
['Harry Potter and the Prisoner of Azkaban', 'author', 'Domenico Griminelli']
ASK WHERE { resource:Harry_Potter_and_the_Prisoner_of_Azkaban property:author resource:Domenico_Griminelli }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q713701 Q34660 Q2885228
P170
Q502895
USER
Was Sirius Black developed by J. K. Rowling and Gertrud van Silezië ?
(Q713701,P170,Q34660) (Q713701,P170,Q2885228)
action is_in
entity Q713701
action intersection
action find_reverse
entity Q34660
relation P170
action find_reverse
entity Q2885228
relation P170
['Q713701', 'P170', 'Q34660'] ['Q713701', 'P170', 'Q2885228']
ASK WHERE { resource:Q713701 property:P170 resource:Q2885228 . resource:Q713701 property:P170 resource:Q34660 }
Sirius Black J. K. Rowling Gertrud van Silezië
action is_in
entity Sirius Black
action intersection
action find_reverse
entity J. K. Rowling
relation creator
action find_reverse
entity Gertrud van Silezië
relation creator
['Sirius Black', 'creator', 'J. K. Rowling'] ['Sirius Black', 'creator', 'Gertrud van Silezië']
ASK WHERE { resource:Sirius_Black property:creator resource:Gertrud_van_Silezië . resource:Sirius_Black property:creator resource:J._K._Rowling }
[]
common name
SYSTEM
YES and NO respectively
(Q713701,P170,Q34660) (Q713701,P170,Q2885228)
action is_in
entity Q713701
action intersection
action find_reverse
entity Q34660
relation P170
action find_reverse
entity Q2885228
relation P170
[ANSWER]
['Q713701', 'P170', 'Q34660'] ['Q713701', 'P170', 'Q2885228']
ASK WHERE { resource:Q713701 property:P170 resource:Q2885228 . resource:Q713701 property:P170 resource:Q34660 }
YES and NO respectively
action is_in
entity Sirius Black
action intersection
action find_reverse
entity J. K. Rowling
relation creator
action find_reverse
entity Gertrud van Silezië
relation creator
['Sirius Black', 'creator', 'J. K. Rowling'] ['Sirius Black', 'creator', 'Gertrud van Silezië']
ASK WHERE { resource:Sirius_Black property:creator resource:Gertrud_van_Silezië . resource:Sirius_Black property:creator resource:J._K._Rowling }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q28028 Q96
P27
Q15617994
USER
Is Alfonso Cuarón a civilian of Mexico ?
(Q28028,P27,Q96)
action is_in
entity Q96
action find
entity Q28028
relation P27
['Q28028', 'P27', 'Q96']
ASK WHERE { resource:Q28028 property:P27 resource:Q96 }
Alfonso Cuarón Mexico
action is_in
entity Mexico
action find
entity Alfonso Cuarón
relation country of citizenship
['Alfonso Cuarón', 'country of citizenship', 'Mexico']
ASK WHERE { resource:Alfonso_Cuarón property:country_of_citizenship resource:Mexico }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q28028,P27,Q96)
action is_in
entity Q96
action find
entity Q28028
relation P27
[ANSWER]
['Q28028', 'P27', 'Q96']
ASK WHERE { resource:Q28028 property:P27 resource:Q96 }
Yes
action is_in
entity Mexico
action find
entity Alfonso Cuarón
relation country of citizenship
['Alfonso Cuarón', 'country of citizenship', 'Mexico']
ASK WHERE { resource:Alfonso_Cuarón property:country_of_citizenship resource:Mexico }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by atmost 7636 people ?
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 7636
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?e ) WHERE { ?s property:P1303 ?y . ?s rdf:type ontology:Q502895 . ?y rdf:type ontology:Q34379 } GROUP BY ?y } . FILTER ( ?e <= 7636 ) }
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 7636
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?e ) WHERE { ?s property:instrument ?y . ?s rdf:type ontology:common_name . ?y rdf:type ontology:musical_instrument } GROUP BY ?y } . FILTER ( ?e <= 7636 ) }
[]
musical instrument common name
SYSTEM
65
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q8355 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 7636
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?e ) WHERE { ?s property:P1303 ?y . ?s rdf:type ontology:Q502895 . ?y rdf:type ontology:Q34379 } GROUP BY ?y } . FILTER ( ?e <= 7636 ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello violin cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
65
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 7636
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?b ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?e ) WHERE { ?s property:instrument ?y . ?s rdf:type ontology:common_name . ?y rdf:type ontology:musical_instrument } GROUP BY ?y } . FILTER ( ?e <= 7636 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q838948
USER
Which works of art did around 29 people do the dubbing for ?
(c(Q838948),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q838948
type Q502895
value 29
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?p ) WHERE { ?j property:P725 ?h . ?j rdf:type ontology:Q838948 . ?h rdf:type ontology:Q502895 } GROUP BY ?j } . FILTER ( ?p = 29 ) }
action approx
action find_tuple_counts
relation voice actor
type work of art
type common name
value 29
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?p ) WHERE { ?j property:voice_actor ?h . ?j rdf:type ontology:work_of_art . ?h rdf:type ontology:common_name } GROUP BY ?j } . FILTER ( ?p = 29 ) }
[]
common name work of art
Q477365 Q16857406 Q19263748
SYSTEM
101 Dalmatians II: Patch's London Adventure, The Jungle Book, The Anthem of the Heart
Q477365 Q16857406 Q19263748
(c(Q838948),P725,c(Q502895))
action approx
action find_tuple_counts
relation P725
type Q838948
type Q502895
value 29
[ANSWERS] around 29 people did the dubbing for
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?p ) WHERE { ?j property:P725 ?h . ?j rdf:type ontology:Q838948 . ?h rdf:type ontology:Q502895 } GROUP BY ?j } . FILTER ( ?p = 29 ) }
101 Dalmatians II: Patch's London Adventure The Jungle Book The Anthem of the Heart
101 Dalmatians II: Patch's London Adventure, The Jungle Book and The Anthem of the Heart around 29 people did the dubbing for
101 Dalmatians II: Patch's London Adventure The Jungle Book The Anthem of the Heart
action approx
action find_tuple_counts
relation voice actor
type work of art
type common name
value 29
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?h ) AS ?p ) WHERE { ?j property:voice_actor ?h . ?j rdf:type ontology:work_of_art . ?h rdf:type ontology:common_name } GROUP BY ?j } . FILTER ( ?p = 29 ) }
[]