Simple Question (Direct)
Simple Question
Q2632604
P140
Q874405
USER
What is the religion associated with Vincent Hadleŭski ?
(Q2632604,P140,c(Q874405))
action filter_type
action find
entity Q2632604
relation P140
type Q874405
['Q2632604', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?o WHERE { resource:Q2632604 property:P140 ?o . ?o rdf:type ontology:Q874405 }
Vincent Hadleŭski
action filter_type
action find
entity Vincent Hadleŭski
relation religion
type social group
['Vincent Hadleŭski', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?o WHERE { resource:Vincent_Hadleŭski property:religion ?o . ?o rdf:type ontology:social_group }
[]
social group
Q1841
SYSTEM
Catholicism
Q1841
(Q2632604,P140,c(Q874405))
action filter_type
action find
entity Q2632604
relation P140
type Q874405
The religion associated with Vincent Hadleŭski is Roman [ANSWER]
['Q2632604', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?o WHERE { resource:Q2632604 property:P140 ?o . ?o rdf:type ontology:Q874405 }
Catholicism
The religion associated with Vincent Hadleŭski is Roman Catholicism
Catholicism
action filter_type
action find
entity Vincent Hadleŭski
relation religion
type social group
['Vincent Hadleŭski', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?o WHERE { resource:Vincent_Hadleŭski property:religion ?o . ?o rdf:type ontology:social_group }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2632604
P20
Q56061
USER
Where did the expiration of that person occur ?
(Q1841,P20,c(Q56061))
action filter_type
action find
entity Q2632604
relation P20
type Q56061
['Q1841', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q2632604 property:P20 ?n . ?n rdf:type ontology:Q56061 }
Vincent Hadleŭski
action filter_type
action find
entity Vincent Hadleŭski
relation place of death
type administrative territorial entity
['Catholicism', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Vincent_Hadleŭski property:place_of_death ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q316109
SYSTEM
Maly Trostenets
Q316109
(Q1841,P20,c(Q56061))
action filter_type
action find
entity Q2632604
relation P20
type Q56061
The expiration of that person occurred to [ANSWER]
['Q1841', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { resource:Q2632604 property:P20 ?n . ?n rdf:type ontology:Q56061 }
Maly Trostenets
The expiration of that person occurred to Maly Trostenets
Maly Trostenets
action filter_type
action find
entity Vincent Hadleŭski
relation place of death
type administrative territorial entity
['Catholicism', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { resource:Vincent_Hadleŭski property:place_of_death ?n . ?n rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q24027055
P532
Q56061 Q2235308
USER
Which ship types are the registry port of more number of administrative territories than Ruby ?
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027055
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { resource:Q24027055 property:P532 ?e . ?e rdf:type ontology:Q2235308 } } . FILTER ( ?o > ?r ) . { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?o ) WHERE { ?a property:P532 ?m . ?m rdf:type ontology:Q56061 . ?a rdf:type ontology:Q2235308 } GROUP BY ?a } }
Ruby
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 Ruby
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { resource:Ruby property:port_of_registry ?e . ?e rdf:type ontology:ship_type } } . FILTER ( ?o > ?r ) . { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?o ) WHERE { ?a property:port_of_registry ?m . ?m rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:ship_type } GROUP BY ?a } }
[]
administrative territorial entity ship type
Q2596850 Q468026 Q35462
SYSTEM
MS Azura, SS Maxim Gorkiy, RMS Aquitania
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24027055
relation P532
type Q2235308
[ANSWERS] are the registry port of more number of administrative territories than Ruby
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { resource:Q24027055 property:P532 ?e . ?e rdf:type ontology:Q2235308 } } . FILTER ( ?o > ?r ) . { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?o ) WHERE { ?a property:P532 ?m . ?m rdf:type ontology:Q56061 . ?a rdf:type ontology:Q2235308 } GROUP BY ?a } }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
MS Azura, SS Maxim Gorkiy and RMS Aquitania are the registry port of more number of administrative territories than Ruby
MS Azura SS Maxim Gorkiy RMS Aquitania
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity Ruby
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?r ) WHERE { resource:Ruby property:port_of_registry ?e . ?e rdf:type ontology:ship_type } } . FILTER ( ?o > ?r ) . { SELECT DISTINCT ?a ( COUNT ( ?m ) AS ?o ) WHERE { ?a property:port_of_registry ?m . ?m rdf:type ontology:administrative_territorial_entity . ?a rdf:type ontology:ship_type } GROUP BY ?a } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q24026955
P532
Q56061 Q2235308
USER
And what about John & Mary?
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24026955
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?j ) WHERE { ?f property:P532 ?z . ?f rdf:type ontology:Q2235308 . ?z rdf:type ontology:Q56061 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { resource:Q24026955 property:P532 ?y . ?y rdf:type ontology:Q2235308 } } . FILTER ( ?j > ?v ) }
John & Mary
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 John & Mary
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?j ) WHERE { ?f property:port_of_registry ?z . ?f rdf:type ontology:ship_type . ?z rdf:type ontology:administrative_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { resource:John_&_Mary property:port_of_registry ?y . ?y rdf:type ontology:ship_type } } . FILTER ( ?j > ?v ) }
[]
administrative territorial entity ship type
Q2596850 Q468026 Q35462
SYSTEM
MS Azura, SS Maxim Gorkiy, RMS Aquitania
Q2992316 Q2301456 Q983141 Q133606 Q26988086 Q168474 Q300311 Q20489530 Q5338632 Q7499755 Q2124429 Q1293488 Q1017179 Q7120838 Q7393546 Q25173 Q14493958 Q18128240 Q664284 Q26988094 Q21196329 Q10659251 Q477173 Q130373 Q19608222 Q11707059 Q1026780 Q22342351 Q15662618 Q33209 Q1514518 Q2596850 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 Q468026 Q1439419 Q23579589 Q4686475 Q26987769 Q11891639 Q321007 Q6720006 Q741803 Q338340 Q7120888 Q215692 Q917188 Q18213370 Q1129910 Q2714360 Q16852551 Q1514126 Q18711004 Q1339472 Q3558075 Q192381 Q493616 Q35462
(c(Q2235308),P532,c(Q56061))
action greater
action find_tuple_counts
relation P532
type Q2235308
type Q56061
action count
action filter_type
action find
entity Q24026955
relation P532
type Q2235308
[ANSWERS]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?j ) WHERE { ?f property:P532 ?z . ?f rdf:type ontology:Q2235308 . ?z rdf:type ontology:Q56061 } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { resource:Q24026955 property:P532 ?y . ?y rdf:type ontology:Q2235308 } } . FILTER ( ?j > ?v ) }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
MS Azura SS Maxim Gorkiy RMS Aquitania
action greater
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
action count
action filter_type
action find
entity John & Mary
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ?f ( COUNT ( ?z ) AS ?j ) WHERE { ?f property:port_of_registry ?z . ?f rdf:type ontology:ship_type . ?z rdf:type ontology:administrative_territorial_entity } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) WHERE { resource:John_&_Mary property:port_of_registry ?y . ?y rdf:type ontology:ship_type } } . FILTER ( ?j > ?v ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2596850
P176
Q43229
USER
Who is the manufacturer of MS Azura ?
(Q2596850,P176,c(Q43229))
action filter_type
action find
entity Q2596850
relation P176
type Q43229
['Q2596850', 'P176', {'concept': 'Q43229'}]
SELECT DISTINCT ?m WHERE { resource:Q2596850 property:P176 ?m . ?m rdf:type ontology:Q43229 }
MS Azura
action filter_type
action find
entity MS Azura
relation manufacturer
type organization
['MS Azura', 'manufacturer', {'concept': 'organization'}]
SELECT DISTINCT ?m WHERE { resource:MS_Azura property:manufacturer ?m . ?m rdf:type ontology:organization }
[]
organization
Q1327429
SYSTEM
Fincantieri
Q1327429
(Q2596850,P176,c(Q43229))
action filter_type
action find
entity Q2596850
relation P176
type Q43229
The manufacturer of MS Azura is [ANSWER]
['Q2596850', 'P176', {'concept': 'Q43229'}]
SELECT DISTINCT ?m WHERE { resource:Q2596850 property:P176 ?m . ?m rdf:type ontology:Q43229 }
Fincantieri
The manufacturer of MS Azura is Fincantieri
Fincantieri
action filter_type
action find
entity MS Azura
relation manufacturer
type organization
['MS Azura', 'manufacturer', {'concept': 'organization'}]
SELECT DISTINCT ?m WHERE { resource:MS_Azura property:manufacturer ?m . ?m rdf:type ontology:organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2596850
P1071
Q15617994
USER
Which administrative territory is the final place of assembly of MS Azura ?
(Q2596850,P1071,c(Q15617994))
action filter_type
action find
entity Q2596850
relation P1071
type Q15617994
['Q2596850', 'P1071', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q2596850 property:P1071 ?c . ?c rdf:type ontology:Q15617994 }
MS Azura
action filter_type
action find
entity MS Azura
relation location of final assembly
type designation for an administrative territorial entity
['MS Azura', 'location of final assembly', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:MS_Azura property:location_of_final_assembly ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q53133
SYSTEM
Monfalcone
Q53133
(Q2596850,P1071,c(Q15617994))
action filter_type
action find
entity Q2596850
relation P1071
type Q15617994
[ANSWER] is the final place of assembly of MS Azura
['Q2596850', 'P1071', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q2596850 property:P1071 ?c . ?c rdf:type ontology:Q15617994 }
Monfalcone
Monfalcone is the final place of assembly of MS Azura
Monfalcone
action filter_type
action find
entity MS Azura
relation location of final assembly
type designation for an administrative territorial entity
['MS Azura', 'location of final assembly', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:MS_Azura property:location_of_final_assembly ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18562169
Q15617994
USER
And also tell me about Madonna and Christ Child with a Bishop Saint, Saint John the Baptist, Saint Michael and an Unidentified Saint?
(Q18562169,P1071,c(Q15617994))
action filter_type
action find
entity Q18562169
relation P1071
type Q15617994
['Q18562169', 'P1071', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q18562169 property:P1071 ?d . ?d rdf:type ontology:Q15617994 }
Madonna and Christ Child with a Bishop Saint, Saint John the Baptist, Saint Michael and an Unidentified Saint
action filter_type
action find
entity Madonna and Christ Child with a Bishop Saint, Saint John the Baptist, Saint Michael and an Unidentified Saint
relation location of final assembly
type designation for an administrative territorial entity
['Madonna and Christ Child with a Bishop Saint, Saint John the Baptist, Saint Michael and an Unidentified Saint', 'location of final assembly', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Madonna_and_Christ_Child_with_a_Bishop_Saint,_Saint_John_the_Baptist,_Saint_Michael_and_an_Unidentified_Saint property:location_of_final_assembly ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q18562169,P1071,c(Q15617994))
action filter_type
action find
entity Q18562169
relation P1071
type Q15617994
[ANSWER]
['Q18562169', 'P1071', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q18562169 property:P1071 ?d . ?d rdf:type ontology:Q15617994 }
Italy
Italy
action filter_type
action find
entity Madonna and Christ Child with a Bishop Saint, Saint John the Baptist, Saint Michael and an Unidentified Saint
relation location of final assembly
type designation for an administrative territorial entity
['Madonna and Christ Child with a Bishop Saint, Saint John the Baptist, Saint Michael and an Unidentified Saint', 'location of final assembly', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Madonna_and_Christ_Child_with_a_Bishop_Saint,_Saint_John_the_Baptist,_Saint_Michael_and_an_Unidentified_Saint property:location_of_final_assembly ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q781
P530
Q15617994 Q1048835
USER
Which political territories have ambassadorial relations with approximately the same number of administrative territories as Antigua and Barbuda ?
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q781
relation P530
type Q1048835
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?x ) WHERE { ?b property:P530 ?o . ?b rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { resource:Q781 property:P530 ?c . ?c rdf:type ontology:Q1048835 } } . FILTER ( ?x = ?a ) }
Antigua and Barbuda
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Antigua and Barbuda
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?x ) WHERE { ?b property:diplomatic_relation ?o . ?b rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { resource:Antigua_and_Barbuda property:diplomatic_relation ?c . ?c rdf:type ontology:political_territorial_entity } } . FILTER ( ?x = ?a ) }
[]
designation for an administrative territorial entity political territorial entity
Q35 Q16 Q40
SYSTEM
Denmark, Canada, Austria
Q1000 Q40 Q781 Q778 Q769 Q685 Q35 Q691 Q16 Q664 Q766
(c(Q1048835),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q781
relation P530
type Q1048835
[ANSWERS] have ambassadorial relations with approximately the same number of administrative territories as Antigua and Barbuda
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?x ) WHERE { ?b property:P530 ?o . ?b rdf:type ontology:Q1048835 . ?o rdf:type ontology:Q15617994 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { resource:Q781 property:P530 ?c . ?c rdf:type ontology:Q1048835 } } . FILTER ( ?x = ?a ) }
Gabon Austria Antigua and Barbuda The Bahamas Grenada Solomon Islands Denmark Papua New Guinea Canada New Zealand Jamaica
Denmark, Canada and Austria have ambassadorial relations with approximately the same number of administrative territories as Antigua and Barbuda
Denmark Canada Austria
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Antigua and Barbuda
relation diplomatic relation
type political territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?o ) AS ?x ) WHERE { ?b property:diplomatic_relation ?o . ?b rdf:type ontology:political_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?a ) WHERE { resource:Antigua_and_Barbuda property:diplomatic_relation ?c . ?c rdf:type ontology:political_territorial_entity } } . FILTER ( ?x = ?a ) }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q30 Q781
P27
Q502895
USER
Which people are civilians of Antigua and Barbuda and United States of America ?
AND((c(Q502895),P27,Q781), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q781
relation P27
action find_reverse
entity Q30
relation P27
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q781'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?y WHERE { ?y property:P27 resource:Q781 . ?y property:P27 resource:Q30 . ?y rdf:type ontology:Q502895 }
United States of America Antigua and Barbuda
action filter_type
action intersection
action find_reverse
entity Antigua and Barbuda
relation country of citizenship
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Antigua and Barbuda'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?y WHERE { ?y property:country_of_citizenship resource:Antigua_and_Barbuda . ?y property:country_of_citizenship resource:United_States_of_America . ?y rdf:type ontology:common_name }
[]
common name
Q365451
SYSTEM
Lester Bird
Q365451
AND((c(Q502895),P27,Q781), (c(Q502895),P27,Q30))
action filter_type
action intersection
action find_reverse
entity Q781
relation P27
action find_reverse
entity Q30
relation P27
type Q502895
[ANSWER] is civilians of Antigua and Barbuda and United States of America
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q781'], [{'concept': 'Q502895'}, 'P27', 'Q30']]}
SELECT DISTINCT ?y WHERE { ?y property:P27 resource:Q781 . ?y property:P27 resource:Q30 . ?y rdf:type ontology:Q502895 }
Lester Bird
Lester Bird is civilians of Antigua and Barbuda and United States of America
Lester Bird
action filter_type
action intersection
action find_reverse
entity Antigua and Barbuda
relation country of citizenship
action find_reverse
entity United States of America
relation country of citizenship
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Antigua and Barbuda'], [{'concept': 'common name'}, 'country of citizenship', 'United States of America']]}
SELECT DISTINCT ?y WHERE { ?y property:country_of_citizenship resource:Antigua_and_Barbuda . ?y property:country_of_citizenship resource:United_States_of_America . ?y rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q15961987
USER
How many television genres have been dubbed by approximately 13 people ?
(c(Q15961987),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q15961987
type Q502895
value 13
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?z ) WHERE { ?q rdf:type ontology:Q15961987 . ?u rdf:type ontology:Q502895 . ?q property:P725 ?u } GROUP BY ?q } . FILTER ( ?z = 13 ) }
action count
action approx
action find_tuple_counts
relation voice actor
type television genre
type common name
value 13
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?z ) WHERE { ?q rdf:type ontology:television_genre . ?u rdf:type ontology:common_name . ?q property:voice_actor ?u } GROUP BY ?q } . FILTER ( ?z = 13 ) }
[]
common name television genre
SYSTEM
3
Q22773153 Q18790 Q53093
(c(Q15961987),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q15961987
type Q502895
value 13
[ANSWER]
[{'concept': 'Q15961987'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?z ) WHERE { ?q rdf:type ontology:Q15961987 . ?u rdf:type ontology:Q502895 . ?q property:P725 ?u } GROUP BY ?q } . FILTER ( ?z = 13 ) }
Milo Murphy's Law The Legend of Korra Adventure Time
3
action count
action approx
action find_tuple_counts
relation voice actor
type television genre
type common name
value 13
[{'concept': 'television genre'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?d ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?u ) AS ?z ) WHERE { ?q rdf:type ontology:television_genre . ?u rdf:type ontology:common_name . ?q property:voice_actor ?u } GROUP BY ?q } . FILTER ( ?z = 13 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q2660670
P1303
Q34379 Q502895
USER
How many musical instruments can approximately the same number of people perform with as Irish bouzouki ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q2660670
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:P1303 ?x . ?x rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { resource:Q2660670 property:P1303 ?h . ?h rdf:type ontology:Q34379 } } . FILTER ( ?v = ?t ) }
Irish bouzouki
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Irish bouzouki
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:instrument ?x . ?x rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { resource:Irish_bouzouki property:instrument ?h . ?h rdf:type ontology:musical_instrument } } . FILTER ( ?v = ?t ) }
[]
musical instrument common name
SYSTEM
60
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q2660670
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:P1303 ?x . ?x rdf:type ontology:Q34379 . ?s rdf:type ontology:Q502895 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { resource:Q2660670 property:P1303 ?h . ?h rdf:type ontology:Q34379 } } . FILTER ( ?v = ?t ) }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
60
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Irish bouzouki
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?m ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:instrument ?x . ?x rdf:type ontology:musical_instrument . ?s rdf:type ontology:common_name } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?t ) WHERE { resource:Irish_bouzouki property:instrument ?h . ?h rdf:type ontology:musical_instrument } } . FILTER ( ?v = ?t ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P610
Q14524493
USER
Which is the highest peak of Italy ?
(Q38,P610,c(Q14524493))
action filter_type
action find
entity Q38
relation P610
type Q14524493
['Q38', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?x WHERE { resource:Q38 property:P610 ?x . ?x rdf:type ontology:Q14524493 }
Italy
action filter_type
action find
entity Italy
relation highest point
type terrain
['Italy', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?x WHERE { resource:Italy property:highest_point ?x . ?x rdf:type ontology:terrain }
[]
terrain
Q583
SYSTEM
Mont Blanc
Q583
(Q38,P610,c(Q14524493))
action filter_type
action find
entity Q38
relation P610
type Q14524493
The highest peak of Italy is the [ANSWER]
['Q38', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?x WHERE { resource:Q38 property:P610 ?x . ?x rdf:type ontology:Q14524493 }
Mont Blanc
The highest peak of Italy is the Mont Blanc
Mont Blanc
action filter_type
action find
entity Italy
relation highest point
type terrain
['Italy', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?x WHERE { resource:Italy property:highest_point ?x . ?x rdf:type ontology:terrain }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1198
Q14524493
USER
And also tell me about North Rhine-Westphalia?
(Q1198,P610,c(Q14524493))
action filter_type
action find
entity Q1198
relation P610
type Q14524493
['Q1198', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q14524493 . resource:Q1198 property:P610 ?s }
North Rhine-Westphalia
action filter_type
action find
entity North Rhine-Westphalia
relation highest point
type terrain
['North Rhine-Westphalia', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:terrain . resource:North_Rhine-Westphalia property:highest_point ?s }
[]
terrain
Q314228
SYSTEM
Langenberg
Q314228
(Q1198,P610,c(Q14524493))
action filter_type
action find
entity Q1198
relation P610
type Q14524493
[ANSWER]
['Q1198', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q14524493 . resource:Q1198 property:P610 ?s }
Langenberg
Langenberg
action filter_type
action find
entity North Rhine-Westphalia
relation highest point
type terrain
['North Rhine-Westphalia', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:terrain . resource:North_Rhine-Westphalia property:highest_point ?s }
[]