Simple Question (Direct)
Simple Question
Q97218
P512
Q3412758
USER
What is the name of the degree held by Henry Potoníe ?
(Q97218,P512,c(Q3412758))
action filter_type
action find
entity Q97218
relation P512
type Q3412758
['Q97218', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?n WHERE { resource:Q97218 property:P512 ?n . ?n rdf:type ontology:Q3412758 }
Henry Potoníe
action filter_type
action find
entity Henry Potoníe
relation academic degree
type qualification
['Henry Potoníe', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?n WHERE { resource:Henry_Potoníe property:academic_degree ?n . ?n rdf:type ontology:qualification }
[]
qualification
Q849697
SYSTEM
doctoral degree
Q849697
(Q97218,P512,c(Q3412758))
action filter_type
action find
entity Q97218
relation P512
type Q3412758
The name of the degree held by Henry is the [ANSWER]
['Q97218', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?n WHERE { resource:Q97218 property:P512 ?n . ?n rdf:type ontology:Q3412758 }
doctoral degree
The name of the degree held by Henry is the doctoral degree
doctoral degree
action filter_type
action find
entity Henry Potoníe
relation academic degree
type qualification
['Henry Potoníe', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?n WHERE { resource:Henry_Potoníe property:academic_degree ?n . ?n rdf:type ontology:qualification }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q97218
P937
Q56061
USER
Which is the work location of that person ?
(Q849697,P937,c(Q56061))
action filter_type
action find
entity Q97218
relation P937
type Q56061
['Q849697', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q56061 . resource:Q97218 property:P937 ?a }
Henry Potoníe
action filter_type
action find
entity Henry Potoníe
relation work location
type administrative territorial entity
['doctoral degree', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:administrative_territorial_entity . resource:Henry_Potoníe property:work_location ?a }
[]
administrative territorial entity
Q64
SYSTEM
Berlin
Q64
(Q849697,P937,c(Q56061))
action filter_type
action find
entity Q97218
relation P937
type Q56061
The work location of that person is in [ANSWER]
['Q849697', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q56061 . resource:Q97218 property:P937 ?a }
Berlin
The work location of that person is in Berlin
Berlin
action filter_type
action find
entity Henry Potoníe
relation work location
type administrative territorial entity
['doctoral degree', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:administrative_territorial_entity . resource:Henry_Potoníe property:work_location ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q64
P47
Q15617994
USER
Which administrative territories share border with that administrative territory ?
(Q64,P47,c(Q15617994))
action filter_type
action find
entity Q64
relation P47
type Q15617994
['Q64', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q64 property:P47 ?c . ?c rdf:type ontology:Q15617994 }
Berlin
action filter_type
action find
entity Berlin
relation shares border with
type designation for an administrative territorial entity
['Berlin', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Berlin property:shares_border_with ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q640426 Q104192
SYSTEM
Stahnsdorf, Kleinmachnow
Q640426 Q104192
(Q64,P47,c(Q15617994))
action filter_type
action find
entity Q64
relation P47
type Q15617994
[ANSWERS] share border with that administrative territory
['Q64', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q64 property:P47 ?c . ?c rdf:type ontology:Q15617994 }
Stahnsdorf Kleinmachnow
Stahnsdorf and Kleinmachnow share border with that administrative territory
Stahnsdorf Kleinmachnow
action filter_type
action find
entity Berlin
relation shares border with
type designation for an administrative territorial entity
['Berlin', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Berlin property:shares_border_with ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q64
Q1048835
USER
And which political territory?
(Q64,P47,c(Q1048835))
action filter_type
action find
entity Q64
relation P47
type Q1048835
['Q64', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q64 property:P47 ?u . ?u rdf:type ontology:Q1048835 }
Berlin
action filter_type
action find
entity Berlin
relation shares border with
type political territorial entity
['Berlin', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Berlin property:shares_border_with ?u . ?u rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q6142 Q6146 Q6139
SYSTEM
Potsdam-Mittelmark, Teltow-Fläming, Havelland
Q6115 Q6139 Q6119 Q6173 Q6181 Q6146 Q6178 Q6142
(Q64,P47,c(Q1048835))
action filter_type
action find
entity Q64
relation P47
type Q1048835
[ANSWERS]
['Q64', 'P47', {'concept': 'Q1048835'}]
SELECT DISTINCT ?u WHERE { resource:Q64 property:P47 ?u . ?u rdf:type ontology:Q1048835 }
Barnim Havelland Oberhavel Dahme-Spreewald Märkisch-Oderland Teltow-Fläming Oder-Spree Potsdam-Mittelmark
Potsdam-Mittelmark Teltow-Fläming Havelland
action filter_type
action find
entity Berlin
relation shares border with
type political territorial entity
['Berlin', 'shares border with', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Berlin property:shares_border_with ?u . ?u rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q3950513 Q64
P19 P190
Q56061
USER
Which administrative territories are twin cities of Berlin and were Konstantin Bondarev born ?
AND((Q64,P190,c(Q56061)), (Q3950513,P19,c(Q56061)))
action filter_type
action intersection
action find
entity Q64
relation P190
action find
entity Q3950513
relation P19
type Q56061
{'AND': [['Q64', 'P190', {'concept': 'Q56061'}], ['Q3950513', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?p WHERE { resource:Q64 property:P190 ?p . resource:Q3950513 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Konstantin Bondarev Berlin
action filter_type
action intersection
action find
entity Berlin
relation sister city
action find
entity Konstantin Bondarev
relation place of birth
type administrative territorial entity
{'AND': [['Berlin', 'sister city', {'concept': 'administrative territorial entity'}], ['Konstantin Bondarev', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { resource:Berlin property:sister_city ?p . resource:Konstantin_Bondarev property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q269
SYSTEM
Tashkent
Q269
AND((Q64,P190,c(Q56061)), (Q3950513,P19,c(Q56061)))
action filter_type
action intersection
action find
entity Q64
relation P190
action find
entity Q3950513
relation P19
type Q56061
[ANSWER] is twin cities of Berlin and were Konstantin Bondarev born
{'AND': [['Q64', 'P190', {'concept': 'Q56061'}], ['Q3950513', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?p WHERE { resource:Q64 property:P190 ?p . resource:Q3950513 property:P19 ?p . ?p rdf:type ontology:Q56061 }
Tashkent
Tashkent is twin cities of Berlin and were Konstantin Bondarev born
Tashkent
action filter_type
action intersection
action find
entity Berlin
relation sister city
action find
entity Konstantin Bondarev
relation place of birth
type administrative territorial entity
{'AND': [['Berlin', 'sister city', {'concept': 'administrative territorial entity'}], ['Konstantin Bondarev', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { resource:Berlin property:sister_city ?p . resource:Konstantin_Bondarev property:place_of_birth ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q24027231
P532
Q56061 Q2235308
USER
Which ship types have more number of administrative territories as their registry harbour than Main ?
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027231
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Q24027231 property:P532 ?y . ?y rdf:type ontology:Q2235308 } } . FILTER ( ?s > ?q ) . { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?s ) WHERE { ?l property:P532 ?t . ?l rdf:type ontology:Q2235308 . ?t rdf:type ontology:Q56061 } GROUP BY ?l } }
Main
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Main
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Main property:port_of_registry ?y . ?y rdf:type ontology:ship_type } } . FILTER ( ?s > ?q ) . { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?s ) WHERE { ?l property:port_of_registry ?t . ?l rdf:type ontology:ship_type . ?t rdf:type ontology:administrative_territorial_entity } GROUP BY ?l } }
[]
administrative territorial entity ship type
Q2596850 Q468026 Q35462
SYSTEM
MS Azura, SS Maxim Gorkiy, RMS Aquitania
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027231
relation P532
type Q2235308
[ANSWERS] have more number of administrative territories as their registry harbour than Main
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Q24027231 property:P532 ?y . ?y rdf:type ontology:Q2235308 } } . FILTER ( ?s > ?q ) . { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?s ) WHERE { ?l property:P532 ?t . ?l rdf:type ontology:Q2235308 . ?t rdf:type ontology:Q56061 } GROUP BY ?l } }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
MS Azura, SS Maxim Gorkiy and RMS Aquitania have more number of administrative territories as their registry harbour than Main
MS Azura SS Maxim Gorkiy RMS Aquitania
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Main
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?q ) WHERE { resource:Main property:port_of_registry ?y . ?y rdf:type ontology:ship_type } } . FILTER ( ?s > ?q ) . { SELECT DISTINCT ?l ( COUNT ( ?t ) AS ?s ) WHERE { ?l property:port_of_registry ?t . ?l rdf:type ontology:ship_type . ?t rdf:type ontology:administrative_territorial_entity } GROUP BY ?l } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q2338794 Q64
P19 P190
Q515
USER
Which cities are the sister cities of Berlin or were Steffen Zeibig born ?
OR((Q64,P190,c(Q515)), (Q2338794,P19,c(Q515)))
action filter_type
action union
action find
entity Q64
relation P190
action find
entity Q2338794
relation P19
type Q515
{'OR': [['Q64', 'P190', {'concept': 'Q515'}], ['Q2338794', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q2338794 property:P19 ?v } UNION { resource:Q64 property:P190 ?v } } . ?v rdf:type ontology:Q515 }
Steffen Zeibig Berlin
action filter_type
action union
action find
entity Berlin
relation sister city
action find
entity Steffen Zeibig
relation place of birth
type city
{'OR': [['Berlin', 'sister city', {'concept': 'city'}], ['Steffen Zeibig', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Steffen_Zeibig property:place_of_birth ?v } UNION { resource:Berlin property:sister_city ?v } } . ?v rdf:type ontology:city }
[]
city
Q3935 Q1486 Q1731 Q9005
SYSTEM
Windhoek, Buenos Aires, Dresden, Brussels
Q3935 Q1486 Q1731 Q9005
OR((Q64,P190,c(Q515)), (Q2338794,P19,c(Q515)))
action filter_type
action union
action find
entity Q64
relation P190
action find
entity Q2338794
relation P19
type Q515
[ANSWERS] are the sister cities of Berlin or were Steffen Zeibig born
{'OR': [['Q64', 'P190', {'concept': 'Q515'}], ['Q2338794', 'P19', {'concept': 'Q515'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q2338794 property:P19 ?v } UNION { resource:Q64 property:P190 ?v } } . ?v rdf:type ontology:Q515 }
Windhoek Buenos Aires Dresden Brussels
Windhoek, Buenos Aires, Dresden and Brussels are the sister cities of Berlin or were Steffen Zeibig born
Windhoek Buenos Aires Dresden Brussels
action filter_type
action union
action find
entity Berlin
relation sister city
action find
entity Steffen Zeibig
relation place of birth
type city
{'OR': [['Berlin', 'sister city', {'concept': 'city'}], ['Steffen Zeibig', 'place of birth', {'concept': 'city'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Steffen_Zeibig property:place_of_birth ?v } UNION { resource:Berlin property:sister_city ?v } } . ?v rdf:type ontology:city }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1486
P194
Q1752346
USER
Which assembly governs Buenos Aires ?
(Q1486,P194,c(Q1752346))
action filter_type
action find
entity Q1486
relation P194
type Q1752346
['Q1486', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?v WHERE { resource:Q1486 property:P194 ?v . ?v rdf:type ontology:Q1752346 }
Buenos Aires
action filter_type
action find
entity Buenos Aires
relation legislative body
type assembly
['Buenos Aires', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?v WHERE { resource:Buenos_Aires property:legislative_body ?v . ?v rdf:type ontology:assembly }
[]
assembly
Q4985519
SYSTEM
Buenos Aires City Legislature
Q4985519
(Q1486,P194,c(Q1752346))
action filter_type
action find
entity Q1486
relation P194
type Q1752346
[ANSWER] governs Buenos Aires
['Q1486', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?v WHERE { resource:Q1486 property:P194 ?v . ?v rdf:type ontology:Q1752346 }
Buenos Aires City Legislature
Buenos Aires City Legislature governs Buenos Aires
Buenos Aires City Legislature
action filter_type
action find
entity Buenos Aires
relation legislative body
type assembly
['Buenos Aires', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?v WHERE { resource:Buenos_Aires property:legislative_body ?v . ?v rdf:type ontology:assembly }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q334
Q1752346
USER
And also tell me about Singapore?
(Q334,P194,c(Q1752346))
action filter_type
action find
entity Q334
relation P194
type Q1752346
['Q334', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?s WHERE { resource:Q334 property:P194 ?s . ?s rdf:type ontology:Q1752346 }
Singapore
action filter_type
action find
entity Singapore
relation legislative body
type assembly
['Singapore', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?s WHERE { resource:Singapore property:legislative_body ?s . ?s rdf:type ontology:assembly }
[]
assembly
Q1517231
SYSTEM
Parliament of Singapore
Q1517231
(Q334,P194,c(Q1752346))
action filter_type
action find
entity Q334
relation P194
type Q1752346
[ANSWER]
['Q334', 'P194', {'concept': 'Q1752346'}]
SELECT DISTINCT ?s WHERE { resource:Q334 property:P194 ?s . ?s rdf:type ontology:Q1752346 }
Parliament of Singapore
Parliament of Singapore
action filter_type
action find
entity Singapore
relation legislative body
type assembly
['Singapore', 'legislative body', {'concept': 'assembly'}]
SELECT DISTINCT ?s WHERE { resource:Singapore property:legislative_body ?s . ?s rdf:type ontology:assembly }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1731
P915
Q15416
USER
Which television program was filmed at Dresden ?
(c(Q15416),P915,Q1731)
action filter_type
action find_reverse
entity Q1731
relation P915
type Q15416
[{'concept': 'Q15416'}, 'P915', 'Q1731']
SELECT DISTINCT ?q WHERE { ?q property:P915 resource:Q1731 . ?q rdf:type ontology:Q15416 }
Dresden
action filter_type
action find_reverse
entity Dresden
relation filming location
type television program
[{'concept': 'television program'}, 'filming location', 'Dresden']
SELECT DISTINCT ?q WHERE { ?q property:filming_location resource:Dresden . ?q rdf:type ontology:television_program }
[]
television program
Q23007392
SYSTEM
Tatort: Auf einen Schlag
Q23007392
(c(Q15416),P915,Q1731)
action filter_type
action find_reverse
entity Q1731
relation P915
type Q15416
[ANSWER] was filmed at Dresden
[{'concept': 'Q15416'}, 'P915', 'Q1731']
SELECT DISTINCT ?q WHERE { ?q property:P915 resource:Q1731 . ?q rdf:type ontology:Q15416 }
Tatort: Auf einen Schlag
Tatort: Auf einen Schlag was filmed at Dresden
Tatort: Auf einen Schlag
action filter_type
action find_reverse
entity Dresden
relation filming location
type television program
[{'concept': 'television program'}, 'filming location', 'Dresden']
SELECT DISTINCT ?q WHERE { ?q property:filming_location resource:Dresden . ?q rdf:type ontology:television_program }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1731
P740
Q43229
USER
Which organizations were formed at Dresden ?
(c(Q43229),P740,Q1731)
action filter_type
action find_reverse
entity Q1731
relation P740
type Q43229
[{'concept': 'Q43229'}, 'P740', 'Q1731']
SELECT DISTINCT ?v WHERE { ?v property:P740 resource:Q1731 . ?v rdf:type ontology:Q43229 }
Dresden
action filter_type
action find_reverse
entity Dresden
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Dresden']
SELECT DISTINCT ?v WHERE { ?v property:location_of_formation resource:Dresden . ?v rdf:type ontology:organization }
[]
organization
Q696808 Q327169 Q537943
SYSTEM
Rotax, STADA Arzneimittel, Nordmende
Q1056315 Q696808 Q563329 Q537943 Q327169
(c(Q43229),P740,Q1731)
action filter_type
action find_reverse
entity Q1731
relation P740
type Q43229
[ANSWERS] were formed at Dresden
[{'concept': 'Q43229'}, 'P740', 'Q1731']
SELECT DISTINCT ?v WHERE { ?v property:P740 resource:Q1731 . ?v rdf:type ontology:Q43229 }
Certo Rotax Pentacon Nordmende STADA Arzneimittel
Rotax, STADA Arzneimittel and Nordmende were formed at Dresden
Rotax STADA Arzneimittel Nordmende
action filter_type
action find_reverse
entity Dresden
relation location of formation
type organization
[{'concept': 'organization'}, 'location of formation', 'Dresden']
SELECT DISTINCT ?v WHERE { ?v property:location_of_formation resource:Dresden . ?v rdf:type ontology:organization }
[]