Simple Question (Direct)
Simple Question
Q91642
P937
Q56061
USER
Which administrative territory is the work location of Wolfgang Haack ?
(Q91642,P937,c(Q56061))
action filter_type
action find
entity Q91642
relation P937
type Q56061
['Q91642', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q91642 property:P937 ?z . ?z rdf:type ontology:Q56061 }
Wolfgang Haack
action filter_type
action find
entity Wolfgang Haack
relation work location
type administrative territorial entity
['Wolfgang Haack', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Wolfgang_Haack property:work_location ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q91642,P937,c(Q56061))
action filter_type
action find
entity Q91642
relation P937
type Q56061
[ANSWER] is the work location of Wolfgang Haack
['Q91642', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?z WHERE { resource:Q91642 property:P937 ?z . ?z rdf:type ontology:Q56061 }
Berlin
Berlin is the work location of Wolfgang Haack
Berlin
action filter_type
action find
entity Wolfgang Haack
relation work location
type administrative territorial entity
['Wolfgang Haack', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { resource:Wolfgang_Haack property:work_location ?z . ?z rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q91642
P512
Q3412758
USER
Which qualification does that person hold ?
(Q64,P512,c(Q3412758))
action filter_type
action find
entity Q91642
relation P512
type Q3412758
['Q64', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?i WHERE { resource:Q91642 property:P512 ?i . ?i rdf:type ontology:Q3412758 }
Wolfgang Haack
action filter_type
action find
entity Wolfgang Haack
relation academic degree
type qualification
['Berlin', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?i WHERE { resource:Wolfgang_Haack property:academic_degree ?i . ?i rdf:type ontology:qualification }
[]
qualification
Q849697
SYSTEM
doctoral degree
Q849697
(Q64,P512,c(Q3412758))
action filter_type
action find
entity Q91642
relation P512
type Q3412758
That person holds a [ANSWER]
['Q64', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?i WHERE { resource:Q91642 property:P512 ?i . ?i rdf:type ontology:Q3412758 }
doctoral degree
That person holds a doctoral degree
doctoral degree
action filter_type
action find
entity Wolfgang Haack
relation academic degree
type qualification
['Berlin', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?i WHERE { resource:Wolfgang_Haack property:academic_degree ?i . ?i rdf:type ontology:qualification }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1689965 Q64
P27 P1376
Q1048835
USER
Which political territories have Berlin have their center of administration and are Joachim Bechtle-Bechtinger an inhabitant of ?
AND((Q64,P1376,c(Q1048835)), (Q1689965,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q64
relation P1376
action find
entity Q1689965
relation P27
type Q1048835
{'AND': [['Q64', 'P1376', {'concept': 'Q1048835'}], ['Q1689965', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?o WHERE { resource:Q64 property:P1376 ?o . resource:Q1689965 property:P27 ?o . ?o rdf:type ontology:Q1048835 }
Joachim Bechtle-Bechtinger Berlin
action filter_type
action intersection
action find
entity Berlin
relation capital of
action find
entity Joachim Bechtle-Bechtinger
relation country of citizenship
type political territorial entity
{'AND': [['Berlin', 'capital of', {'concept': 'political territorial entity'}], ['Joachim Bechtle-Bechtinger', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?o WHERE { resource:Berlin property:capital_of ?o . resource:Joachim_Bechtle-Bechtinger property:country_of_citizenship ?o . ?o rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
AND((Q64,P1376,c(Q1048835)), (Q1689965,P27,c(Q1048835)))
action filter_type
action intersection
action find
entity Q64
relation P1376
action find
entity Q1689965
relation P27
type Q1048835
[ANSWER] have Berlin have their center of administration and are Joachim Bechtle-Bechtinger an inhabitant of
{'AND': [['Q64', 'P1376', {'concept': 'Q1048835'}], ['Q1689965', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?o WHERE { resource:Q64 property:P1376 ?o . resource:Q1689965 property:P27 ?o . ?o rdf:type ontology:Q1048835 }
Germany
Germany have Berlin have their center of administration and are Joachim Bechtle-Bechtinger an inhabitant of
Germany
action filter_type
action intersection
action find
entity Berlin
relation capital of
action find
entity Joachim Bechtle-Bechtinger
relation country of citizenship
type political territorial entity
{'AND': [['Berlin', 'capital of', {'concept': 'political territorial entity'}], ['Joachim Bechtle-Bechtinger', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?o WHERE { resource:Berlin property:capital_of ?o . resource:Joachim_Bechtle-Bechtinger property:country_of_citizenship ?o . ?o rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q1048835
USER
Which political territories have a diplomatic relationship with approximately 6 political territories ?
(c(Q1048835),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 6
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?x = 6 ) . { SELECT DISTINCT ?f ( COUNT ( ?j ) AS ?x ) WHERE { ?f rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q1048835 . ?f property:P530 ?j } GROUP BY ?f } }
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 6
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?x = 6 ) . { SELECT DISTINCT ?f ( COUNT ( ?j ) AS ?x ) WHERE { ?f rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:political_territorial_entity . ?f property:diplomatic_relation ?j } GROUP BY ?f } }
[]
political territorial entity political territorial entity
Q183 Q16
SYSTEM
Germany, Canada
Q183 Q16
(c(Q1048835),P530,c(Q1048835))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q1048835
value 6
[ANSWERS] have a diplomatic relationship with approximately 6 political territories
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?x = 6 ) . { SELECT DISTINCT ?f ( COUNT ( ?j ) AS ?x ) WHERE { ?f rdf:type ontology:Q1048835 . ?j rdf:type ontology:Q1048835 . ?f property:P530 ?j } GROUP BY ?f } }
Germany Canada
Germany and Canada have a diplomatic relationship with approximately 6 political territories
Germany Canada
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type political territorial entity
value 6
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?f WHERE { FILTER ( ?x = 6 ) . { SELECT DISTINCT ?f ( COUNT ( ?j ) AS ?x ) WHERE { ?f rdf:type ontology:political_territorial_entity . ?j rdf:type ontology:political_territorial_entity . ?f property:diplomatic_relation ?j } GROUP BY ?f } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q684470
P495
Q838948
USER
Do Lucky Number Slevin have those political territories as their place of origin ?
(Q684470,P495,Q183) (Q684470,P495,Q16)
action is_in
entity prev_answer
action find
entity Q684470
relation P495
['Q684470', 'P495', 'Q183'] ['Q684470', 'P495', 'Q16']
ASK WHERE { resource:Q684470 property:P495 ?h . VALUES ( ?h ) { ( resource:Q183 ) ( resource:Q16 ) } }
Lucky Number Slevin
action is_in
entity prev_answer
action find
entity Lucky Number Slevin
relation country of origin
['Lucky Number Slevin', 'country of origin', 'Germany'] ['Lucky Number Slevin', 'country of origin', 'Canada']
ASK WHERE { resource:Lucky_Number_Slevin property:country_of_origin ?h . VALUES ( ?h ) { ( resource:Germany ) ( resource:Canada ) } }
[]
work of art
SYSTEM
YES
(Q684470,P495,Q183) (Q684470,P495,Q16)
action is_in
entity prev_answer
action find
entity Q684470
relation P495
[ANSWER]
['Q684470', 'P495', 'Q183'] ['Q684470', 'P495', 'Q16']
ASK WHERE { resource:Q684470 property:P495 ?h . VALUES ( ?h ) { ( resource:Q183 ) ( resource:Q16 ) } }
Yes
action is_in
entity prev_answer
action find
entity Lucky Number Slevin
relation country of origin
['Lucky Number Slevin', 'country of origin', 'Germany'] ['Lucky Number Slevin', 'country of origin', 'Canada']
ASK WHERE { resource:Lucky_Number_Slevin property:country_of_origin ?h . VALUES ( ?h ) { ( resource:Germany ) ( resource:Canada ) } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q4234064 Q64
P19 P190
Q56061
USER
Which administrative territories are twin towns of Berlin and are the birthplace of Nikolay Koroteyev ?
AND((Q64,P190,c(Q56061)), (Q4234064,P19,c(Q56061)))
action filter_type
action intersection
action find
entity Q64
relation P190
action find
entity Q4234064
relation P19
type Q56061
{'AND': [['Q64', 'P190', {'concept': 'Q56061'}], ['Q4234064', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?f WHERE { resource:Q64 property:P190 ?f . resource:Q4234064 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Nikolay Koroteyev Berlin
action filter_type
action intersection
action find
entity Berlin
relation sister city
action find
entity Nikolay Koroteyev
relation place of birth
type administrative territorial entity
{'AND': [['Berlin', 'sister city', {'concept': 'administrative territorial entity'}], ['Nikolay Koroteyev', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { resource:Berlin property:sister_city ?f . resource:Nikolay_Koroteyev property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q649
SYSTEM
Moscow
Q649
AND((Q64,P190,c(Q56061)), (Q4234064,P19,c(Q56061)))
action filter_type
action intersection
action find
entity Q64
relation P190
action find
entity Q4234064
relation P19
type Q56061
[ANSWER] is twin towns of Berlin and is the birthplace of Nikolay Koroteyev
{'AND': [['Q64', 'P190', {'concept': 'Q56061'}], ['Q4234064', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?f WHERE { resource:Q64 property:P190 ?f . resource:Q4234064 property:P19 ?f . ?f rdf:type ontology:Q56061 }
Moscow
Moscow is twin towns of Berlin and is the birthplace of Nikolay Koroteyev
Moscow
action filter_type
action intersection
action find
entity Berlin
relation sister city
action find
entity Nikolay Koroteyev
relation place of birth
type administrative territorial entity
{'AND': [['Berlin', 'sister city', {'concept': 'administrative territorial entity'}], ['Nikolay Koroteyev', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?f WHERE { resource:Berlin property:sister_city ?f . resource:Nikolay_Koroteyev property:place_of_birth ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q649
P166
Q618779
USER
What was awarded to that administrative territory ?
(Q649,P166,c(Q618779))
action filter_type
action find
entity Q649
relation P166
type Q618779
['Q649', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q649 property:P166 ?s . ?s rdf:type ontology:Q618779 }
Moscow
action filter_type
action find
entity Moscow
relation award received
type award
['Moscow', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Moscow property:award_received ?s . ?s rdf:type ontology:award }
[]
award
Q159438
SYSTEM
Hero City
Q159438
(Q649,P166,c(Q618779))
action filter_type
action find
entity Q649
relation P166
type Q618779
[ANSWER] was awarded to that administrative territory
['Q649', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?s WHERE { resource:Q649 property:P166 ?s . ?s rdf:type ontology:Q618779 }
Hero City
Hero City was awarded to that administrative territory
Hero City
action filter_type
action find
entity Moscow
relation award received
type award
['Moscow', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?s WHERE { resource:Moscow property:award_received ?s . ?s rdf:type ontology:award }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q649
P608
Q80071
USER
Which symbol was exhibited at Moscow ?
(c(Q80071),P608,Q649)
action filter_type
action find_reverse
entity Q649
relation P608
type Q80071
[{'concept': 'Q80071'}, 'P608', 'Q649']
SELECT DISTINCT ?b WHERE { ?b property:P608 resource:Q649 . ?b rdf:type ontology:Q80071 }
Moscow
action filter_type
action find_reverse
entity Moscow
relation exhibition history
type symbol
[{'concept': 'symbol'}, 'exhibition history', 'Moscow']
SELECT DISTINCT ?b WHERE { ?b property:exhibition_history resource:Moscow . ?b rdf:type ontology:symbol }
[]
symbol
Q2635667
SYSTEM
Cross of Saint Euphrosyne
Q2635667
(c(Q80071),P608,Q649)
action filter_type
action find_reverse
entity Q649
relation P608
type Q80071
[ANSWER] was exhibited at Moscow
[{'concept': 'Q80071'}, 'P608', 'Q649']
SELECT DISTINCT ?b WHERE { ?b property:P608 resource:Q649 . ?b rdf:type ontology:Q80071 }
Cross of Saint Euphrosyne
Cross of Saint Euphrosyne was exhibited at Moscow
Cross of Saint Euphrosyne
action filter_type
action find_reverse
entity Moscow
relation exhibition history
type symbol
[{'concept': 'symbol'}, 'exhibition history', 'Moscow']
SELECT DISTINCT ?b WHERE { ?b property:exhibition_history resource:Moscow . ?b rdf:type ontology:symbol }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q649
P1071
Q15416
USER
Which television program has Moscow as its final place of assembly ?
(c(Q15416),P1071,Q649)
action filter_type
action find_reverse
entity Q649
relation P1071
type Q15416
[{'concept': 'Q15416'}, 'P1071', 'Q649']
SELECT DISTINCT ?f WHERE { ?f property:P1071 resource:Q649 . ?f rdf:type ontology:Q15416 }
Moscow
action filter_type
action find_reverse
entity Moscow
relation location of final assembly
type television program
[{'concept': 'television program'}, 'location of final assembly', 'Moscow']
SELECT DISTINCT ?f WHERE { ?f property:location_of_final_assembly resource:Moscow . ?f rdf:type ontology:television_program }
[]
television program
Q5188227
SYSTEM
CrossTalk
Q5188227
(c(Q15416),P1071,Q649)
action filter_type
action find_reverse
entity Q649
relation P1071
type Q15416
[ANSWER] has Moscow as its final place of assembly
[{'concept': 'Q15416'}, 'P1071', 'Q649']
SELECT DISTINCT ?f WHERE { ?f property:P1071 resource:Q649 . ?f rdf:type ontology:Q15416 }
CrossTalk
CrossTalk has Moscow as its final place of assembly
CrossTalk
action filter_type
action find_reverse
entity Moscow
relation location of final assembly
type television program
[{'concept': 'television program'}, 'location of final assembly', 'Moscow']
SELECT DISTINCT ?f WHERE { ?f property:location_of_final_assembly resource:Moscow . ?f rdf:type ontology:television_program }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P194
Q11204
USER
Which legislature is the legislative body for Germany ?
(Q183,P194,c(Q11204))
action filter_type
action find
entity Q183
relation P194
type Q11204
['Q183', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?s WHERE { resource:Q183 property:P194 ?s . ?s rdf:type ontology:Q11204 }
Germany
action filter_type
action find
entity Germany
relation legislative body
type legislature
['Germany', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?s WHERE { resource:Germany property:legislative_body ?s . ?s rdf:type ontology:legislature }
[]
legislature
Q146138
SYSTEM
Bundesrat
Q146138
(Q183,P194,c(Q11204))
action filter_type
action find
entity Q183
relation P194
type Q11204
The [ANSWER] is the legislative body for Germany
['Q183', 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ?s WHERE { resource:Q183 property:P194 ?s . ?s rdf:type ontology:Q11204 }
Bundesrat
The Bundesrat is the legislative body for Germany
Bundesrat
action filter_type
action find
entity Germany
relation legislative body
type legislature
['Germany', 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ?s WHERE { resource:Germany property:legislative_body ?s . ?s rdf:type ontology:legislature }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P35
Q502895
USER
Who are elected as the head of state of Germany ?
(Q183,P35,c(Q502895))
action filter_type
action find
entity Q183
relation P35
type Q502895
['Q183', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . resource:Q183 property:P35 ?l }
Germany
action filter_type
action find
entity Germany
relation head of state
type common name
['Germany', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . resource:Germany property:head_of_state ?l }
[]
common name
Q2567 Q2571 Q2594
SYSTEM
Richard von Weizsäcker, Walter Scheel, Theodor Heuss
Q2569 Q2594 Q2573 Q2563 Q2571 Q2538 Q2551 Q2567 Q2540 Q2582 Q2542
(Q183,P35,c(Q502895))
action filter_type
action find
entity Q183
relation P35
type Q502895
[ANSWERS] are elected as the head of state of Germany
['Q183', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q502895 . resource:Q183 property:P35 ?l }
Karl Carstens Theodor Heuss Gustav Heinemann Roman Herzog Walter Scheel Joachim Gauck Johannes Rau Richard von Weizsäcker Christian Wulff Heinrich Lübke Horst Köhler
Richard von Weizsäcker, Walter Scheel and Theodor Heuss are elected as the head of state of Germany
Richard von Weizsäcker Walter Scheel Theodor Heuss
action filter_type
action find
entity Germany
relation head of state
type common name
['Germany', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:common_name . resource:Germany property:head_of_state ?l }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1056
Q2095 Q11019 Q80071
USER
Which symbols produce approximately 2 foods or machines ?
(c(Q80071),P1056,c(Q2095)|c(Q11019))
action approx
action union
action find_tuple_counts
relation P1056
type Q80071
type Q2095
action find_tuple_counts
relation P1056
type Q80071
type Q11019
value 2
[{'concept': 'Q80071'}, 'P1056', [{'concept': 'Q2095'}, {'concept': 'Q11019'}]]
SELECT DISTINCT ?e WHERE { FILTER ( ?h = 2 ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) ?e WHERE { { ?e property:P1056 ?o . ?e rdf:type ontology:Q80071 . ?o rdf:type ontology:Q2095 } UNION { ?o rdf:type ontology:Q11019 . ?e rdf:type ontology:Q80071 . ?e property:P1056 ?o } } GROUP BY ?e } }
action approx
action union
action find_tuple_counts
relation product
type symbol
type food
action find_tuple_counts
relation product
type symbol
type machine
value 2
[{'concept': 'symbol'}, 'product', [{'concept': 'food'}, {'concept': 'machine'}]]
SELECT DISTINCT ?e WHERE { FILTER ( ?h = 2 ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) ?e WHERE { { ?e property:product ?o . ?e rdf:type ontology:symbol . ?o rdf:type ontology:food } UNION { ?o rdf:type ontology:machine . ?e rdf:type ontology:symbol . ?e property:product ?o } } GROUP BY ?e } }
[]
food machine symbol
Q36008 Q29068
SYSTEM
Mercedes-Benz, Hispano-Suiza
Q36008 Q29068
(c(Q80071),P1056,c(Q2095)|c(Q11019))
action approx
action union
action find_tuple_counts
relation P1056
type Q80071
type Q2095
action find_tuple_counts
relation P1056
type Q80071
type Q11019
value 2
[ANSWERS] produce approximately 2 foods or machines
[{'concept': 'Q80071'}, 'P1056', [{'concept': 'Q2095'}, {'concept': 'Q11019'}]]
SELECT DISTINCT ?e WHERE { FILTER ( ?h = 2 ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) ?e WHERE { { ?e property:P1056 ?o . ?e rdf:type ontology:Q80071 . ?o rdf:type ontology:Q2095 } UNION { ?o rdf:type ontology:Q11019 . ?e rdf:type ontology:Q80071 . ?e property:P1056 ?o } } GROUP BY ?e } }
Mercedes-Benz Hispano-Suiza
Mercedes-Benz and Hispano-Suiza produce approximately 2 foods or machines
Mercedes-Benz Hispano-Suiza
action approx
action union
action find_tuple_counts
relation product
type symbol
type food
action find_tuple_counts
relation product
type symbol
type machine
value 2
[{'concept': 'symbol'}, 'product', [{'concept': 'food'}, {'concept': 'machine'}]]
SELECT DISTINCT ?e WHERE { FILTER ( ?h = 2 ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?h ) ?e WHERE { { ?e property:product ?o . ?e rdf:type ontology:symbol . ?o rdf:type ontology:food } UNION { ?o rdf:type ontology:machine . ?e rdf:type ontology:symbol . ?e property:product ?o } } GROUP BY ?e } }
[]