Simple Question (Direct)
Simple Question
Q114588
P19
Q56061
USER
Which administrative territory is the place of birth of Victor Fatio ?
(Q114588,P19,c(Q56061))
action filter_type
action find
entity Q114588
relation P19
type Q56061
['Q114588', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q114588 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Victor Fatio
action filter_type
action find
entity Victor Fatio
relation place of birth
type administrative territorial entity
['Victor Fatio', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Victor_Fatio property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q71
SYSTEM
Geneva
Q71
(Q114588,P19,c(Q56061))
action filter_type
action find
entity Q114588
relation P19
type Q56061
[ANSWER] is the place of birth of Victor Fatio
['Q114588', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { resource:Q114588 property:P19 ?h . ?h rdf:type ontology:Q56061 }
Geneva
Geneva is the place of birth of Victor Fatio
Geneva
action filter_type
action find
entity Victor Fatio
relation place of birth
type administrative territorial entity
['Victor Fatio', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Victor_Fatio property:place_of_birth ?h . ?h rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q71
P551
Q502895
USER
Who reside at that administrative territory ?
(c(Q502895),P551,Q71)
action filter_type
action find_reverse
entity Q71
relation P551
type Q502895
[{'concept': 'Q502895'}, 'P551', 'Q71']
SELECT DISTINCT ?w WHERE { ?w property:P551 resource:Q71 . ?w rdf:type ontology:Q502895 }
Geneva
action filter_type
action find_reverse
entity Geneva
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Geneva']
SELECT DISTINCT ?w WHERE { ?w property:residence resource:Geneva . ?w rdf:type ontology:common_name }
[]
common name
Q3646436 Q272438 Q18351654
SYSTEM
Derenik Demirchian, Diane von Fürstenberg, Mahmoud K. Muftić
Q552507 Q193361 Q982893 Q3106311 Q3103273 Q310349 Q313402 Q20829318 Q2822652 Q18351654 Q1977386 Q3118595 Q272438 Q5407283 Q22136999 Q3740362 Q105838 Q455322 Q180872 Q246542 Q34276 Q22111361 Q3559411 Q162487 Q312726 Q3646436 Q7103301 Q19630170 Q1825038 Q299944 Q470879 Q365913
(c(Q502895),P551,Q71)
action filter_type
action find_reverse
entity Q71
relation P551
type Q502895
[ANSWERS] reside at that administrative territory
[{'concept': 'Q502895'}, 'P551', 'Q71']
SELECT DISTINCT ?w WHERE { ?w property:P551 resource:Q71 . ?w rdf:type ontology:Q502895 }
Arnaud Di Pasquale Carlos Moyá Onnik Chifte-Saraf Gilles Jobin Georges Nivat Paul-Henri Mathieu Julien Benneteau Detmar Wilhelm Soemmerring Accace d'Albiac du Plessis Mahmoud K. Muftić Siamanto Grégory Pons Diane von Fürstenberg Pekka Puska Nabil Canaan Fausto Ferraiuolo Marion Bartoli Henri Leconte Amélie Mauresmo Benoît Paire Garbiñe Muguruza Bernard Landry Vince Fasciani Cédric Pioline Fabrice Santoro Derenik Demirchian Orlin Stanoytchev Omar Ba Lilika Naku Arnaud Clément Nicolas Escudé Mohamed Al-Fayed
Derenik Demirchian, Diane von Fürstenberg and Mahmoud K. Muftić reside at that administrative territory
Derenik Demirchian Diane von Fürstenberg Mahmoud K. Muftić
action filter_type
action find_reverse
entity Geneva
relation residence
type common name
[{'concept': 'common name'}, 'residence', 'Geneva']
SELECT DISTINCT ?w WHERE { ?w property:residence resource:Geneva . ?w rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3646436
P172
Q2472587
USER
What is the race of that person ?
(Q3646436,P172,c(Q2472587))
action filter_type
action find
entity Q3646436
relation P172
type Q2472587
['Q3646436', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?w WHERE { resource:Q3646436 property:P172 ?w . ?w rdf:type ontology:Q2472587 }
Derenik Demirchian
action filter_type
action find
entity Derenik Demirchian
relation ethnic group
type people
['Derenik Demirchian', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?w WHERE { resource:Derenik_Demirchian property:ethnic_group ?w . ?w rdf:type ontology:people }
[]
people
Clarification for simple ques.
Q18351654
SYSTEM
Did you mean Mahmoud K. Muftić ?
Q3646436 Q272438 Q18351654
(Q3646436,P172,c(Q2472587)) (Q272438,P172,c(Q2472587)) (Q18351654,P172,c(Q2472587))
[ANSWER]
['Q3646436', 'P172', {'concept': 'Q2472587'}] ['Q272438', 'P172', {'concept': 'Q2472587'}] ['Q18351654', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?w WHERE { resource:Q3646436 property:P172 ?w . ?w rdf:type ontology:Q2472587 }
Derenik Demirchian Diane von Fürstenberg Mahmoud K. Muftić
Did you mean Mahmoud K. Muftić ?
Mahmoud K. Muftić
['Derenik Demirchian', 'ethnic group', {'concept': 'people'}] ['Diane von Fürstenberg', 'ethnic group', {'concept': 'people'}] ['Mahmoud K. Muftić', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?w WHERE { resource:Derenik_Demirchian property:ethnic_group ?w . ?w rdf:type ontology:people }
[]
Simple Question (Coreferenced)
USER
No, I meant Derenik Demirchian. Could you tell me the answer for that?
(Q3646436,P172,c(Q2472587))
Q3646436
['Q3646436', 'P172', {'concept': 'Q2472587'}]
['Derenik Demirchian', 'ethnic group', {'concept': 'people'}]
[]
Q79797
SYSTEM
Armenians
Q79797
(Q3646436,P172,c(Q2472587))
action filter_type
action find
entity Q3646436
relation P172
type Q2472587
The race of that person is the [ANSWER]
['Q3646436', 'P172', {'concept': 'Q2472587'}]
SELECT DISTINCT ?w WHERE { resource:Q3646436 property:P172 ?w . ?w rdf:type ontology:Q2472587 }
Armenians
The race of that person is the Armenians
Armenians
action filter_type
action find
entity Derenik Demirchian
relation ethnic group
type people
['Derenik Demirchian', 'ethnic group', {'concept': 'people'}]
SELECT DISTINCT ?w WHERE { resource:Derenik_Demirchian property:ethnic_group ?w . ?w rdf:type ontology:people }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q71
P190
Q56061
USER
Which administrative territories are the sister cities of Geneva ?
(Q71,P190,c(Q56061))
action filter_type
action find
entity Q71
relation P190
type Q56061
['Q71', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q71 property:P190 ?j . ?j rdf:type ontology:Q56061 }
Geneva
action filter_type
action find
entity Geneva
relation sister city
type administrative territorial entity
['Geneva', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Geneva property:sister_city ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q3805 Q8678 Q3561
SYSTEM
Amman, Rio de Janeiro, Algiers
Q3805 Q8678 Q3561
(Q71,P190,c(Q56061))
action filter_type
action find
entity Q71
relation P190
type Q56061
[ANSWERS] are the sister cities of Geneva
['Q71', 'P190', {'concept': 'Q56061'}]
SELECT DISTINCT ?j WHERE { resource:Q71 property:P190 ?j . ?j rdf:type ontology:Q56061 }
Amman Rio de Janeiro Algiers
Amman, Rio de Janeiro and Algiers are the sister cities of Geneva
Amman Rio de Janeiro Algiers
action filter_type
action find
entity Geneva
relation sister city
type administrative territorial entity
['Geneva', 'sister city', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Geneva property:sister_city ?j . ?j rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q71
Q515
USER
And which city?
(Q71,P190,c(Q515))
action filter_type
action find
entity Q71
relation P190
type Q515
['Q71', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?x WHERE { resource:Q71 property:P190 ?x . ?x rdf:type ontology:Q515 }
Geneva
action filter_type
action find
entity Geneva
relation sister city
type city
['Geneva', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?x WHERE { resource:Geneva property:sister_city ?x . ?x rdf:type ontology:city }
[]
city
Q1486
SYSTEM
Buenos Aires
Q1486
(Q71,P190,c(Q515))
action filter_type
action find
entity Q71
relation P190
type Q515
[ANSWER]
['Q71', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ?x WHERE { resource:Q71 property:P190 ?x . ?x rdf:type ontology:Q515 }
Buenos Aires
Buenos Aires
action filter_type
action find
entity Geneva
relation sister city
type city
['Geneva', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ?x WHERE { resource:Geneva property:sister_city ?x . ?x rdf:type ontology:city }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P163
Q14660 Q515
USER
How many cities can be described by lesser number of flags than that city ?
(c(Q515),P163,c(Q14660))
action count
action less
action find_tuple_counts
relation P163
type Q515
type Q14660
action count
action filter_type
action find
entity Q1486
relation P163
type Q14660
[{'concept': 'Q515'}, 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?w ) WHERE { ?i rdf:type ontology:Q515 . ?r rdf:type ontology:Q14660 . ?i property:P163 ?r } GROUP BY ?i } . FILTER ( ?w < ?t ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { resource:Q1486 property:P163 ?h . ?h rdf:type ontology:Q14660 } } }
action count
action less
action find_tuple_counts
relation flag
type city
type flag
action count
action filter_type
action find
entity Buenos Aires
relation flag
type flag
[{'concept': 'city'}, 'flag', {'concept': 'flag'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?w ) WHERE { ?i rdf:type ontology:city . ?r rdf:type ontology:flag . ?i property:flag ?r } GROUP BY ?i } . FILTER ( ?w < ?t ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { resource:Buenos_Aires property:flag ?h . ?h rdf:type ontology:flag } } }
[]
flag city
SYSTEM
15
Q43196 Q841296 Q612815 Q5540 Q19689 Q1953 Q1209 Q1865 Q494777 Q23768 Q3926 Q1773 Q2337 Q157835 Q2135
(c(Q515),P163,c(Q14660))
action count
action less
action find_tuple_counts
relation P163
type Q515
type Q14660
action count
action filter_type
action find
entity Q1486
relation P163
type Q14660
[ANSWER]
[{'concept': 'Q515'}, 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?w ) WHERE { ?i rdf:type ontology:Q515 . ?r rdf:type ontology:Q14660 . ?i property:P163 ?r } GROUP BY ?i } . FILTER ( ?w < ?t ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { resource:Q1486 property:P163 ?h . ?h rdf:type ontology:Q14660 } } }
Cincinnati Příbram Garachico Penza Tirana Yerevan Free Hanseatic City of Bremen Kuala Lumpur Alcoi Las Vegas Pretoria Riga Smolensk Zaporizhzhya Winnipeg
15
action count
action less
action find_tuple_counts
relation flag
type city
type flag
action count
action filter_type
action find
entity Buenos Aires
relation flag
type flag
[{'concept': 'city'}, 'flag', {'concept': 'flag'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?r ) AS ?w ) WHERE { ?i rdf:type ontology:city . ?r rdf:type ontology:flag . ?i property:flag ?r } GROUP BY ?i } . FILTER ( ?w < ?t ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { resource:Buenos_Aires property:flag ?h . ?h rdf:type ontology:flag } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q4177777 Q18351654
P20
Q56061
USER
Which administrative territories are the places of death of Mahmoud K. Muftić or Semen Zhavoronkov ?
OR((Q18351654,P20,c(Q56061)), (Q4177777,P20,c(Q56061)))
action filter_type
action union
action find
entity Q18351654
relation P20
action find
entity Q4177777
relation P20
type Q56061
{'OR': [['Q18351654', 'P20', {'concept': 'Q56061'}], ['Q4177777', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q56061 . { { resource:Q4177777 property:P20 ?u } UNION { resource:Q18351654 property:P20 ?u } } }
Semen Zhavoronkov Mahmoud K. Muftić
action filter_type
action union
action find
entity Mahmoud K. Muftić
relation place of death
action find
entity Semen Zhavoronkov
relation place of death
type administrative territorial entity
{'OR': [['Mahmoud K. Muftić', 'place of death', {'concept': 'administrative territorial entity'}], ['Semen Zhavoronkov', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:administrative_territorial_entity . { { resource:Semen_Zhavoronkov property:place_of_death ?u } UNION { resource:Mahmoud_K._Muftić property:place_of_death ?u } } }
[]
administrative territorial entity
Q649 Q84
SYSTEM
Moscow, London
Q649 Q84
OR((Q18351654,P20,c(Q56061)), (Q4177777,P20,c(Q56061)))
action filter_type
action union
action find
entity Q18351654
relation P20
action find
entity Q4177777
relation P20
type Q56061
[ANSWERS] are the places of death of Mahmoud K. Muftić or Semen Zhavoronkov
{'OR': [['Q18351654', 'P20', {'concept': 'Q56061'}], ['Q4177777', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q56061 . { { resource:Q4177777 property:P20 ?u } UNION { resource:Q18351654 property:P20 ?u } } }
Moscow London
Moscow and London are the places of death of Mahmoud K. Muftić or Semen Zhavoronkov
Moscow London
action filter_type
action union
action find
entity Mahmoud K. Muftić
relation place of death
action find
entity Semen Zhavoronkov
relation place of death
type administrative territorial entity
{'OR': [['Mahmoud K. Muftić', 'place of death', {'concept': 'administrative territorial entity'}], ['Semen Zhavoronkov', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:administrative_territorial_entity . { { resource:Semen_Zhavoronkov property:place_of_death ?u } UNION { resource:Mahmoud_K._Muftić property:place_of_death ?u } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q24027049
P532
Q56061 Q2235308
USER
How many ship types are the registry port of greater number of administrative territories than Active ?
(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 Q24027049
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?n ) WHERE { ?t property:P532 ?j . ?t rdf:type ontology:Q2235308 . ?j rdf:type ontology:Q56061 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Q24027049 property:P532 ?x . ?x rdf:type ontology:Q2235308 } } . FILTER ( ?n > ?u ) }
Active
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 Active
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?n ) WHERE { ?t property:port_of_registry ?j . ?t rdf:type ontology:ship_type . ?j rdf:type ontology:administrative_territorial_entity } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Active property:port_of_registry ?x . ?x rdf:type ontology:ship_type } } . FILTER ( ?n > ?u ) }
[]
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 Q24027049
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?n ) WHERE { ?t property:P532 ?j . ?t rdf:type ontology:Q2235308 . ?j rdf:type ontology:Q56061 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Q24027049 property:P532 ?x . ?x rdf:type ontology:Q2235308 } } . FILTER ( ?n > ?u ) }
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 Active
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?s ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?j ) AS ?n ) WHERE { ?t property:port_of_registry ?j . ?t rdf:type ontology:ship_type . ?j rdf:type ontology:administrative_territorial_entity } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?u ) WHERE { resource:Active property:port_of_registry ?x . ?x rdf:type ontology:ship_type } } . FILTER ( ?n > ?u ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q24027104
P532
Q56061 Q2235308
USER
And how about Jane Morgans?
(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 Q24027104
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { FILTER ( ?z > ?b ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { resource:Q24027104 property:P532 ?d . ?d rdf:type ontology:Q2235308 } } . { SELECT DISTINCT ?k ( COUNT ( ?q ) AS ?z ) WHERE { ?k property:P532 ?q . ?q rdf:type ontology:Q56061 . ?k rdf:type ontology:Q2235308 } GROUP BY ?k } }
Jane Morgans
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 Morgans
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { FILTER ( ?z > ?b ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { resource:Jane_Morgans property:port_of_registry ?d . ?d rdf:type ontology:ship_type } } . { SELECT DISTINCT ?k ( COUNT ( ?q ) AS ?z ) WHERE { ?k property:port_of_registry ?q . ?q rdf:type ontology:administrative_territorial_entity . ?k rdf:type ontology:ship_type } GROUP BY ?k } }
[]
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 Q24027104
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { FILTER ( ?z > ?b ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { resource:Q24027104 property:P532 ?d . ?d rdf:type ontology:Q2235308 } } . { SELECT DISTINCT ?k ( COUNT ( ?q ) AS ?z ) WHERE { ?k property:P532 ?q . ?q rdf:type ontology:Q56061 . ?k rdf:type ontology:Q2235308 } GROUP BY ?k } }
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 Morgans
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?t ) WHERE { FILTER ( ?z > ?b ) . { SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { resource:Jane_Morgans property:port_of_registry ?d . ?d rdf:type ontology:ship_type } } . { SELECT DISTINCT ?k ( COUNT ( ?q ) AS ?z ) WHERE { ?k property:port_of_registry ?q . ?q rdf:type ontology:administrative_territorial_entity . ?k rdf:type ontology:ship_type } GROUP BY ?k } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P532
Q56061 Q2235308
USER
Which ship types have their base port as approximately 2 administrative territories ?
(c(Q2235308),P532,c(Q56061))
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 2
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?d ) WHERE { ?n rdf:type ontology:Q2235308 . ?q rdf:type ontology:Q56061 . ?n property:P532 ?q } GROUP BY ?n } . FILTER ( ?d = 2 ) }
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 2
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?d ) WHERE { ?n rdf:type ontology:ship_type . ?q rdf:type ontology:administrative_territorial_entity . ?n property:port_of_registry ?q } GROUP BY ?n } . FILTER ( ?d = 2 ) }
[]
administrative territorial entity ship type
Q2596850 Q468026 Q33209
SYSTEM
MS Azura, SS Maxim Gorkiy, Mary Celeste
Q33209 Q1514518 Q2596850 Q468026
(c(Q2235308),P532,c(Q56061))
action approx
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 2
[ANSWERS] have their base port as approximately 2 administrative territories
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?d ) WHERE { ?n rdf:type ontology:Q2235308 . ?q rdf:type ontology:Q56061 . ?n property:P532 ?q } GROUP BY ?n } . FILTER ( ?d = 2 ) }
Mary Celeste Sapphire Princess MS Azura SS Maxim Gorkiy
MS Azura, SS Maxim Gorkiy and Mary Celeste have their base port as approximately 2 administrative territories
MS Azura SS Maxim Gorkiy Mary Celeste
action approx
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 2
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?q ) AS ?d ) WHERE { ?n rdf:type ontology:ship_type . ?q rdf:type ontology:administrative_territorial_entity . ?n property:port_of_registry ?q } GROUP BY ?n } . FILTER ( ?d = 2 ) }
[]