Simple Question (Direct)
Simple Question
Q1582295
P19
Q1418640
USER
Which local government in Germany is the place of birth of Hans Schiller ?
(Q1582295,P19,c(Q1418640))
action filter_type
action find
entity Q1582295
relation P19
type Q1418640
['Q1582295', 'P19', {'concept': 'Q1418640'}]
SELECT DISTINCT ?c WHERE { resource:Q1582295 property:P19 ?c . ?c rdf:type ontology:Q1418640 }
Hans Schiller
action filter_type
action find
entity Hans Schiller
relation place of birth
type local government in Germany
['Hans Schiller', 'place of birth', {'concept': 'local government in Germany'}]
SELECT DISTINCT ?c WHERE { resource:Hans_Schiller property:place_of_birth ?c . ?c rdf:type ontology:local_government_in_Germany }
[]
local government in Germany
Q6938
SYSTEM
Hof
Q6938
(Q1582295,P19,c(Q1418640))
action filter_type
action find
entity Q1582295
relation P19
type Q1418640
The [ANSWER] is the place of birth of Hans Schiller
['Q1582295', 'P19', {'concept': 'Q1418640'}]
SELECT DISTINCT ?c WHERE { resource:Q1582295 property:P19 ?c . ?c rdf:type ontology:Q1418640 }
Hof
The Hof is the place of birth of Hans Schiller
Hof
action filter_type
action find
entity Hans Schiller
relation place of birth
type local government in Germany
['Hans Schiller', 'place of birth', {'concept': 'local government in Germany'}]
SELECT DISTINCT ?c WHERE { resource:Hans_Schiller property:place_of_birth ?c . ?c rdf:type ontology:local_government_in_Germany }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6938
P190
Q20667921
USER
Which french administrative division is twin city of that local government in Germany ?
(c(Q20667921),P190,Q6938)
action filter_type
action find
entity Q6938
relation P190
type Q20667921
[{'concept': 'Q20667921'}, 'P190', 'Q6938']
SELECT DISTINCT ?z WHERE { resource:Q6938 property:P190 ?z . ?z rdf:type ontology:Q20667921 }
Hof
action filter_type
action find
entity Hof
relation sister city
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'sister city', 'Hof']
SELECT DISTINCT ?z WHERE { resource:Hof property:sister_city ?z . ?z rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q225451
SYSTEM
Villeneuve-la-Garenne
Q225451
(c(Q20667921),P190,Q6938)
action filter_type
action find
entity Q6938
relation P190
type Q20667921
[ANSWER] is twin city of that local government in Germany
[{'concept': 'Q20667921'}, 'P190', 'Q6938']
SELECT DISTINCT ?z WHERE { resource:Q6938 property:P190 ?z . ?z rdf:type ontology:Q20667921 }
Villeneuve-la-Garenne
Villeneuve-la-Garenne is twin city of that local government in Germany
Villeneuve-la-Garenne
action filter_type
action find
entity Hof
relation sister city
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'sister city', 'Hof']
SELECT DISTINCT ?z WHERE { resource:Hof property:sister_city ?z . ?z rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6938
P127
Q483110
USER
Which stadium is under posessision of Hof ?
(c(Q483110),P127,Q6938)
action filter_type
action find_reverse
entity Q6938
relation P127
type Q483110
[{'concept': 'Q483110'}, 'P127', 'Q6938']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q483110 . ?u property:P127 resource:Q6938 }
Hof
action filter_type
action find_reverse
entity Hof
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'Hof']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:stadium . ?u property:owned_by resource:Hof }
[]
stadium
Q2326067
SYSTEM
Stadion Grüne Au
Q2326067
(c(Q483110),P127,Q6938)
action filter_type
action find_reverse
entity Q6938
relation P127
type Q483110
[ANSWER] is under posessision of Hof
[{'concept': 'Q483110'}, 'P127', 'Q6938']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q483110 . ?u property:P127 resource:Q6938 }
Stadion Grüne Au
Stadion Grüne Au is under posessision of Hof
Stadion Grüne Au
action filter_type
action find_reverse
entity Hof
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'Hof']
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:stadium . ?u property:owned_by resource:Hof }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6938
P6
Q502895
USER
Who are the heads of the government of Hof ?
(Q6938,P6,c(Q502895))
action filter_type
action find
entity Q6938
relation P6
type Q502895
['Q6938', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q6938 property:P6 ?v . ?v rdf:type ontology:Q502895 }
Hof
action filter_type
action find
entity Hof
relation head of government
type common name
['Hof', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Hof property:head_of_government ?v . ?v rdf:type ontology:common_name }
[]
common name
Q1546605 Q15430791 Q1221854
SYSTEM
Harald Fichtner, Hans Högn, Dieter Döhla
Q1546605 Q15430791 Q1221854
(Q6938,P6,c(Q502895))
action filter_type
action find
entity Q6938
relation P6
type Q502895
The heads of the government of Hof are [ANSWERS]
['Q6938', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?v WHERE { resource:Q6938 property:P6 ?v . ?v rdf:type ontology:Q502895 }
Harald Fichtner Hans Högn Dieter Döhla
The heads of the government of Hof are Harald Fichtner, Hans Högn and Dieter Döhla
Harald Fichtner Hans Högn Dieter Döhla
action filter_type
action find
entity Hof
relation head of government
type common name
['Hof', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?v WHERE { resource:Hof property:head_of_government ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6938
P931
Q62447
USER
Which aerodrome serves Hof ?
(c(Q62447),P931,Q6938)
action filter_type
action find_reverse
entity Q6938
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q6938']
SELECT DISTINCT ?s WHERE { ?s property:P931 resource:Q6938 . ?s rdf:type ontology:Q62447 }
Hof
action filter_type
action find_reverse
entity Hof
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Hof']
SELECT DISTINCT ?s WHERE { ?s property:place_served_by_airport resource:Hof . ?s rdf:type ontology:aerodrome }
[]
aerodrome
Q565394
SYSTEM
Hof-Plauen Airport
Q565394
(c(Q62447),P931,Q6938)
action filter_type
action find_reverse
entity Q6938
relation P931
type Q62447
Airport [ANSWER] serves Hof
[{'concept': 'Q62447'}, 'P931', 'Q6938']
SELECT DISTINCT ?s WHERE { ?s property:P931 resource:Q6938 . ?s rdf:type ontology:Q62447 }
Hof-Plauen Airport
Airport Hof-Plauen Airport serves Hof
Hof-Plauen Airport
action filter_type
action find_reverse
entity Hof
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Hof']
SELECT DISTINCT ?s WHERE { ?s property:place_served_by_airport resource:Hof . ?s rdf:type ontology:aerodrome }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6938
P47
Q1048835
USER
Which political territory shares border with that local government in Germany ?
(Q565394,P47,c(Q1048835))
action filter_type
action find
entity Q6938
relation P47
type Q1048835
['Q565394', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { resource:Q6938 property:P47 ?j . ?j rdf:type ontology:Q1048835 }
Hof
action filter_type
action find
entity Hof
relation shares border with
type political territorial entity
['Hof-Plauen Airport', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Hof property:shares_border_with ?j . ?j rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q10431
SYSTEM
Hof
Q10431
(Q565394,P47,c(Q1048835))
action filter_type
action find
entity Q6938
relation P47
type Q1048835
[ANSWER] shares border with that local government in Germany
['Q565394', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { resource:Q6938 property:P47 ?j . ?j rdf:type ontology:Q1048835 }
Hof
Hof shares border with that local government in Germany
Hof
action filter_type
action find
entity Hof
relation shares border with
type political territorial entity
['Hof-Plauen Airport', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Hof property:shares_border_with ?j . ?j rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P47
Q1048835
USER
How many political territories share border with that political territory ?
(c(Q1048835),P47,Q10431)
action count
action filter_type
action find_reverse
entity Q10431
relation P47
type Q1048835
[{'concept': 'Q1048835'}, 'P47', 'Q10431']
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:P47 resource:Q10431 . ?u rdf:type ontology:Q1048835 }
action count
action filter_type
action find_reverse
entity Hof
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Hof']
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:shares_border_with resource:Hof . ?u rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
5
Q10434 Q10436 Q10432 Q10439 Q6337
(c(Q1048835),P47,Q10431)
action count
action filter_type
action find_reverse
entity Q10431
relation P47
type Q1048835
[ANSWER]
[{'concept': 'Q1048835'}, 'P47', 'Q10431']
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:P47 resource:Q10431 . ?u rdf:type ontology:Q1048835 }
Kronach Kulmbach Wunsiedel Bayreuth Vogtlandkreis
5
action count
action filter_type
action find_reverse
entity Hof
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'Hof']
SELECT DISTINCT ( COUNT ( ?u ) AS ?q ) WHERE { ?u property:shares_border_with resource:Hof . ?u rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1029
Q502895 Q1656682 Q40218
USER
Which people were the crew members of exactly 1 events or spacecrafts ?
(c(Q1656682)|c(Q40218),P1029,c(Q502895))
action equal
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q1656682
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q40218
value 1
[[{'concept': 'Q1656682'}, {'concept': 'Q40218'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) ?x WHERE { { ?x rdf:type ontology:Q502895 . ?s rdf:type ontology:Q1656682 . ?s property:P1029 ?x } UNION { ?s property:P1029 ?x . ?x rdf:type ontology:Q502895 . ?s rdf:type ontology:Q40218 } } GROUP BY ?x } . FILTER ( ?h = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation crew member
type common name
type event
action find_reverse_tuple_counts
relation crew member
type common name
type spacecraft
value 1
[[{'concept': 'event'}, {'concept': 'spacecraft'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) ?x WHERE { { ?x rdf:type ontology:common_name . ?s rdf:type ontology:event . ?s property:crew_member ?x } UNION { ?s property:crew_member ?x . ?x rdf:type ontology:common_name . ?s rdf:type ontology:spacecraft } } GROUP BY ?x } . FILTER ( ?h = 1 ) }
[]
common name event spacecraft
Q7327 Q152298 Q154269
SYSTEM
Yuri Gagarin, Gherman Titov, Alexey Leonov
Q470059 Q8070347 Q927249 Q310924 Q7327 Q363976 Q147581 Q107667 Q182642 Q349365 Q111240 Q159681 Q557082 Q17519 Q18762 Q4715991 Q110450 Q390344 Q446917 Q44371 Q158486 Q312833 Q19242 Q352137 Q536632 Q213076 Q344892 Q152298 Q104865 Q229674 Q312474 Q320068 Q644837 Q235266 Q197135 Q335503 Q49284 Q316417 Q364476 Q315730 Q25981 Q278656 Q363506 Q154269 Q507046 Q460440 Q110879 Q466075 Q157931 Q317643 Q705626 Q382013 Q118490 Q320047
(c(Q1656682)|c(Q40218),P1029,c(Q502895))
action equal
action union
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q1656682
action find_reverse_tuple_counts
relation P1029
type Q502895
type Q40218
value 1
[ANSWERS] were the crew members of exactly 1 events or spacecrafts
[[{'concept': 'Q1656682'}, {'concept': 'Q40218'}], 'P1029', {'concept': 'Q502895'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) ?x WHERE { { ?x rdf:type ontology:Q502895 . ?s rdf:type ontology:Q1656682 . ?s property:P1029 ?x } UNION { ?s property:P1029 ?x . ?x rdf:type ontology:Q502895 . ?s rdf:type ontology:Q40218 } } GROUP BY ?x } . FILTER ( ?h = 1 ) }
Liu Wang Zhang Xiaoguang Oleg Skripochka Alan Bean Yuri Gagarin Jack R. Lousma Yang Liwei John Young John Glenn Ellison Onizuka Jim Lovell Valery Bykovsky Liu Boming Anousheh Ansari Frank Borman Aleksey Ovchinin Wally Schirra Edward Gibson Joseph P. Kerwin Valentina Tereshkova Eugene Cernan Gordon Cooper Bill Anders Boris Yegorov Paul J. Weitz Pete Conrad Fei Junlong Gherman Titov Vladimir Komarov Christa McAuliffe Andriyan Nikolayev Konstantin Feoktistov Gerald P. Carr Liu Yang Zhai Zhigang Scott Carpenter Judith Resnik Thomas P. Stafford James McDivitt Ronald McNair Michael J. Smith David Scott Rusty Schweickart Alexey Leonov Owen K. Garriott William R. Pogue Gus Grissom Pavel Vinogradov Pavel Belyayev Marcos Pontes Wang Yaping Gregory Jarvis Pavel Popovich Dick Scobee
Yuri Gagarin, Gherman Titov and Alexey Leonov were the crew members of exactly 1 events or spacecrafts
Yuri Gagarin Gherman Titov Alexey Leonov
action equal
action union
action find_reverse_tuple_counts
relation crew member
type common name
type event
action find_reverse_tuple_counts
relation crew member
type common name
type spacecraft
value 1
[[{'concept': 'event'}, {'concept': 'spacecraft'}], 'crew member', {'concept': 'common name'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) ?x WHERE { { ?x rdf:type ontology:common_name . ?s rdf:type ontology:event . ?s property:crew_member ?x } UNION { ?s property:crew_member ?x . ?x rdf:type ontology:common_name . ?s rdf:type ontology:spacecraft } } GROUP BY ?x } . FILTER ( ?h = 1 ) }
[]