Simple Question (Direct)
Simple Question
Q18325075
P7
Q502895
USER
Who has Wilhelm von Gutmann as their brother ?
(Q18325075,P7,c(Q502895))
action filter_type
action find
entity Q18325075
relation P7
type Q502895
['Q18325075', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q18325075 property:P7 ?r . ?r rdf:type ontology:Q502895 }
Wilhelm von Gutmann
action filter_type
action find
entity Wilhelm von Gutmann
relation brother
type common name
['Wilhelm von Gutmann', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Wilhelm_von_Gutmann property:brother ?r . ?r rdf:type ontology:common_name }
[]
common name
Q22570114
SYSTEM
David von Gutmann
Q22570114
(Q18325075,P7,c(Q502895))
action filter_type
action find
entity Q18325075
relation P7
type Q502895
[ANSWER] has Wilhelm von Gutmann as their brother
['Q18325075', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q18325075 property:P7 ?r . ?r rdf:type ontology:Q502895 }
David von Gutmann
David von Gutmann has Wilhelm von Gutmann as their brother
David von Gutmann
action filter_type
action find
entity Wilhelm von Gutmann
relation brother
type common name
['Wilhelm von Gutmann', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Wilhelm_von_Gutmann property:brother ?r . ?r rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q703865
P1029
Q502895 Q40218 Q2235308
USER
Which people were crew members of greater number of spacecrafts and ship types than Michael J. Bloomfield ?
(c(Q40218)|c(Q2235308),P1029,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q40218
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q703865
relation P1029
type Q40218
type Q2235308
[[{'concept': 'Q40218'}, {'concept': 'Q2235308'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { { ?c rdf:type ?e . VALUES ( ?e ) { ( ontology:Q2235308 ) ( ontology:Q40218 ) } } . ?c property:P1029 resource:Q703865 } } . FILTER ( ?i > ?f ) . { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?i ) WHERE { VALUES ( ?g ) { ( ontology:Q40218 ) ( ontology:Q2235308 ) } . ?s rdf:type ?g } GROUP BY ?y } }
Michael J. Bloomfield
action greater
action union
action find_reverse_tuple_counts
relation crew member
type common name
type spacecraft
action find_reverse_tuple_counts
relation crew member
type common name
type ship type
action count
action filter_multi_types
action find_reverse
entity Michael J. Bloomfield
relation crew member
type spacecraft
type ship type
[[{'concept': 'spacecraft'}, {'concept': 'ship type'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { { ?c rdf:type ?e . VALUES ( ?e ) { ( ontology:ship_type ) ( ontology:spacecraft ) } } . ?c property:crew_member resource:Michael_J._Bloomfield } } . FILTER ( ?i > ?f ) . { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?i ) WHERE { VALUES ( ?g ) { ( ontology:spacecraft ) ( ontology:ship_type ) } . ?s rdf:type ?g } GROUP BY ?y } }
[]
common name spacecraft ship type
Q7327 Q152298 Q154269
SYSTEM
Yuri Gagarin, Gherman Titov, Alexey Leonov
Q470059 Q8070347 Q310924 Q7327 Q363976 Q147581 Q182642 Q159681 Q557082 Q14623220 Q110450 Q461840 Q390344 Q446917 Q44371 Q312833 Q352137 Q17478723 Q536632 Q213076 Q70468 Q344892 Q152298 Q104865 Q334084 Q312474 Q320068 Q644837 Q472683 Q235266 Q197135 Q335503 Q174979 Q154269 Q507046 Q460440 Q110879 Q157931 Q705626 Q118490
(c(Q40218)|c(Q2235308),P1029,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q40218
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q703865
relation P1029
type Q40218
type Q2235308
[ANSWERS] were crew members of greater number of spacecrafts and ship types than Michael J. Bloomfield
[[{'concept': 'Q40218'}, {'concept': 'Q2235308'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { { ?c rdf:type ?e . VALUES ( ?e ) { ( ontology:Q2235308 ) ( ontology:Q40218 ) } } . ?c property:P1029 resource:Q703865 } } . FILTER ( ?i > ?f ) . { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?i ) WHERE { VALUES ( ?g ) { ( ontology:Q40218 ) ( ontology:Q2235308 ) } . ?s rdf:type ?g } GROUP BY ?y } }
Liu Wang Zhang Xiaoguang Alan Bean Yuri Gagarin Jack R. Lousma Yang Liwei John Glenn Valery Bykovsky Liu Boming Adolf Schönberg Wally Schirra Jing Haipeng Edward Gibson Joseph P. Kerwin Valentina Tereshkova Gordon Cooper Boris Yegorov Hans-Kurt von Bremen Paul J. Weitz Pete Conrad Otto von Bülow Fei Junlong Gherman Titov Vladimir Komarov Thomas Grenville Andriyan Nikolayev Konstantin Feoktistov Gerald P. Carr Nie Haisheng Liu Yang Zhai Zhigang Scott Carpenter Alan Shepard Alexey Leonov Owen K. Garriott William R. Pogue Gus Grissom Pavel Belyayev Wang Yaping Pavel Popovich
Yuri Gagarin, Gherman Titov and Alexey Leonov were crew members of greater number of spacecrafts and ship types than Michael J. Bloomfield
Yuri Gagarin Gherman Titov Alexey Leonov
action greater
action union
action find_reverse_tuple_counts
relation crew member
type common name
type spacecraft
action find_reverse_tuple_counts
relation crew member
type common name
type ship type
action count
action filter_multi_types
action find_reverse
entity Michael J. Bloomfield
relation crew member
type spacecraft
type ship type
[[{'concept': 'spacecraft'}, {'concept': 'ship type'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?f ) WHERE { { ?c rdf:type ?e . VALUES ( ?e ) { ( ontology:ship_type ) ( ontology:spacecraft ) } } . ?c property:crew_member resource:Michael_J._Bloomfield } } . FILTER ( ?i > ?f ) . { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?i ) WHERE { VALUES ( ?g ) { ( ontology:spacecraft ) ( ontology:ship_type ) } . ?s rdf:type ?g } GROUP BY ?y } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q457075
P1029
Q502895 Q40218 Q2235308
USER
And what about Mads Østberg?
(c(Q40218)|c(Q2235308),P1029,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q40218
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q457075
relation P1029
type Q40218
type Q2235308
[[{'concept': 'Q40218'}, {'concept': 'Q2235308'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { ?a property:P1029 resource:Q457075 . { VALUES ( ?z ) { ( ontology:Q40218 ) ( ontology:Q2235308 ) } . ?a rdf:type ?z } } } . FILTER ( ?u > ?d ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) ?c WHERE { VALUES ( ?l ) { ( ontology:Q40218 ) ( ontology:Q2235308 ) } . ?m rdf:type ?l } GROUP BY ?c } }
Mads Østberg
action greater
action union
action find_reverse_tuple_counts
relation crew member
type common name
type spacecraft
action find_reverse_tuple_counts
relation crew member
type common name
type ship type
action count
action filter_multi_types
action find_reverse
entity Mads Østberg
relation crew member
type spacecraft
type ship type
[[{'concept': 'spacecraft'}, {'concept': 'ship type'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { ?a property:crew_member resource:Mads_Østberg . { VALUES ( ?z ) { ( ontology:spacecraft ) ( ontology:ship_type ) } . ?a rdf:type ?z } } } . FILTER ( ?u > ?d ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) ?c WHERE { VALUES ( ?l ) { ( ontology:spacecraft ) ( ontology:ship_type ) } . ?m rdf:type ?l } GROUP BY ?c } }
[]
common name spacecraft ship type
Q7327 Q152298 Q154269
SYSTEM
Yuri Gagarin, Gherman Titov, Alexey Leonov
Q470059 Q8070347 Q310924 Q7327 Q363976 Q147581 Q182642 Q159681 Q557082 Q14623220 Q110450 Q461840 Q390344 Q446917 Q44371 Q312833 Q352137 Q17478723 Q536632 Q213076 Q70468 Q344892 Q152298 Q104865 Q334084 Q312474 Q320068 Q644837 Q472683 Q235266 Q197135 Q335503 Q174979 Q154269 Q507046 Q460440 Q110879 Q157931 Q705626 Q118490
(c(Q40218)|c(Q2235308),P1029,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q40218
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q2235308
action count
action filter_multi_types
action find_reverse
entity Q457075
relation P1029
type Q40218
type Q2235308
[ANSWERS]
[[{'concept': 'Q40218'}, {'concept': 'Q2235308'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { ?a property:P1029 resource:Q457075 . { VALUES ( ?z ) { ( ontology:Q40218 ) ( ontology:Q2235308 ) } . ?a rdf:type ?z } } } . FILTER ( ?u > ?d ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) ?c WHERE { VALUES ( ?l ) { ( ontology:Q40218 ) ( ontology:Q2235308 ) } . ?m rdf:type ?l } GROUP BY ?c } }
Liu Wang Zhang Xiaoguang Alan Bean Yuri Gagarin Jack R. Lousma Yang Liwei John Glenn Valery Bykovsky Liu Boming Adolf Schönberg Wally Schirra Jing Haipeng Edward Gibson Joseph P. Kerwin Valentina Tereshkova Gordon Cooper Boris Yegorov Hans-Kurt von Bremen Paul J. Weitz Pete Conrad Otto von Bülow Fei Junlong Gherman Titov Vladimir Komarov Thomas Grenville Andriyan Nikolayev Konstantin Feoktistov Gerald P. Carr Nie Haisheng Liu Yang Zhai Zhigang Scott Carpenter Alan Shepard Alexey Leonov Owen K. Garriott William R. Pogue Gus Grissom Pavel Belyayev Wang Yaping Pavel Popovich
Yuri Gagarin Gherman Titov Alexey Leonov
action greater
action union
action find_reverse_tuple_counts
relation crew member
type common name
type spacecraft
action find_reverse_tuple_counts
relation crew member
type common name
type ship type
action count
action filter_multi_types
action find_reverse
entity Mads Østberg
relation crew member
type spacecraft
type ship type
[[{'concept': 'spacecraft'}, {'concept': 'ship type'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?d ) WHERE { ?a property:crew_member resource:Mads_Østberg . { VALUES ( ?z ) { ( ontology:spacecraft ) ( ontology:ship_type ) } . ?a rdf:type ?z } } } . FILTER ( ?u > ?d ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?u ) ?c WHERE { VALUES ( ?l ) { ( ontology:spacecraft ) ( ontology:ship_type ) } . ?m rdf:type ?l } GROUP BY ?c } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments do atmost 2734 people know to play ?
(c(Q502895),P1303,c(Q34379))
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2734
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?f ) WHERE { ?z property:P1303 ?b . ?b rdf:type ontology:Q34379 . ?z rdf:type ontology:Q502895 } GROUP BY ?b } . FILTER ( ?f <= 2734 ) }
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2734
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?f ) WHERE { ?z property:instrument ?b . ?b rdf:type ontology:musical_instrument . ?z rdf:type ontology:common_name } GROUP BY ?b } . FILTER ( ?f <= 2734 ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
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 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 atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2734
Atmost 2734 people know about [ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?f ) WHERE { ?z property:P1303 ?b . ?b rdf:type ontology:Q34379 . ?z rdf:type ontology:Q502895 } GROUP BY ?b } . FILTER ( ?f <= 2734 ) }
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 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
Atmost 2734 people know about davul, harpsichord and Wurlitzer electric piano
davul harpsichord Wurlitzer electric piano
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2734
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?z ) AS ?f ) WHERE { ?z property:instrument ?b . ?b rdf:type ontology:musical_instrument . ?z rdf:type ontology:common_name } GROUP BY ?b } . FILTER ( ?f <= 2734 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q154269
P166
Q618779
USER
How many awards were awarded to Alexey Leonov ?
(Q154269,P166,c(Q618779))
action count
action filter_type
action find
entity Q154269
relation P166
type Q618779
['Q154269', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { resource:Q154269 property:P166 ?w . ?w rdf:type ontology:Q618779 }
Alexey Leonov
action count
action filter_type
action find
entity Alexey Leonov
relation award received
type award
['Alexey Leonov', 'award received', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { resource:Alexey_Leonov property:award_received ?w . ?w rdf:type ontology:award }
[]
award
SYSTEM
11
Q694401 Q178473 Q18080427 Q18080423 Q18204156 Q431230 Q1517750 Q1601710 Q458911 Q185493 Q695106
(Q154269,P166,c(Q618779))
action count
action filter_type
action find
entity Q154269
relation P166
type Q618779
[ANSWER]
['Q154269', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { resource:Q154269 property:P166 ?w . ?w rdf:type ontology:Q618779 }
Order of Karl Marx Hero of the Soviet Union Order For Services to the Fatherland 3rd class Order For Services to the Fatherland 4th class Order for Service to the Homeland in the Armed Forces of the USSR, 3rd class Order of Merit Medal "For Strengthening of Brotherhood in Arms" Hero of Socialist Labor Order of the Flag of the Republic of Hungary Order of Lenin Order of the Red Star
11
action count
action filter_type
action find
entity Alexey Leonov
relation award received
type award
['Alexey Leonov', 'award received', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?k ) WHERE { resource:Alexey_Leonov property:award_received ?w . ?w rdf:type ontology:award }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q154269
P793
Q9332
USER
What event is that person associated with ?
action filter_type
action find
entity Q154269
relation P793
type Q9332
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q9332 . resource:Q154269 property:P793 ?r }
Alexey Leonov
action filter_type
action find
entity Alexey Leonov
relation significant event
type behavior
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:behavior . resource:Alexey_Leonov property:significant_event ?r }
[]
behavior
Q182020
SYSTEM
extra-vehicular activity
Q182020
action filter_type
action find
entity Q154269
relation P793
type Q9332
That person is associated with [ANSWER]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q9332 . resource:Q154269 property:P793 ?r }
extra-vehicular activity
That person is associated with extra-vehicular activity
extra-vehicular activity
action filter_type
action find
entity Alexey Leonov
relation significant event
type behavior
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:behavior . resource:Alexey_Leonov property:significant_event ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7327
P921
Q838948
USER
Which works of art have Yuri Gagarin as their main topic ?
(c(Q838948),P921,Q7327)
action filter_type
action find_reverse
entity Q7327
relation P921
type Q838948
[{'concept': 'Q838948'}, 'P921', 'Q7327']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q838948 . ?p property:P921 resource:Q7327 }
Yuri Gagarin
action filter_type
action find_reverse
entity Yuri Gagarin
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'Yuri Gagarin']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:work_of_art . ?p property:main_subject resource:Yuri_Gagarin }
[]
work of art
Q4343203 Q4343423 Q21643739
SYSTEM
Monument to Sergei Korolev and Yuri Gagarin, monument to Yuri Gagarin, Monument to Yuri Gagarin
Q4343203 Q4343423 Q21643739
(c(Q838948),P921,Q7327)
action filter_type
action find_reverse
entity Q7327
relation P921
type Q838948
[ANSWERS] have Yuri Gagarin as their main topic
[{'concept': 'Q838948'}, 'P921', 'Q7327']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q838948 . ?p property:P921 resource:Q7327 }
Monument to Sergei Korolev and Yuri Gagarin monument to Yuri Gagarin Monument to Yuri Gagarin
Monument to Sergei Korolev and Yuri Gagarin, monument to Yuri Gagarin and Monument to Yuri Gagarin have Yuri Gagarin as their main topic
Monument to Sergei Korolev and Yuri Gagarin monument to Yuri Gagarin Monument to Yuri Gagarin
action filter_type
action find_reverse
entity Yuri Gagarin
relation main subject
type work of art
[{'concept': 'work of art'}, 'main subject', 'Yuri Gagarin']
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:work_of_art . ?p property:main_subject resource:Yuri_Gagarin }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q4343203 Q4343423 Q21643739
P825
Q502895
USER
What are Monument to Sergei Korolev and Yuri Gagarin, monument to Yuri Gagarin and Monument to Yuri Gagarin dedicated to ?
(Q4343203,P825,c(Q502895)) (Q4343423,P825,c(Q502895)) (Q21643739,P825,c(Q502895))
action union
action filter_type
action find
entity Q4343203
relation P825
type Q502895
action filter_type
action find
entity Q4343423
relation P825
type Q502895
action filter_type
action find
entity Q21643739
relation P825
type Q502895
['Q4343203', 'P825', {'concept': 'Q502895'}] ['Q4343423', 'P825', {'concept': 'Q502895'}] ['Q21643739', 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?v property:P825 ?i . VALUES ( ?v ) { ( resource:Q4343203 ) ( resource:Q4343423 ) } }
Monument to Sergei Korolev and Yuri Gagarin monument to Yuri Gagarin Monument to Yuri Gagarin
action union
action filter_type
action find
entity Monument to Sergei Korolev and Yuri Gagarin
relation dedicated to
type common name
action filter_type
action find
entity monument to Yuri Gagarin
relation dedicated to
type common name
action filter_type
action find
entity Monument to Yuri Gagarin
relation dedicated to
type common name
['Monument to Sergei Korolev and Yuri Gagarin', 'dedicated to', {'concept': 'common name'}] ['monument to Yuri Gagarin', 'dedicated to', {'concept': 'common name'}] ['Monument to Yuri Gagarin', 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?v property:dedicated_to ?i . VALUES ( ?v ) { ( resource:Monument_to_Sergei_Korolev_and_Yuri_Gagarin ) ( resource:monument_to_Yuri_Gagarin ) } }
[]
common name
Q7327 Q7327 Q7327
SYSTEM
Yuri Gagarin
Q170842 Q7327 Q7327 Q7327
(Q4343203,P825,c(Q502895)) (Q4343423,P825,c(Q502895)) (Q21643739,P825,c(Q502895))
action union
action filter_type
action find
entity Q4343203
relation P825
type Q502895
action filter_type
action find
entity Q4343423
relation P825
type Q502895
action filter_type
action find
entity Q21643739
relation P825
type Q502895
[ANSWER], [ANSWER] and [ANSWER] are Monument to Sergei Korolev and [ANSWER], monument to [ANSWER] and Monument to [ANSWER] dedicated to
['Q4343203', 'P825', {'concept': 'Q502895'}] ['Q4343423', 'P825', {'concept': 'Q502895'}] ['Q21643739', 'P825', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?v property:P825 ?i . VALUES ( ?v ) { ( resource:Q4343203 ) ( resource:Q4343423 ) } }
Sergei Koroliov Yuri Gagarin Yuri Gagarin Yuri Gagarin
Yuri Gagarin, Yuri Gagarin and Yuri Gagarin are Monument to Sergei Korolev and Yuri Gagarin, monument to Yuri Gagarin and Monument to Yuri Gagarin dedicated to
Yuri Gagarin Yuri Gagarin Yuri Gagarin
action union
action filter_type
action find
entity Monument to Sergei Korolev and Yuri Gagarin
relation dedicated to
type common name
action filter_type
action find
entity monument to Yuri Gagarin
relation dedicated to
type common name
action filter_type
action find
entity Monument to Yuri Gagarin
relation dedicated to
type common name
['Monument to Sergei Korolev and Yuri Gagarin', 'dedicated to', {'concept': 'common name'}] ['monument to Yuri Gagarin', 'dedicated to', {'concept': 'common name'}] ['Monument to Yuri Gagarin', 'dedicated to', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?v property:dedicated_to ?i . VALUES ( ?v ) { ( resource:Monument_to_Sergei_Korolev_and_Yuri_Gagarin ) ( resource:monument_to_Yuri_Gagarin ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7327
P161
Q838948
USER
What are the name of works of art staring Yuri Gagarin ?
(c(Q838948),P161,Q7327)
action filter_type
action find_reverse
entity Q7327
relation P161
type Q838948
[{'concept': 'Q838948'}, 'P161', 'Q7327']
SELECT DISTINCT ?i WHERE { ?i property:P161 resource:Q7327 . ?i rdf:type ontology:Q838948 }
Yuri Gagarin
action filter_type
action find_reverse
entity Yuri Gagarin
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Yuri Gagarin']
SELECT DISTINCT ?i WHERE { ?i property:cast_member resource:Yuri_Gagarin . ?i rdf:type ontology:work_of_art }
[]
work of art
Q1197185 Q2587051
SYSTEM
The Right Stuff, First Orbit
Q1197185 Q2587051
(c(Q838948),P161,Q7327)
action filter_type
action find_reverse
entity Q7327
relation P161
type Q838948
The name of works of art staring Yuri Gagarin are the [ANSWERS]
[{'concept': 'Q838948'}, 'P161', 'Q7327']
SELECT DISTINCT ?i WHERE { ?i property:P161 resource:Q7327 . ?i rdf:type ontology:Q838948 }
The Right Stuff First Orbit
The name of works of art staring Yuri Gagarin are the The Right Stuff and First Orbit
The Right Stuff First Orbit
action filter_type
action find_reverse
entity Yuri Gagarin
relation cast member
type work of art
[{'concept': 'work of art'}, 'cast member', 'Yuri Gagarin']
SELECT DISTINCT ?i WHERE { ?i property:cast_member resource:Yuri_Gagarin . ?i rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q1197185 Q2587051
P161
Q502895
USER
Who were casted in The Right Stuff and First Orbit ?
(Q1197185,P161,c(Q502895)) (Q2587051,P161,c(Q502895))
action union
action filter_type
action find
entity Q1197185
relation P161
type Q502895
action filter_type
action find
entity Q2587051
relation P161
type Q502895
['Q1197185', 'P161', {'concept': 'Q502895'}] ['Q2587051', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { { resource:Q1197185 property:P161 ?r . ?r rdf:type ontology:Q502895 } UNION { resource:Q2587051 property:P161 ?r . ?r rdf:type ontology:Q502895 } }
The Right Stuff First Orbit
action union
action filter_type
action find
entity The Right Stuff
relation cast member
type common name
action filter_type
action find
entity First Orbit
relation cast member
type common name
['The Right Stuff', 'cast member', {'concept': 'common name'}] ['First Orbit', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { { resource:The_Right_Stuff property:cast_member ?r . ?r rdf:type ontology:common_name } UNION { resource:First_Orbit property:cast_member ?r . ?r rdf:type ontology:common_name } }
[]
common name
Q35314 Q9696 Q104791
SYSTEM
Nikita Khrushchev, John F. Kennedy, Ed Harris
Q106706 Q924039 Q200768 Q180588 Q1344213 Q312077 Q294583 Q7327 Q6152148 Q48093 Q186185 Q35314 Q350714 Q229042 Q9696 Q1701301 Q259474 Q83807 Q104791 Q271763 Q718135 Q152738 Q356986 Q345325 Q9640 Q283872 Q862038 Q1290421 Q2017853 Q236250 Q114179 Q118763 Q1974435 Q1240192 Q170842 Q7327
(Q1197185,P161,c(Q502895)) (Q2587051,P161,c(Q502895))
action union
action filter_type
action find
entity Q1197185
relation P161
type Q502895
action filter_type
action find
entity Q2587051
relation P161
type Q502895
[ANSWERS] were casted in The Right Stuff and First Orbit
['Q1197185', 'P161', {'concept': 'Q502895'}] ['Q2587051', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { { resource:Q1197185 property:P161 ?r . ?r rdf:type ontology:Q502895 } UNION { resource:Q2587051 property:P161 ?r . ?r rdf:type ontology:Q502895 } }
Jeff Goldblum William Russ Dennis Quaid Georgy Malenkov Royal Dano Lance Henriksen Sam Shepard Yuri Gagarin Jane Dornacker Nikolai Bulganin Kliment Voroshilov Nikita Khrushchev Fred Ward Barbara Hershey John F. Kennedy John P. Ryan Kim Stanley Ed Sullivan Ed Harris Pamela Reed Scott Wilson Anastas Mikoyan Levon Helm Harry Shearer Lyndon B. Johnson Veronica Cartwright Bill Dana Mary Jo Deschanel John Dehner Kathy Baker Scott Glenn David Clennon Scott Paulin Donald Moffat Sergei Koroliov Yuri Gagarin
Nikita Khrushchev, John F. Kennedy and Ed Harris were casted in The Right Stuff and First Orbit
Nikita Khrushchev John F. Kennedy Ed Harris
action union
action filter_type
action find
entity The Right Stuff
relation cast member
type common name
action filter_type
action find
entity First Orbit
relation cast member
type common name
['The Right Stuff', 'cast member', {'concept': 'common name'}] ['First Orbit', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { { resource:The_Right_Stuff property:cast_member ?r . ?r rdf:type ontology:common_name } UNION { resource:First_Orbit property:cast_member ?r . ?r rdf:type ontology:common_name } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1197185
P1411
Q4220917
USER
What were that work of art nominated for ?
(Q1197185,P1411,c(Q4220917))
action filter_type
action find
entity Q1197185
relation P1411
type Q4220917
['Q1197185', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?p WHERE { resource:Q1197185 property:P1411 ?p . ?p rdf:type ontology:Q4220917 }
The Right Stuff
action filter_type
action find
entity The Right Stuff
relation nominated for
type film award
['The Right Stuff', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?p WHERE { resource:The_Right_Stuff property:nominated_for ?p . ?p rdf:type ontology:film_award }
[]
film award
Clarification for simple ques.
Q1197185
SYSTEM
Did you mean The Right Stuff ?
Q35314 Q9696 Q104791
(Q35314,P1411,c(Q4220917)) (Q9696,P1411,c(Q4220917)) (Q104791,P1411,c(Q4220917))
[ANSWER]
['Q35314', 'P1411', {'concept': 'Q4220917'}] ['Q9696', 'P1411', {'concept': 'Q4220917'}] ['Q104791', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?p WHERE { resource:Q1197185 property:P1411 ?p . ?p rdf:type ontology:Q4220917 }
Nikita Khrushchev John F. Kennedy Ed Harris
Did you mean The Right Stuff ?
The Right Stuff
['Nikita Khrushchev', 'nominated for', {'concept': 'film award'}] ['John F. Kennedy', 'nominated for', {'concept': 'film award'}] ['Ed Harris', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?p WHERE { resource:The_Right_Stuff property:nominated_for ?p . ?p rdf:type ontology:film_award }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1197185,P1411,c(Q4220917))
['Q1197185', 'P1411', {'concept': 'Q4220917'}]
['The Right Stuff', 'nominated for', {'concept': 'film award'}]
[]
Q102427 Q281939 Q106291
SYSTEM
Academy Award for Best Picture, Academy Award for Best Film Editing, Academy Award for Best Supporting Actor
Q488645 Q102427 Q830079 Q106291 Q277751 Q281939 Q131520 Q488651
(Q1197185,P1411,c(Q4220917))
action filter_type
action find
entity Q1197185
relation P1411
type Q4220917
Nominated for the [ANSWERS]
['Q1197185', 'P1411', {'concept': 'Q4220917'}]
SELECT DISTINCT ?p WHERE { resource:Q1197185 property:P1411 ?p . ?p rdf:type ontology:Q4220917 }
Academy Award for Best Sound Editing Academy Award for Best Picture Academy Award for Best Sound Mixing Academy Award for Best Supporting Actor Academy Award for Best Production Design Academy Award for Best Film Editing Academy Award for Best Cinematography Academy Award for Best Original Score
Nominated for the Academy Award for Best Picture, Academy Award for Best Film Editing and Academy Award for Best Supporting Actor
Academy Award for Best Picture Academy Award for Best Film Editing Academy Award for Best Supporting Actor
action filter_type
action find
entity The Right Stuff
relation nominated for
type film award
['The Right Stuff', 'nominated for', {'concept': 'film award'}]
SELECT DISTINCT ?p WHERE { resource:The_Right_Stuff property:nominated_for ?p . ?p rdf:type ontology:film_award }
[]