Simple Question (Direct)
Simple Question
Q65001
P119
Q43229
USER
Which organization is the place of burial of Moritz Heinrich Romberg ?
(Q65001,P119,c(Q43229))
action filter_type
action find
entity Q65001
relation P119
type Q43229
['Q65001', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?l WHERE { resource:Q65001 property:P119 ?l . ?l rdf:type ontology:Q43229 }
Moritz Heinrich Romberg
action filter_type
action find
entity Moritz Heinrich Romberg
relation place of burial
type organization
['Moritz Heinrich Romberg', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?l WHERE { resource:Moritz_Heinrich_Romberg property:place_of_burial ?l . ?l rdf:type ontology:organization }
[]
organization
Q1298781
SYSTEM
Friedrichswerderscher Friedhof
Q1298781
(Q65001,P119,c(Q43229))
action filter_type
action find
entity Q65001
relation P119
type Q43229
[ANSWER] is the place of burial of Moritz Heinrich Romberg
['Q65001', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?l WHERE { resource:Q65001 property:P119 ?l . ?l rdf:type ontology:Q43229 }
Friedrichswerderscher Friedhof
Friedrichswerderscher Friedhof is the place of burial of Moritz Heinrich Romberg
Friedrichswerderscher Friedhof
action filter_type
action find
entity Moritz Heinrich Romberg
relation place of burial
type organization
['Moritz Heinrich Romberg', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?l WHERE { resource:Moritz_Heinrich_Romberg property:place_of_burial ?l . ?l rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q65001
P138
Q2057971
USER
Which health problem is named after Moritz Heinrich Romberg ?
(c(Q2057971),P138,Q65001)
action filter_type
action find_reverse
entity Q65001
relation P138
type Q2057971
[{'concept': 'Q2057971'}, 'P138', 'Q65001']
SELECT DISTINCT ?s WHERE { ?s property:P138 resource:Q65001 . ?s rdf:type ontology:Q2057971 }
Moritz Heinrich Romberg
action filter_type
action find_reverse
entity Moritz Heinrich Romberg
relation named after
type health problem
[{'concept': 'health problem'}, 'named after', 'Moritz Heinrich Romberg']
SELECT DISTINCT ?s WHERE { ?s property:named_after resource:Moritz_Heinrich_Romberg . ?s rdf:type ontology:health_problem }
[]
health problem
Q250365
SYSTEM
facial hemiatrophy
Q250365
(c(Q2057971),P138,Q65001)
action filter_type
action find_reverse
entity Q65001
relation P138
type Q2057971
The [ANSWER] is named after Moritz Heinrich Romberg
[{'concept': 'Q2057971'}, 'P138', 'Q65001']
SELECT DISTINCT ?s WHERE { ?s property:P138 resource:Q65001 . ?s rdf:type ontology:Q2057971 }
facial hemiatrophy
The facial hemiatrophy is named after Moritz Heinrich Romberg
facial hemiatrophy
action filter_type
action find_reverse
entity Moritz Heinrich Romberg
relation named after
type health problem
[{'concept': 'health problem'}, 'named after', 'Moritz Heinrich Romberg']
SELECT DISTINCT ?s WHERE { ?s property:named_after resource:Moritz_Heinrich_Romberg . ?s rdf:type ontology:health_problem }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q65001
P27
Q1048835
USER
Which political territory does that person belong to ?
(Q250365,P27,c(Q1048835))
action filter_type
action find
entity Q65001
relation P27
type Q1048835
['Q250365', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { resource:Q65001 property:P27 ?a . ?a rdf:type ontology:Q1048835 }
Moritz Heinrich Romberg
action filter_type
action find
entity Moritz Heinrich Romberg
relation country of citizenship
type political territorial entity
['facial hemiatrophy', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Moritz_Heinrich_Romberg property:country_of_citizenship ?a . ?a rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q250365,P27,c(Q1048835))
action filter_type
action find
entity Q65001
relation P27
type Q1048835
That person belongs to the [ANSWER]
['Q250365', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { resource:Q65001 property:P27 ?a . ?a rdf:type ontology:Q1048835 }
Germany
That person belongs to the Germany
Germany
action filter_type
action find
entity Moritz Heinrich Romberg
relation country of citizenship
type political territorial entity
['facial hemiatrophy', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Moritz_Heinrich_Romberg property:country_of_citizenship ?a . ?a rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q65001
P108
Q19335303
USER
Who is the employer of that person ?
(Q183,P108,c(Q19335303))
action filter_type
action find
entity Q65001
relation P108
type Q19335303
['Q183', 'P108', {'concept': 'Q19335303'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q19335303 . resource:Q65001 property:P108 ?q }
Moritz Heinrich Romberg
action filter_type
action find
entity Moritz Heinrich Romberg
relation employer
type type of business entity in Germany
['Germany', 'employer', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:type_of_business_entity_in_Germany . resource:Moritz_Heinrich_Romberg property:employer ?q }
[]
type of business entity in Germany
Q152087
SYSTEM
Humboldt University of Berlin
Q152087
(Q183,P108,c(Q19335303))
action filter_type
action find
entity Q65001
relation P108
type Q19335303
The employer of that person is the [ANSWER]
['Q183', 'P108', {'concept': 'Q19335303'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q19335303 . resource:Q65001 property:P108 ?q }
Humboldt University of Berlin
The employer of that person is the Humboldt University of Berlin
Humboldt University of Berlin
action filter_type
action find
entity Moritz Heinrich Romberg
relation employer
type type of business entity in Germany
['Germany', 'employer', {'concept': 'type of business entity in Germany'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:type_of_business_entity_in_Germany . resource:Moritz_Heinrich_Romberg property:employer ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q152087
P17
Q1048835
USER
Which political territory is that German business organization located in ?
(Q152087,P17,c(Q1048835))
action filter_type
action find
entity Q152087
relation P17
type Q1048835
['Q152087', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q1048835 . resource:Q152087 property:P17 ?x }
Humboldt University of Berlin
action filter_type
action find
entity Humboldt University of Berlin
relation country
type political territorial entity
['Humboldt University of Berlin', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:political_territorial_entity . resource:Humboldt_University_of_Berlin property:country ?x }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q152087,P17,c(Q1048835))
action filter_type
action find
entity Q152087
relation P17
type Q1048835
That German business organization is located in [ANSWER]
['Q152087', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q1048835 . resource:Q152087 property:P17 ?x }
Germany
That German business organization is located in Germany
Germany
action filter_type
action find
entity Humboldt University of Berlin
relation country
type political territorial entity
['Humboldt University of Berlin', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:political_territorial_entity . resource:Humboldt_University_of_Berlin property:country ?x }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q36
P530
Q1048835 Q15617994
USER
How many administrative territories have diplomatic associations with greater number of political territories than Poland ?
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q36
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { resource:Q36 property:P530 ?e . ?e rdf:type ontology:Q15617994 } } . FILTER ( ?l > ?u ) . { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?l ) WHERE { ?h rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q1048835 . ?h property:P530 ?q } GROUP BY ?h } }
Poland
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Poland
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { resource:Poland property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l > ?u ) . { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?l ) WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:political_territorial_entity . ?h property:diplomatic_relation ?q } GROUP BY ?h } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
4
Q155 Q38 Q230 Q953
(c(Q15617994),P530,c(Q1048835))
action count
action greater
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_type
action find
entity Q36
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { resource:Q36 property:P530 ?e . ?e rdf:type ontology:Q15617994 } } . FILTER ( ?l > ?u ) . { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?l ) WHERE { ?h rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q1048835 . ?h property:P530 ?q } GROUP BY ?h } }
Brazil Italy Georgia Zambia
4
action count
action greater
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_type
action find
entity Poland
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?u ) WHERE { resource:Poland property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l > ?u ) . { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?l ) WHERE { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:political_territorial_entity . ?h property:diplomatic_relation ?q } GROUP BY ?h } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1029
Q502895 Q40218 Q12973014
USER
Which people were the crew members of max number of spacecrafts or sports teams ?
(c(Q40218)|c(Q12973014),P1029,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q40218
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q12973014
[[{'concept': 'Q40218'}, {'concept': 'Q12973014'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?o ) { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?h ) WHERE { ?s rdf:type ?w . VALUES ( ?w ) { ( ontology:Q40218 ) ( ontology:Q12973014 ) } } GROUP BY ?q } } . FILTER ( ?g = ?o ) . { SELECT DISTINCT ?d ( COUNT ( ?f ) AS ?g ) WHERE { { ?f property:P1029 ?d . ?d rdf:type ontology:Q502895 . ?f rdf:type ontology:Q12973014 } UNION { ?f property:P1029 ?d . ?d rdf:type ontology:Q502895 . ?f rdf:type ontology:Q40218 } } GROUP BY ?d } }
action argmax
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 sports team
[[{'concept': 'spacecraft'}, {'concept': 'sports team'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?o ) { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?h ) WHERE { ?s rdf:type ?w . VALUES ( ?w ) { ( ontology:spacecraft ) ( ontology:sports_team ) } } GROUP BY ?q } } . FILTER ( ?g = ?o ) . { SELECT DISTINCT ?d ( COUNT ( ?f ) AS ?g ) WHERE { { ?f property:crew_member ?d . ?d rdf:type ontology:common_name . ?f rdf:type ontology:sports_team } UNION { ?f property:crew_member ?d . ?d rdf:type ontology:common_name . ?f rdf:type ontology:spacecraft } } GROUP BY ?d } }
[]
common name spacecraft sports team
Q97007 Q461881
SYSTEM
Alexandre Imperatori, Mike Conway
Q97007 Q461881
(c(Q40218)|c(Q12973014),P1029,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q40218
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q12973014
[ANSWERS] were the crew members of max number of spacecrafts or sports teams
[[{'concept': 'Q40218'}, {'concept': 'Q12973014'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?o ) { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?h ) WHERE { ?s rdf:type ?w . VALUES ( ?w ) { ( ontology:Q40218 ) ( ontology:Q12973014 ) } } GROUP BY ?q } } . FILTER ( ?g = ?o ) . { SELECT DISTINCT ?d ( COUNT ( ?f ) AS ?g ) WHERE { { ?f property:P1029 ?d . ?d rdf:type ontology:Q502895 . ?f rdf:type ontology:Q12973014 } UNION { ?f property:P1029 ?d . ?d rdf:type ontology:Q502895 . ?f rdf:type ontology:Q40218 } } GROUP BY ?d } }
Alexandre Imperatori Mike Conway
Alexandre Imperatori and Mike Conway were the crew members of max number of spacecrafts or sports teams
Alexandre Imperatori Mike Conway
action argmax
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 sports team
[[{'concept': 'spacecraft'}, {'concept': 'sports team'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MAX ( ?h ) AS ?o ) { SELECT DISTINCT ?q ( COUNT ( ?s ) AS ?h ) WHERE { ?s rdf:type ?w . VALUES ( ?w ) { ( ontology:spacecraft ) ( ontology:sports_team ) } } GROUP BY ?q } } . FILTER ( ?g = ?o ) . { SELECT DISTINCT ?d ( COUNT ( ?f ) AS ?g ) WHERE { { ?f property:crew_member ?d . ?d rdf:type ontology:common_name . ?f rdf:type ontology:sports_team } UNION { ?f property:crew_member ?d . ?d rdf:type ontology:common_name . ?f rdf:type ontology:spacecraft } } GROUP BY ?d } }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P1029
Q502895 Q40218 Q20027951
USER
Which people were the team members of more number of spacecrafts or aircraft power classes than that person ?
(c(Q40218)|c(Q20027951),P1029,c(Q502895))
[[{'concept': 'Q40218'}, {'concept': 'Q20027951'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?b ) { ( ?z ) ( ?x ) } . ?b property:P1029 ?y } . ?z rdf:type ontology:Q40218 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q20027951 }
[[{'concept': 'spacecraft'}, {'concept': 'aircraft power class'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?b ) { ( ?z ) ( ?x ) } . ?b property:crew_member ?y } . ?z rdf:type ontology:spacecraft . ?y rdf:type ontology:common_name . ?x rdf:type ontology:aircraft_power_class }
[]
common name spacecraft aircraft power class
Comparative|More/Less|Mult. entity type|Clarification
Q97007
SYSTEM
Did you mean Alexandre Imperatori ?
(c(Q40218)|c(Q20027951),P1029,c(Q502895))
[ANSWER]
[[{'concept': 'Q40218'}, {'concept': 'Q20027951'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?b ) { ( ?z ) ( ?x ) } . ?b property:P1029 ?y } . ?z rdf:type ontology:Q40218 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q20027951 }
Did you mean Alexandre Imperatori ?
Alexandre Imperatori
[[{'concept': 'spacecraft'}, {'concept': 'aircraft power class'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { VALUES ( ?b ) { ( ?z ) ( ?x ) } . ?b property:crew_member ?y } . ?z rdf:type ontology:spacecraft . ?y rdf:type ontology:common_name . ?x rdf:type ontology:aircraft_power_class }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q40218)|c(Q20027951),P1029,c(Q502895))
[[{'concept': 'Q40218'}, {'concept': 'Q20027951'}], 'P1029', {'concept': 'Q502895'}]
[[{'concept': 'spacecraft'}, {'concept': 'aircraft power class'}], 'crew member', {'concept': 'common name'}]
[]
Q7327 Q152298 Q154269
SYSTEM
Yuri Gagarin, Gherman Titov, Alexey Leonov
Q470059 Q8070347 Q310924 Q7327 Q363976 Q147581 Q182642 Q159681 Q557082 Q110450 Q461840 Q390344 Q446917 Q44371 Q4103224 Q312833 Q352137 Q536632 Q213076 Q344892 Q152298 Q104865 Q312474 Q320068 Q644837 Q472683 Q235266 Q294555 Q197135 Q335503 Q174979 Q154269 Q507046 Q460440 Q110879 Q157931 Q705626 Q118490
(c(Q40218)|c(Q20027951),P1029,c(Q502895))
[ANSWERS] were the team members of more number of spacecrafts or aircraft power classes than that person
[[{'concept': 'Q40218'}, {'concept': 'Q20027951'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P1029 ?y } UNION { ?x property:P1029 ?y } } . ?z rdf:type ontology:Q40218 . ?y rdf:type ontology:Q502895 . ?x rdf:type ontology:Q20027951 }
Liu Wang Zhang Xiaoguang Alan Bean Yuri Gagarin Jack R. Lousma Yang Liwei John Glenn Valery Bykovsky Liu Boming Wally Schirra Jing Haipeng Edward Gibson Joseph P. Kerwin Valentina Tereshkova Theodore Van Kirk Gordon Cooper Boris Yegorov Paul J. Weitz Pete Conrad Fei Junlong Gherman Titov Vladimir Komarov Andriyan Nikolayev Konstantin Feoktistov Gerald P. Carr Nie Haisheng Liu Yang Paul Tibbets 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 the team members of more number of spacecrafts or aircraft power classes than that person
Yuri Gagarin Gherman Titov Alexey Leonov
[[{'concept': 'spacecraft'}, {'concept': 'aircraft power class'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { { ?z property:crew_member ?y } UNION { ?x property:crew_member ?y } } . ?z rdf:type ontology:spacecraft . ?y rdf:type ontology:common_name . ?x rdf:type ontology:aircraft_power_class }
[]