Simple Question (Direct)
Simple Question
Q1442507
P19
Q56061
USER
Which administrative territory was Frans Francken the Younger born in ?
(Q1442507,P19,c(Q56061))
action filter_type
action find
entity Q1442507
relation P19
type Q56061
['Q1442507', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q1442507 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Frans Francken the Younger
action filter_type
action find
entity Frans Francken the Younger
relation place of birth
type administrative territorial entity
['Frans Francken the Younger', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Frans_Francken_the_Younger property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q12892
SYSTEM
Antwerp
Q12892
(Q1442507,P19,c(Q56061))
action filter_type
action find
entity Q1442507
relation P19
type Q56061
Frans Francken the Younger was born in [ANSWER]
['Q1442507', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q1442507 property:P19 ?l . ?l rdf:type ontology:Q56061 }
Antwerp
Frans Francken the Younger was born in Antwerp
Antwerp
action filter_type
action find
entity Frans Francken the Younger
relation place of birth
type administrative territorial entity
['Frans Francken the Younger', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Frans_Francken_the_Younger property:place_of_birth ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12892
P36
Q15617994
USER
Which administrative territory consists of that administrative territory as its capital ?
(c(Q15617994),P36,Q12892)
action filter_type
action find_reverse
entity Q12892
relation P36
type Q15617994
[{'concept': 'Q15617994'}, 'P36', 'Q12892']
SELECT DISTINCT ?x WHERE { ?x property:P36 resource:Q12892 . ?x rdf:type ontology:Q15617994 }
Antwerp
action filter_type
action find_reverse
entity Antwerp
relation capital
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Antwerp']
SELECT DISTINCT ?x WHERE { ?x property:capital resource:Antwerp . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1206596
SYSTEM
Deux-Nèthes
Q1206596
(c(Q15617994),P36,Q12892)
action filter_type
action find_reverse
entity Q12892
relation P36
type Q15617994
[ANSWER] consists of that administrative territory as its capital
[{'concept': 'Q15617994'}, 'P36', 'Q12892']
SELECT DISTINCT ?x WHERE { ?x property:P36 resource:Q12892 . ?x rdf:type ontology:Q15617994 }
Deux-Nèthes
Deux-Nèthes consists of that administrative territory as its capital
Deux-Nèthes
action filter_type
action find_reverse
entity Antwerp
relation capital
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'capital', 'Antwerp']
SELECT DISTINCT ?x WHERE { ?x property:capital resource:Antwerp . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q252884 Q12892
P190
Q20667921
USER
Which french administrative divisions are sister towns of Antwerp or Burgkirchen an der Alz ?
OR((Q12892,P190,c(Q20667921)), (Q252884,P190,c(Q20667921)))
action filter_type
action union
action find
entity Q12892
relation P190
action find
entity Q252884
relation P190
type Q20667921
{'OR': [['Q12892', 'P190', {'concept': 'Q20667921'}], ['Q252884', 'P190', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q12892 property:P190 ?d } UNION { resource:Q252884 property:P190 ?d } } . ?d rdf:type ontology:Q20667921 }
Burgkirchen an der Alz Antwerp
action filter_type
action union
action find
entity Antwerp
relation sister city
action find
entity Burgkirchen an der Alz
relation sister city
type type of french administrative division
{'OR': [['Antwerp', 'sister city', {'concept': 'type of french administrative division'}], ['Burgkirchen an der Alz', 'sister city', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Antwerp property:sister_city ?d } UNION { resource:Burgkirchen_an_der_Alz property:sister_city ?d } } . ?d rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q22875 Q79815
SYSTEM
Wingen-sur-Moder, Mulhouse
Q22875 Q79815
OR((Q12892,P190,c(Q20667921)), (Q252884,P190,c(Q20667921)))
action filter_type
action union
action find
entity Q12892
relation P190
action find
entity Q252884
relation P190
type Q20667921
[ANSWERS] are sister towns of Antwerp or Burgkirchen an der Alz
{'OR': [['Q12892', 'P190', {'concept': 'Q20667921'}], ['Q252884', 'P190', {'concept': 'Q20667921'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Q12892 property:P190 ?d } UNION { resource:Q252884 property:P190 ?d } } . ?d rdf:type ontology:Q20667921 }
Wingen-sur-Moder Mulhouse
Wingen-sur-Moder and Mulhouse are sister towns of Antwerp or Burgkirchen an der Alz
Wingen-sur-Moder Mulhouse
action filter_type
action union
action find
entity Antwerp
relation sister city
action find
entity Burgkirchen an der Alz
relation sister city
type type of french administrative division
{'OR': [['Antwerp', 'sister city', {'concept': 'type of french administrative division'}], ['Burgkirchen an der Alz', 'sister city', {'concept': 'type of french administrative division'}]]}
SELECT DISTINCT ?d WHERE { { { resource:Antwerp property:sister_city ?d } UNION { resource:Burgkirchen_an_der_Alz property:sister_city ?d } } . ?d rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q252884
P17
Q1048835
USER
Which political territory is that administrative territory located in ?
(Q22875,P17,c(Q1048835)) (Q79815,P17,c(Q1048835))
action filter_type
action find
entity Q252884
relation P17
type Q1048835
['Q22875', 'P17', {'concept': 'Q1048835'}] ['Q79815', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { resource:Q252884 property:P17 ?x . ?x rdf:type ontology:Q1048835 }
Burgkirchen an der Alz
action filter_type
action find
entity Burgkirchen an der Alz
relation country
type political territorial entity
['Wingen-sur-Moder', 'country', {'concept': 'political territorial entity'}] ['Mulhouse', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Burgkirchen_an_der_Alz property:country ?x . ?x rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q22875,P17,c(Q1048835)) (Q79815,P17,c(Q1048835))
action filter_type
action find
entity Q252884
relation P17
type Q1048835
That administrative territory is located in [ANSWER]
['Q22875', 'P17', {'concept': 'Q1048835'}] ['Q79815', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?x WHERE { resource:Q252884 property:P17 ?x . ?x rdf:type ontology:Q1048835 }
Germany
That administrative territory is located in Germany
Germany
action filter_type
action find
entity Burgkirchen an der Alz
relation country
type political territorial entity
['Wingen-sur-Moder', 'country', {'concept': 'political territorial entity'}] ['Mulhouse', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Burgkirchen_an_der_Alz property:country ?x . ?x rdf:type ontology:political_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q834110 Q12892
P190
Q56061
USER
Which administrative territories are sister towns of Antwerp or Bray-sur-Seine ?
OR((Q12892,P190,c(Q56061)), (Q834110,P190,c(Q56061)))
action filter_type
action union
action find
entity Q12892
relation P190
action find
entity Q834110
relation P190
type Q56061
{'OR': [['Q12892', 'P190', {'concept': 'Q56061'}], ['Q834110', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q12892 property:P190 ?s } UNION { resource:Q834110 property:P190 ?s } } . ?s rdf:type ontology:Q56061 }
Bray-sur-Seine Antwerp
action filter_type
action union
action find
entity Antwerp
relation sister city
action find
entity Bray-sur-Seine
relation sister city
type administrative territorial entity
{'OR': [['Antwerp', 'sister city', {'concept': 'administrative territorial entity'}], ['Bray-sur-Seine', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Antwerp property:sister_city ?s } UNION { resource:Bray-sur-Seine property:sister_city ?s } } . ?s rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q2861 Q41621 Q8686 Q81012 Q585 Q5468 Q3001 Q1492 Q5465
SYSTEM
Rostock, Haifa, Shanghai, Hemsbach, Oslo, Durban, Paramaribo, Barcelona, Cape Town
Q2861 Q41621 Q8686 Q81012 Q585 Q5468 Q3001 Q1492 Q5465
OR((Q12892,P190,c(Q56061)), (Q834110,P190,c(Q56061)))
action filter_type
action union
action find
entity Q12892
relation P190
action find
entity Q834110
relation P190
type Q56061
[ANSWERS] are sister towns of Antwerp or Bray-sur-Seine
{'OR': [['Q12892', 'P190', {'concept': 'Q56061'}], ['Q834110', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Q12892 property:P190 ?s } UNION { resource:Q834110 property:P190 ?s } } . ?s rdf:type ontology:Q56061 }
Rostock Haifa Shanghai Hemsbach Oslo Durban Paramaribo Barcelona Cape Town
Rostock, Haifa, Shanghai, Hemsbach, Oslo, Durban, Paramaribo, Barcelona and Cape Town are sister towns of Antwerp or Bray-sur-Seine
Rostock Haifa Shanghai Hemsbach Oslo Durban Paramaribo Barcelona Cape Town
action filter_type
action union
action find
entity Antwerp
relation sister city
action find
entity Bray-sur-Seine
relation sister city
type administrative territorial entity
{'OR': [['Antwerp', 'sister city', {'concept': 'administrative territorial entity'}], ['Bray-sur-Seine', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { { resource:Antwerp property:sister_city ?s } UNION { resource:Bray-sur-Seine property:sister_city ?s } } . ?s rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q24027429
P532
Q56061 Q2235308
USER
How many ship types have their base port as more number of administrative territories than Ella ?
(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 Q24027429
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?e ) WHERE { ?z property:P532 ?n . ?z rdf:type ontology:Q2235308 . ?n rdf:type ontology:Q56061 } GROUP BY ?z } . FILTER ( ?e > ?v ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { resource:Q24027429 property:P532 ?y . ?y rdf:type ontology:Q2235308 } } }
Ella
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 Ella
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?e ) WHERE { ?z property:port_of_registry ?n . ?z rdf:type ontology:ship_type . ?n rdf:type ontology:administrative_territorial_entity } GROUP BY ?z } . FILTER ( ?e > ?v ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { resource:Ella property:port_of_registry ?y . ?y 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 Q24027429
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?e ) WHERE { ?z property:P532 ?n . ?z rdf:type ontology:Q2235308 . ?n rdf:type ontology:Q56061 } GROUP BY ?z } . FILTER ( ?e > ?v ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { resource:Q24027429 property:P532 ?y . ?y 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 Ella
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?w ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?n ) AS ?e ) WHERE { ?z property:port_of_registry ?n . ?z rdf:type ontology:ship_type . ?n rdf:type ontology:administrative_territorial_entity } GROUP BY ?z } . FILTER ( ?e > ?v ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { resource:Ella property:port_of_registry ?y . ?y rdf:type ontology:ship_type } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q24027269
P532
Q56061 Q2235308
USER
And what about Helena?
(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 Q24027269
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?p ) AS ?w ) WHERE { ?t rdf:type ontology:Q2235308 . ?p rdf:type ontology:Q56061 . ?t property:P532 ?p } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { ?z rdf:type ontology:Q2235308 . resource:Q24027269 property:P532 ?z } } . FILTER ( ?w > ?l ) }
Helena
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 Helena
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?p ) AS ?w ) WHERE { ?t rdf:type ontology:ship_type . ?p rdf:type ontology:administrative_territorial_entity . ?t property:port_of_registry ?p } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { ?z rdf:type ontology:ship_type . resource:Helena property:port_of_registry ?z } } . FILTER ( ?w > ?l ) }
[]
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 Q24027269
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?p ) AS ?w ) WHERE { ?t rdf:type ontology:Q2235308 . ?p rdf:type ontology:Q56061 . ?t property:P532 ?p } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { ?z rdf:type ontology:Q2235308 . resource:Q24027269 property:P532 ?z } } . FILTER ( ?w > ?l ) }
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 Helena
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?u ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?p ) AS ?w ) WHERE { ?t rdf:type ontology:ship_type . ?p rdf:type ontology:administrative_territorial_entity . ?t property:port_of_registry ?p } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { ?z rdf:type ontology:ship_type . resource:Helena property:port_of_registry ?z } } . FILTER ( ?w > ?l ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P559
Q56061 Q34442 Q83620
USER
Which administrative territories are the endpoints for around 1 roads or thoroughfares ?
(c(Q34442)|c(Q83620),P559,c(Q56061))
action approx
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q34442
action find_reverse_tuple_counts
relation P559
type Q56061
type Q83620
value 1
[[{'concept': 'Q34442'}, {'concept': 'Q83620'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?p ) WHERE { ?i rdf:type ?o . VALUES ( ?o ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } } GROUP BY ?e } . FILTER ( ?p = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type road
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type thoroughfare
value 1
[[{'concept': 'road'}, {'concept': 'thoroughfare'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?p ) WHERE { ?i rdf:type ?o . VALUES ( ?o ) { ( ontology:road ) ( ontology:thoroughfare ) } } GROUP BY ?e } . FILTER ( ?p = 1 ) }
[]
administrative territorial entity road thoroughfare
Q1085 Q649 Q956
SYSTEM
Prague, Moscow, Beijing
Q938820 Q9832 Q11851639 Q23436 Q3812238 Q1017610 Q10084 Q7567083 Q723164 Q23311 Q49550 Q38511 Q986100 Q6023 Q171357 Q956 Q959 Q649 Q211059 Q18808 Q671348 Q5032535 Q4093 Q987170 Q1763 Q1449 Q1757 Q36989 Q990112 Q40840 Q542966 Q3992 Q369947 Q84 Q2132 Q2133814 Q7944369 Q184383 Q263954 Q6816 Q466054 Q953081 Q180717 Q580016 Q244289 Q588417 Q146659 Q530309 Q1085
(c(Q34442)|c(Q83620),P559,c(Q56061))
action approx
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q34442
action find_reverse_tuple_counts
relation P559
type Q56061
type Q83620
value 1
[ANSWERS] are the endpoints for around 1 roads or thoroughfares
[[{'concept': 'Q34442'}, {'concept': 'Q83620'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?p ) WHERE { ?i rdf:type ?o . VALUES ( ?o ) { ( ontology:Q34442 ) ( ontology:Q83620 ) } } GROUP BY ?e } . FILTER ( ?p = 1 ) }
Virrat Eindhoven Annalankangas Edinburgh Bronygarth Horgoš Vlissingen South Drain Pop City of London Maó-Mahón Turku Ridder Lapua Kecskemét Beijing Vladivostok Moscow Jõhvi Pyongyang Worthing Cann River Glasgow Inčukalns Murmansk Genoa Helsinki Pardubice Littlehampton Tampere Angren, Uzbekistan Liège El Cajon London Victoria St Nicholas-at-Wade Värpinge Zeebrugge Afobaka Ulan-Ude Mahdia Orivesi Sousse Albina Athis-Mons Sewell, Chile Clapham Karkkila Prague
Prague, Moscow and Beijing are the endpoints for around 1 roads or thoroughfares
Prague Moscow Beijing
action approx
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type road
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type thoroughfare
value 1
[[{'concept': 'road'}, {'concept': 'thoroughfare'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?p ) WHERE { ?i rdf:type ?o . VALUES ( ?o ) { ( ontology:road ) ( ontology:thoroughfare ) } } GROUP BY ?e } . FILTER ( ?p = 1 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q1486
P190
Q515
USER
Are Buenos Aires twin town of those administrative territories ?
(Q1486,P190,Q1085) (Q1486,P190,Q649) (Q1486,P190,Q956)
action is_in
entity prev_answer
action find
entity Q1486
relation P190
['Q1486', 'P190', 'Q1085'] ['Q1486', 'P190', 'Q649'] ['Q1486', 'P190', 'Q956']
ASK WHERE { VALUES ( ?b ) { ( resource:Q938820 ) ( resource:Q9832 ) ( resource:Q11851639 ) } . resource:Q1486 property:P190 ?b }
Buenos Aires
action is_in
entity prev_answer
action find
entity Buenos Aires
relation sister city
['Buenos Aires', 'sister city', 'Prague'] ['Buenos Aires', 'sister city', 'Moscow'] ['Buenos Aires', 'sister city', 'Beijing']
ASK WHERE { VALUES ( ?b ) { ( resource:Virrat ) ( resource:Eindhoven ) ( resource:Annalankangas ) } . resource:Buenos_Aires property:sister_city ?b }
[]
city
SYSTEM
YES
(Q1486,P190,Q1085) (Q1486,P190,Q649) (Q1486,P190,Q956)
action is_in
entity prev_answer
action find
entity Q1486
relation P190
[ANSWER]
['Q1486', 'P190', 'Q1085'] ['Q1486', 'P190', 'Q649'] ['Q1486', 'P190', 'Q956']
ASK WHERE { VALUES ( ?b ) { ( resource:Q938820 ) ( resource:Q9832 ) ( resource:Q11851639 ) } . resource:Q1486 property:P190 ?b }
Yes
action is_in
entity prev_answer
action find
entity Buenos Aires
relation sister city
['Buenos Aires', 'sister city', 'Prague'] ['Buenos Aires', 'sister city', 'Moscow'] ['Buenos Aires', 'sister city', 'Beijing']
ASK WHERE { VALUES ( ?b ) { ( resource:Virrat ) ( resource:Eindhoven ) ( resource:Annalankangas ) } . resource:Buenos_Aires property:sister_city ?b }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q79815
P138
Q11032
USER
Which newspaper has Mulhouse as its toponym ?
(c(Q11032),P138,Q79815)
action filter_type
action find_reverse
entity Q79815
relation P138
type Q11032
[{'concept': 'Q11032'}, 'P138', 'Q79815']
SELECT DISTINCT ?v WHERE { ?v property:P138 resource:Q79815 . ?v rdf:type ontology:Q11032 }
Mulhouse
action filter_type
action find_reverse
entity Mulhouse
relation named after
type newspaper
[{'concept': 'newspaper'}, 'named after', 'Mulhouse']
SELECT DISTINCT ?v WHERE { ?v property:named_after resource:Mulhouse . ?v rdf:type ontology:newspaper }
[]
newspaper
Q6950485
SYSTEM
Mülhauser Volksblatt
Q6950485
(c(Q11032),P138,Q79815)
action filter_type
action find_reverse
entity Q79815
relation P138
type Q11032
[ANSWER] has Mulhouse as its toponym
[{'concept': 'Q11032'}, 'P138', 'Q79815']
SELECT DISTINCT ?v WHERE { ?v property:P138 resource:Q79815 . ?v rdf:type ontology:Q11032 }
Mülhauser Volksblatt
Mülhauser Volksblatt has Mulhouse as its toponym
Mülhauser Volksblatt
action filter_type
action find_reverse
entity Mulhouse
relation named after
type newspaper
[{'concept': 'newspaper'}, 'named after', 'Mulhouse']
SELECT DISTINCT ?v WHERE { ?v property:named_after resource:Mulhouse . ?v rdf:type ontology:newspaper }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q217
P495
Q15617994 Q2342494 Q15416
USER
Which administrative territories are the countries of origin of lesser number of collectables and television programs than Republic of Moldova ?
(c(Q2342494)|c(Q15416),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q217
relation P495
type Q2342494
type Q15416
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) ?k WHERE { { ?k rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2342494 . ?x property:P495 ?k } UNION { ?x property:P495 ?k . ?k rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15416 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:P495 resource:Q217 . { VALUES ( ?c ) { ( ontology:Q2342494 ) ( ontology:Q15416 ) } . ?s rdf:type ?c } } } . FILTER ( ?j < ?v ) }
Republic of Moldova
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Republic of Moldova
relation country of origin
type collectable
type television program
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) ?k WHERE { { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:collectable . ?x property:country_of_origin ?k } UNION { ?x property:country_of_origin ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:television_program } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:country_of_origin resource:Republic_of_Moldova . { VALUES ( ?c ) { ( ontology:collectable ) ( ontology:television_program ) } . ?s rdf:type ?c } } } . FILTER ( ?j < ?v ) }
[]
designation for an administrative territorial entity collectable television program
Q184 Q347 Q805
SYSTEM
Belarus, Liechtenstein, Yemen
Q805 Q1462 Q265 Q36678 Q711 Q1460 Q657 Q958 Q986 Q826 Q244 Q811 Q153136 Q924 Q423 Q983 Q29999 Q819 Q730 Q159626 Q236 Q233 Q238 Q1045 Q1044 Q1025 Q1027 Q1020 Q184 Q1029 Q227 Q223 Q221 Q347 Q1037 Q974 Q1032 Q1030 Q965 Q967 Q962 Q963 Q115 Q917 Q1007 Q1009 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q948 Q1019 Q813 Q1016 Q945 Q672 Q176 Q863
(c(Q2342494)|c(Q15416),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q217
relation P495
type Q2342494
type Q15416
[ANSWERS] are the countries of origin of lesser number of collectables and television programs than Republic of Moldova
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) ?k WHERE { { ?k rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2342494 . ?x property:P495 ?k } UNION { ?x property:P495 ?k . ?k rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15416 } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:P495 resource:Q217 . { VALUES ( ?c ) { ( ontology:Q2342494 ) ( ontology:Q15416 ) } . ?s rdf:type ?c } } } . FILTER ( ?j < ?v ) }
Yemen Sardinia Uzbekistan West Bank Mongolia Sicily Chad South Sudan Eritrea Maldives Barbados Nicaragua Habsburg Empire Tanzania North Korea Equatorial Guinea Kingdom of the Netherlands Laos Suriname Württemberg Montenegro Malta San Marino Somalia Sierra Leone Mauritania Mauritius Malawi Belarus Mozambique Azerbaijan Greenland Republic of Macedonia Liechtenstein Rwanda Democratic Republic of the Congo Niger Namibia Burkina Faso Burundi Benin Botswana Ethiopia Bhutan Guinea-Bissau Cameroon Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Tunisia Madagascar Kyrgyzstan Libya Togo Tuvalu Quebec Tajikistan
Belarus, Liechtenstein and Yemen are the countries of origin of lesser number of collectables and television programs than Republic of Moldova
Belarus Liechtenstein Yemen
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Republic of Moldova
relation country of origin
type collectable
type television program
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?j ) ?k WHERE { { ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:collectable . ?x property:country_of_origin ?k } UNION { ?x property:country_of_origin ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:television_program } } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:country_of_origin resource:Republic_of_Moldova . { VALUES ( ?c ) { ( ontology:collectable ) ( ontology:television_program ) } . ?s rdf:type ?c } } } . FILTER ( ?j < ?v ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q55
P495
Q15617994 Q2342494 Q15416
USER
And how about Netherlands?
(c(Q2342494)|c(Q15416),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q55
relation P495
type Q2342494
type Q15416
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) ?p WHERE { ?j rdf:type ?y . VALUES ( ?y ) { ( ontology:Q2342494 ) ( ontology:Q15416 ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { ?x property:P495 resource:Q55 . { { ?x rdf:type ontology:Q2342494 } UNION { ?x rdf:type ontology:Q15416 } } } } . FILTER ( ?l < ?z ) }
Netherlands
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Netherlands
relation country of origin
type collectable
type television program
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) ?p WHERE { ?j rdf:type ?y . VALUES ( ?y ) { ( ontology:collectable ) ( ontology:television_program ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { ?x property:country_of_origin resource:Netherlands . { { ?x rdf:type ontology:collectable } UNION { ?x rdf:type ontology:television_program } } } } . FILTER ( ?l < ?z ) }
[]
designation for an administrative territorial entity collectable television program
Q230 Q159 Q36
SYSTEM
Georgia, Russia, Poland
Q805 Q804 Q801 Q800 Q1462 Q419 Q414 Q12536 Q262 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q672 Q176 Q863 Q869 Q953
(c(Q2342494)|c(Q15416),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q15416
action count
action filter_multi_types
action find_reverse
entity Q55
relation P495
type Q2342494
type Q15416
[ANSWERS]
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) ?p WHERE { ?j rdf:type ?y . VALUES ( ?y ) { ( ontology:Q2342494 ) ( ontology:Q15416 ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { ?x property:P495 resource:Q55 . { { ?x rdf:type ontology:Q2342494 } UNION { ?x rdf:type ontology:Q15416 } } } } . FILTER ( ?l < ?z ) }
Yemen Panama Israel Costa Rica Sardinia Peru Argentina Abbasid caliphate Algeria Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Tuvalu Quebec Tajikistan Thailand Zambia
Georgia Russia Poland
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type television program
action count
action filter_multi_types
action find_reverse
entity Netherlands
relation country of origin
type collectable
type television program
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) ?p WHERE { ?j rdf:type ?y . VALUES ( ?y ) { ( ontology:collectable ) ( ontology:television_program ) } } GROUP BY ?p } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { ?x property:country_of_origin resource:Netherlands . { { ?x rdf:type ontology:collectable } UNION { ?x rdf:type ontology:television_program } } } } . FILTER ( ?l < ?z ) }
[]