Simple Question (Direct)
Simple Question
Q461416
P119
Q1497375
USER
Which item with multiple objects is the tomb of Luisa Casati ?
(Q461416,P119,c(Q1497375))
action filter_type
action find
entity Q461416
relation P119
type Q1497375
['Q461416', 'P119', {'concept': 'Q1497375'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q1497375 . resource:Q461416 property:P119 ?r }
Luisa Casati
action filter_type
action find
entity Luisa Casati
relation place of burial
type item with multiple objects
['Luisa Casati', 'place of burial', {'concept': 'item with multiple objects'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:item_with_multiple_objects . resource:Luisa_Casati property:place_of_burial ?r }
[]
item with multiple objects
Q926913
SYSTEM
Brompton Cemetery
Q926913
(Q461416,P119,c(Q1497375))
action filter_type
action find
entity Q461416
relation P119
type Q1497375
Cemetery [ANSWER] is the tomb of Luisa Casati
['Q461416', 'P119', {'concept': 'Q1497375'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q1497375 . resource:Q461416 property:P119 ?r }
Brompton Cemetery
Cemetery Brompton Cemetery is the tomb of Luisa Casati
Brompton Cemetery
action filter_type
action find
entity Luisa Casati
relation place of burial
type item with multiple objects
['Luisa Casati', 'place of burial', {'concept': 'item with multiple objects'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:item_with_multiple_objects . resource:Luisa_Casati property:place_of_burial ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q461416
P19
Q56061
USER
Which administrative territory is the place of birth of that person ?
(Q926913,P19,c(Q56061))
action filter_type
action find
entity Q461416
relation P19
type Q56061
['Q926913', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . resource:Q461416 property:P19 ?i }
Luisa Casati
action filter_type
action find
entity Luisa Casati
relation place of birth
type administrative territorial entity
['Brompton Cemetery', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . resource:Luisa_Casati property:place_of_birth ?i }
[]
administrative territorial entity
Q490
SYSTEM
Milan
Q490
(Q926913,P19,c(Q56061))
action filter_type
action find
entity Q461416
relation P19
type Q56061
[ANSWER] is the place of birth of that person
['Q926913', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . resource:Q461416 property:P19 ?i }
Milan
Milan is the place of birth of that person
Milan
action filter_type
action find
entity Luisa Casati
relation place of birth
type administrative territorial entity
['Brompton Cemetery', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . resource:Luisa_Casati property:place_of_birth ?i }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q461416
P97
Q4164871
USER
Which position was held by Luisa Casati ?
(Q461416,P97,c(Q4164871))
action filter_type
action find
entity Q461416
relation P97
type Q4164871
['Q461416', 'P97', {'concept': 'Q4164871'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q4164871 . resource:Q461416 property:P97 ?r }
Luisa Casati
action filter_type
action find
entity Luisa Casati
relation noble title
type position
['Luisa Casati', 'noble title', {'concept': 'position'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:position . resource:Luisa_Casati property:noble_title ?r }
[]
position
Q3877594
SYSTEM
Nobile
Q3877594
(Q461416,P97,c(Q4164871))
action filter_type
action find
entity Q461416
relation P97
type Q4164871
[ANSWER] was held by Luisa Casati
['Q461416', 'P97', {'concept': 'Q4164871'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q4164871 . resource:Q461416 property:P97 ?r }
Nobile
Nobile was held by Luisa Casati
Nobile
action filter_type
action find
entity Luisa Casati
relation noble title
type position
['Luisa Casati', 'noble title', {'concept': 'position'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:position . resource:Luisa_Casati property:noble_title ?r }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q62481
Q4164871
USER
And also tell me about William the Younger, Duke of Brunswick-Lüneburg?
(Q62481,P97,c(Q4164871))
action filter_type
action find
entity Q62481
relation P97
type Q4164871
['Q62481', 'P97', {'concept': 'Q4164871'}]
SELECT DISTINCT ?w WHERE { resource:Q62481 property:P97 ?w . ?w rdf:type ontology:Q4164871 }
William the Younger, Duke of Brunswick-Lüneburg
action filter_type
action find
entity William the Younger, Duke of Brunswick-Lüneburg
relation noble title
type position
['William the Younger, Duke of Brunswick-Lüneburg', 'noble title', {'concept': 'position'}]
SELECT DISTINCT ?w WHERE { resource:William_the_Younger,_Duke_of_Brunswick-Lüneburg property:noble_title ?w . ?w rdf:type ontology:position }
[]
position
Q166886
SYSTEM
duke
Q166886
(Q62481,P97,c(Q4164871))
action filter_type
action find
entity Q62481
relation P97
type Q4164871
[ANSWER]
['Q62481', 'P97', {'concept': 'Q4164871'}]
SELECT DISTINCT ?w WHERE { resource:Q62481 property:P97 ?w . ?w rdf:type ontology:Q4164871 }
duke
duke
action filter_type
action find
entity William the Younger, Duke of Brunswick-Lüneburg
relation noble title
type position
['William the Younger, Duke of Brunswick-Lüneburg', 'noble title', {'concept': 'position'}]
SELECT DISTINCT ?w WHERE { resource:William_the_Younger,_Duke_of_Brunswick-Lüneburg property:noble_title ?w . ?w rdf:type ontology:position }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Indirect
P1001
Q852446 Q4164871
USER
Which positions have jurisdiction over more number of US administrative territories than that position ?
(c(Q4164871),P1001,c(Q852446))
action greater
action find_tuple_counts
relation P1001
type Q4164871
type Q852446
action count
action filter_type
action find
entity Q166886
relation P1001
type Q4164871
[{'concept': 'Q4164871'}, 'P1001', {'concept': 'Q852446'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { resource:Q166886 property:P1001 ?w . ?w rdf:type ontology:Q4164871 } } . FILTER ( ?d > ?v ) . { SELECT DISTINCT ?u ( COUNT ( ?x ) AS ?d ) WHERE { ?u property:P1001 ?x . ?u rdf:type ontology:Q4164871 . ?x rdf:type ontology:Q852446 } GROUP BY ?u } }
action greater
action find_tuple_counts
relation applies to jurisdiction
type position
type administrative territorial entity of the United States
action count
action filter_type
action find
entity duke
relation applies to jurisdiction
type position
[{'concept': 'position'}, 'applies to jurisdiction', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { resource:duke property:applies_to_jurisdiction ?w . ?w rdf:type ontology:position } } . FILTER ( ?d > ?v ) . { SELECT DISTINCT ?u ( COUNT ( ?x ) AS ?d ) WHERE { ?u property:applies_to_jurisdiction ?x . ?u rdf:type ontology:position . ?x rdf:type ontology:administrative_territorial_entity_of_the_United_States } GROUP BY ?u } }
[]
administrative territorial entity of the United States position
Q1420322 Q912560 Q1853515
SYSTEM
Lieutenant Governor of Louisiana, Lieutenant Governor of Hawaii, Lieutenant Governor of Arkansas
Q1420322 Q912560 Q1853515
(c(Q4164871),P1001,c(Q852446))
action greater
action find_tuple_counts
relation P1001
type Q4164871
type Q852446
action count
action filter_type
action find
entity Q166886
relation P1001
type Q4164871
[ANSWERS] have jurisdiction over more number of US administrative territories than that position
[{'concept': 'Q4164871'}, 'P1001', {'concept': 'Q852446'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { resource:Q166886 property:P1001 ?w . ?w rdf:type ontology:Q4164871 } } . FILTER ( ?d > ?v ) . { SELECT DISTINCT ?u ( COUNT ( ?x ) AS ?d ) WHERE { ?u property:P1001 ?x . ?u rdf:type ontology:Q4164871 . ?x rdf:type ontology:Q852446 } GROUP BY ?u } }
Lieutenant Governor of Louisiana Lieutenant Governor of Hawaii Lieutenant Governor of Arkansas
Lieutenant Governor of Louisiana, Lieutenant Governor of Hawaii and Lieutenant Governor of Arkansas have jurisdiction over more number of US administrative territories than that position
Lieutenant Governor of Louisiana Lieutenant Governor of Hawaii Lieutenant Governor of Arkansas
action greater
action find_tuple_counts
relation applies to jurisdiction
type position
type administrative territorial entity of the United States
action count
action filter_type
action find
entity duke
relation applies to jurisdiction
type position
[{'concept': 'position'}, 'applies to jurisdiction', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?v ) WHERE { resource:duke property:applies_to_jurisdiction ?w . ?w rdf:type ontology:position } } . FILTER ( ?d > ?v ) . { SELECT DISTINCT ?u ( COUNT ( ?x ) AS ?d ) WHERE { ?u property:applies_to_jurisdiction ?x . ?u rdf:type ontology:position . ?x rdf:type ontology:administrative_territorial_entity_of_the_United_States } GROUP BY ?u } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P840
Q56061 Q166142 Q15416
USER
Which administrative territories are max number of applications or television programs set in ?
(c(Q166142)|c(Q15416),P840,c(Q56061))
action argmax
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q166142
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
[[{'concept': 'Q166142'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?h ) { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?a ) WHERE { { ?u property:P840 ?q . ?q rdf:type ontology:Q56061 . ?u rdf:type ontology:Q166142 } UNION { ?u property:P840 ?q . ?u rdf:type ontology:Q15416 . ?q rdf:type ontology:Q56061 } } GROUP BY ?q } } . { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?v ) WHERE { { ?l property:P840 ?e . ?l rdf:type ontology:Q166142 . ?e rdf:type ontology:Q56061 } UNION { ?e rdf:type ontology:Q56061 . ?l rdf:type ontology:Q15416 . ?l property:P840 ?e } } GROUP BY ?e } . FILTER ( ?v = ?h ) }
action argmax
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type application
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
[[{'concept': 'application'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?h ) { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?a ) WHERE { { ?u property:narrative_location ?q . ?q rdf:type ontology:administrative_territorial_entity . ?u rdf:type ontology:application } UNION { ?u property:narrative_location ?q . ?u rdf:type ontology:television_program . ?q rdf:type ontology:administrative_territorial_entity } } GROUP BY ?q } } . { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?v ) WHERE { { ?l property:narrative_location ?e . ?l rdf:type ontology:application . ?e rdf:type ontology:administrative_territorial_entity } UNION { ?e rdf:type ontology:administrative_territorial_entity . ?l rdf:type ontology:television_program . ?l property:narrative_location ?e } } GROUP BY ?e } . FILTER ( ?v = ?h ) }
[]
administrative territorial entity application television program
Q60
SYSTEM
New York City
Q60
(c(Q166142)|c(Q15416),P840,c(Q56061))
action argmax
action union
action find_reverse_tuple_counts
relation P840
type Q56061
type Q166142
action find_reverse_tuple_counts
relation P840
type Q56061
type Q15416
[ANSWER] is max number of applications or television programs set in
[[{'concept': 'Q166142'}, {'concept': 'Q15416'}], 'P840', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?h ) { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?a ) WHERE { { ?u property:P840 ?q . ?q rdf:type ontology:Q56061 . ?u rdf:type ontology:Q166142 } UNION { ?u property:P840 ?q . ?u rdf:type ontology:Q15416 . ?q rdf:type ontology:Q56061 } } GROUP BY ?q } } . { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?v ) WHERE { { ?l property:P840 ?e . ?l rdf:type ontology:Q166142 . ?e rdf:type ontology:Q56061 } UNION { ?e rdf:type ontology:Q56061 . ?l rdf:type ontology:Q15416 . ?l property:P840 ?e } } GROUP BY ?e } . FILTER ( ?v = ?h ) }
New York City
New York City is max number of applications or television programs set in
New York City
action argmax
action union
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type application
action find_reverse_tuple_counts
relation narrative location
type administrative territorial entity
type television program
[[{'concept': 'application'}, {'concept': 'television program'}], 'narrative location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?a ) AS ?h ) { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?a ) WHERE { { ?u property:narrative_location ?q . ?q rdf:type ontology:administrative_territorial_entity . ?u rdf:type ontology:application } UNION { ?u property:narrative_location ?q . ?u rdf:type ontology:television_program . ?q rdf:type ontology:administrative_territorial_entity } } GROUP BY ?q } } . { SELECT DISTINCT ?e ( COUNT ( ?l ) AS ?v ) WHERE { { ?l property:narrative_location ?e . ?l rdf:type ontology:application . ?e rdf:type ontology:administrative_territorial_entity } UNION { ?e rdf:type ontology:administrative_territorial_entity . ?l rdf:type ontology:television_program . ?l property:narrative_location ?e } } GROUP BY ?e } . FILTER ( ?v = ?h ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q24027357
P532
Q56061 Q2235308
USER
How many ship types have greater number of administrative territories as their registry harbour than Jane Maria ?
(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 Q24027357
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?g ) WHERE { ?o property:P532 ?t . ?o rdf:type ontology:Q2235308 . ?t rdf:type ontology:Q56061 } GROUP BY ?o } . FILTER ( ?g > ?w ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { resource:Q24027357 property:P532 ?s . ?s rdf:type ontology:Q2235308 } } }
Jane Maria
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 Jane Maria
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?g ) WHERE { ?o property:port_of_registry ?t . ?o rdf:type ontology:ship_type . ?t rdf:type ontology:administrative_territorial_entity } GROUP BY ?o } . FILTER ( ?g > ?w ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { resource:Jane_Maria property:port_of_registry ?s . ?s 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 Q24027357
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?g ) WHERE { ?o property:P532 ?t . ?o rdf:type ontology:Q2235308 . ?t rdf:type ontology:Q56061 } GROUP BY ?o } . FILTER ( ?g > ?w ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { resource:Q24027357 property:P532 ?s . ?s 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 Jane Maria
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?d ) WHERE { { SELECT DISTINCT ?o ( COUNT ( ?t ) AS ?g ) WHERE { ?o property:port_of_registry ?t . ?o rdf:type ontology:ship_type . ?t rdf:type ontology:administrative_territorial_entity } GROUP BY ?o } . FILTER ( ?g > ?w ) . { SELECT DISTINCT ( COUNT ( ?s ) AS ?w ) WHERE { resource:Jane_Maria property:port_of_registry ?s . ?s rdf:type ontology:ship_type } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q24027330
P532
Q56061 Q2235308
USER
And how about John Elias?
(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 Q24027330
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?i ) WHERE { ?e property:P532 ?m . ?e rdf:type ontology:Q2235308 . ?m rdf:type ontology:Q56061 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { resource:Q24027330 property:P532 ?r . ?r rdf:type ontology:Q2235308 } } . FILTER ( ?i > ?d ) }
John Elias
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 John Elias
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?i ) WHERE { ?e property:port_of_registry ?m . ?e rdf:type ontology:ship_type . ?m rdf:type ontology:administrative_territorial_entity } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { resource:John_Elias property:port_of_registry ?r . ?r rdf:type ontology:ship_type } } . FILTER ( ?i > ?d ) }
[]
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 Q24027330
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?i ) WHERE { ?e property:P532 ?m . ?e rdf:type ontology:Q2235308 . ?m rdf:type ontology:Q56061 } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { resource:Q24027330 property:P532 ?r . ?r rdf:type ontology:Q2235308 } } . FILTER ( ?i > ?d ) }
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 John Elias
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?m ) AS ?i ) WHERE { ?e property:port_of_registry ?m . ?e rdf:type ontology:ship_type . ?m rdf:type ontology:administrative_territorial_entity } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?d ) WHERE { resource:John_Elias property:port_of_registry ?r . ?r rdf:type ontology:ship_type } } . FILTER ( ?i > ?d ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q926913
P119 P21
Q502895
USER
Which people have Brompton Cemetery as resting place and are a male ?
AND((c(Q502895),P119,Q926913), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q926913
relation P119
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P119', 'Q926913'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?z WHERE { ?z property:P119 resource:Q926913 . ?z property:P21 resource:Q6581097 . ?z rdf:type ontology:Q502895 }
male Brompton Cemetery
action filter_type
action intersection
action find_reverse
entity Brompton Cemetery
relation place of burial
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of burial', 'Brompton Cemetery'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?z WHERE { ?z property:place_of_burial resource:Brompton_Cemetery . ?z property:gender resource:male . ?z rdf:type ontology:common_name }
[]
common name
Q5539780 Q6758034 Q1700096 Q7793135 Q336750 Q6791021 Q6783591 Q336300 Q5311921 Q7343095
SYSTEM
Some of them are George Godwin, Marcus Beresford, Sir John Fowler, 1st Baronet, Thomas Pettigrew, Hercules Robinson, 1st Baron Rosmead, Matthew Noble, Mason Jackson, Frederic Thesiger, 2nd Baron Chelmsford, Dudley McGarel-Hogg, 3rd Baron Magheramorne, Robert Coombes
Q7106286 Q5076878 Q2404813 Q684856 Q7701901 Q2960256 Q5339450 Q5723837 Q18159683 Q6139316 Q8012554 Q5545092 Q5496360 Q895778 Q1064450 Q5075590 Q8012089 Q4821432 Q7114540 Q6221522 Q4143364 Q8019181 Q5497581 Q5540392 Q6285784 Q7343095 Q24088318 Q18159689 Q3525663 Q6287397 Q8012490 Q5482753 Q7108164 Q456273 Q8007071 Q189552 Q8020615 Q376087 Q15971273 Q4722321 Q16599884 Q5727939 Q5719397 Q6274609 Q6783591 Q7527069 Q2865197 Q1930595 Q1380335 Q15971175 Q15967250 Q4677688 Q5498305 Q7287802 Q4772771 Q1395053 Q2628753 Q1700765 Q530676 Q7349175 Q16059371 Q1443635 Q5168101 Q2959562 Q1071975 Q1607441 Q4723014 Q955255 Q3568957 Q2376764 Q4711104 Q4476261 Q7611677 Q4798953 Q4723154 Q1291778 Q1410608 Q7172892 Q466914 Q336750 Q1610303 Q5082648 Q4952367 Q537504 Q17022919 Q5724751 Q5721138 Q5539780 Q4888714 Q3713648 Q1292054 Q8016553 Q7526378 Q7167318 Q7346277 Q18527729 Q5497797 Q8019258 Q2290123 Q1700096 Q1760329 Q6284404 Q3752735 Q8012442 Q3336298 Q336722 Q7595613 Q5344439 Q7350852 Q4723512 Q842116 Q7149535 Q7793135 Q464999 Q3044517 Q4718625 Q8015019 Q6758034 Q5498137 Q6679210 Q435441 Q7788746 Q7790386 Q1403120 Q1346521 Q5344294 Q7582286 Q16000403 Q4101390 Q1607313 Q4819132 Q527330 Q4718217 Q3182779 Q361900 Q6791021 Q16856545 Q5544239 Q3269478 Q888350 Q6264978 Q4392090 Q1668575 Q6255541 Q3030370 Q507301 Q3034202 Q1388348 Q336300 Q6129758 Q955644 Q962447 Q835175 Q16065884 Q7343038 Q4719613 Q1800489 Q2915395 Q17068603 Q5077844 Q7527445 Q8015607 Q7346281 Q6258739 Q6138142 Q7659881 Q1366473 Q17417491 Q4102546 Q7146594 Q3938434 Q16065627 Q18819374 Q16062642 Q5079251 Q639274 Q2602435 Q5076532 Q731407 Q356407 Q16062763 Q5498878 Q4889068 Q8018258 Q6135770 Q13476228 Q5408575 Q6249140 Q5076346 Q7792993 Q5539615 Q5314251 Q5482047 Q1302178 Q4074842 Q6140008 Q16062881 Q78632 Q4723504 Q5498622 Q1351177 Q15503223 Q5079434 Q6235393 Q15458182 Q1871822 Q320565 Q5343473 Q6680026 Q327410 Q16059537 Q177328 Q16031789 Q741053 Q371825 Q537906 Q7240849 Q6130366 Q6208763 Q4800017 Q200666 Q328745 Q4850963 Q8016142 Q4020122 Q18546666 Q7412116 Q332731 Q7329738 Q7412358 Q1294022 Q2143830 Q120215 Q370589 Q7526189 Q4724144 Q5739629 Q2917056 Q1504395 Q3378439 Q955637 Q574222 Q2918579 Q2137717 Q16029974 Q1195422 Q60182 Q450396 Q1405676 Q5311921 Q1381228 Q8015191 Q5055953 Q7599155 Q851345 Q6678929
AND((c(Q502895),P119,Q926913), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q926913
relation P119
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have Brompton Cemetery as resting place and are a male
{'AND': [[{'concept': 'Q502895'}, 'P119', 'Q926913'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?z WHERE { ?z property:P119 resource:Q926913 . ?z property:P21 resource:Q6581097 . ?z rdf:type ontology:Q502895 }
Oscar Veniah Dayton Charles Dillon Theodore Martin Charles Allston Collins Terence Feely Charles Stephen Gore Edmund Faber, 1st Baron Faber Henry James Byron Leslie Brass James McGarel-Hogg, 1st Baron Magheramorne William Houston Stewart George Taubman Goldie Fred Sullivan Richard Collins, Baron Collins Charles Fremantle Charles Bethune William Henry Macleod Read Augustus Glossop Harris Owen Lanyon John Benjamin Macneill Frederick Gore William Tassie Frederick Cornwallis Conybeare George Heming Mason Joseph Netherclift Robert Coombes William Henry Holmes Claude Buckle Thomas Wemyss Reid Joseph Thomas Clover William Hope Francis Wheatley Oswald Sickert Joseph Bonomi the Younger William Conybeare William Crookes William Wylde Samuel Baker Hugh Montgomery Alfred Berkeley Samuel Leigh Sotheby Henry Sambrooke Leigh Henry Chorley Jonathan Titcomb Mason Jackson Sir Havelock Charles, 1st Baronet Lord Arthur Lennox Percy Pilcher William Banting Sir Edward Ward, 1st Baronet, of Wilbraham Place Marriott Cooke Acton Smee Ayrton Frederick Lucas Ralph Lingen, 1st Baron Lingen Anthony Hyman Thomas Chenery Dawson Turner John Lysaght Pennefather Brian Glover Robert Rawlinson Tom Foy Frank Lascelles Coote Synge-Hutchinson Charles Lamb Kenney John Jackson Henry Young Alfred Kirke Ffrench Gus Mears William Siborne Thomas Wright Albert Richard Smith Philip Watts Steuart Bayley Arthur Haliburton, 1st Baron Haliburton Alfred Mellon Edward Bruce Hamley Henry Hugh Clutton Peter Borthwick Henry Wylie Norman Hercules Robinson, 1st Baron Rosmead Herman Merivale Charles Staveley Boyd Merriman, 1st Baron Merriman Charles Blacker Vignoles Thomas Walker Henry Lazarus Henry Farrer George Godwin Benjamin Golding Sir Donald Stewart, 1st Baronet Edward Dicey William Palliser Sir Daniel Cooper, 1st Baronet Percy E. Lambert Robert Keate Dominic Colnaghi Frederick Francis Maude William Terriss Lionel Monckton Sir John Fowler, 1st Baronet Sir William Williams, 1st Baronet, of Kars Joseph John Farmer Frederick Haines William Holmes Nat Langham William Nicholson, 1st Baron Nicholson St Vincent Cotton Edward Merewether Robert Warburton Alfred Thesiger George Ernest Morrison Paul Brooks Thomas Pettigrew John William Godward George Odger Alexander Condie Stephen William Macpherson Marcus Beresford Frederick James Halliday Lord Edward Russell John Stuart Thomas Cundy Thomas Hancock Felicjan Sławoj Składkowski William Edward Ayrton Edward Macarthur Squire Bancroft Farren Soutar Charles Lees Henry Torrens Aubrey J. O'Brien Henry McGee Alexander Anderson John Wisden Roderick Murchison Matthew Noble Edmund Leach George Salting Archibald Low Tomasz Arciszewski John Wright Oakes Richard Redgrave Peter Feuchtwanger John Romilly, 1st Baron Romilly Gustav Wilhelm Wolff Andrew Scott Waugh Valentine Cameron Prinsep John Ramsay McCulloch Frederic Thesiger, 2nd Baron Chelmsford James Bevan Edwards Francis Trevelyan Buckland Samuel Cunard Bernard Levin John Harrison Robert Collier, 1st Baron Monkswell Alexander McKenzie Ross Henry Barkly Kit Lambert James McDonald Charles Frederick Field Sir James Kay-Shuttleworth, 1st Baronet William Michael Rooke Robert Keeley John St George James Loch Sydney Cotton Thomas Moore Walter Montgomery Daniel Weissbort Patrick Grant Robert Story Hugh Talbot Burgoyne Arthur Smith William Nassau Lees Charles Hutton Gregory G. A. Henty Frederic George Stephens Charles Craufurd Fraser Constant Lambert John Snow Hiram Codd Frederick Traill-Burroughs Benjamin Nottingham Webster William Seguier James Hayes Sadler Frederick William Fairholt Eugène Oudin John Monckton Charles Coborn Thomas Palmer Whittaker George Gardiner Duncan Alexander Cameron Francis Nicholson Henry Pettitt Jaques Bagratuni James Morgan John Pearson Richard Tauber Alfred Taylor Dale Frederick Richards Leyland Tim Rose Robert Etheridge Sir Charles James Freake, 1st Baronet Thomas Spencer Wells Bennet Woodcroft Louis T. Leonowens Francis Pettit Smith Edward Hodge Lord William Lennox John Graham Chambers Doyle Money Shaw Brandon Thomas Robert Soutar William Howard Russell Johann Christoph Pepusch Henry Cole Prescott Gardner Hewett James Browne William Thoms Arthur Power Palmer Robert Fortune Harry Thompson Henry Brinley Richards William Nicol William Peyton Joseph Cowell Samuel Martin Frederic Thesiger, 1st Baron Chelmsford Richard Wadeson Samuel Parkes Edward Wadsworth William Conybeare Ernest Thesiger Thomas Crofton Croker Sir Charles Cave, 1st Baronet Algernon Graves Herman Charles Merivale Augustus Harris John Fox Burgoyne Francis Fowke Sir Charles Monro, 1st Baronet Anthony of Sourozh Joseph Barclay Pentland George Borrow Leopold Victor Swaine Samuel Smiles Johannes Zukertort Reginald Alexander John Warneford Ferdinand Pelzer Dudley McGarel-Hogg, 3rd Baron Magheramorne John Montagu William Martin Cafe Cecil Beck Stanisław Julian Ostroróg Thomas Leverton Donaldson Lord Arthur Russell
George Godwin, Marcus Beresford, Sir John Fowler, 1st Baronet, Thomas Pettigrew, Hercules Robinson, 1st Baron Rosmead, Matthew Noble, Mason Jackson, Frederic Thesiger, 2nd Baron Chelmsford, Dudley McGarel-Hogg, 3rd Baron Magheramorne and Robert Coombes have Brompton Cemetery as resting place and are a male
George Godwin Marcus Beresford Sir John Fowler, 1st Baronet Thomas Pettigrew Hercules Robinson, 1st Baron Rosmead Matthew Noble Mason Jackson Frederic Thesiger, 2nd Baron Chelmsford Dudley McGarel-Hogg, 3rd Baron Magheramorne Robert Coombes
action filter_type
action intersection
action find_reverse
entity Brompton Cemetery
relation place of burial
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of burial', 'Brompton Cemetery'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?z WHERE { ?z property:place_of_burial resource:Brompton_Cemetery . ?z property:gender resource:male . ?z rdf:type ontology:common_name }
[]