Simple Question (Direct)
Simple Question
Q1373674
P19
Q56061
USER
Which administrative territory is the birthplace of Leone Caetani ?
(Q1373674,P19,c(Q56061))
action filter_type
action find
entity Q1373674
relation P19
type Q56061
['Q1373674', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q1373674 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Leone Caetani
action filter_type
action find
entity Leone Caetani
relation place of birth
type administrative territorial entity
['Leone Caetani', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Leone_Caetani property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
(Q1373674,P19,c(Q56061))
action filter_type
action find
entity Q1373674
relation P19
type Q56061
[ANSWER] is the birthplace of Leone Caetani
['Q1373674', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q1373674 property:P19 ?q . ?q rdf:type ontology:Q56061 }
Rome
Rome is the birthplace of Leone Caetani
Rome
action filter_type
action find
entity Leone Caetani
relation place of birth
type administrative territorial entity
['Leone Caetani', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Leone_Caetani property:place_of_birth ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1373674
P1412
Q34770
USER
Which language is spoken by that person ?
(Q220,P1412,c(Q34770))
action filter_type
action find
entity Q1373674
relation P1412
type Q34770
['Q220', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q1373674 property:P1412 ?u . ?u rdf:type ontology:Q34770 }
Leone Caetani
action filter_type
action find
entity Leone Caetani
relation languages spoken, written or signed
type language
['Rome', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:Leone_Caetani property:languages_spoken,_written_or_signed ?u . ?u rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
(Q220,P1412,c(Q34770))
action filter_type
action find
entity Q1373674
relation P1412
type Q34770
By [ANSWER] is spoken by that person
['Q220', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?u WHERE { resource:Q1373674 property:P1412 ?u . ?u rdf:type ontology:Q34770 }
Italian
By Italian is spoken by that person
Italian
action filter_type
action find
entity Leone Caetani
relation languages spoken, written or signed
type language
['Rome', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?u WHERE { resource:Leone_Caetani property:languages_spoken,_written_or_signed ?u . ?u rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q652 Q22338543
P364
Q838948
USER
Is Man Woman Coffee known to be originally created in that one language ?
(Q22338543,P364,Q652)
action is_in
entity Q652
action find
entity Q22338543
relation P364
['Q22338543', 'P364', 'Q652']
ASK WHERE { resource:Q22338543 property:P364 resource:Q652 }
Italian Man Woman Coffee
action is_in
entity Italian
action find
entity Man Woman Coffee
relation original language of work
['Man Woman Coffee', 'original language of work', 'Italian']
ASK WHERE { resource:Man_Woman_Coffee property:original_language_of_work resource:Italian }
[]
work of art
SYSTEM
YES
(Q22338543,P364,Q652)
action is_in
entity Q652
action find
entity Q22338543
relation P364
[ANSWER]
['Q22338543', 'P364', 'Q652']
ASK WHERE { resource:Q22338543 property:P364 resource:Q652 }
Yes
action is_in
entity Italian
action find
entity Man Woman Coffee
relation original language of work
['Man Woman Coffee', 'original language of work', 'Italian']
ASK WHERE { resource:Man_Woman_Coffee property:original_language_of_work resource:Italian }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q1373674 Q24639
P20
Q56061
USER
Did the demise of Leone Caetani occur Vancouver ?
(Q1373674,P20,Q24639)
action is_in
entity Q24639
action find
entity Q1373674
relation P20
['Q1373674', 'P20', 'Q24639']
ASK WHERE { resource:Q1373674 property:P20 resource:Q24639 }
Leone Caetani Vancouver
action is_in
entity Vancouver
action find
entity Leone Caetani
relation place of death
['Leone Caetani', 'place of death', 'Vancouver']
ASK WHERE { resource:Leone_Caetani property:place_of_death resource:Vancouver }
[]
administrative territorial entity
SYSTEM
YES
(Q1373674,P20,Q24639)
action is_in
entity Q24639
action find
entity Q1373674
relation P20
[ANSWER]
['Q1373674', 'P20', 'Q24639']
ASK WHERE { resource:Q1373674 property:P20 resource:Q24639 }
Yes
action is_in
entity Vancouver
action find
entity Leone Caetani
relation place of death
['Leone Caetani', 'place of death', 'Vancouver']
ASK WHERE { resource:Leone_Caetani property:place_of_death resource:Vancouver }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1373674
P106
Q12737077
USER
Which occupations have Leone Caetani as his/her 's career ?
(Q1373674,P106,c(Q12737077))
action filter_type
action find
entity Q1373674
relation P106
type Q12737077
['Q1373674', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q1373674 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Leone Caetani
action filter_type
action find
entity Leone Caetani
relation occupation
type occupation
['Leone Caetani', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Leone_Caetani property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q201788 Q3155377
SYSTEM
historian, Islamic studies scholar
Q201788 Q3155377
(Q1373674,P106,c(Q12737077))
action filter_type
action find
entity Q1373674
relation P106
type Q12737077
[ANSWERS] have Leone Caetani as his/her 's career
['Q1373674', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q1373674 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
historian Islamic studies scholar
Historian and Islamic studies scholar have Leone Caetani as his/her 's career
historian Islamic studies scholar
action filter_type
action find
entity Leone Caetani
relation occupation
type occupation
['Leone Caetani', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Leone_Caetani property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2871302 Q1373674
P20
Q56061
USER
Which administrative territories did Leone Caetani or Auguste Théophile Léger expire ?
OR((Q1373674,P20,c(Q56061)), (Q2871302,P20,c(Q56061)))
action filter_type
action union
action find
entity Q1373674
relation P20
action find
entity Q2871302
relation P20
type Q56061
{'OR': [['Q1373674', 'P20', {'concept': 'Q56061'}], ['Q2871302', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q1373674 property:P20 ?v } UNION { resource:Q2871302 property:P20 ?v } } . ?v rdf:type ontology:Q56061 }
Auguste Théophile Léger Leone Caetani
action filter_type
action union
action find
entity Leone Caetani
relation place of death
action find
entity Auguste Théophile Léger
relation place of death
type administrative territorial entity
{'OR': [['Leone Caetani', 'place of death', {'concept': 'administrative territorial entity'}], ['Auguste Théophile Léger', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Leone_Caetani property:place_of_death ?v } UNION { resource:Auguste_Théophile_Léger property:place_of_death ?v } } . ?v rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q24639 Q1030568
SYSTEM
Vancouver, Campbellton
Q24639 Q1030568
OR((Q1373674,P20,c(Q56061)), (Q2871302,P20,c(Q56061)))
action filter_type
action union
action find
entity Q1373674
relation P20
action find
entity Q2871302
relation P20
type Q56061
[ANSWERS] did Leone Caetani or Auguste Théophile Léger expire
{'OR': [['Q1373674', 'P20', {'concept': 'Q56061'}], ['Q2871302', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q1373674 property:P20 ?v } UNION { resource:Q2871302 property:P20 ?v } } . ?v rdf:type ontology:Q56061 }
Vancouver Campbellton
Vancouver and Campbellton did Leone Caetani or Auguste Théophile Léger expire
Vancouver Campbellton
action filter_type
action union
action find
entity Leone Caetani
relation place of death
action find
entity Auguste Théophile Léger
relation place of death
type administrative territorial entity
{'OR': [['Leone Caetani', 'place of death', {'concept': 'administrative territorial entity'}], ['Auguste Théophile Léger', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Leone_Caetani property:place_of_death ?v } UNION { resource:Auguste_Théophile_Léger property:place_of_death ?v } } . ?v rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q24027208
P532
Q56061 Q2235308
USER
Which ship types have more number of administrative territories as their registry harbour than Heather Bell ?
(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 Q24027208
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?z ) AS ?s ) WHERE { ?r property:P532 ?z . ?r rdf:type ontology:Q2235308 . ?z rdf:type ontology:Q56061 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { resource:Q24027208 property:P532 ?u . ?u rdf:type ontology:Q2235308 } } . FILTER ( ?s > ?x ) }
Heather Bell
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 Heather Bell
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 ( ?z ) AS ?s ) WHERE { ?r property:port_of_registry ?z . ?r rdf:type ontology:ship_type . ?z rdf:type ontology:administrative_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { resource:Heather_Bell property:port_of_registry ?u . ?u rdf:type ontology:ship_type } } . FILTER ( ?s > ?x ) }
[]
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 Q24027208
relation P532
type Q2235308
[ANSWERS] have more number of administrative territories as their registry harbour than Heather Bell
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ?r ( COUNT ( ?z ) AS ?s ) WHERE { ?r property:P532 ?z . ?r rdf:type ontology:Q2235308 . ?z rdf:type ontology:Q56061 } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { resource:Q24027208 property:P532 ?u . ?u rdf:type ontology:Q2235308 } } . FILTER ( ?s > ?x ) }
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 Heather Bell
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 Heather Bell
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 ( ?z ) AS ?s ) WHERE { ?r property:port_of_registry ?z . ?r rdf:type ontology:ship_type . ?z rdf:type ontology:administrative_territorial_entity } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?x ) WHERE { resource:Heather_Bell property:port_of_registry ?u . ?u rdf:type ontology:ship_type } } . FILTER ( ?s > ?x ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q1376616
P532
Q56061 Q2235308
USER
And also tell me about SS Norge?
(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 Q1376616
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?p > ?d ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { resource:Q1376616 property:P532 ?h . ?h rdf:type ontology:Q2235308 } } . { SELECT DISTINCT ?t ( COUNT ( ?k ) AS ?p ) WHERE { ?t property:P532 ?k . ?t rdf:type ontology:Q2235308 . ?k rdf:type ontology:Q56061 } GROUP BY ?t } }
SS Norge
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 SS Norge
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?p > ?d ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { resource:SS_Norge property:port_of_registry ?h . ?h rdf:type ontology:ship_type } } . { SELECT DISTINCT ?t ( COUNT ( ?k ) AS ?p ) WHERE { ?t property:port_of_registry ?k . ?t rdf:type ontology:ship_type . ?k rdf:type ontology:administrative_territorial_entity } GROUP BY ?t } }
[]
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 Q1376616
relation P532
type Q2235308
[ANSWERS]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?p > ?d ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { resource:Q1376616 property:P532 ?h . ?h rdf:type ontology:Q2235308 } } . { SELECT DISTINCT ?t ( COUNT ( ?k ) AS ?p ) WHERE { ?t property:P532 ?k . ?t rdf:type ontology:Q2235308 . ?k rdf:type ontology:Q56061 } GROUP BY ?t } }
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 SS Norge
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { FILTER ( ?p > ?d ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { resource:SS_Norge property:port_of_registry ?h . ?h rdf:type ontology:ship_type } } . { SELECT DISTINCT ?t ( COUNT ( ?k ) AS ?p ) WHERE { ?t property:port_of_registry ?k . ?t rdf:type ontology:ship_type . ?k rdf:type ontology:administrative_territorial_entity } GROUP BY ?t } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q10513104
P138
Q2235308 Q14524493 Q2088357
USER
Which ship types are namesakes of greater number of terrains and musical ensembles than HMS Arkö ?
(c(Q14524493)|c(Q2088357),P138,c(Q2235308))
action greater
action union
action find_reverse_tuple_counts
relation P138
type Q2235308
type Q14524493
action find_reverse_tuple_counts
relation P138
type Q2235308
type Q2088357
action count
action filter_multi_types
action find_reverse
entity Q10513104
relation P138
type Q14524493
type Q2088357
[[{'concept': 'Q14524493'}, {'concept': 'Q2088357'}], 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?v ) AS ?y ) WHERE { VALUES ( ?i ) { ( ontology:Q14524493 ) ( ontology:Q2088357 ) } . ?v rdf:type ?i } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { ?m property:P138 resource:Q10513104 . { { ?m rdf:type ontology:Q14524493 } UNION { ?m rdf:type ontology:Q2088357 } } } } . FILTER ( ?y > ?b ) }
HMS Arkö
action greater
action union
action find_reverse_tuple_counts
relation named after
type ship type
type terrain
action find_reverse_tuple_counts
relation named after
type ship type
type musical ensemble
action count
action filter_multi_types
action find_reverse
entity HMS Arkö
relation named after
type terrain
type musical ensemble
[[{'concept': 'terrain'}, {'concept': 'musical ensemble'}], 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?v ) AS ?y ) WHERE { VALUES ( ?i ) { ( ontology:terrain ) ( ontology:musical_ensemble ) } . ?v rdf:type ?i } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { ?m property:named_after resource:HMS_Arkö . { { ?m rdf:type ontology:terrain } UNION { ?m rdf:type ontology:musical_ensemble } } } } . FILTER ( ?y > ?b ) }
[]
ship type terrain musical ensemble
Q512615 Q673840
SYSTEM
HMS Erebus, Arktika
Q512615 Q673840
(c(Q14524493)|c(Q2088357),P138,c(Q2235308))
action greater
action union
action find_reverse_tuple_counts
relation P138
type Q2235308
type Q14524493
action find_reverse_tuple_counts
relation P138
type Q2235308
type Q2088357
action count
action filter_multi_types
action find_reverse
entity Q10513104
relation P138
type Q14524493
type Q2088357
[ANSWERS] are namesakes of greater number of terrains and musical ensembles than HMS Arkö
[[{'concept': 'Q14524493'}, {'concept': 'Q2088357'}], 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?v ) AS ?y ) WHERE { VALUES ( ?i ) { ( ontology:Q14524493 ) ( ontology:Q2088357 ) } . ?v rdf:type ?i } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { ?m property:P138 resource:Q10513104 . { { ?m rdf:type ontology:Q14524493 } UNION { ?m rdf:type ontology:Q2088357 } } } } . FILTER ( ?y > ?b ) }
HMS Erebus Arktika
HMS Erebus and Arktika are namesakes of greater number of terrains and musical ensembles than HMS Arkö
HMS Erebus Arktika
action greater
action union
action find_reverse_tuple_counts
relation named after
type ship type
type terrain
action find_reverse_tuple_counts
relation named after
type ship type
type musical ensemble
action count
action filter_multi_types
action find_reverse
entity HMS Arkö
relation named after
type terrain
type musical ensemble
[[{'concept': 'terrain'}, {'concept': 'musical ensemble'}], 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?v ) AS ?y ) WHERE { VALUES ( ?i ) { ( ontology:terrain ) ( ontology:musical_ensemble ) } . ?v rdf:type ?i } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?b ) WHERE { ?m property:named_after resource:HMS_Arkö . { { ?m rdf:type ontology:terrain } UNION { ?m rdf:type ontology:musical_ensemble } } } } . FILTER ( ?y > ?b ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q6138862
P138
Q2235308 Q14524493 Q2088357
USER
And how about Spanish frigate Santa María?
(c(Q14524493)|c(Q2088357),P138,c(Q2235308))
action greater
action union
action find_reverse_tuple_counts
relation P138
type Q2235308
type Q14524493
action find_reverse_tuple_counts
relation P138
type Q2235308
type Q2088357
action count
action filter_multi_types
action find_reverse
entity Q6138862
relation P138
type Q14524493
type Q2088357
[[{'concept': 'Q14524493'}, {'concept': 'Q2088357'}], 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?o ) WHERE { VALUES ( ?a ) { ( ontology:Q14524493 ) ( ontology:Q2088357 ) } . ?w rdf:type ?a } GROUP BY ?y } . FILTER ( ?o > ?p ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { ?l property:P138 resource:Q6138862 . { ?l rdf:type ?z . VALUES ( ?z ) { ( ontology:Q2088357 ) ( ontology:Q14524493 ) } } } } }
Spanish frigate Santa María
action greater
action union
action find_reverse_tuple_counts
relation named after
type ship type
type terrain
action find_reverse_tuple_counts
relation named after
type ship type
type musical ensemble
action count
action filter_multi_types
action find_reverse
entity Spanish frigate Santa María
relation named after
type terrain
type musical ensemble
[[{'concept': 'terrain'}, {'concept': 'musical ensemble'}], 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?o ) WHERE { VALUES ( ?a ) { ( ontology:terrain ) ( ontology:musical_ensemble ) } . ?w rdf:type ?a } GROUP BY ?y } . FILTER ( ?o > ?p ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { ?l property:named_after resource:Spanish_frigate_Santa_María . { ?l rdf:type ?z . VALUES ( ?z ) { ( ontology:musical_ensemble ) ( ontology:terrain ) } } } } }
[]
ship type terrain musical ensemble
Q512615 Q673840
SYSTEM
HMS Erebus, Arktika
Q512615 Q673840
(c(Q14524493)|c(Q2088357),P138,c(Q2235308))
action greater
action union
action find_reverse_tuple_counts
relation P138
type Q2235308
type Q14524493
action find_reverse_tuple_counts
relation P138
type Q2235308
type Q2088357
action count
action filter_multi_types
action find_reverse
entity Q6138862
relation P138
type Q14524493
type Q2088357
[ANSWERS]
[[{'concept': 'Q14524493'}, {'concept': 'Q2088357'}], 'P138', {'concept': 'Q2235308'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?o ) WHERE { VALUES ( ?a ) { ( ontology:Q14524493 ) ( ontology:Q2088357 ) } . ?w rdf:type ?a } GROUP BY ?y } . FILTER ( ?o > ?p ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { ?l property:P138 resource:Q6138862 . { ?l rdf:type ?z . VALUES ( ?z ) { ( ontology:Q2088357 ) ( ontology:Q14524493 ) } } } } }
HMS Erebus Arktika
HMS Erebus Arktika
action greater
action union
action find_reverse_tuple_counts
relation named after
type ship type
type terrain
action find_reverse_tuple_counts
relation named after
type ship type
type musical ensemble
action count
action filter_multi_types
action find_reverse
entity Spanish frigate Santa María
relation named after
type terrain
type musical ensemble
[[{'concept': 'terrain'}, {'concept': 'musical ensemble'}], 'named after', {'concept': 'ship type'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?o ) WHERE { VALUES ( ?a ) { ( ontology:terrain ) ( ontology:musical_ensemble ) } . ?w rdf:type ?a } GROUP BY ?y } . FILTER ( ?o > ?p ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) WHERE { ?l property:named_after resource:Spanish_frigate_Santa_María . { ?l rdf:type ?z . VALUES ( ?z ) { ( ontology:musical_ensemble ) ( ontology:terrain ) } } } } }
[]