Simple Question (Direct)
Simple Question
Q1601001
P21
Q290
USER
Which sex does Ludwig König have ?
(Q1601001,P21,c(Q290))
action filter_type
action find
entity Q1601001
relation P21
type Q290
['Q1601001', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q1601001 property:P21 ?p . ?p rdf:type ontology:Q290 }
Ludwig König
action filter_type
action find
entity Ludwig König
relation gender
type sex
['Ludwig König', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Ludwig_König property:gender ?p . ?p rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q1601001,P21,c(Q290))
action filter_type
action find
entity Q1601001
relation P21
type Q290
Ludwig König has a [ANSWER]
['Q1601001', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?p WHERE { resource:Q1601001 property:P21 ?p . ?p rdf:type ontology:Q290 }
male
Ludwig König has a male
male
action filter_type
action find
entity Ludwig König
relation gender
type sex
['Ludwig König', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?p WHERE { resource:Ludwig_König property:gender ?p . ?p rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1601001
P19
Q56061
USER
Which administrative territory is the birthplace of Ludwig König ?
(Q1601001,P19,c(Q56061))
action filter_type
action find
entity Q1601001
relation P19
type Q56061
['Q1601001', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q1601001 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Ludwig König
action filter_type
action find
entity Ludwig König
relation place of birth
type administrative territorial entity
['Ludwig König', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Ludwig_König property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1726
SYSTEM
Munich
Q1726
(Q1601001,P19,c(Q56061))
action filter_type
action find
entity Q1601001
relation P19
type Q56061
[ANSWER] is the birthplace of Ludwig König
['Q1601001', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q1601001 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Munich
Munich is the birthplace of Ludwig König
Munich
action filter_type
action find
entity Ludwig König
relation place of birth
type administrative territorial entity
['Ludwig König', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Ludwig_König property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q330404
Q56061
USER
And also tell me about Abraham Morewski?
(Q330404,P19,c(Q56061))
action filter_type
action find
entity Q330404
relation P19
type Q56061
['Q330404', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q330404 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Abraham Morewski
action filter_type
action find
entity Abraham Morewski
relation place of birth
type administrative territorial entity
['Abraham Morewski', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Abraham_Morewski property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q216
SYSTEM
Vilnius
Q216
(Q330404,P19,c(Q56061))
action filter_type
action find
entity Q330404
relation P19
type Q56061
[ANSWER]
['Q330404', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q330404 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Vilnius
Vilnius
action filter_type
action find
entity Abraham Morewski
relation place of birth
type administrative territorial entity
['Abraham Morewski', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Abraham_Morewski property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1726 Q262386
P664
Q15275719
USER
How many recurring events did Munich or ORF serve as the organizer for ?
(c(Q15275719),P664,Q1726) (c(Q15275719),P664,Q262386)
action count
action union
action filter_type
action find_reverse
entity Q1726
relation P664
type Q15275719
action filter_type
action find_reverse
entity Q262386
relation P664
type Q15275719
[{'concept': 'Q15275719'}, 'P664', 'Q1726'] [{'concept': 'Q15275719'}, 'P664', 'Q262386']
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { { ?z property:P664 resource:Q1726 . ?z rdf:type ontology:Q15275719 } UNION { ?z property:P664 resource:Q262386 . ?z rdf:type ontology:Q15275719 } }
Munich ORF
action count
action union
action filter_type
action find_reverse
entity Munich
relation organizer
type recurring event
action filter_type
action find_reverse
entity ORF
relation organizer
type recurring event
[{'concept': 'recurring event'}, 'organizer', 'Munich'] [{'concept': 'recurring event'}, 'organizer', 'ORF']
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { { ?z property:organizer resource:Munich . ?z rdf:type ontology:recurring_event } UNION { ?z property:organizer resource:ORF . ?z rdf:type ontology:recurring_event } }
[]
recurring event
SYSTEM
2
Q15215081 Q205192
(c(Q15275719),P664,Q1726) (c(Q15275719),P664,Q262386)
action count
action union
action filter_type
action find_reverse
entity Q1726
relation P664
type Q15275719
action filter_type
action find_reverse
entity Q262386
relation P664
type Q15275719
[ANSWER]
[{'concept': 'Q15275719'}, 'P664', 'Q1726'] [{'concept': 'Q15275719'}, 'P664', 'Q262386']
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { { ?z property:P664 resource:Q1726 . ?z rdf:type ontology:Q15275719 } UNION { ?z property:P664 resource:Q262386 . ?z rdf:type ontology:Q15275719 } }
Eurovision Song Contest 2015 Eurovision Song Contest 1967
2
action count
action union
action filter_type
action find_reverse
entity Munich
relation organizer
type recurring event
action filter_type
action find_reverse
entity ORF
relation organizer
type recurring event
[{'concept': 'recurring event'}, 'organizer', 'Munich'] [{'concept': 'recurring event'}, 'organizer', 'ORF']
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { { ?z property:organizer resource:Munich . ?z rdf:type ontology:recurring_event } UNION { ?z property:organizer resource:ORF . ?z rdf:type ontology:recurring_event } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q24027145
P532
Q56061 Q2235308
USER
How many ship types have greater number of administrative territories as their registry harbour than Mary Jane ?
(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 Q24027145
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?v ) AS ?w ) WHERE { ?a property:P532 ?v . ?a rdf:type ontology:Q2235308 . ?v rdf:type ontology:Q56061 } GROUP BY ?a } . FILTER ( ?w > ?h ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { ?n rdf:type ontology:Q2235308 . resource:Q24027145 property:P532 ?n } } }
Mary Jane
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 Mary Jane
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?v ) AS ?w ) WHERE { ?a property:port_of_registry ?v . ?a rdf:type ontology:ship_type . ?v rdf:type ontology:administrative_territorial_entity } GROUP BY ?a } . FILTER ( ?w > ?h ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { ?n rdf:type ontology:ship_type . resource:Mary_Jane property:port_of_registry ?n } } }
[]
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 Q24027145
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?v ) AS ?w ) WHERE { ?a property:P532 ?v . ?a rdf:type ontology:Q2235308 . ?v rdf:type ontology:Q56061 } GROUP BY ?a } . FILTER ( ?w > ?h ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { ?n rdf:type ontology:Q2235308 . resource:Q24027145 property:P532 ?n } } }
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 Mary Jane
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?v ) AS ?w ) WHERE { ?a property:port_of_registry ?v . ?a rdf:type ontology:ship_type . ?v rdf:type ontology:administrative_territorial_entity } GROUP BY ?a } . FILTER ( ?w > ?h ) . { SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { ?n rdf:type ontology:ship_type . resource:Mary_Jane property:port_of_registry ?n } } }
[]
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 ( ?m ) AS ?x ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?i ) AS ?l ) WHERE { ?m property:P532 ?i . ?m rdf:type ontology:Q2235308 . ?i rdf:type ontology:Q56061 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { resource:Q24027490 property:P532 ?d . ?d rdf:type ontology:Q2235308 } } . FILTER ( ?l > ?s ) }
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 ( ?m ) AS ?x ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?i ) AS ?l ) WHERE { ?m property:port_of_registry ?i . ?m rdf:type ontology:ship_type . ?i rdf:type ontology:administrative_territorial_entity } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { resource:General_Picton property:port_of_registry ?d . ?d rdf:type ontology:ship_type } } . FILTER ( ?l > ?s ) }
[]
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 ( ?m ) AS ?x ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?i ) AS ?l ) WHERE { ?m property:P532 ?i . ?m rdf:type ontology:Q2235308 . ?i rdf:type ontology:Q56061 } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { resource:Q24027490 property:P532 ?d . ?d rdf:type ontology:Q2235308 } } . FILTER ( ?l > ?s ) }
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 ( ?m ) AS ?x ) WHERE { { SELECT DISTINCT ?m ( COUNT ( ?i ) AS ?l ) WHERE { ?m property:port_of_registry ?i . ?m rdf:type ontology:ship_type . ?i rdf:type ontology:administrative_territorial_entity } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { resource:General_Picton property:port_of_registry ?d . ?d rdf:type ontology:ship_type } } . FILTER ( ?l > ?s ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1601001
P20
Q56061
USER
How many administrative territories are the places of death of Ludwig König ?
(Q1601001,P20,c(Q56061))
action count
action filter_type
action find
entity Q1601001
relation P20
type Q56061
['Q1601001', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { resource:Q1601001 property:P20 ?l . ?l rdf:type ontology:Q56061 }
Ludwig König
action count
action filter_type
action find
entity Ludwig König
relation place of death
type administrative territorial entity
['Ludwig König', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { resource:Ludwig_König property:place_of_death ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
SYSTEM
1
Q1726
(Q1601001,P20,c(Q56061))
action count
action filter_type
action find
entity Q1601001
relation P20
type Q56061
[ANSWER]
['Q1601001', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { resource:Q1601001 property:P20 ?l . ?l rdf:type ontology:Q56061 }
Munich
1
action count
action filter_type
action find
entity Ludwig König
relation place of death
type administrative territorial entity
['Ludwig König', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?s ) WHERE { resource:Ludwig_König property:place_of_death ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1601001
P39
Q12737077
USER
Which occupation was a position for which that person was appointed ?
action filter_type
action find
entity Q1601001
relation P39
type Q12737077
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q12737077 . resource:Q1601001 property:P39 ?l }
Ludwig König
action filter_type
action find
entity Ludwig König
relation position held
type occupation
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:occupation . resource:Ludwig_König property:position_held ?l }
[]
occupation
Q18220550
SYSTEM
Member of the Bavarian Senate
Q18220550
action filter_type
action find
entity Q1601001
relation P39
type Q12737077
The [ANSWER] was a position for which that person was appointed
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q12737077 . resource:Q1601001 property:P39 ?l }
Member of the Bavarian Senate
The Member of the Bavarian Senate was a position for which that person was appointed
Member of the Bavarian Senate
action filter_type
action find
entity Ludwig König
relation position held
type occupation
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:occupation . resource:Ludwig_König property:position_held ?l }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q18220550 Q3555619 Q812372
P361
Q11204
USER
Is Member of the Bavarian Senate a portion of Nevada Legislature and Bavarian Senate ?
(Q18220550,P361,Q3555619) (Q18220550,P361,Q812372)
action is_in
entity Q18220550
action intersection
action find_reverse
entity Q3555619
relation P361
action find_reverse
entity Q812372
relation P361
['Q18220550', 'P361', 'Q3555619'] ['Q18220550', 'P361', 'Q812372']
ASK WHERE { resource:Q18220550 property:P361 resource:Q3555619 . resource:Q18220550 property:P361 resource:Q812372 }
Member of the Bavarian Senate Nevada Legislature Bavarian Senate
action is_in
entity Member of the Bavarian Senate
action intersection
action find_reverse
entity Nevada Legislature
relation part of
action find_reverse
entity Bavarian Senate
relation part of
['Member of the Bavarian Senate', 'part of', 'Nevada Legislature'] ['Member of the Bavarian Senate', 'part of', 'Bavarian Senate']
ASK WHERE { resource:Member_of_the_Bavarian_Senate property:part_of resource:Nevada_Legislature . resource:Member_of_the_Bavarian_Senate property:part_of resource:Bavarian_Senate }
[]
legislature
SYSTEM
NO and YES respectively
(Q18220550,P361,Q3555619) (Q18220550,P361,Q812372)
action is_in
entity Q18220550
action intersection
action find_reverse
entity Q3555619
relation P361
action find_reverse
entity Q812372
relation P361
[ANSWER]
['Q18220550', 'P361', 'Q3555619'] ['Q18220550', 'P361', 'Q812372']
ASK WHERE { resource:Q18220550 property:P361 resource:Q3555619 . resource:Q18220550 property:P361 resource:Q812372 }
NO and YES respectively
action is_in
entity Member of the Bavarian Senate
action intersection
action find_reverse
entity Nevada Legislature
relation part of
action find_reverse
entity Bavarian Senate
relation part of
['Member of the Bavarian Senate', 'part of', 'Nevada Legislature'] ['Member of the Bavarian Senate', 'part of', 'Bavarian Senate']
ASK WHERE { resource:Member_of_the_Bavarian_Senate property:part_of resource:Nevada_Legislature . resource:Member_of_the_Bavarian_Senate property:part_of resource:Bavarian_Senate }
[]