Simple Question (Direct)
Simple Question
Q333388
P19
Q20667921
USER
Which french administrative division is the birthplace of Jean Bart ?
(Q333388,P19,c(Q20667921))
action filter_type
action find
entity Q333388
relation P19
type Q20667921
['Q333388', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q20667921 . resource:Q333388 property:P19 ?q }
Jean Bart
action filter_type
action find
entity Jean Bart
relation place of birth
type type of french administrative division
['Jean Bart', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:type_of_french_administrative_division . resource:Jean_Bart property:place_of_birth ?q }
[]
type of french administrative division
Q45797
SYSTEM
Dunkirk
Q45797
(Q333388,P19,c(Q20667921))
action filter_type
action find
entity Q333388
relation P19
type Q20667921
The [ANSWER] is the birthplace of Jean Bart
['Q333388', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q20667921 . resource:Q333388 property:P19 ?q }
Dunkirk
The Dunkirk is the birthplace of Jean Bart
Dunkirk
action filter_type
action find
entity Jean Bart
relation place of birth
type type of french administrative division
['Jean Bart', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:type_of_french_administrative_division . resource:Jean_Bart property:place_of_birth ?q }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q45797
P190
Q15617994
USER
Which administrative territory is sister town of that french administrative division ?
(Q45797,P190,c(Q15617994))
action filter_type
action find
entity Q45797
relation P190
type Q15617994
['Q45797', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q45797 property:P190 ?n . ?n rdf:type ontology:Q15617994 }
Dunkirk
action filter_type
action find
entity Dunkirk
relation sister city
type designation for an administrative territorial entity
['Dunkirk', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Dunkirk property:sister_city ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q2805
SYSTEM
Krefeld
Q2805
(Q45797,P190,c(Q15617994))
action filter_type
action find
entity Q45797
relation P190
type Q15617994
[ANSWER] is sister town of that french administrative division
['Q45797', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?n WHERE { resource:Q45797 property:P190 ?n . ?n rdf:type ontology:Q15617994 }
Krefeld
Krefeld is sister town of that french administrative division
Krefeld
action filter_type
action find
entity Dunkirk
relation sister city
type designation for an administrative territorial entity
['Dunkirk', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Dunkirk property:sister_city ?n . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q503208
Q15617994
USER
And also tell me about Neusäß?
(Q503208,P190,c(Q15617994))
action filter_type
action find
entity Q503208
relation P190
type Q15617994
['Q503208', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q503208 property:P190 ?r . ?r rdf:type ontology:Q15617994 }
Neusäß
action filter_type
action find
entity Neusäß
relation sister city
type designation for an administrative territorial entity
['Neusäß', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Neusäß property:sister_city ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q10782 Q241791
SYSTEM
Markkleeberg, Bracciano
Q10782 Q241791
(Q503208,P190,c(Q15617994))
action filter_type
action find
entity Q503208
relation P190
type Q15617994
[ANSWERS]
['Q503208', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q503208 property:P190 ?r . ?r rdf:type ontology:Q15617994 }
Markkleeberg Bracciano
Markkleeberg Bracciano
action filter_type
action find
entity Neusäß
relation sister city
type designation for an administrative territorial entity
['Neusäß', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Neusäß property:sister_city ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4155115 Q503208
P47 P19
Q56061
USER
Which administrative territories are bordered by Neusäß or were Jacquie Durrell born at ?
OR((Q503208,P47,c(Q56061)), (Q4155115,P19,c(Q56061)))
action filter_type
action union
action find
entity Q503208
relation P47
action find
entity Q4155115
relation P19
type Q56061
{'OR': [['Q503208', 'P47', {'concept': 'Q56061'}], ['Q4155115', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q503208 property:P47 ?a } UNION { resource:Q4155115 property:P19 ?a } } . ?a rdf:type ontology:Q56061 }
Jacquie Durrell Neusäß
action filter_type
action union
action find
entity Neusäß
relation shares border with
action find
entity Jacquie Durrell
relation place of birth
type administrative territorial entity
{'OR': [['Neusäß', 'shares border with', {'concept': 'administrative territorial entity'}], ['Jacquie Durrell', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Neusäß property:shares_border_with ?a } UNION { resource:Jacquie_Durrell property:place_of_birth ?a } } . ?a rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q18125 Q503300
SYSTEM
Manchester, Stadtbergen
Q18125 Q503300
OR((Q503208,P47,c(Q56061)), (Q4155115,P19,c(Q56061)))
action filter_type
action union
action find
entity Q503208
relation P47
action find
entity Q4155115
relation P19
type Q56061
[ANSWERS] are bordered by Neusäß or were Jacquie Durrell born at
{'OR': [['Q503208', 'P47', {'concept': 'Q56061'}], ['Q4155115', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Q503208 property:P47 ?a } UNION { resource:Q4155115 property:P19 ?a } } . ?a rdf:type ontology:Q56061 }
Manchester Stadtbergen
Manchester and Stadtbergen are bordered by Neusäß or were Jacquie Durrell born at
Manchester Stadtbergen
action filter_type
action union
action find
entity Neusäß
relation shares border with
action find
entity Jacquie Durrell
relation place of birth
type administrative territorial entity
{'OR': [['Neusäß', 'shares border with', {'concept': 'administrative territorial entity'}], ['Jacquie Durrell', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { { { resource:Neusäß property:shares_border_with ?a } UNION { resource:Jacquie_Durrell property:place_of_birth ?a } } . ?a rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q24027155
P532
Q56061 Q2235308
USER
How many ship types have their base port as more number of administrative territories than Maria ?
(c(Q2235308),P532,c(Q56061))
action count
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027155
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { resource:Q24027155 property:P532 ?z . ?z rdf:type ontology:Q2235308 } } . FILTER ( ?n > ?v ) . { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?n ) WHERE { ?h property:P532 ?u . ?u rdf:type ontology:Q56061 . ?h rdf:type ontology:Q2235308 } GROUP BY ?h } }
Maria
action count
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Maria
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { resource:Maria property:port_of_registry ?z . ?z rdf:type ontology:ship_type } } . FILTER ( ?n > ?v ) . { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?n ) WHERE { ?h property:port_of_registry ?u . ?u rdf:type ontology:administrative_territorial_entity . ?h rdf:type ontology:ship_type } GROUP BY ?h } }
[]
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 Q24027155
relation P532
type Q2235308
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { resource:Q24027155 property:P532 ?z . ?z rdf:type ontology:Q2235308 } } . FILTER ( ?n > ?v ) . { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?n ) WHERE { ?h property:P532 ?u . ?u rdf:type ontology:Q56061 . ?h rdf:type ontology:Q2235308 } GROUP BY ?h } }
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 Maria
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { { SELECT DISTINCT ( COUNT ( ?z ) AS ?v ) WHERE { resource:Maria property:port_of_registry ?z . ?z rdf:type ontology:ship_type } } . FILTER ( ?n > ?v ) . { SELECT DISTINCT ?h ( COUNT ( ?u ) AS ?n ) WHERE { ?h property:port_of_registry ?u . ?u rdf:type ontology:administrative_territorial_entity . ?h rdf:type ontology:ship_type } GROUP BY ?h } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q241791
P190
Q15617994 Q13220204
USER
How many administrative territories or administrative country subdivisions are twin cities of Bracciano ?
(Q241791,P190,c(Q15617994)) (Q241791,P190,c(Q13220204))
action count
action union
action filter_type
action find
entity Q241791
relation P190
type Q15617994
action filter_type
action find
entity Q241791
relation P190
type Q13220204
['Q241791', 'P190', {'concept': 'Q15617994'}] ['Q241791', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { ?n rdf:type ?v . VALUES ( ?v ) { ( ontology:Q15617994 ) ( ontology:Q13220204 ) } }
Bracciano
action count
action union
action filter_type
action find
entity Bracciano
relation sister city
type designation for an administrative territorial entity
action filter_type
action find
entity Bracciano
relation sister city
type second-level administrative country subdivision
['Bracciano', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Bracciano', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { ?n rdf:type ?v . VALUES ( ?v ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:second-level_administrative_country_subdivision ) } }
[]
designation for an administrative territorial entity second-level administrative country subdivision
SYSTEM
2
Q503208 Q208012
(Q241791,P190,c(Q15617994)) (Q241791,P190,c(Q13220204))
action count
action union
action filter_type
action find
entity Q241791
relation P190
type Q15617994
action filter_type
action find
entity Q241791
relation P190
type Q13220204
[ANSWER]
['Q241791', 'P190', {'concept': 'Q15617994'}] ['Q241791', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { ?n rdf:type ?v . VALUES ( ?v ) { ( ontology:Q15617994 ) ( ontology:Q13220204 ) } }
Neusäß Hoogeveen
2
action count
action union
action filter_type
action find
entity Bracciano
relation sister city
type designation for an administrative territorial entity
action filter_type
action find
entity Bracciano
relation sister city
type second-level administrative country subdivision
['Bracciano', 'sister city', {'concept': 'designation for an administrative territorial entity'}] ['Bracciano', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?j ) WHERE { ?n rdf:type ?v . VALUES ( ?v ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:second-level_administrative_country_subdivision ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q241791
P190
Q20667921 Q13220204
USER
How many french administrative divisions or administrative country subdivisions are sister towns of Bracciano ?
(Q241791,P190,c(Q20667921)) (Q241791,P190,c(Q13220204))
action count
action union
action filter_type
action find
entity Q241791
relation P190
type Q20667921
action filter_type
action find
entity Q241791
relation P190
type Q13220204
['Q241791', 'P190', {'concept': 'Q20667921'}] ['Q241791', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { ?m rdf:type ?x . VALUES ( ?x ) { ( ontology:Q13220204 ) ( ontology:Q20667921 ) } }
Bracciano
action count
action union
action filter_type
action find
entity Bracciano
relation sister city
type type of french administrative division
action filter_type
action find
entity Bracciano
relation sister city
type second-level administrative country subdivision
['Bracciano', 'sister city', {'concept': 'type of french administrative division'}] ['Bracciano', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { ?m rdf:type ?x . VALUES ( ?x ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:type_of_french_administrative_division ) } }
[]
type of french administrative division second-level administrative country subdivision
SYSTEM
2
Q200945 Q208012
(Q241791,P190,c(Q20667921)) (Q241791,P190,c(Q13220204))
action count
action union
action filter_type
action find
entity Q241791
relation P190
type Q20667921
action filter_type
action find
entity Q241791
relation P190
type Q13220204
[ANSWER]
['Q241791', 'P190', {'concept': 'Q20667921'}] ['Q241791', 'P190', {'concept': 'Q13220204'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { ?m rdf:type ?x . VALUES ( ?x ) { ( ontology:Q13220204 ) ( ontology:Q20667921 ) } }
Châtenay-Malabry Hoogeveen
2
action count
action union
action filter_type
action find
entity Bracciano
relation sister city
type type of french administrative division
action filter_type
action find
entity Bracciano
relation sister city
type second-level administrative country subdivision
['Bracciano', 'sister city', {'concept': 'type of french administrative division'}] ['Bracciano', 'sister city', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?g ) WHERE { ?m rdf:type ?x . VALUES ( ?x ) { ( ontology:second-level_administrative_country_subdivision ) ( ontology:type_of_french_administrative_division ) } }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q511426 Q503208
P47 P190
Q56061
USER
Which administrative territories have a shared border with Neusäß or are twin cities of Vänersborg Municipality ?
OR((Q503208,P47,c(Q56061)), (Q511426,P190,c(Q56061)))
action filter_type
action union
action find
entity Q503208
relation P47
action find
entity Q511426
relation P190
type Q56061
{'OR': [['Q503208', 'P47', {'concept': 'Q56061'}], ['Q511426', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . { { resource:Q503208 property:P47 ?g } UNION { resource:Q511426 property:P190 ?g } } }
Vänersborg Municipality Neusäß
action filter_type
action union
action find
entity Neusäß
relation shares border with
action find
entity Vänersborg Municipality
relation sister city
type administrative territorial entity
{'OR': [['Neusäß', 'shares border with', {'concept': 'administrative territorial entity'}], ['Vänersborg Municipality', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . { { resource:Neusäß property:shares_border_with ?g } UNION { resource:Vänersborg_Municipality property:sister_city ?g } } }
[]
administrative territorial entity
Q691775 Q503300 Q1896161 Q1887662 Q1483558 Q1992633
SYSTEM
Eiði, Stadtbergen, Omaruru, Siglufjörður, Räpina, Arsuk
Q691775 Q503300 Q1896161 Q1887662 Q1483558 Q1992633
OR((Q503208,P47,c(Q56061)), (Q511426,P190,c(Q56061)))
action filter_type
action union
action find
entity Q503208
relation P47
action find
entity Q511426
relation P190
type Q56061
[ANSWERS] have a shared border with Neusäß or are twin cities of Vänersborg Municipality
{'OR': [['Q503208', 'P47', {'concept': 'Q56061'}], ['Q511426', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q56061 . { { resource:Q503208 property:P47 ?g } UNION { resource:Q511426 property:P190 ?g } } }
Eiði Stadtbergen Omaruru Siglufjörður Räpina Arsuk
Eiði, Stadtbergen, Omaruru, Siglufjörður, Räpina and Arsuk have a shared border with Neusäß or are twin cities of Vänersborg Municipality
Eiði Stadtbergen Omaruru Siglufjörður Räpina Arsuk
action filter_type
action union
action find
entity Neusäß
relation shares border with
action find
entity Vänersborg Municipality
relation sister city
type administrative territorial entity
{'OR': [['Neusäß', 'shares border with', {'concept': 'administrative territorial entity'}], ['Vänersborg Municipality', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:administrative_territorial_entity . { { resource:Neusäß property:shares_border_with ?g } UNION { resource:Vänersborg_Municipality property:sister_city ?g } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q241791
P17
Q15617994
USER
Which administrative territory is Bracciano located in ?
(Q241791,P17,c(Q15617994))
action filter_type
action find
entity Q241791
relation P17
type Q15617994
['Q241791', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q241791 property:P17 ?d . ?d rdf:type ontology:Q15617994 }
Bracciano
action filter_type
action find
entity Bracciano
relation country
type designation for an administrative territorial entity
['Bracciano', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Bracciano property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q241791,P17,c(Q15617994))
action filter_type
action find
entity Q241791
relation P17
type Q15617994
Bracciano is located in [ANSWER]
['Q241791', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q241791 property:P17 ?d . ?d rdf:type ontology:Q15617994 }
Italy
Bracciano is located in Italy
Italy
action filter_type
action find
entity Bracciano
relation country
type designation for an administrative territorial entity
['Bracciano', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Bracciano property:country ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]