Simple Question (Direct)
Simple Question
Q4309981
P106
Q12737077
USER
Which occupation is the profession of Ernst Muellenbach ?
(Q4309981,P106,c(Q12737077))
action filter_type
action find
entity Q4309981
relation P106
type Q12737077
['Q4309981', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q4309981 property:P106 ?v }
Ernst Muellenbach
action filter_type
action find
entity Ernst Muellenbach
relation occupation
type occupation
['Ernst Muellenbach', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Ernst_Muellenbach property:occupation ?v }
[]
occupation
Q36180
SYSTEM
writer
Q36180
(Q4309981,P106,c(Q12737077))
action filter_type
action find
entity Q4309981
relation P106
type Q12737077
The [ANSWER] is the profession of Ernst Muellenbach
['Q4309981', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q12737077 . resource:Q4309981 property:P106 ?v }
writer
The writer is the profession of Ernst Muellenbach
writer
action filter_type
action find
entity Ernst Muellenbach
relation occupation
type occupation
['Ernst Muellenbach', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:occupation . resource:Ernst_Muellenbach property:occupation ?v }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4309981
P27
Q1048835
USER
Which political territory is that person a civilian of ?
(Q36180,P27,c(Q1048835))
action filter_type
action find
entity Q4309981
relation P27
type Q1048835
['Q36180', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q4309981 property:P27 ?c . ?c rdf:type ontology:Q1048835 }
Ernst Muellenbach
action filter_type
action find
entity Ernst Muellenbach
relation country of citizenship
type political territorial entity
['writer', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Ernst_Muellenbach property:country_of_citizenship ?c . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q36180,P27,c(Q1048835))
action filter_type
action find
entity Q4309981
relation P27
type Q1048835
[ANSWER] is that person a civilian of
['Q36180', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q4309981 property:P27 ?c . ?c rdf:type ontology:Q1048835 }
Germany
Germany is that person a civilian of
Germany
action filter_type
action find
entity Ernst Muellenbach
relation country of citizenship
type political territorial entity
['writer', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Ernst_Muellenbach property:country_of_citizenship ?c . ?c rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4309981
P19
Q56061
USER
Where was that person born ?
(Q183,P19,c(Q56061))
action filter_type
action find
entity Q4309981
relation P19
type Q56061
['Q183', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q4309981 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Ernst Muellenbach
action filter_type
action find
entity Ernst Muellenbach
relation place of birth
type administrative territorial entity
['Germany', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Ernst_Muellenbach property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q365
SYSTEM
Cologne
Q365
(Q183,P19,c(Q56061))
action filter_type
action find
entity Q4309981
relation P19
type Q56061
That person was born in [ANSWER]
['Q183', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q4309981 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Cologne
That person was born in Cologne
Cologne
action filter_type
action find
entity Ernst Muellenbach
relation place of birth
type administrative territorial entity
['Germany', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Ernst_Muellenbach property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q24027386
P532
Q56061 Q2235308
USER
How many ship types have greater number of administrative territories as their base harbour than William & Mary ?
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027386
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?m ) WHERE { ?l rdf:type ontology:Q2235308 . ?w rdf:type ontology:Q56061 . ?l property:P532 ?w } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { resource:Q24027386 property:P532 ?b . ?b rdf:type ontology:Q2235308 } } . FILTER ( ?m > ?g ) }
William & Mary
action count
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 William & Mary
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?m ) WHERE { ?l rdf:type ontology:ship_type . ?w rdf:type ontology:administrative_territorial_entity . ?l property:port_of_registry ?w } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { resource:William_&_Mary property:port_of_registry ?b . ?b rdf:type ontology:ship_type } } . FILTER ( ?m > ?g ) }
[]
administrative territorial entity ship type
SYSTEM
70
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 count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027386
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?m ) WHERE { ?l rdf:type ontology:Q2235308 . ?w rdf:type ontology:Q56061 . ?l property:P532 ?w } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { resource:Q24027386 property:P532 ?b . ?b rdf:type ontology:Q2235308 } } . FILTER ( ?m > ?g ) }
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
70
action count
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 William & Mary
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?w ) AS ?m ) WHERE { ?l rdf:type ontology:ship_type . ?w rdf:type ontology:administrative_territorial_entity . ?l property:port_of_registry ?w } GROUP BY ?l } . { SELECT DISTINCT ( COUNT ( ?b ) AS ?g ) WHERE { resource:William_&_Mary property:port_of_registry ?b . ?b rdf:type ontology:ship_type } } . FILTER ( ?m > ?g ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q24027490
P532
Q56061 Q2235308
USER
And how about General Picton?
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027490
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?j ) AS ?o ) WHERE { ?s property:P532 ?j . ?s rdf:type ontology:Q2235308 . ?j rdf:type ontology:Q56061 } GROUP BY ?s } . FILTER ( ?o > ?v ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { resource:Q24027490 property:P532 ?y . ?y rdf:type ontology:Q2235308 } } }
General Picton
action count
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 General Picton
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?j ) AS ?o ) WHERE { ?s property:port_of_registry ?j . ?s rdf:type ontology:ship_type . ?j rdf:type ontology:administrative_territorial_entity } GROUP BY ?s } . FILTER ( ?o > ?v ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { resource:General_Picton property:port_of_registry ?y . ?y rdf:type ontology:ship_type } } }
[]
administrative territorial entity ship type
SYSTEM
70
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 count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027490
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?j ) AS ?o ) WHERE { ?s property:P532 ?j . ?s rdf:type ontology:Q2235308 . ?j rdf:type ontology:Q56061 } GROUP BY ?s } . FILTER ( ?o > ?v ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { resource:Q24027490 property:P532 ?y . ?y rdf:type ontology:Q2235308 } } }
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
70
action count
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 General Picton
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?j ) AS ?o ) WHERE { ?s property:port_of_registry ?j . ?s rdf:type ontology:ship_type . ?j rdf:type ontology:administrative_territorial_entity } GROUP BY ?s } . FILTER ( ?o > ?v ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { resource:General_Picton property:port_of_registry ?y . ?y rdf:type ontology:ship_type } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q365
P6
Q502895
USER
Which people are the head of government of Cologne ?
(Q365,P6,c(Q502895))
action filter_type
action find
entity Q365
relation P6
type Q502895
['Q365', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . resource:Q365 property:P6 ?y }
Cologne
action filter_type
action find
entity Cologne
relation head of government
type common name
['Cologne', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . resource:Cologne property:head_of_government ?y }
[]
common name
Q99424 Q19285371 Q2157402
SYSTEM
Norbert Burger, Henriette Reker, Robert Görlinger
Q99424 Q1360182 Q215272 Q19285371 Q2416853 Q54678 Q2157402 Q96758 Q104695
(Q365,P6,c(Q502895))
action filter_type
action find
entity Q365
relation P6
type Q502895
[ANSWERS] are the head of government of Cologne
['Q365', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . resource:Q365 property:P6 ?y }
Norbert Burger Ernst Schwering John van Nes Ziegler Henriette Reker Theo Burauen Jürgen Roters Robert Görlinger Fritz Schramma Harry Blum
Norbert Burger, Henriette Reker and Robert Görlinger are the head of government of Cologne
Norbert Burger Henriette Reker Robert Görlinger
action filter_type
action find
entity Cologne
relation head of government
type common name
['Cologne', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . resource:Cologne property:head_of_government ?y }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q15071722
P6
Q56061
USER
Do Eurong have those people as their administrative leader ?
(Q15071722,P6,Q99424) (Q15071722,P6,Q19285371) (Q15071722,P6,Q2157402)
action is_in
entity prev_answer
action find
entity Q15071722
relation P6
['Q15071722', 'P6', 'Q99424'] ['Q15071722', 'P6', 'Q19285371'] ['Q15071722', 'P6', 'Q2157402']
ASK WHERE { VALUES ( ?i ) { ( resource:Q99424 ) ( resource:Q1360182 ) ( resource:Q215272 ) } . resource:Q15071722 property:P6 ?i }
Eurong
action is_in
entity prev_answer
action find
entity Eurong
relation head of government
['Eurong', 'head of government', 'Norbert Burger'] ['Eurong', 'head of government', 'Henriette Reker'] ['Eurong', 'head of government', 'Robert Görlinger']
ASK WHERE { VALUES ( ?i ) { ( resource:Norbert_Burger ) ( resource:Ernst_Schwering ) ( resource:John_van_Nes_Ziegler ) } . resource:Eurong property:head_of_government ?i }
[]
administrative territorial entity
SYSTEM
NO
(Q15071722,P6,Q99424) (Q15071722,P6,Q19285371) (Q15071722,P6,Q2157402)
action is_in
entity prev_answer
action find
entity Q15071722
relation P6
[ANSWER]
['Q15071722', 'P6', 'Q99424'] ['Q15071722', 'P6', 'Q19285371'] ['Q15071722', 'P6', 'Q2157402']
ASK WHERE { VALUES ( ?i ) { ( resource:Q99424 ) ( resource:Q1360182 ) ( resource:Q215272 ) } . resource:Q15071722 property:P6 ?i }
No
action is_in
entity prev_answer
action find
entity Eurong
relation head of government
['Eurong', 'head of government', 'Norbert Burger'] ['Eurong', 'head of government', 'Henriette Reker'] ['Eurong', 'head of government', 'Robert Görlinger']
ASK WHERE { VALUES ( ?i ) { ( resource:Norbert_Burger ) ( resource:Ernst_Schwering ) ( resource:John_van_Nes_Ziegler ) } . resource:Eurong property:head_of_government ?i }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1603004 Q19285371
P27
Q1048835
USER
Which political territories are the native countriesof Henriette Reker or Hellmuth Klauhs ?
OR((Q19285371,P27,c(Q1048835)), (Q1603004,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q19285371
relation P27
action find
entity Q1603004
relation P27
type Q1048835
{'OR': [['Q19285371', 'P27', {'concept': 'Q1048835'}], ['Q1603004', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q19285371 property:P27 ?p } UNION { resource:Q1603004 property:P27 ?p } } . ?p rdf:type ontology:Q1048835 }
Hellmuth Klauhs Henriette Reker
action filter_type
action union
action find
entity Henriette Reker
relation country of citizenship
action find
entity Hellmuth Klauhs
relation country of citizenship
type political territorial entity
{'OR': [['Henriette Reker', 'country of citizenship', {'concept': 'political territorial entity'}], ['Hellmuth Klauhs', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Henriette_Reker property:country_of_citizenship ?p } UNION { resource:Hellmuth_Klauhs property:country_of_citizenship ?p } } . ?p rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183 Q40
SYSTEM
Germany, Austria
Q183 Q40
OR((Q19285371,P27,c(Q1048835)), (Q1603004,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q19285371
relation P27
action find
entity Q1603004
relation P27
type Q1048835
[ANSWERS] are the native countriesof Henriette Reker or Hellmuth Klauhs
{'OR': [['Q19285371', 'P27', {'concept': 'Q1048835'}], ['Q1603004', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q19285371 property:P27 ?p } UNION { resource:Q1603004 property:P27 ?p } } . ?p rdf:type ontology:Q1048835 }
Germany Austria
Germany and Austria are the native countriesof Henriette Reker or Hellmuth Klauhs
Germany Austria
action filter_type
action union
action find
entity Henriette Reker
relation country of citizenship
action find
entity Hellmuth Klauhs
relation country of citizenship
type political territorial entity
{'OR': [['Henriette Reker', 'country of citizenship', {'concept': 'political territorial entity'}], ['Hellmuth Klauhs', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Henriette_Reker property:country_of_citizenship ?p } UNION { resource:Hellmuth_Klauhs property:country_of_citizenship ?p } } . ?p rdf:type ontology:political_territorial_entity }
[]