Simple Question (Direct)
Simple Question
Q12019021
P102
Q7210356
USER
Which party does Hans Jokl belong to ?
(Q12019021,P102,c(Q7210356))
action filter_type
action find
entity Q12019021
relation P102
type Q7210356
['Q12019021', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?o WHERE { resource:Q12019021 property:P102 ?o . ?o rdf:type ontology:Q7210356 }
Hans Jokl
action filter_type
action find
entity Hans Jokl
relation member of political party
type political organization
['Hans Jokl', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?o WHERE { resource:Hans_Jokl property:member_of_political_party ?o . ?o rdf:type ontology:political_organization }
[]
political organization
Q179111
SYSTEM
Social Democratic Party of Austria
Q179111
(Q12019021,P102,c(Q7210356))
action filter_type
action find
entity Q12019021
relation P102
type Q7210356
Hans Jokl belongs to [ANSWER]
['Q12019021', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?o WHERE { resource:Q12019021 property:P102 ?o . ?o rdf:type ontology:Q7210356 }
Social Democratic Party of Austria
Hans Jokl belongs to Social Democratic Party of Austria
Social Democratic Party of Austria
action filter_type
action find
entity Hans Jokl
relation member of political party
type political organization
['Hans Jokl', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?o WHERE { resource:Hans_Jokl property:member_of_political_party ?o . ?o rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12019021
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q179111,P19,c(Q56061))
action filter_type
action find
entity Q12019021
relation P19
type Q56061
['Q179111', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q12019021 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Hans Jokl
action filter_type
action find
entity Hans Jokl
relation place of birth
type administrative territorial entity
['Social Democratic Party of Austria', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Hans_Jokl property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1741
SYSTEM
Vienna
Q1741
(Q179111,P19,c(Q56061))
action filter_type
action find
entity Q12019021
relation P19
type Q56061
That person was born in [ANSWER]
['Q179111', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q12019021 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Vienna
That person was born in Vienna
Vienna
action filter_type
action find
entity Hans Jokl
relation place of birth
type administrative territorial entity
['Social Democratic Party of Austria', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Hans_Jokl property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q664284
P532
Q56061 Q2235308
USER
Which ship types have more number of administrative territories as registry port than Pioneering Spirit ?
(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 Q664284
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?n > ?l ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { resource:Q664284 property:P532 ?p . ?p rdf:type ontology:Q2235308 } } . { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?n ) WHERE { ?k property:P532 ?c . ?k rdf:type ontology:Q2235308 . ?c rdf:type ontology:Q56061 } GROUP BY ?k } }
Pioneering Spirit
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 Pioneering Spirit
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?n > ?l ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { resource:Pioneering_Spirit property:port_of_registry ?p . ?p rdf:type ontology:ship_type } } . { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?n ) WHERE { ?k property:port_of_registry ?c . ?k rdf:type ontology:ship_type . ?c rdf:type ontology:administrative_territorial_entity } GROUP BY ?k } }
[]
administrative territorial entity ship type
Q2596850 Q468026 Q11707059
SYSTEM
MS Azura, SS Maxim Gorkiy, MS Arrow
Q11707059 Q33209 Q1514518 Q2596850 Q468026
(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 Q664284
relation P532
type Q2235308
[ANSWERS] have more number of administrative territories as registry port than Pioneering Spirit
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?n > ?l ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { resource:Q664284 property:P532 ?p . ?p rdf:type ontology:Q2235308 } } . { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?n ) WHERE { ?k property:P532 ?c . ?k rdf:type ontology:Q2235308 . ?c rdf:type ontology:Q56061 } GROUP BY ?k } }
MS Arrow Mary Celeste Sapphire Princess MS Azura SS Maxim Gorkiy
MS Azura, SS Maxim Gorkiy and MS Arrow have more number of administrative territories as registry port than Pioneering Spirit
MS Azura SS Maxim Gorkiy MS Arrow
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 Pioneering Spirit
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { FILTER ( ?n > ?l ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { resource:Pioneering_Spirit property:port_of_registry ?p . ?p rdf:type ontology:ship_type } } . { SELECT DISTINCT ?k ( COUNT ( ?c ) AS ?n ) WHERE { ?k property:port_of_registry ?c . ?k rdf:type ontology:ship_type . ?c rdf:type ontology:administrative_territorial_entity } GROUP BY ?k } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q24027020
P532
Q56061 Q2235308
USER
And how about Margaret Evans?
(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 Q24027020
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?f ) WHERE { ?r rdf:type ontology:Q2235308 . ?n rdf:type ontology:Q56061 . ?r property:P532 ?n } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { resource:Q24027020 property:P532 ?t . ?t rdf:type ontology:Q2235308 } } . FILTER ( ?f > ?m ) }
Margaret Evans
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 Margaret Evans
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?f ) WHERE { ?r rdf:type ontology:ship_type . ?n rdf:type ontology:administrative_territorial_entity . ?r property:port_of_registry ?n } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { resource:Margaret_Evans property:port_of_registry ?t . ?t rdf:type ontology:ship_type } } . FILTER ( ?f > ?m ) }
[]
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 Q24027020
relation P532
type Q2235308
[ANSWERS]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?f ) WHERE { ?r rdf:type ontology:Q2235308 . ?n rdf:type ontology:Q56061 . ?r property:P532 ?n } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { resource:Q24027020 property:P532 ?t . ?t rdf:type ontology:Q2235308 } } . FILTER ( ?f > ?m ) }
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 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 Margaret Evans
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?n ) AS ?f ) WHERE { ?r rdf:type ontology:ship_type . ?n rdf:type ontology:administrative_territorial_entity . ?r property:port_of_registry ?n } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?m ) WHERE { resource:Margaret_Evans property:port_of_registry ?t . ?t rdf:type ontology:ship_type } } . FILTER ( ?f > ?m ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1741 Q1043
P138
Q15324
USER
How many bodies of water are named after Vienna or Carl Linnaeus ?
(c(Q15324),P138,Q1741) (c(Q15324),P138,Q1043)
action count
action union
action filter_type
action find_reverse
entity Q1741
relation P138
type Q15324
action filter_type
action find_reverse
entity Q1043
relation P138
type Q15324
[{'concept': 'Q15324'}, 'P138', 'Q1741'] [{'concept': 'Q15324'}, 'P138', 'Q1043']
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { VALUES ( ?a ) { ( resource:Q1741 ) ( resource:Q1043 ) } . ?l property:P138 ?a }
Vienna Carl Linnaeus
action count
action union
action filter_type
action find_reverse
entity Vienna
relation named after
type body of water
action filter_type
action find_reverse
entity Carl Linnaeus
relation named after
type body of water
[{'concept': 'body of water'}, 'named after', 'Vienna'] [{'concept': 'body of water'}, 'named after', 'Carl Linnaeus']
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { VALUES ( ?a ) { ( resource:Vienna ) ( resource:Carl_Linnaeus ) } . ?l property:named_after ?a }
[]
body of water
SYSTEM
2
Q18572539 Q21855228
(c(Q15324),P138,Q1741) (c(Q15324),P138,Q1043)
action count
action union
action filter_type
action find_reverse
entity Q1741
relation P138
type Q15324
action filter_type
action find_reverse
entity Q1043
relation P138
type Q15324
[ANSWER]
[{'concept': 'Q15324'}, 'P138', 'Q1741'] [{'concept': 'Q15324'}, 'P138', 'Q1043']
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { VALUES ( ?a ) { ( resource:Q1741 ) ( resource:Q1043 ) } . ?l property:P138 ?a }
Linnébreen Linné Glacier
2
action count
action union
action filter_type
action find_reverse
entity Vienna
relation named after
type body of water
action filter_type
action find_reverse
entity Carl Linnaeus
relation named after
type body of water
[{'concept': 'body of water'}, 'named after', 'Vienna'] [{'concept': 'body of water'}, 'named after', 'Carl Linnaeus']
SELECT DISTINCT ( COUNT ( ?l ) AS ?c ) WHERE { VALUES ( ?a ) { ( resource:Vienna ) ( resource:Carl_Linnaeus ) } . ?l property:named_after ?a }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1741
P166
Q618779
USER
Which award was received by that administrative territory ?
action filter_type
action find
entity Q1741
relation P166
type Q618779
SELECT DISTINCT ?z WHERE { resource:Q1741 property:P166 ?z . ?z rdf:type ontology:Q618779 }
Vienna
action filter_type
action find
entity Vienna
relation award received
type award
SELECT DISTINCT ?z WHERE { resource:Vienna property:award_received ?z . ?z rdf:type ontology:award }
[]
award
Q20828891
SYSTEM
European City of the Reformation
Q20828891
action filter_type
action find
entity Q1741
relation P166
type Q618779
[ANSWER] was received by that administrative territory
SELECT DISTINCT ?z WHERE { resource:Q1741 property:P166 ?z . ?z rdf:type ontology:Q618779 }
European City of the Reformation
European City of the Reformation was received by that administrative territory
European City of the Reformation
action filter_type
action find
entity Vienna
relation award received
type award
SELECT DISTINCT ?z WHERE { resource:Vienna property:award_received ?z . ?z rdf:type ontology:award }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1741
P17
Q2221906 Q15617994
USER
How many geographic locations or administrative territories are Vienna present in ?
(Q1741,P17,c(Q2221906)) (Q1741,P17,c(Q15617994))
action count
action union
action filter_type
action find
entity Q1741
relation P17
type Q2221906
action filter_type
action find
entity Q1741
relation P17
type Q15617994
['Q1741', 'P17', {'concept': 'Q2221906'}] ['Q1741', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { { resource:Q1741 property:P17 ?m . ?m rdf:type ontology:Q15617994 } UNION { ?m rdf:type ontology:Q2221906 . resource:Q1741 property:P17 ?m } }
Vienna
action count
action union
action filter_type
action find
entity Vienna
relation country
type geographic location
action filter_type
action find
entity Vienna
relation country
type designation for an administrative territorial entity
['Vienna', 'country', {'concept': 'geographic location'}] ['Vienna', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { { resource:Vienna property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?m rdf:type ontology:geographic_location . resource:Vienna property:country ?m } }
[]
geographic location designation for an administrative territorial entity
SYSTEM
3
Q47261 Q153136 Q3624335
(Q1741,P17,c(Q2221906)) (Q1741,P17,c(Q15617994))
action count
action union
action filter_type
action find
entity Q1741
relation P17
type Q2221906
action filter_type
action find
entity Q1741
relation P17
type Q15617994
[ANSWER]
['Q1741', 'P17', {'concept': 'Q2221906'}] ['Q1741', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { { resource:Q1741 property:P17 ?m . ?m rdf:type ontology:Q15617994 } UNION { ?m rdf:type ontology:Q2221906 . resource:Q1741 property:P17 ?m } }
Duchy of Bavaria Habsburg Empire Duchy of Austria
3
action count
action union
action filter_type
action find
entity Vienna
relation country
type geographic location
action filter_type
action find
entity Vienna
relation country
type designation for an administrative territorial entity
['Vienna', 'country', {'concept': 'geographic location'}] ['Vienna', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { { resource:Vienna property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?m rdf:type ontology:geographic_location . resource:Vienna property:country ?m } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2596850
P289
Q2235308
USER
What is the vessel class of MS Azura ?
(Q2596850,P289,c(Q2235308))
action filter_type
action find
entity Q2596850
relation P289
type Q2235308
['Q2596850', 'P289', {'concept': 'Q2235308'}]
SELECT DISTINCT ?q WHERE { resource:Q2596850 property:P289 ?q . ?q rdf:type ontology:Q2235308 }
MS Azura
action filter_type
action find
entity MS Azura
relation vessel class
type ship type
['MS Azura', 'vessel class', {'concept': 'ship type'}]
SELECT DISTINCT ?q WHERE { resource:MS_Azura property:vessel_class ?q . ?q rdf:type ontology:ship_type }
[]
ship type
Q3114654
SYSTEM
Grand-class cruise ship
Q3114654
(Q2596850,P289,c(Q2235308))
action filter_type
action find
entity Q2596850
relation P289
type Q2235308
The vessel class of MS Azura is a [ANSWER]
['Q2596850', 'P289', {'concept': 'Q2235308'}]
SELECT DISTINCT ?q WHERE { resource:Q2596850 property:P289 ?q . ?q rdf:type ontology:Q2235308 }
Grand-class cruise ship
The vessel class of MS Azura is a Grand-class cruise ship
Grand-class cruise ship
action filter_type
action find
entity MS Azura
relation vessel class
type ship type
['MS Azura', 'vessel class', {'concept': 'ship type'}]
SELECT DISTINCT ?q WHERE { resource:MS_Azura property:vessel_class ?q . ?q rdf:type ontology:ship_type }
[]