Simple Question (Direct)
Simple Question
Q4721544
P641
Q349
USER
Which sport did Alexis Trujillo participate in ?
(Q4721544,P641,c(Q349))
action filter_type
action find
entity Q4721544
relation P641
type Q349
['Q4721544', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q4721544 property:P641 ?u . ?u rdf:type ontology:Q349 }
Alexis Trujillo
action filter_type
action find
entity Alexis Trujillo
relation sport
type sport
['Alexis Trujillo', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:Alexis_Trujillo property:sport ?u . ?u rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q4721544,P641,c(Q349))
action filter_type
action find
entity Q4721544
relation P641
type Q349
Alexis Trujillo participated in [ANSWER]
['Q4721544', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?u WHERE { resource:Q4721544 property:P641 ?u . ?u rdf:type ontology:Q349 }
association football
Alexis Trujillo participated in association football
association football
action filter_type
action find
entity Alexis Trujillo
relation sport
type sport
['Alexis Trujillo', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?u WHERE { resource:Alexis_Trujillo property:sport ?u . ?u rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4721544
P19
Q56061
USER
Which administrative territory was Alexis Trujillo born in ?
(Q4721544,P19,c(Q56061))
action filter_type
action find
entity Q4721544
relation P19
type Q56061
['Q4721544', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q4721544 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Alexis Trujillo
action filter_type
action find
entity Alexis Trujillo
relation place of birth
type administrative territorial entity
['Alexis Trujillo', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Alexis_Trujillo property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q11974
SYSTEM
Las Palmas de Gran Canaria
Q11974
(Q4721544,P19,c(Q56061))
action filter_type
action find
entity Q4721544
relation P19
type Q56061
Alexis Trujillo was born in [ANSWER]
['Q4721544', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q4721544 property:P19 ?y . ?y rdf:type ontology:Q56061 }
Las Palmas de Gran Canaria
Alexis Trujillo was born in Las Palmas de Gran Canaria
Las Palmas de Gran Canaria
action filter_type
action find
entity Alexis Trujillo
relation place of birth
type administrative territorial entity
['Alexis Trujillo', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Alexis_Trujillo property:place_of_birth ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2394393
Q56061
USER
And how about Marie Anne de Bourbon?
(Q2394393,P19,c(Q56061))
action filter_type
action find
entity Q2394393
relation P19
type Q56061
['Q2394393', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q2394393 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Marie Anne de Bourbon
action filter_type
action find
entity Marie Anne de Bourbon
relation place of birth
type administrative territorial entity
['Marie Anne de Bourbon', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Marie_Anne_de_Bourbon property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q2394393,P19,c(Q56061))
action filter_type
action find
entity Q2394393
relation P19
type Q56061
[ANSWER]
['Q2394393', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q2394393 property:P19 ?n . ?n rdf:type ontology:Q56061 }
Paris
Paris
action filter_type
action find
entity Marie Anne de Bourbon
relation place of birth
type administrative territorial entity
['Marie Anne de Bourbon', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Marie_Anne_de_Bourbon property:place_of_birth ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q4356873
P559
Q56061 Q728937 Q44377
USER
How many administrative territories serve as the endpoint for approximately the same number of railroad lines and tunnels as Mariehäll ?
(c(Q728937)|c(Q44377),P559,c(Q56061))
action count
action approx
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q728937
action find_reverse_tuple_counts
relation P559
type Q56061
type Q44377
action count
action filter_multi_types
action find_reverse
entity Q4356873
relation P559
type Q728937
type Q44377
[[{'concept': 'Q728937'}, {'concept': 'Q44377'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { { VALUES ( ?n ) { ( ontology:Q728937 ) ( ontology:Q44377 ) } . ?q rdf:type ?n } . ?q property:P559 resource:Q4356873 } } . FILTER ( ?g = ?v ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) ?r WHERE { { ?a property:P559 ?r . ?a rdf:type ontology:Q728937 . ?r rdf:type ontology:Q56061 } UNION { ?r rdf:type ontology:Q56061 . ?a rdf:type ontology:Q44377 . ?a property:P559 ?r } } GROUP BY ?r } }
Mariehäll
action count
action approx
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type railroad line
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type tunnel
action count
action filter_multi_types
action find_reverse
entity Mariehäll
relation terminus
type railroad line
type tunnel
[[{'concept': 'railroad line'}, {'concept': 'tunnel'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { { VALUES ( ?n ) { ( ontology:railroad_line ) ( ontology:tunnel ) } . ?q rdf:type ?n } . ?q property:terminus resource:Mariehäll } } . FILTER ( ?g = ?v ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) ?r WHERE { { ?a property:terminus ?r . ?a rdf:type ontology:railroad_line . ?r rdf:type ontology:administrative_territorial_entity } UNION { ?r rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:tunnel . ?a property:terminus ?r } } GROUP BY ?r } }
[]
administrative territorial entity railroad line tunnel
SYSTEM
132
Q938820 Q9832 Q1020217 Q3112707 Q11851639 Q23436 Q837211 Q3812238 Q1017610 Q10084 Q7567083 Q541055 Q723164 Q82490 Q172157 Q575557 Q985313 Q23311 Q687333 Q932159 Q49550 Q38511 Q3469728 Q796625 Q185453 Q588804 Q130191 Q3001 Q723372 Q167155 Q2272 Q986100 Q6023 Q7811572 Q171357 Q134620 Q956 Q959 Q556989 Q1011611 Q727 Q649 Q2065223 Q211059 Q42159 Q7986745 Q1009428 Q18808 Q1011221 Q24826 Q6509 Q671348 Q28327 Q5477618 Q5032535 Q4093 Q4356873 Q33959 Q11839080 Q586 Q585 Q987170 Q1017331 Q1763 Q1449 Q848909 Q1420136 Q754868 Q125080 Q1757 Q36989 Q49218 Q990112 Q100 Q2734845 Q1020951 Q40840 Q542966 Q1616042 Q643944 Q257034 Q1571025 Q756103 Q25330 Q856860 Q517381 Q3992 Q190847 Q1318695 Q1248150 Q2073801 Q1781385 Q1759693 Q369947 Q84 Q2300663 Q2132 Q2133814 Q7944369 Q646784 Q79499 Q184383 Q375905 Q263954 Q10561690 Q12892 Q643160 Q6816 Q17872 Q129610 Q766594 Q466054 Q953081 Q180717 Q2086787 Q79804 Q895452 Q40325 Q953719 Q580016 Q2290 Q244289 Q237253 Q485186 Q588417 Q146659 Q522362 Q790938 Q530309 Q865872 Q65 Q1085
(c(Q728937)|c(Q44377),P559,c(Q56061))
action count
action approx
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q728937
action find_reverse_tuple_counts
relation P559
type Q56061
type Q44377
action count
action filter_multi_types
action find_reverse
entity Q4356873
relation P559
type Q728937
type Q44377
[ANSWER]
[[{'concept': 'Q728937'}, {'concept': 'Q44377'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { { VALUES ( ?n ) { ( ontology:Q728937 ) ( ontology:Q44377 ) } . ?q rdf:type ?n } . ?q property:P559 resource:Q4356873 } } . FILTER ( ?g = ?v ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) ?r WHERE { { ?a property:P559 ?r . ?a rdf:type ontology:Q728937 . ?r rdf:type ontology:Q56061 } UNION { ?r rdf:type ontology:Q56061 . ?a rdf:type ontology:Q44377 . ?a property:P559 ?r } } GROUP BY ?r } }
Virrat Eindhoven Minehead Sedbury Annalankangas Edinburgh Scheveningen Bronygarth Horgoš Vlissingen South Drain Oijen Pop Lyme Regis Winchester Grand Tower Ingleton City of London Middleton-by-Wirksworth Hart Maó-Mahón Turku Salford Quays Edale Multan Badrinath Norwich Paramaribo Narva-Jõesuu Kalamazoo Skien Ridder Lapua Tobermory, Ontario Kecskemét Jyväskylä Beijing Vladivostok Ankeny Portpatrick Amsterdam Moscow Port Grimaud Jõhvi Hanam West Vale Drymen Pyongyang Kincardine Liverpool Burgas Worthing Örnsköldsvik Frafjord Cann River Glasgow Mariehäll Nice Akdere, Silifke Bonn Oslo Inčukalns Westport, County Mayo Murmansk Genoa Fort William Herøya Cumberland Vaasa Helsinki Pardubice Rochester Littlehampton Boston Henley-in-Arden Ilkley Tampere Angren, Uzbekistan Hessle Asaluyeh Kemble Mullan Lewes Trenton Hammond Dillenburg Liège Alexandroupoli Apoera Wallsend Helmsley Björkhagen South Boston El Cajon London Gaylord Victoria St Nicholas-at-Wade Värpinge Moffat Helena Zeebrugge Deerfield Afobaka Lilla Alby Antwerp Farnham Ulan-Ude Alice Springs Galway Bewdley Mahdia Orivesi Sousse Manitou Springs Sitka Bowling, West Dunbartonshire Springfield South Haven Albina Porsgrunn Athis-Mons Great Yarmouth Key West Sewell, Chile Clapham Bad Säckingen Aviemore Karkkila Birstall Los Angeles Prague
132
action count
action approx
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type railroad line
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type tunnel
action count
action filter_multi_types
action find_reverse
entity Mariehäll
relation terminus
type railroad line
type tunnel
[[{'concept': 'railroad line'}, {'concept': 'tunnel'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { { VALUES ( ?n ) { ( ontology:railroad_line ) ( ontology:tunnel ) } . ?q rdf:type ?n } . ?q property:terminus resource:Mariehäll } } . FILTER ( ?g = ?v ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) ?r WHERE { { ?a property:terminus ?r . ?a rdf:type ontology:railroad_line . ?r rdf:type ontology:administrative_territorial_entity } UNION { ?r rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:tunnel . ?a property:terminus ?r } } GROUP BY ?r } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q990112
P559
Q56061 Q728937 Q44377
USER
And what about Littlehampton?
(c(Q728937)|c(Q44377),P559,c(Q56061))
action count
action approx
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q728937
action find_reverse_tuple_counts
relation P559
type Q56061
type Q44377
action count
action filter_multi_types
action find_reverse
entity Q990112
relation P559
type Q728937
type Q44377
[[{'concept': 'Q728937'}, {'concept': 'Q44377'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { { { ?g rdf:type ontology:Q728937 } UNION { ?g rdf:type ontology:Q44377 } } . ?g property:P559 resource:Q990112 } } . FILTER ( ?o = ?q ) . { SELECT DISTINCT ?h ( COUNT ( ?e ) AS ?o ) WHERE { ?e rdf:type ?s . VALUES ( ?s ) { ( ontology:Q728937 ) ( ontology:Q44377 ) } } GROUP BY ?h } }
Littlehampton
action count
action approx
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type railroad line
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type tunnel
action count
action filter_multi_types
action find_reverse
entity Littlehampton
relation terminus
type railroad line
type tunnel
[[{'concept': 'railroad line'}, {'concept': 'tunnel'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { { { ?g rdf:type ontology:railroad_line } UNION { ?g rdf:type ontology:tunnel } } . ?g property:terminus resource:Littlehampton } } . FILTER ( ?o = ?q ) . { SELECT DISTINCT ?h ( COUNT ( ?e ) AS ?o ) WHERE { ?e rdf:type ?s . VALUES ( ?s ) { ( ontology:railroad_line ) ( ontology:tunnel ) } } GROUP BY ?h } }
[]
administrative territorial entity railroad line tunnel
SYSTEM
132
Q938820 Q9832 Q1020217 Q3112707 Q11851639 Q23436 Q837211 Q3812238 Q1017610 Q10084 Q7567083 Q541055 Q723164 Q82490 Q172157 Q575557 Q985313 Q23311 Q687333 Q932159 Q49550 Q38511 Q3469728 Q796625 Q185453 Q588804 Q130191 Q3001 Q723372 Q167155 Q2272 Q986100 Q6023 Q7811572 Q171357 Q134620 Q956 Q959 Q556989 Q1011611 Q727 Q649 Q2065223 Q211059 Q42159 Q7986745 Q1009428 Q18808 Q1011221 Q24826 Q6509 Q671348 Q28327 Q5477618 Q5032535 Q4093 Q4356873 Q33959 Q11839080 Q586 Q585 Q987170 Q1017331 Q1763 Q1449 Q848909 Q1420136 Q754868 Q125080 Q1757 Q36989 Q49218 Q990112 Q100 Q2734845 Q1020951 Q40840 Q542966 Q1616042 Q643944 Q257034 Q1571025 Q756103 Q25330 Q856860 Q517381 Q3992 Q190847 Q1318695 Q1248150 Q2073801 Q1781385 Q1759693 Q369947 Q84 Q2300663 Q2132 Q2133814 Q7944369 Q646784 Q79499 Q184383 Q375905 Q263954 Q10561690 Q12892 Q643160 Q6816 Q17872 Q129610 Q766594 Q466054 Q953081 Q180717 Q2086787 Q79804 Q895452 Q40325 Q953719 Q580016 Q2290 Q244289 Q237253 Q485186 Q588417 Q146659 Q522362 Q790938 Q530309 Q865872 Q65 Q1085
(c(Q728937)|c(Q44377),P559,c(Q56061))
action count
action approx
action union
action find_reverse_tuple_counts
relation P559
type Q56061
type Q728937
action find_reverse_tuple_counts
relation P559
type Q56061
type Q44377
action count
action filter_multi_types
action find_reverse
entity Q990112
relation P559
type Q728937
type Q44377
[ANSWER]
[[{'concept': 'Q728937'}, {'concept': 'Q44377'}], 'P559', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { { { ?g rdf:type ontology:Q728937 } UNION { ?g rdf:type ontology:Q44377 } } . ?g property:P559 resource:Q990112 } } . FILTER ( ?o = ?q ) . { SELECT DISTINCT ?h ( COUNT ( ?e ) AS ?o ) WHERE { ?e rdf:type ?s . VALUES ( ?s ) { ( ontology:Q728937 ) ( ontology:Q44377 ) } } GROUP BY ?h } }
Virrat Eindhoven Minehead Sedbury Annalankangas Edinburgh Scheveningen Bronygarth Horgoš Vlissingen South Drain Oijen Pop Lyme Regis Winchester Grand Tower Ingleton City of London Middleton-by-Wirksworth Hart Maó-Mahón Turku Salford Quays Edale Multan Badrinath Norwich Paramaribo Narva-Jõesuu Kalamazoo Skien Ridder Lapua Tobermory, Ontario Kecskemét Jyväskylä Beijing Vladivostok Ankeny Portpatrick Amsterdam Moscow Port Grimaud Jõhvi Hanam West Vale Drymen Pyongyang Kincardine Liverpool Burgas Worthing Örnsköldsvik Frafjord Cann River Glasgow Mariehäll Nice Akdere, Silifke Bonn Oslo Inčukalns Westport, County Mayo Murmansk Genoa Fort William Herøya Cumberland Vaasa Helsinki Pardubice Rochester Littlehampton Boston Henley-in-Arden Ilkley Tampere Angren, Uzbekistan Hessle Asaluyeh Kemble Mullan Lewes Trenton Hammond Dillenburg Liège Alexandroupoli Apoera Wallsend Helmsley Björkhagen South Boston El Cajon London Gaylord Victoria St Nicholas-at-Wade Värpinge Moffat Helena Zeebrugge Deerfield Afobaka Lilla Alby Antwerp Farnham Ulan-Ude Alice Springs Galway Bewdley Mahdia Orivesi Sousse Manitou Springs Sitka Bowling, West Dunbartonshire Springfield South Haven Albina Porsgrunn Athis-Mons Great Yarmouth Key West Sewell, Chile Clapham Bad Säckingen Aviemore Karkkila Birstall Los Angeles Prague
132
action count
action approx
action union
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type railroad line
action find_reverse_tuple_counts
relation terminus
type administrative territorial entity
type tunnel
action count
action filter_multi_types
action find_reverse
entity Littlehampton
relation terminus
type railroad line
type tunnel
[[{'concept': 'railroad line'}, {'concept': 'tunnel'}], 'terminus', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?f ) WHERE { { SELECT DISTINCT ( COUNT ( ?g ) AS ?q ) WHERE { { { ?g rdf:type ontology:railroad_line } UNION { ?g rdf:type ontology:tunnel } } . ?g property:terminus resource:Littlehampton } } . FILTER ( ?o = ?q ) . { SELECT DISTINCT ?h ( COUNT ( ?e ) AS ?o ) WHERE { ?e rdf:type ?s . VALUES ( ?s ) { ( ontology:railroad_line ) ( ontology:tunnel ) } } GROUP BY ?h } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q34 Q4356873
P47 P17
Q56061
USER
Which administrative territories do Mariehäll share a border with and are present in Sweden ?
AND((c(Q56061),P47,Q4356873), (c(Q56061),P17,Q34))
action filter_type
action intersection
action find_reverse
entity Q4356873
relation P47
action find_reverse
entity Q34
relation P17
type Q56061
{'AND': [[{'concept': 'Q56061'}, 'P47', 'Q4356873'], [{'concept': 'Q56061'}, 'P17', 'Q34']]}
SELECT DISTINCT ?i WHERE { ?i property:P47 resource:Q4356873 . ?i property:P17 resource:Q34 . ?i rdf:type ontology:Q56061 }
Sweden Mariehäll
action filter_type
action intersection
action find_reverse
entity Mariehäll
relation shares border with
action find_reverse
entity Sweden
relation country
type administrative territorial entity
{'AND': [[{'concept': 'administrative territorial entity'}, 'shares border with', 'Mariehäll'], [{'concept': 'administrative territorial entity'}, 'country', 'Sweden']]}
SELECT DISTINCT ?i WHERE { ?i property:shares_border_with resource:Mariehäll . ?i property:country resource:Sweden . ?i rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q10561690 Q10438491 Q4357001 Q5317616 Q4357016
SYSTEM
Lilla Alby, Bällsta, Riksby, Duvbo, Ulvsunda industriområde
Q10561690 Q10438491 Q4357001 Q5317616 Q4357016
AND((c(Q56061),P47,Q4356873), (c(Q56061),P17,Q34))
action filter_type
action intersection
action find_reverse
entity Q4356873
relation P47
action find_reverse
entity Q34
relation P17
type Q56061
[ANSWERS] Mariehäll share a border with and are present in Sweden
{'AND': [[{'concept': 'Q56061'}, 'P47', 'Q4356873'], [{'concept': 'Q56061'}, 'P17', 'Q34']]}
SELECT DISTINCT ?i WHERE { ?i property:P47 resource:Q4356873 . ?i property:P17 resource:Q34 . ?i rdf:type ontology:Q56061 }
Lilla Alby Bällsta Riksby Duvbo Ulvsunda industriområde
Lilla Alby, Bällsta, Riksby, Duvbo and Ulvsunda industriområde Mariehäll share a border with and are present in Sweden
Lilla Alby Bällsta Riksby Duvbo Ulvsunda industriområde
action filter_type
action intersection
action find_reverse
entity Mariehäll
relation shares border with
action find_reverse
entity Sweden
relation country
type administrative territorial entity
{'AND': [[{'concept': 'administrative territorial entity'}, 'shares border with', 'Mariehäll'], [{'concept': 'administrative territorial entity'}, 'country', 'Sweden']]}
SELECT DISTINCT ?i WHERE { ?i property:shares_border_with resource:Mariehäll . ?i property:country resource:Sweden . ?i rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4356873
P47
Q56061
USER
Does Mariehäll share border with those ones ?
(Q4356873,P47,Q10561690) (Q4356873,P47,Q10438491) (Q4356873,P47,Q4357001) (Q4356873,P47,Q5317616) (Q4356873,P47,Q4357016)
action is_in
entity prev_answer
action find
entity Q4356873
relation P47
['Q4356873', 'P47', 'Q10561690'] ['Q4356873', 'P47', 'Q10438491'] ['Q4356873', 'P47', 'Q4357001'] ['Q4356873', 'P47', 'Q5317616'] ['Q4356873', 'P47', 'Q4357016']
ASK WHERE { resource:Q4356873 property:P47 ?i . VALUES ( ?i ) { ( resource:Q10561690 ) ( resource:Q10438491 ) ( resource:Q4357001 ) } }
Mariehäll
action is_in
entity prev_answer
action find
entity Mariehäll
relation shares border with
['Mariehäll', 'shares border with', 'Lilla Alby'] ['Mariehäll', 'shares border with', 'Bällsta'] ['Mariehäll', 'shares border with', 'Riksby'] ['Mariehäll', 'shares border with', 'Duvbo'] ['Mariehäll', 'shares border with', 'Ulvsunda industriområde']
ASK WHERE { resource:Mariehäll property:shares_border_with ?i . VALUES ( ?i ) { ( resource:Lilla_Alby ) ( resource:Bällsta ) ( resource:Riksby ) } }
[]
administrative territorial entity
SYSTEM
YES
(Q4356873,P47,Q10561690) (Q4356873,P47,Q10438491) (Q4356873,P47,Q4357001) (Q4356873,P47,Q5317616) (Q4356873,P47,Q4357016)
action is_in
entity prev_answer
action find
entity Q4356873
relation P47
[ANSWER]
['Q4356873', 'P47', 'Q10561690'] ['Q4356873', 'P47', 'Q10438491'] ['Q4356873', 'P47', 'Q4357001'] ['Q4356873', 'P47', 'Q5317616'] ['Q4356873', 'P47', 'Q4357016']
ASK WHERE { resource:Q4356873 property:P47 ?i . VALUES ( ?i ) { ( resource:Q10561690 ) ( resource:Q10438491 ) ( resource:Q4357001 ) } }
Yes
action is_in
entity prev_answer
action find
entity Mariehäll
relation shares border with
['Mariehäll', 'shares border with', 'Lilla Alby'] ['Mariehäll', 'shares border with', 'Bällsta'] ['Mariehäll', 'shares border with', 'Riksby'] ['Mariehäll', 'shares border with', 'Duvbo'] ['Mariehäll', 'shares border with', 'Ulvsunda industriområde']
ASK WHERE { resource:Mariehäll property:shares_border_with ?i . VALUES ( ?i ) { ( resource:Lilla_Alby ) ( resource:Bällsta ) ( resource:Riksby ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q10438491 Q1231010
P276
Q34442
USER
How many roads are located at Bällsta or Marienburg ?
(c(Q34442),P276,Q10438491) (c(Q34442),P276,Q1231010)
action count
action union
action filter_type
action find_reverse
entity Q10438491
relation P276
type Q34442
action filter_type
action find_reverse
entity Q1231010
relation P276
type Q34442
[{'concept': 'Q34442'}, 'P276', 'Q10438491'] [{'concept': 'Q34442'}, 'P276', 'Q1231010']
SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { { ?k rdf:type ontology:Q34442 . ?k property:P276 resource:Q10438491 } UNION { ?k property:P276 resource:Q1231010 . ?k rdf:type ontology:Q34442 } }
Bällsta Marienburg
action count
action union
action filter_type
action find_reverse
entity Bällsta
relation location
type road
action filter_type
action find_reverse
entity Marienburg
relation location
type road
[{'concept': 'road'}, 'location', 'Bällsta'] [{'concept': 'road'}, 'location', 'Marienburg']
SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { { ?k rdf:type ontology:road . ?k property:location resource:Bällsta } UNION { ?k property:location resource:Marienburg . ?k rdf:type ontology:road } }
[]
road
SYSTEM
16
Q15803195 Q15632541 Q15813218 Q15813073 Q15813259 Q15813190 Q15813214 Q15813235 Q15813237 Q15813225 Q15813233 Q15813248 Q15813185 Q15813239 Q15813238 Q15813072
(c(Q34442),P276,Q10438491) (c(Q34442),P276,Q1231010)
action count
action union
action filter_type
action find_reverse
entity Q10438491
relation P276
type Q34442
action filter_type
action find_reverse
entity Q1231010
relation P276
type Q34442
[ANSWER]
[{'concept': 'Q34442'}, 'P276', 'Q10438491'] [{'concept': 'Q34442'}, 'P276', 'Q1231010']
SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { { ?k rdf:type ontology:Q34442 . ?k property:P276 resource:Q10438491 } UNION { ?k property:P276 resource:Q1231010 . ?k rdf:type ontology:Q34442 } }
Parkstraße Lindenallee Tiberiusstraße Am Südpark Mehlemer Straße Pferdmengesstraße Unter den Ulmen Eugen-Langen-Straße Godesberger Straße Germanicusstraße Leyboldstraße Robert-Heuser-Straße Marienburger Straße Ahrweilerstraße Von-Groote-Straße An der Alteburger Mühle
16
action count
action union
action filter_type
action find_reverse
entity Bällsta
relation location
type road
action filter_type
action find_reverse
entity Marienburg
relation location
type road
[{'concept': 'road'}, 'location', 'Bällsta'] [{'concept': 'road'}, 'location', 'Marienburg']
SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { { ?k rdf:type ontology:road . ?k property:location resource:Bällsta } UNION { ?k property:location resource:Marienburg . ?k rdf:type ontology:road } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P532
Q56061 Q2235308
USER
Which ship types have atmost 3 administrative territories as registry port ?
(c(Q2235308),P532,c(Q56061))
action atmost
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 3
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?j ) WHERE { ?h property:P532 ?k . ?h rdf:type ontology:Q2235308 . ?k rdf:type ontology:Q56061 } GROUP BY ?h } . FILTER ( ?j <= 3 ) }
action atmost
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 3
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?j ) WHERE { ?h property:port_of_registry ?k . ?h rdf:type ontology:ship_type . ?k rdf:type ontology:administrative_territorial_entity } GROUP BY ?h } . FILTER ( ?j <= 3 ) }
[]
administrative territorial entity ship type
Q558338 Q2596850 Q468026
SYSTEM
RV Polarstern, MS Azura, SS Maxim Gorkiy
Q24027529 Q24027524 Q24027523 Q24027520 Q24027521 Q558338 Q24027098 Q2992316 Q2301456 Q5416 Q23935687 Q24027294 Q24027295 Q24027296 Q24027297 Q24027290 Q24027291 Q24027293 Q24027355 Q24027354 Q24027357 Q24027356 Q24027298 Q24027350 Q24027353 Q24027352 Q983141 Q24027450 Q24027456 Q24027457 Q10659232 Q24027455 Q24027458 Q24027459 Q671137 Q24027390 Q24027188 Q24027189 Q133606 Q26988086 Q23936292 Q24027181 Q168474 Q24027183 Q24027184 Q24027185 Q24027186 Q24027187 Q300311 Q20489530 Q24026972 Q21590707 Q24026970 Q24026971 Q24026976 Q24026974 Q24026975 Q24026978 Q24026979 Q24027078 Q24027079 Q24027075 Q24027076 Q24027077 Q24027070 Q24027071 Q24027072 Q24027073 Q24027175 Q24027174 Q24027177 Q24027279 Q24027171 Q24027170 Q24027173 Q24027172 Q24027272 Q24027270 Q24027179 Q24027178 Q24027274 Q24027275 Q24027269 Q24027009 Q24027008 Q24027001 Q24027000 Q24027003 Q24027386 Q24027005 Q24027004 Q24027007 Q24027006 Q24027467 Q24027418 Q24027416 Q24027414 Q24027412 Q24027413 Q24027410 Q5338632 Q7499755 Q3432142 Q2124429 Q1293488 Q21546160 Q7393645 Q1017179 Q7120838 Q24027302 Q24027303 Q24027300 Q24027301 Q24027306 Q24027307 Q24027304 Q24027305 Q24027359 Q24027308 Q24027309 Q24027358 Q25933427 Q7393546 Q64846 Q24027251 Q24027452 Q24027234 Q24027235 Q24027232 Q24027233 Q24027230 Q24027231 Q24027238 Q24027239 Q24027025 Q24027364 Q24026989 Q24026988 Q6720075 Q24026983 Q24026982 Q24026981 Q24026980 Q24026986 Q24026985 Q24026984 Q25173 Q24027045 Q24027044 Q24027128 Q24027129 Q24027041 Q24027040 Q24027043 Q24027042 Q24027122 Q24027123 Q24027120 Q24027121 Q24027126 Q24027127 Q24027124 Q24027125 Q14493958 Q24026938 Q24026939 Q24026936 Q24026937 Q24027180 Q24026935 Q24026932 Q24026933 Q24026930 Q24026931 Q24027513 Q24027512 Q24027511 Q24027510 Q24027517 Q24027516 Q24027514 Q24027401 Q24027519 Q24027518 Q24027299 Q24027400 Q1376616 Q321512 Q24027118 Q24027349 Q24027346 Q24027347 Q24027344 Q24027345 Q18128240 Q24027343 Q24027340 Q24027112 Q7394354 Q24027466 Q24027465 Q24027464 Q24027463 Q24027462 Q24027461 Q24027460 Q24027059 Q24027469 Q24027468 Q664284 Q26988094 Q26884343 Q21196329 Q24027438 Q24027439 Q2017178 Q10659251 Q24027249 Q23930851 Q477173 Q130373 Q24026947 Q24026946 Q24026945 Q24026943 Q24026942 Q24026941 Q24026940 Q24026949 Q24026948 Q24027081 Q24027080 Q24027083 Q24027082 Q24027085 Q24027084 Q24027087 Q24027086 Q24027088 Q19608222 Q24027050 Q24027166 Q24027167 Q24027164 Q24027162 Q24027163 Q24027160 Q24027161 Q24027247 Q24027246 Q24027245 Q24027244 Q24027243 Q24027242 Q24027168 Q24027240 Q11707059 Q23936293 Q24027051 Q1026780 Q22342351 Q24027237 Q15662618 Q24027437 Q24027018 Q24027019 Q887782 Q24027012 Q24027013 Q24026934 Q33209 Q24027017 Q24683722 Q24027015 Q1514518 Q24027422 Q24027421 Q24027420 Q24027427 Q24027426 Q24027425 Q24027424 Q24027429 Q24027428 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q24027337 Q24027336 Q24027335 Q24027334 Q24027333 Q24027332 Q24027331 Q24027330 Q24027339 Q24027338 Q24027192 Q2124449 Q872070 Q24027328 Q56839 Q24027208 Q24027203 Q24027200 Q24027206 Q24027205 Q24027204 Q778649 Q4922515 Q3952367 Q24026998 Q24026999 Q24026994 Q24026995 Q24026996 Q24026997 Q24026990 Q24026991 Q24026992 Q24026993 Q11705702 Q24027056 Q24027057 Q24027054 Q24027055 Q24027052 Q24027053 Q24027119 Q1926275 Q24027117 Q24027116 Q24027115 Q24027113 Q24039469 Q24027111 Q24027110 Q24027010 Q19896387 Q24027506 Q24027507 Q24027500 Q24027501 Q24027502 Q24027503 Q24027016 Q24027508 Q24027509 Q10659340 Q24027448 Q751584 Q6930211 Q24027478 Q24027479 Q24027371 Q24027370 Q24027377 Q24027375 Q24027374 Q24027470 Q24027471 Q24027472 Q24027378 Q16629249 Q24027476 Q24027475 Q24027046 Q497065 Q2714285 Q24027477 Q3053251 Q24027248 Q468026 Q1439419 Q24027049 Q24027047 Q24027485 Q24027481 Q24027480 Q24027483 Q24027489 Q24027488 Q23579589 Q4686475 Q190542 Q26987769 Q19875522 Q24027278 Q24027092 Q24027093 Q24027090 Q24027091 Q24027096 Q24027097 Q24027094 Q24027095 Q24027153 Q24027152 Q24027151 Q24027150 Q24027157 Q24027156 Q24027155 Q24027154 Q24027398 Q24027252 Q24027253 Q24027254 Q24027256 Q24027257 Q24027391 Q24027259 Q24027393 Q24027392 Q24027395 Q24027394 Q24027397 Q24027396 Q1328104 Q11891639 Q23935690 Q24027276 Q321007 Q24027277 Q24027029 Q24027027 Q24027026 Q24026973 Q24027024 Q24027023 Q24027022 Q24027021 Q24027020 Q24026958 Q24026959 Q6720006 Q3273204 Q24026950 Q24026951 Q24026952 Q24026953 Q24026954 Q24026955 Q24026956 Q24026957 Q24027434 Q24027435 Q24027436 Q24027241 Q24027430 Q24027433 Q24027531 Q24027227 Q24027533 Q741803 Q24027226 Q24027408 Q24027197 Q15804931 Q24027222 Q24027218 Q338340 Q7120888 Q24027283 Q24027281 Q24027280 Q24027287 Q24027285 Q24027284 Q24027320 Q24027321 Q24027322 Q24027288 Q24027324 Q24027326 Q24027327 Q24027441 Q24027440 Q24027443 Q24027442 Q24027444 Q24027447 Q24027446 Q24027449 Q215692 Q644078 Q24027217 Q15806486 Q2859581 Q23936306 Q6717728 Q917188 Q24027194 Q24027193 Q24027219 Q24027191 Q24027190 Q24027214 Q24027215 Q24027216 Q18213370 Q24027210 Q24027211 Q24027212 Q24027213 Q23930837 Q1129910 Q24026961 Q24026960 Q24026963 Q24026962 Q24026965 Q24026964 Q24026967 Q24026966 Q24026969 Q24027069 Q24027068 Q24027061 Q24027060 Q24027067 Q24027066 Q24027065 Q24027064 Q2714360 Q24027101 Q24027103 Q24027104 Q24027105 Q24027106 Q24027107 Q24027108 Q24027109 Q24027262 Q24027265 Q24027264 Q24027267 Q24027266 Q24026915 Q24026916 Q17374114 Q16852551 Q1094175 Q24026919 Q885761 Q19277222 Q10542891 Q24027365 Q24027366 Q24027367 Q24027360 Q24027361 Q24027362 Q24027363 Q24027405 Q24027404 Q24027407 Q24027368 Q24027369 Q24027402 Q7440002 Q1514126 Q10689319 Q18711004 Q6718072 Q4833112 Q1339472 Q24027030 Q1844689 Q24027138 Q24027342 Q24027311 Q24027310 Q24027313 Q24027312 Q24027315 Q24027314 Q24027317 Q24027316 Q24027319 Q24027318 Q24027341 Q10689326 Q10689324 Q24027497 Q24027494 Q24027495 Q24027493 Q24027490 Q24027491 Q24027037 Q24027498 Q24027499 Q24027038 Q24027039 Q3558075 Q24027134 Q192381 Q24027148 Q24027144 Q24027145 Q24027146 Q24027147 Q24027140 Q24027141 Q24027142 Q24027143 Q24027225 Q24027224 Q24027388 Q24027389 Q24027221 Q24027220 Q24027223 Q23936316 Q24027382 Q24027380 Q24027381 Q24027229 Q24027387 Q24027384 Q24027385 Q493616 Q24027100 Q24027268 Q469715 Q24027139 Q24027031 Q24027032 Q24027033 Q24027034 Q24027035 Q24027036 Q35462 Q24027131 Q24027130 Q24027133 Q24027132 Q24027135 Q24027159 Q24027137 Q24027136 Q24027261 Q24027158 Q24026929 Q24026928 Q24027260 Q24026925 Q24026924 Q24026927 Q24026926 Q24026921 Q24026920 Q24026923 Q24026922
(c(Q2235308),P532,c(Q56061))
action atmost
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 3
[ANSWERS] have atmost 3 administrative territories as registry port
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?j ) WHERE { ?h property:P532 ?k . ?h rdf:type ontology:Q2235308 . ?k rdf:type ontology:Q56061 } GROUP BY ?h } . FILTER ( ?j <= 3 ) }
Claverdale Cliftonian Florrie Glantivy Cheltonian RV Polarstern Eagle HSC Condor Rapide MS Viking XPRS MS Isabelle Elizabeth Ann Catherine Anne Charlotte Pilgrim Martha Jane Alert Mary Retina Noah Rowland Evans Jane Maria Crusader Progress Solway Pleiades Fairy MY Sam Simon Owny Belle Dora Ann Adela S Hills S/S Blidösund Maglona Conovium Morning Star MV Brigitte Bardot Dovey Belle Dreadnought Jane Williams MS Star Meteora Agenoria Leander MV Arctic Sunrise John James Lettice Catherine Farmers Lass Orcadia Anne Davies A MS Harmony of the Seas Diligence Ardmore Sealeader Salathiel Energy Urgent Letitia Brothers Ceres Aeron Lass Ellen Owen Mantura Urania Mary Anne Elizabeth Lewis George Ann Margaretta Friendship Catherine & Mary Equity Eagle Eyed Glenaros Mary Davies Queen of the Isles Prima Donna Thomas Confidence Hannah Nive Naomi Dewi Lass Anne Jane Helena Taliesin Cambrian Belle Atalanta Bee Mountain Lass William & Mary Turtle Dove Friends Ellen Adelaide Martha Lloyd Courier Lerry Claudia Ivanhoe Ina Lass Cecil Brindley Edith Mærsk Shoalway Golar Spirit RMS Samaria MV Esperanza MV Maritec SS Empire Endurance SS Burutu PS Empress Queen Hind Fairlina Joan Cunllo Prince of Wales Aurora Ann Davies Montego Gertrude Ceredig Martha Lloyd William Landreth Retriever High Barbaree SS Empire Airman MS Skåne Panthea Ann Jones Killia Lass Jane Belem Alberta Agnes Fraser Main Volunteer Eunice Mary Hughes Lovina Bee Hope MV Spreewald Fair Hope Beryl Dovey Packet Candace Lydia Speculation Clara RMS Titanic Nanteos Carn Brea Lady of the Forest Nathaniel Ontario Herald Anna Maria Margaret Jones Jane Gwynne Arica Jane Davies Hawendale Elizabeth & Margaret Rheidol Vale Candor Prince Llewelyn Mærsk Mc-Kinney Møller Clarissa Elizabeth Thomas New Diligence Ella Pacific Maria George Reynolds Mary Anna Argo Towy Santon Glanyrafon Harperly Glanhafren Venus Glanystwyth Pluvier J. Llewellyn Alton Towers Feliciana Catherine Morgan J.W.A. SS Norge Alster Sarah Bridget Castle Eden Walter J. Cummins Sea Queen Hetty Mary Zingara MS Quantum of the Seas Ocean Dart Zulette Sarah SS Scharnhorst Eleanor & Jane Agenoria Maggie Phillips Rheidol Nerissa Caroline Spooner General Nott Adoram Lady Agnes George & Lizzie Pioneering Spirit Emma Victory STI Poplar SS Argentina Plover Maggie Cummings Oker S/S Drottningholm Glenara Capricorn Emma Mærsk Admiral Makarov Prudence Jane Adroit Primrose John & Ann Levant Ellen Eaglet Jane Ellen Dove Glynaeron Padarn Arcturus Edward John Eleanor Jane Jones Cwmsymlog John & Margaret HSC Condor Liberation Loyalty Maria & Ann Marmion Claudia Albion Mary Rees Two sisters Puella Berlin Nimrod Jane Elizabeth Anne Jenkins Credo Cricket Louisa Jane Morben MS Arrow Providence Anne & Mary SS California Modern Express Lima Djurgården 8 Agnes Cairnes Mary Lloyd Jane MY Bob Barker Jane Ellen Pyrenee Two Brothers Mary Celeste Gwalia Cirrus Gowerian Sapphire Princess Champion Gipsy King John Ewing Cygnet P.M. Willcock Lorne Derby Ella Swallow MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy Fanny Fothergill Catherine Acorn Albatross Isabella Julianna Oronsa John Elias General Nott Ellen Beatrice Maid of Meirion RMS St Helena German frigate Lübeck Sarah Phillips USNS Puerto Rico Heather Bell Ocean Belle Maria Anna Aretas Ann & Margaret Syren Eclipse Blackadder MS Norman Atlantic Orion Prima Dudgeon Margaret Ann Aeron Maid Reform Lovely Lass Conovium Major Nanney Amity MV Ascension Henry & Dora Heart of Oak Ann & Elizabeth Ruby Anne Jones Catherine Beatrice MY Steve Irwin Mary Jones Peerless Eliza & Hannah Eliza Jenkins HSC Highspeed 5 All Right Jane Owens Viscata Asta av Smögen Porpoise Norseman Etonian Rugbeian Carthusian Breconian Victoria Crescent Blue & White S/S Storskär Desdemona MS Express Samina msy Wind Song Raymond Comet Dreadnought Napoleon Leah Swell Rheidol Queen Hero Isobel Queen's Cliff Hope Varnek (ship, 1974-2010) Adrienne Pearl Ellen MV Baltic Ace MS Rosella Lynwood Empire Sandy Prairie Flower SS Maxim Gorkiy Vitus Bering Active Egcrateia Glanwern Miss Hughes Advance Edith Eleanor Glanrheidol Cadwgan MV Christinaki Adventure Costa Concordia British Explorer Big Fish Susannah Knapp Philanthropist Magdalen Esther Eleanor Anne Warren Myra Union Packet Ellen Edwards Hagar Hedessa Messenger Spread Eagle Nymph Faithful Sister Caroline Maria Roseina Lizzie Jane Sarah Jane Wellington Bessie Messenger Bezaleel Jane Rowland Ann & Mary Antelope Jane Lois Henry E. Taylor Jane Catherine Alfa Nero SS Coccolita Azorean J.W. RMS Olympic James Bristol Packet Aeron Queen Melodia Malvina Velocity Jane & Mary Gleaner Dart Margaret Evans Martin Omnibus MV Royal Daffodil MV Barfleur Ospray Integrity Lively Lass Anne Elizabeth Waterloo John & Mary Faithful Mother Industry Eastward Ianthe Resolven Ionian Belle Alice & Eliza Fleetwing Erycina Utopia Mela RMS Mauretania Hetty Ellen Ethel Anne Eliza Jane Linzerin Thomas & Sons Elizabeth Jane MV Boudicca SS Prince of Wales Margaretta Bertie Squirrel Ann Eliza Emily Agnes Alicia Summer Cloud Ada & Alice Catherine Hendry George Evans Prince Cadwgan U. Larsing Annie Maude Sophia & Emily Nymph Cambrian Doris Shon Quilt Excelsior Martha & Harriet Lady Pryse HMHS Britannic Preußen Aeron Vale Dortmund Arawak Zouave MSC Geneva MS Brilliance of the Seas Heedful Emrys Eleanor Thomas Anne Catherine Ada Letitia Sarah Davies Eleanor Francis Margaret Jane Anthem of the Seas John James Industry Marwood Rosina Jane SS Potsdam Morriston Affines Excellent Nymph Mary Jane Alert Ann Sylph Bristol Trader Hope Enterprise Aeron Belle Fanny Taylor Ellen Express Brothers Castle MS Empress Annsboro Drusus Jane Morgans Elizabeth Davies Meridian Strata Florida Majestic Mary Botwood Laura John William John William Keldhead Ceres Susanna Gwenllian Velocity M/S Elfkungen MS Epsilon MV City of St. Petersburg Kate MV Blue Marlin Ceona Amazon Kalmarsund VIII Glad Tidings Star of Wales Sir Robert McClure Naomi Rheidol Queen Ellen Anne Levant Rosland Zenobia Clarita Patriot Priscilla M.A. Jones Sea Shepherd II MS Marco Polo T26 MV Hoegh Osaka MS Gemini Azurite FDPSO RMS Empress of Ireland Alice RV Farley Mowat Britannia Mela Kate Sophia Principality Elizabeth Gwladys Madona Native M. A. Evans Clarovine Annie Ramsay Maelota Isabel T56 T46 Johann Caradog Theodore Engels Glanystwyth General Picton Eleanor & Jane Ifor Firefly Jubilee Ceylon Susanna Vieux Crabe Nell MS Oasis of the Seas Lois Mary Sarah Mary Jane Eigen Cambria Eugenia Battus Jane Griffiths Severn John Pierce Blue Jacket Mediterranean Triton Ann & Betsy Tirsah Jane Herbert Eliza Francis Rebecca Native Pearl Oneida Aberystwyth Emma Alice Rachel Lewis Sarah Ann Royal Clipper Favourite Atlantic MV Colombo Express Sisters John & Mary Ellen Catherine Camden Marys Resolute MARY & ELLEN RMS Aquitania Truant Wasp Louisa Ann Countess of Lisburne Sarah & Mary Favourite Anne Bodotria Ystwyth Burncoose Exchange Honora Convoy Valentine Gambia Catherine & Jane Mair Perseverance Idea Pandora Ellen
RV Polarstern, MS Azura and SS Maxim Gorkiy have atmost 3 administrative territories as registry port
RV Polarstern MS Azura SS Maxim Gorkiy
action atmost
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 3
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ?h ( COUNT ( ?k ) AS ?j ) WHERE { ?h property:port_of_registry ?k . ?h rdf:type ontology:ship_type . ?k rdf:type ontology:administrative_territorial_entity } GROUP BY ?h } . FILTER ( ?j <= 3 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P641
Q349 Q500834 Q18608583
USER
Which sports did around 317 tournaments or recurring sporting events participate in ?
(c(Q500834)|c(Q18608583),P641,c(Q349))
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
value 317
[[{'concept': 'Q500834'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?e = 317 ) . { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?e ) WHERE { { ?r property:P641 ?y . ?y rdf:type ontology:Q349 . ?r rdf:type ontology:Q500834 } UNION { ?r property:P641 ?y . ?y rdf:type ontology:Q349 . ?r rdf:type ontology:Q18608583 } } GROUP BY ?y } }
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
value 317
[[{'concept': 'tournament'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?e = 317 ) . { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?e ) WHERE { { ?r property:sport ?y . ?y rdf:type ontology:sport . ?r rdf:type ontology:tournament } UNION { ?r property:sport ?y . ?y rdf:type ontology:sport . ?r rdf:type ontology:recurring_sporting_event } } GROUP BY ?y } }
[]
sport tournament recurring sporting event
Q809831 Q1295867 Q206763
SYSTEM
BASE jumping, pesäpallo, floorball
Q10962 Q1109032 Q4543 Q170737 Q114466 Q12100 Q500050 Q2348250 Q3337306 Q7707 Q193387 Q108429 Q171038 Q191051 Q17163326 Q4808504 Q3844480 Q809831 Q1575010 Q206763 Q133201 Q244700 Q1497658 Q902378 Q1761866 Q192832 Q1148620 Q601972 Q46241 Q83462 Q192937 Q3372565 Q208607 Q188966 Q961015 Q328716 Q131359 Q27672886 Q22857 Q657196 Q11420 Q338208 Q41323 Q738622 Q148636 Q136851 Q2887217 Q7856 Q599204 Q5372 Q5375 Q5377 Q206989 Q5369 Q690676 Q8418 Q31897 Q74542 Q1050588 Q1758324 Q1457676 Q592031 Q1345388 Q102843 Q754586 Q1682809 Q40561 Q42486 Q1295867 Q2483334 Q2922870 Q1143202 Q41466 Q850256 Q204632 Q627165 Q393808 Q213796 Q1866478 Q182570 Q2302906 Q989473 Q1194269 Q2497700 Q231200 Q990637 Q105674 Q215862 Q212845 Q1358545 Q1757181 Q1145338 Q2250158 Q212434 Q43450 Q6034982 Q12834857 Q61065 Q2284014 Q221635 Q4429020 Q2413978 Q13108218 Q4851143 Q14300548 Q1455 Q2215841 Q36908 Q1081491 Q483693 Q389654 Q61465 Q185851 Q4245261 Q624161 Q327742 Q213711 Q271277 Q3177899 Q376040 Q4347112 Q5465793 Q3930 Q797108 Q963312 Q2167372 Q130949 Q535116 Q2360406 Q20856109 Q16996906 Q213934 Q1078835 Q838781 Q26787631 Q1899731 Q201965 Q943526 Q647559 Q1541373 Q606060 Q1150656 Q1063445 Q134211 Q1734 Q31920 Q6140386 Q3325635 Q207703 Q2701632 Q1875777 Q1358925 Q1748406 Q667692 Q183018 Q1622659 Q1421697 Q201252 Q177275 Q32112 Q2736 Q14405929 Q1129021 Q1199515 Q178678 Q17988507 Q6350707 Q159992 Q3924425 Q3341285 Q210778 Q192420 Q1784241 Q1188693 Q204686 Q1055193 Q124100 Q2440459 Q429006
(c(Q500834)|c(Q18608583),P641,c(Q349))
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q500834
action find_reverse_tuple_counts
relation P641
type Q349
type Q18608583
value 317
[ANSWERS] around 317 tournaments or recurred sporting events participate in
[[{'concept': 'Q500834'}, {'concept': 'Q18608583'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?e = 317 ) . { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?e ) WHERE { { ?r property:P641 ?y . ?y rdf:type ontology:Q349 . ?r rdf:type ontology:Q500834 } UNION { ?r property:P641 ?y . ?y rdf:type ontology:Q349 . ?r rdf:type ontology:Q18608583 } } GROUP BY ?y } }
rugby league college football beach volleyball long jump mixed martial arts fencing cross country running team time trial yachting water polo croquet archery softball windsurfing motorcycle racing snocross rink bandy BASE jumping para rowing floorball squash Ultimate memory sport equestrian sport puroresu paintball Finswimming Camogie drag racing weightlifting korfball Kettlebell lifting kung fu contract bridge women's boxing motorcycle sport professional wrestling Flying disc games climbing medley swimming judo giant slalom skiing American football dancesport Kabaddi curling women's basketball rallying rallycross basketball cricket golf shooting sport baseball canoe polo handball natural track luge para-alpine skiing fistball stock car racing rackets wingsuit flying greyhound racing tug of war racquetball pair skating sumo wrestling pesäpallo Valencian pilota boxe roque ice hockey shinty Gaelic football Harri-jasotze Dog agility powerlifting American handball discus throw Box lacrosse international draughts harness racing Aizkolaritza netball Broomball running motocross Basque pelota arena football paralympic athletics Adventure racing five-a-side football Olympic sport gymnastics Inline skating strength training water sport Contact sport track cycling competition aerobatics paralympic swimming gymnastics balkline and straight rail skating field hockey cycle sport mountaineering football parkour Greco-Roman wrestling rhythmic gymnastics lacrosse touring car racing gliding relay race hurling Savate bowling wakeboarding strength athletics CP football table tennis jeu de paume Sledge hockey fell running skiing beach handball real tennis canoeing Indoor American football canoeing and kayaking Powerchair Football eventing K-1 Frisian handball Nordic combined Castell Goalball sport climbing women's association football wheelchair curling nine-ball polo volleyball swimming Kitō-ryū Valencian trinquet rodeo muggle quidditch air racing speed skiing roller hockey (quad) Nordic walking bandy hockey Chilean rodeo pankration bobsleigh boxing association football high diving super giant slalom skiing formula racing kick boxing women's tennis Kalari surfing combined track and field events cue sports beach soccer Kart racing korbball mind sport winter sport pallone bodybuilding wheelchair fencing Duathlon
BASE jumping, pesäpallo and floorball around 317 tournaments or recurred sporting events participate in
BASE jumping pesäpallo floorball
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type tournament
action find_reverse_tuple_counts
relation sport
type sport
type recurring sporting event
value 317
[[{'concept': 'tournament'}, {'concept': 'recurring sporting event'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { FILTER ( ?e = 317 ) . { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?e ) WHERE { { ?r property:sport ?y . ?y rdf:type ontology:sport . ?r rdf:type ontology:tournament } UNION { ?r property:sport ?y . ?y rdf:type ontology:sport . ?r rdf:type ontology:recurring_sporting_event } } GROUP BY ?y } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q206763
P495
Q15617994
USER
What are the origins of that sport ?
(Q206763,P495,c(Q15617994))
action filter_type
action find
entity Q206763
relation P495
type Q15617994
['Q206763', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q206763 property:P495 ?k . ?k rdf:type ontology:Q15617994 }
floorball
action filter_type
action find
entity floorball
relation country of origin
type designation for an administrative territorial entity
['floorball', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:floorball property:country_of_origin ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q809831
SYSTEM
Did you mean BASE jumping ?
Q809831 Q1295867 Q206763
(Q809831,P495,c(Q15617994)) (Q1295867,P495,c(Q15617994)) (Q206763,P495,c(Q15617994))
[ANSWER]
['Q809831', 'P495', {'concept': 'Q15617994'}] ['Q1295867', 'P495', {'concept': 'Q15617994'}] ['Q206763', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q206763 property:P495 ?k . ?k rdf:type ontology:Q15617994 }
BASE jumping pesäpallo floorball
Did you mean BASE jumping ?
BASE jumping
['BASE jumping', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['pesäpallo', 'country of origin', {'concept': 'designation for an administrative territorial entity'}] ['floorball', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:floorball property:country_of_origin ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
No, I meant floorball. Could you tell me the answer for that?
(Q206763,P495,c(Q15617994))
Q206763
['Q206763', 'P495', {'concept': 'Q15617994'}]
['floorball', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q33 Q39 Q34
SYSTEM
Finland, Switzerland, Sweden
Q33 Q39 Q34
(Q206763,P495,c(Q15617994))
action filter_type
action find
entity Q206763
relation P495
type Q15617994
The origins of that sport are in [ANSWERS]
['Q206763', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?k WHERE { resource:Q206763 property:P495 ?k . ?k rdf:type ontology:Q15617994 }
Finland Switzerland Sweden
The origins of that sport are in Finland, Switzerland and Sweden
Finland Switzerland Sweden
action filter_type
action find
entity floorball
relation country of origin
type designation for an administrative territorial entity
['floorball', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:floorball property:country_of_origin ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q206763
P495
Q349
USER
Are those administrative territories a country of origin of floorball ?
(Q206763,P495,Q33) (Q206763,P495,Q39) (Q206763,P495,Q34)
action is_in
entity prev_answer
action find
entity Q206763
relation P495
['Q206763', 'P495', 'Q33'] ['Q206763', 'P495', 'Q39'] ['Q206763', 'P495', 'Q34']
ASK WHERE { VALUES ( ?c ) { ( resource:Q33 ) ( resource:Q39 ) ( resource:Q34 ) } . resource:Q206763 property:P495 ?c }
floorball
action is_in
entity prev_answer
action find
entity floorball
relation country of origin
['floorball', 'country of origin', 'Finland'] ['floorball', 'country of origin', 'Switzerland'] ['floorball', 'country of origin', 'Sweden']
ASK WHERE { VALUES ( ?c ) { ( resource:Finland ) ( resource:Switzerland ) ( resource:Sweden ) } . resource:floorball property:country_of_origin ?c }
[]
sport
SYSTEM
YES
(Q206763,P495,Q33) (Q206763,P495,Q39) (Q206763,P495,Q34)
action is_in
entity prev_answer
action find
entity Q206763
relation P495
[ANSWER]
['Q206763', 'P495', 'Q33'] ['Q206763', 'P495', 'Q39'] ['Q206763', 'P495', 'Q34']
ASK WHERE { VALUES ( ?c ) { ( resource:Q33 ) ( resource:Q39 ) ( resource:Q34 ) } . resource:Q206763 property:P495 ?c }
Yes
action is_in
entity prev_answer
action find
entity floorball
relation country of origin
['floorball', 'country of origin', 'Finland'] ['floorball', 'country of origin', 'Switzerland'] ['floorball', 'country of origin', 'Sweden']
ASK WHERE { VALUES ( ?c ) { ( resource:Finland ) ( resource:Switzerland ) ( resource:Sweden ) } . resource:floorball property:country_of_origin ?c }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q33
P1027
Q618779
USER
Which award is granted by Finland ?
(c(Q618779),P1027,Q33)
action filter_type
action find_reverse
entity Q33
relation P1027
type Q618779
[{'concept': 'Q618779'}, 'P1027', 'Q33']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q618779 . ?f property:P1027 resource:Q33 }
Finland
action filter_type
action find_reverse
entity Finland
relation conferred by
type award
[{'concept': 'award'}, 'conferred by', 'Finland']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:award . ?f property:conferred_by resource:Finland }
[]
award
Q3197371
SYSTEM
Finnish State Prize for Literature
Q3197371
(c(Q618779),P1027,Q33)
action filter_type
action find_reverse
entity Q33
relation P1027
type Q618779
The [ANSWER] is granted by Finland
[{'concept': 'Q618779'}, 'P1027', 'Q33']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q618779 . ?f property:P1027 resource:Q33 }
Finnish State Prize for Literature
The Finnish State Prize for Literature is granted by Finland
Finnish State Prize for Literature
action filter_type
action find_reverse
entity Finland
relation conferred by
type award
[{'concept': 'award'}, 'conferred by', 'Finland']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:award . ?f property:conferred_by resource:Finland }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q33
P138
Q2472587
USER
Which people is Finland named after ?
(Q33,P138,c(Q2472587))
action filter_type
action find
entity Q33
relation P138
type Q2472587
['Q33', 'P138', {'concept': 'Q2472587'}]
SELECT DISTINCT ?a WHERE { resource:Q33 property:P138 ?a . ?a rdf:type ontology:Q2472587 }
Finland
action filter_type
action find
entity Finland
relation named after
type people
['Finland', 'named after', {'concept': 'people'}]
SELECT DISTINCT ?a WHERE { resource:Finland property:named_after ?a . ?a rdf:type ontology:people }
[]
people
Q170284
SYSTEM
Finns
Q170284
(Q33,P138,c(Q2472587))
action filter_type
action find
entity Q33
relation P138
type Q2472587
Finland is named for [ANSWER]
['Q33', 'P138', {'concept': 'Q2472587'}]
SELECT DISTINCT ?a WHERE { resource:Q33 property:P138 ?a . ?a rdf:type ontology:Q2472587 }
Finns
Finland is named for Finns
Finns
action filter_type
action find
entity Finland
relation named after
type people
['Finland', 'named after', {'concept': 'people'}]
SELECT DISTINCT ?a WHERE { resource:Finland property:named_after ?a . ?a rdf:type ontology:people }
[]