Simple Question (Direct)
Simple Question
Q3120033
P19
Q56061
USER
Which administrative territory is the birthplace of Guillaume Le Testu ?
(Q3120033,P19,c(Q56061))
action filter_type
action find
entity Q3120033
relation P19
type Q56061
['Q3120033', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q3120033 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Guillaume Le Testu
action filter_type
action find
entity Guillaume Le Testu
relation place of birth
type administrative territorial entity
['Guillaume Le Testu', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Guillaume_Le_Testu property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q42810
SYSTEM
Le Havre
Q42810
(Q3120033,P19,c(Q56061))
action filter_type
action find
entity Q3120033
relation P19
type Q56061
[ANSWER] is the birthplace of Guillaume Le Testu
['Q3120033', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q3120033 property:P19 ?t . ?t rdf:type ontology:Q56061 }
Le Havre
Le Havre is the birthplace of Guillaume Le Testu
Le Havre
action filter_type
action find
entity Guillaume Le Testu
relation place of birth
type administrative territorial entity
['Guillaume Le Testu', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Guillaume_Le_Testu property:place_of_birth ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q42810
P119
Q502895
USER
Who has that administrative territory as his/her tomb ?
(c(Q502895),P119,Q42810)
action filter_type
action find_reverse
entity Q42810
relation P119
type Q502895
[{'concept': 'Q502895'}, 'P119', 'Q42810']
SELECT DISTINCT ?p WHERE { ?p property:P119 resource:Q42810 . ?p rdf:type ontology:Q502895 }
Le Havre
action filter_type
action find_reverse
entity Le Havre
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Le Havre']
SELECT DISTINCT ?p WHERE { ?p property:place_of_burial resource:Le_Havre . ?p rdf:type ontology:common_name }
[]
common name
Q158768
SYSTEM
René Coty
Q158768
(c(Q502895),P119,Q42810)
action filter_type
action find_reverse
entity Q42810
relation P119
type Q502895
[ANSWER] has that administrative territory as his/her tomb
[{'concept': 'Q502895'}, 'P119', 'Q42810']
SELECT DISTINCT ?p WHERE { ?p property:P119 resource:Q42810 . ?p rdf:type ontology:Q502895 }
René Coty
René Coty has that administrative territory as his/her tomb
René Coty
action filter_type
action find_reverse
entity Le Havre
relation place of burial
type common name
[{'concept': 'common name'}, 'place of burial', 'Le Havre']
SELECT DISTINCT ?p WHERE { ?p property:place_of_burial resource:Le_Havre . ?p rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q42810
P190
Q56061
USER
Which administrative territories are twin towns of that one ?
(Q158768,P190,c(Q56061))
action filter_type
action find
entity Q42810
relation P190
type Q56061
['Q158768', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q42810 property:P190 ?c . ?c rdf:type ontology:Q56061 }
Le Havre
action filter_type
action find
entity Le Havre
relation sister city
type administrative territorial entity
['René Coty', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Le_Havre property:sister_city ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1733 Q546 Q79848
SYSTEM
Magdeburg, Trieste, Southampton
Q546 Q1733 Q170457 Q61301 Q49255 Q223920 Q79848
(Q158768,P190,c(Q56061))
action filter_type
action find
entity Q42810
relation P190
type Q56061
[ANSWERS] are twin towns of that one
['Q158768', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q42810 property:P190 ?c . ?c rdf:type ontology:Q56061 }
Trieste Magdeburg Aydın Campeche Tampa Pointe-Noire Southampton
Magdeburg, Trieste and Southampton are twin towns of that one
Magdeburg Trieste Southampton
action filter_type
action find
entity Le Havre
relation sister city
type administrative territorial entity
['René Coty', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Le_Havre property:sister_city ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P532
Q56061 Q2235308
USER
How many ship types have their base port as atleast 1 administrative territory ?
(c(Q2235308),P532,c(Q56061))
action count
action atleast
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 1
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?t ) WHERE { ?q property:P532 ?n . ?q rdf:type ontology:Q2235308 . ?n rdf:type ontology:Q56061 } GROUP BY ?q } . FILTER ( ?t >= 1 ) }
action count
action atleast
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 1
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?t ) WHERE { ?q property:port_of_registry ?n . ?q rdf:type ontology:ship_type . ?n rdf:type ontology:administrative_territorial_entity } GROUP BY ?q } . FILTER ( ?t >= 1 ) }
[]
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 atleast
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 1
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?t ) WHERE { ?q property:P532 ?n . ?q rdf:type ontology:Q2235308 . ?n rdf:type ontology:Q56061 } GROUP BY ?q } . FILTER ( ?t >= 1 ) }
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 atleast
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 1
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?t ) WHERE { ?q property:port_of_registry ?n . ?q rdf:type ontology:ship_type . ?n rdf:type ontology:administrative_territorial_entity } GROUP BY ?q } . FILTER ( ?t >= 1 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q24027310
P532
Q56061 Q2235308
USER
Which ship types have greater number of administrative territories as their registry harbour than Principality ?
(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 Q24027310
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?c ) WHERE { ?g rdf:type ontology:Q56061 . ?m rdf:type ontology:Q2235308 . ?m property:P532 ?g } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { ?v rdf:type ontology:Q2235308 . resource:Q24027310 property:P532 ?v } } . FILTER ( ?c > ?p ) }
Principality
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 Principality
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?c ) WHERE { ?g rdf:type ontology:administrative_territorial_entity . ?m rdf:type ontology:ship_type . ?m property:port_of_registry ?g } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { ?v rdf:type ontology:ship_type . resource:Principality property:port_of_registry ?v } } . FILTER ( ?c > ?p ) }
[]
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 Q24027310
relation P532
type Q2235308
[ANSWERS] have greater number of administrative territories as their registry harbour than Principality
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?c ) WHERE { ?g rdf:type ontology:Q56061 . ?m rdf:type ontology:Q2235308 . ?m property:P532 ?g } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { ?v rdf:type ontology:Q2235308 . resource:Q24027310 property:P532 ?v } } . FILTER ( ?c > ?p ) }
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 greater number of administrative territories as their registry harbour than Principality
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 Principality
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?g ) AS ?c ) WHERE { ?g rdf:type ontology:administrative_territorial_entity . ?m rdf:type ontology:ship_type . ?m property:port_of_registry ?g } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?p ) WHERE { ?v rdf:type ontology:ship_type . resource:Principality property:port_of_registry ?v } } . FILTER ( ?c > ?p ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q24027155
P532
Q56061 Q2235308
USER
And how about Maria?
(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 Q24027155
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { resource:Q24027155 property:P532 ?c . ?c rdf:type ontology:Q2235308 } } . FILTER ( ?e > ?m ) . { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?e ) WHERE { ?p rdf:type ontology:Q2235308 . ?x rdf:type ontology:Q56061 . ?p property:P532 ?x } GROUP BY ?p } }
Maria
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 Maria
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { resource:Maria property:port_of_registry ?c . ?c rdf:type ontology:ship_type } } . FILTER ( ?e > ?m ) . { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?e ) WHERE { ?p rdf:type ontology:ship_type . ?x rdf:type ontology:administrative_territorial_entity . ?p property:port_of_registry ?x } GROUP BY ?p } }
[]
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 Q24027155
relation P532
type Q2235308
[ANSWERS]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { resource:Q24027155 property:P532 ?c . ?c rdf:type ontology:Q2235308 } } . FILTER ( ?e > ?m ) . { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?e ) WHERE { ?p rdf:type ontology:Q2235308 . ?x rdf:type ontology:Q56061 . ?p property:P532 ?x } GROUP BY ?p } }
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 Maria
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?c ) AS ?m ) WHERE { resource:Maria property:port_of_registry ?c . ?c rdf:type ontology:ship_type } } . FILTER ( ?e > ?m ) . { SELECT DISTINCT ?p ( COUNT ( ?x ) AS ?e ) WHERE { ?p rdf:type ontology:ship_type . ?x rdf:type ontology:administrative_territorial_entity . ?p property:port_of_registry ?x } GROUP BY ?p } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P532
Q56061 Q486972
USER
How many administrative territories and human settlements serves as the ports of registry of that ship type ?
(Q468026,P532,c(Q56061)) (Q468026,P532,c(Q486972)) (Q2596850,P532,c(Q56061)) (Q2596850,P532,c(Q486972)) (Q468026,P532,c(Q56061)) (Q468026,P532,c(Q486972)) (Q35462,P532,c(Q56061)) (Q35462,P532,c(Q486972))
['Q468026', 'P532', {'concept': 'Q56061'}] ['Q468026', 'P532', {'concept': 'Q486972'}] ['Q2596850', 'P532', {'concept': 'Q56061'}] ['Q2596850', 'P532', {'concept': 'Q486972'}] ['Q468026', 'P532', {'concept': 'Q56061'}] ['Q468026', 'P532', {'concept': 'Q486972'}] ['Q35462', 'P532', {'concept': 'Q56061'}] ['Q35462', 'P532', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q468026 property:P532 ?z } UNION { resource:Q468026 property:P532 ?y } UNION { resource:Q2596850 property:P532 ?z } UNION { resource:Q2596850 property:P532 ?y } UNION { resource:Q468026 property:P532 ?z } UNION { resource:Q468026 property:P532 ?y } UNION { resource:Q35462 property:P532 ?z } UNION { resource:Q35462 property:P532 ?y } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q486972 }
['SS Maxim Gorkiy', 'port of registry', {'concept': 'administrative territorial entity'}] ['SS Maxim Gorkiy', 'port of registry', {'concept': 'human settlement'}] ['MS Azura', 'port of registry', {'concept': 'administrative territorial entity'}] ['MS Azura', 'port of registry', {'concept': 'human settlement'}] ['SS Maxim Gorkiy', 'port of registry', {'concept': 'administrative territorial entity'}] ['SS Maxim Gorkiy', 'port of registry', {'concept': 'human settlement'}] ['RMS Aquitania', 'port of registry', {'concept': 'administrative territorial entity'}] ['RMS Aquitania', 'port of registry', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:SS_Maxim_Gorkiy property:port_of_registry ?z } UNION { resource:SS_Maxim_Gorkiy property:port_of_registry ?y } UNION { resource:MS_Azura property:port_of_registry ?z } UNION { resource:MS_Azura property:port_of_registry ?y } UNION { resource:SS_Maxim_Gorkiy property:port_of_registry ?z } UNION { resource:SS_Maxim_Gorkiy property:port_of_registry ?y } UNION { resource:RMS_Aquitania property:port_of_registry ?z } UNION { resource:RMS_Aquitania property:port_of_registry ?y } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:human_settlement }
[]
administrative territorial entity human settlement
Quantitative|Count|Mult. entity type|Clarification
Q2596850
SYSTEM
Did you mean MS Azura ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q468026 property:P532 ?z } UNION { resource:Q468026 property:P532 ?y } UNION { resource:Q2596850 property:P532 ?z } UNION { resource:Q2596850 property:P532 ?y } UNION { resource:Q468026 property:P532 ?z } UNION { resource:Q468026 property:P532 ?y } UNION { resource:Q35462 property:P532 ?z } UNION { resource:Q35462 property:P532 ?y } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q486972 }
Did you mean MS Azura ?
MS Azura
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:SS_Maxim_Gorkiy property:port_of_registry ?z } UNION { resource:SS_Maxim_Gorkiy property:port_of_registry ?y } UNION { resource:MS_Azura property:port_of_registry ?z } UNION { resource:MS_Azura property:port_of_registry ?y } UNION { resource:SS_Maxim_Gorkiy property:port_of_registry ?z } UNION { resource:SS_Maxim_Gorkiy property:port_of_registry ?y } UNION { resource:RMS_Aquitania property:port_of_registry ?z } UNION { resource:RMS_Aquitania property:port_of_registry ?y } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:human_settlement }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant SS Maxim Gorkiy. Could you tell me the answer for that?
(Q468026,P532,c(Q56061)) (Q468026,P532,c(Q486972)) (Q2596850,P532,c(Q56061)) (Q2596850,P532,c(Q486972)) (Q468026,P532,c(Q56061)) (Q468026,P532,c(Q486972)) (Q35462,P532,c(Q56061)) (Q35462,P532,c(Q486972))
Q468026
['Q468026', 'P532', {'concept': 'Q56061'}] ['Q468026', 'P532', {'concept': 'Q486972'}] ['Q2596850', 'P532', {'concept': 'Q56061'}] ['Q2596850', 'P532', {'concept': 'Q486972'}] ['Q468026', 'P532', {'concept': 'Q56061'}] ['Q468026', 'P532', {'concept': 'Q486972'}] ['Q35462', 'P532', {'concept': 'Q56061'}] ['Q35462', 'P532', {'concept': 'Q486972'}]
['SS Maxim Gorkiy', 'port of registry', {'concept': 'administrative territorial entity'}] ['SS Maxim Gorkiy', 'port of registry', {'concept': 'human settlement'}] ['MS Azura', 'port of registry', {'concept': 'administrative territorial entity'}] ['MS Azura', 'port of registry', {'concept': 'human settlement'}] ['SS Maxim Gorkiy', 'port of registry', {'concept': 'administrative territorial entity'}] ['SS Maxim Gorkiy', 'port of registry', {'concept': 'human settlement'}] ['RMS Aquitania', 'port of registry', {'concept': 'administrative territorial entity'}] ['RMS Aquitania', 'port of registry', {'concept': 'human settlement'}]
[]
SYSTEM
2 administrative territories and 1 human settlements
Q2467 Q1055 Q1874
(Q468026,P532,c(Q56061)) (Q468026,P532,c(Q486972)) (Q2596850,P532,c(Q56061)) (Q2596850,P532,c(Q486972)) (Q468026,P532,c(Q56061)) (Q468026,P532,c(Q486972)) (Q35462,P532,c(Q56061)) (Q35462,P532,c(Q486972))
[ANSWER]
['Q468026', 'P532', {'concept': 'Q56061'}] ['Q468026', 'P532', {'concept': 'Q486972'}] ['Q2596850', 'P532', {'concept': 'Q56061'}] ['Q2596850', 'P532', {'concept': 'Q486972'}] ['Q468026', 'P532', {'concept': 'Q56061'}] ['Q468026', 'P532', {'concept': 'Q486972'}] ['Q35462', 'P532', {'concept': 'Q56061'}] ['Q35462', 'P532', {'concept': 'Q486972'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q468026 property:P532 ?z } UNION { resource:Q468026 property:P532 ?y } UNION { resource:Q2596850 property:P532 ?z } UNION { resource:Q2596850 property:P532 ?y } UNION { resource:Q468026 property:P532 ?z } UNION { resource:Q468026 property:P532 ?y } UNION { resource:Q35462 property:P532 ?z } UNION { resource:Q35462 property:P532 ?y } } . ?z rdf:type ontology:Q56061 . ?y rdf:type ontology:Q486972 }
Nassau Hamburg Odessa
2 administrative territories and 1 human settlements
['SS Maxim Gorkiy', 'port of registry', {'concept': 'administrative territorial entity'}] ['SS Maxim Gorkiy', 'port of registry', {'concept': 'human settlement'}] ['MS Azura', 'port of registry', {'concept': 'administrative territorial entity'}] ['MS Azura', 'port of registry', {'concept': 'human settlement'}] ['SS Maxim Gorkiy', 'port of registry', {'concept': 'administrative territorial entity'}] ['SS Maxim Gorkiy', 'port of registry', {'concept': 'human settlement'}] ['RMS Aquitania', 'port of registry', {'concept': 'administrative territorial entity'}] ['RMS Aquitania', 'port of registry', {'concept': 'human settlement'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:SS_Maxim_Gorkiy property:port_of_registry ?z } UNION { resource:SS_Maxim_Gorkiy property:port_of_registry ?y } UNION { resource:MS_Azura property:port_of_registry ?z } UNION { resource:MS_Azura property:port_of_registry ?y } UNION { resource:SS_Maxim_Gorkiy property:port_of_registry ?z } UNION { resource:SS_Maxim_Gorkiy property:port_of_registry ?y } UNION { resource:RMS_Aquitania property:port_of_registry ?z } UNION { resource:RMS_Aquitania property:port_of_registry ?y } } . ?z rdf:type ontology:administrative_territorial_entity . ?y rdf:type ontology:human_settlement }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q546
P931
Q62447
USER
Which aerodrome serves Trieste ?
(c(Q62447),P931,Q546)
action filter_type
action find_reverse
entity Q546
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q546']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q62447 . ?g property:P931 resource:Q546 }
Trieste
action filter_type
action find_reverse
entity Trieste
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Trieste']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:aerodrome . ?g property:place_served_by_airport resource:Trieste }
[]
aerodrome
Q893154
SYSTEM
Trieste – Friuli Venezia Giulia Airport
Q893154
(c(Q62447),P931,Q546)
action filter_type
action find_reverse
entity Q546
relation P931
type Q62447
[ANSWER] serves Trieste
[{'concept': 'Q62447'}, 'P931', 'Q546']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q62447 . ?g property:P931 resource:Q546 }
Trieste – Friuli Venezia Giulia Airport
Trieste – Friuli Venezia Giulia Airport serves Trieste
Trieste – Friuli Venezia Giulia Airport
action filter_type
action find_reverse
entity Trieste
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Trieste']
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:aerodrome . ?g property:place_served_by_airport resource:Trieste }
[]