Simple Question (Direct)
Simple Question
Q1210530
P106
Q12737077
USER
What do Didier Couécou do for a living ?
(Q1210530,P106,c(Q12737077))
action filter_type
action find
entity Q1210530
relation P106
type Q12737077
['Q1210530', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q1210530 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
Didier Couécou
action filter_type
action find
entity Didier Couécou
relation occupation
type occupation
['Didier Couécou', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Didier_Couécou property:occupation ?o . ?o rdf:type ontology:occupation }
[]
occupation
Q628099 Q937857
SYSTEM
association football manager, association football player
Q628099 Q937857
(Q1210530,P106,c(Q12737077))
action filter_type
action find
entity Q1210530
relation P106
type Q12737077
[ANSWERS] Didier Couécou do for a living
['Q1210530', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { resource:Q1210530 property:P106 ?o . ?o rdf:type ontology:Q12737077 }
association football manager association football player
Association football manager and association football player Didier Couécou do for a living
association football manager association football player
action filter_type
action find
entity Didier Couécou
relation occupation
type occupation
['Didier Couécou', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { resource:Didier_Couécou property:occupation ?o . ?o rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1210530
P641
Q349
USER
Which sport was Didier Couécou a part of ?
(Q1210530,P641,c(Q349))
action filter_type
action find
entity Q1210530
relation P641
type Q349
['Q1210530', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q349 . resource:Q1210530 property:P641 ?g }
Didier Couécou
action filter_type
action find
entity Didier Couécou
relation sport
type sport
['Didier Couécou', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:sport . resource:Didier_Couécou property:sport ?g }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1210530,P641,c(Q349))
action filter_type
action find
entity Q1210530
relation P641
type Q349
Which sport was Didier Couécou a part of
['Q1210530', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q349 . resource:Q1210530 property:P641 ?g }
association football
Which sport was Didier Couécou a part of
association football
action filter_type
action find
entity Didier Couécou
relation sport
type sport
['Didier Couécou', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:sport . resource:Didier_Couécou property:sport ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1210530
P1344
Q15275719
USER
What did Didier Couécou participate in ?
(Q1210530,P1344,c(Q15275719))
action filter_type
action find
entity Q1210530
relation P1344
type Q15275719
['Q1210530', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15275719 . resource:Q1210530 property:P1344 ?n }
Didier Couécou
action filter_type
action find
entity Didier Couécou
relation participant of
type recurring event
['Didier Couécou', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:recurring_event . resource:Didier_Couécou property:participant_of ?n }
[]
recurring event
Q134202
SYSTEM
1966 FIFA World Cup
Q134202
(Q1210530,P1344,c(Q15275719))
action filter_type
action find
entity Q1210530
relation P1344
type Q15275719
Didier Couécou participated in [ANSWER]
['Q1210530', 'P1344', {'concept': 'Q15275719'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q15275719 . resource:Q1210530 property:P1344 ?n }
1966 FIFA World Cup
Didier Couécou participated in 1966 FIFA World Cup
1966 FIFA World Cup
action filter_type
action find
entity Didier Couécou
relation participant of
type recurring event
['Didier Couécou', 'participant of', {'concept': 'recurring event'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:recurring_event . resource:Didier_Couécou property:participant_of ?n }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1972453 Q628099
P641
Q349
USER
Which sports were association football manager or Harry Mummery a part of ?
OR((Q628099,P641,c(Q349)), (Q1972453,P641,c(Q349)))
action filter_type
action union
action find
entity Q628099
relation P641
action find
entity Q1972453
relation P641
type Q349
{'OR': [['Q628099', 'P641', {'concept': 'Q349'}], ['Q1972453', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q628099 property:P641 ?b } UNION { resource:Q1972453 property:P641 ?b } } . ?b rdf:type ontology:Q349 }
Harry Mummery association football manager
action filter_type
action union
action find
entity association football manager
relation sport
action find
entity Harry Mummery
relation sport
type sport
{'OR': [['association football manager', 'sport', {'concept': 'sport'}], ['Harry Mummery', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?b WHERE { { { resource:association_football_manager property:sport ?b } UNION { resource:Harry_Mummery property:sport ?b } } . ?b rdf:type ontology:sport }
[]
sport
Q41466 Q2736
SYSTEM
ice hockey, association football
Q41466 Q2736
OR((Q628099,P641,c(Q349)), (Q1972453,P641,c(Q349)))
action filter_type
action union
action find
entity Q628099
relation P641
action find
entity Q1972453
relation P641
type Q349
Were [ANSWERS] were association football manager or Harry Mummery a part of
{'OR': [['Q628099', 'P641', {'concept': 'Q349'}], ['Q1972453', 'P641', {'concept': 'Q349'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q628099 property:P641 ?b } UNION { resource:Q1972453 property:P641 ?b } } . ?b rdf:type ontology:Q349 }
ice hockey association football
Were ice hockey and association football were association football manager or Harry Mummery a part of
ice hockey association football
action filter_type
action union
action find
entity association football manager
relation sport
action find
entity Harry Mummery
relation sport
type sport
{'OR': [['association football manager', 'sport', {'concept': 'sport'}], ['Harry Mummery', 'sport', {'concept': 'sport'}]]}
SELECT DISTINCT ?b WHERE { { { resource:association_football_manager property:sport ?b } UNION { resource:Harry_Mummery property:sport ?b } } . ?b rdf:type ontology:sport }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q27031006
P641
Q502895
USER
Does Daniel Peruzzo play those sports ?
(Q27031006,P641,Q41466) (Q27031006,P641,Q2736)
action is_in
entity prev_answer
action find
entity Q27031006
relation P641
['Q27031006', 'P641', 'Q41466'] ['Q27031006', 'P641', 'Q2736']
ASK WHERE { VALUES ( ?v ) { ( resource:Q41466 ) ( resource:Q2736 ) } . resource:Q27031006 property:P641 ?v }
Daniel Peruzzo
action is_in
entity prev_answer
action find
entity Daniel Peruzzo
relation sport
['Daniel Peruzzo', 'sport', 'ice hockey'] ['Daniel Peruzzo', 'sport', 'association football']
ASK WHERE { VALUES ( ?v ) { ( resource:ice_hockey ) ( resource:association_football ) } . resource:Daniel_Peruzzo property:sport ?v }
[]
common name
SYSTEM
YES
(Q27031006,P641,Q41466) (Q27031006,P641,Q2736)
action is_in
entity prev_answer
action find
entity Q27031006
relation P641
[ANSWER]
['Q27031006', 'P641', 'Q41466'] ['Q27031006', 'P641', 'Q2736']
ASK WHERE { VALUES ( ?v ) { ( resource:Q41466 ) ( resource:Q2736 ) } . resource:Q27031006 property:P641 ?v }
Yes
action is_in
entity prev_answer
action find
entity Daniel Peruzzo
relation sport
['Daniel Peruzzo', 'sport', 'ice hockey'] ['Daniel Peruzzo', 'sport', 'association football']
ASK WHERE { VALUES ( ?v ) { ( resource:ice_hockey ) ( resource:association_football ) } . resource:Daniel_Peruzzo property:sport ?v }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q937857 Q3333162
P800
Q502895
USER
How many people have association football player or Mémorial des Martyrs de la Déportation as a notable work ?
(c(Q502895),P800,Q937857) (c(Q502895),P800,Q3333162)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P800
type Q502895
action filter_type
action find_reverse
entity Q3333162
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q937857'] [{'concept': 'Q502895'}, 'P800', 'Q3333162']
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { ?x property:P800 ?d . VALUES ( ?d ) { ( resource:Q937857 ) ( resource:Q3333162 ) } }
association football player Mémorial des Martyrs de la Déportation
action count
action union
action filter_type
action find_reverse
entity association football player
relation notable work
type common name
action filter_type
action find_reverse
entity Mémorial des Martyrs de la Déportation
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'association football player'] [{'concept': 'common name'}, 'notable work', 'Mémorial des Martyrs de la Déportation']
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { ?x property:notable_work ?d . VALUES ( ?d ) { ( resource:association_football_player ) ( resource:Mémorial_des_Martyrs_de_la_Déportation ) } }
[]
common name
SYSTEM
2
Q23047441 Q941171
(c(Q502895),P800,Q937857) (c(Q502895),P800,Q3333162)
action count
action union
action filter_type
action find_reverse
entity Q937857
relation P800
type Q502895
action filter_type
action find_reverse
entity Q3333162
relation P800
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P800', 'Q937857'] [{'concept': 'Q502895'}, 'P800', 'Q3333162']
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { ?x property:P800 ?d . VALUES ( ?d ) { ( resource:Q937857 ) ( resource:Q3333162 ) } }
Hugh Morgan-Owen Georges-Henri Pingusson
2
action count
action union
action filter_type
action find_reverse
entity association football player
relation notable work
type common name
action filter_type
action find_reverse
entity Mémorial des Martyrs de la Déportation
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'association football player'] [{'concept': 'common name'}, 'notable work', 'Mémorial des Martyrs de la Déportation']
SELECT DISTINCT ( COUNT ( ?x ) AS ?r ) WHERE { ?x property:notable_work ?d . VALUES ( ?d ) { ( resource:association_football_player ) ( resource:Mémorial_des_Martyrs_de_la_Déportation ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P641
Q349 Q12973014 Q502895
USER
How many sports were approximately 22684 sports teams or people a part of ?
(c(Q12973014)|c(Q502895),P641,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
value 22684
[[{'concept': 'Q12973014'}, {'concept': 'Q502895'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?s ) WHERE { VALUES ( ?c ) { ( ontology:Q12973014 ) ( ontology:Q502895 ) } . ?o rdf:type ?c } GROUP BY ?w } . FILTER ( ?s = 22684 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type sports team
action find_reverse_tuple_counts
relation sport
type sport
type common name
value 22684
[[{'concept': 'sports team'}, {'concept': 'common name'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?s ) WHERE { VALUES ( ?c ) { ( ontology:sports_team ) ( ontology:common_name ) } . ?o rdf:type ?c } GROUP BY ?w } . FILTER ( ?s = 22684 ) }
[]
sport sports team common name
SYSTEM
2
Q5372 Q41466
(c(Q12973014)|c(Q502895),P641,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P641
type Q349
type Q12973014
action find_reverse_tuple_counts
relation P641
type Q349
type Q502895
value 22684
[ANSWER]
[[{'concept': 'Q12973014'}, {'concept': 'Q502895'}], 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?s ) WHERE { VALUES ( ?c ) { ( ontology:Q12973014 ) ( ontology:Q502895 ) } . ?o rdf:type ?c } GROUP BY ?w } . FILTER ( ?s = 22684 ) }
basketball ice hockey
2
action count
action approx
action union
action find_reverse_tuple_counts
relation sport
type sport
type sports team
action find_reverse_tuple_counts
relation sport
type sport
type common name
value 22684
[[{'concept': 'sports team'}, {'concept': 'common name'}], 'sport', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?r ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?o ) AS ?s ) WHERE { VALUES ( ?c ) { ( ontology:sports_team ) ( ontology:common_name ) } . ?o rdf:type ?c } GROUP BY ?w } . FILTER ( ?s = 22684 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5371726
P27
Q15617994
USER
Which administrative territory is the country of citizenship of Emiliano Té ?
(Q5371726,P27,c(Q15617994))
action filter_type
action find
entity Q5371726
relation P27
type Q15617994
['Q5371726', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q5371726 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Emiliano Té
action filter_type
action find
entity Emiliano Té
relation country of citizenship
type designation for an administrative territorial entity
['Emiliano Té', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Emiliano_Té property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1007
SYSTEM
Guinea-Bissau
Q1007
(Q5371726,P27,c(Q15617994))
action filter_type
action find
entity Q5371726
relation P27
type Q15617994
Of [ANSWER] is the country of citizenship of Emiliano Té
['Q5371726', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q5371726 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
Guinea-Bissau
Of Guinea-Bissau is the country of citizenship of Emiliano Té
Guinea-Bissau
action filter_type
action find
entity Emiliano Té
relation country of citizenship
type designation for an administrative territorial entity
['Emiliano Té', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:Emiliano_Té property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q5733443 Q5371726
P19
Q56061
USER
Which administrative territories were Emiliano Té or Herbert Alexander Bruce born ?
OR((Q5371726,P19,c(Q56061)), (Q5733443,P19,c(Q56061)))
action filter_type
action union
action find
entity Q5371726
relation P19
action find
entity Q5733443
relation P19
type Q56061
{'OR': [['Q5371726', 'P19', {'concept': 'Q56061'}], ['Q5733443', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . { { resource:Q5371726 property:P19 ?i } UNION { resource:Q5733443 property:P19 ?i } } }
Herbert Alexander Bruce Emiliano Té
action filter_type
action union
action find
entity Emiliano Té
relation place of birth
action find
entity Herbert Alexander Bruce
relation place of birth
type administrative territorial entity
{'OR': [['Emiliano Té', 'place of birth', {'concept': 'administrative territorial entity'}], ['Herbert Alexander Bruce', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . { { resource:Emiliano_Té property:place_of_birth ?i } UNION { resource:Herbert_Alexander_Bruce property:place_of_birth ?i } } }
[]
administrative territorial entity
Q3739 Q386919
SYSTEM
Bissau, Scugog
Q3739 Q386919
OR((Q5371726,P19,c(Q56061)), (Q5733443,P19,c(Q56061)))
action filter_type
action union
action find
entity Q5371726
relation P19
action find
entity Q5733443
relation P19
type Q56061
[ANSWERS] were Emiliano Té or Herbert Alexander Bruce born
{'OR': [['Q5371726', 'P19', {'concept': 'Q56061'}], ['Q5733443', 'P19', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q56061 . { { resource:Q5371726 property:P19 ?i } UNION { resource:Q5733443 property:P19 ?i } } }
Bissau Scugog
Bissau and Scugog were Emiliano Té or Herbert Alexander Bruce born
Bissau Scugog
action filter_type
action union
action find
entity Emiliano Té
relation place of birth
action find
entity Herbert Alexander Bruce
relation place of birth
type administrative territorial entity
{'OR': [['Emiliano Té', 'place of birth', {'concept': 'administrative territorial entity'}], ['Herbert Alexander Bruce', 'place of birth', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:administrative_territorial_entity . { { resource:Emiliano_Té property:place_of_birth ?i } UNION { resource:Herbert_Alexander_Bruce property:place_of_birth ?i } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P532
Q56061 Q2235308
USER
How many ship types have exactly 1 administrative territory as their registry harbour ?
(c(Q2235308),P532,c(Q56061))
action count
action equal
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 1
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?v ) AS ?u ) WHERE { ?l property:P532 ?v . ?l rdf:type ontology:Q2235308 . ?v rdf:type ontology:Q56061 } GROUP BY ?l } . FILTER ( ?u = 1 ) }
action count
action equal
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 1
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?v ) AS ?u ) WHERE { ?l property:port_of_registry ?v . ?l rdf:type ontology:ship_type . ?v rdf:type ontology:administrative_territorial_entity } GROUP BY ?l } . FILTER ( ?u = 1 ) }
[]
administrative territorial entity ship type
SYSTEM
65
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 Q1026780 Q22342351 Q15662618 Q16854668 Q1325547 Q761593 Q26883829 Q2124449 Q778649 Q3952367 Q11705702 Q24039469 Q751584 Q6930211 Q16629249 Q497065 Q3053251 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 equal
action find_tuple_counts
relation P532
type Q2235308
type Q56061
value 1
[ANSWER]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?v ) AS ?u ) WHERE { ?l property:P532 ?v . ?l rdf:type ontology:Q2235308 . ?v rdf:type ontology:Q56061 } GROUP BY ?l } . FILTER ( ?u = 1 ) }
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 SS California Modern Express Djurgården 8 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 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
65
action count
action equal
action find_tuple_counts
relation port of registry
type ship type
type administrative territorial entity
value 1
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?i ) WHERE { { SELECT DISTINCT ?l ( COUNT ( ?v ) AS ?u ) WHERE { ?l property:port_of_registry ?v . ?l rdf:type ontology:ship_type . ?v rdf:type ontology:administrative_territorial_entity } GROUP BY ?l } . FILTER ( ?u = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3739
P1376
Q15617994
USER
Which administrative territory has Bissau has its first city ?
(Q3739,P1376,c(Q15617994))
action filter_type
action find
entity Q3739
relation P1376
type Q15617994
['Q3739', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . resource:Q3739 property:P1376 ?v }
Bissau
action filter_type
action find
entity Bissau
relation capital of
type designation for an administrative territorial entity
['Bissau', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Bissau property:capital_of ?v }
[]
designation for an administrative territorial entity
Q1007
SYSTEM
Guinea-Bissau
Q1007
(Q3739,P1376,c(Q15617994))
action filter_type
action find
entity Q3739
relation P1376
type Q15617994
[ANSWER] has Bissau has its first city
['Q3739', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:Q15617994 . resource:Q3739 property:P1376 ?v }
Guinea-Bissau
Guinea-Bissau has Bissau has its first city
Guinea-Bissau
action filter_type
action find
entity Bissau
relation capital of
type designation for an administrative territorial entity
['Bissau', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Bissau property:capital_of ?v }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q244
P530
Q15617994 Q15617994
USER
How many administrative territories have ambassadorial relations with around the same number of administrative territories as Barbados ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q244
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?n ) WHERE { ?k property:P530 ?p . ?p rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15617994 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Q244 property:P530 ?r . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?n = ?q ) }
Barbados
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Barbados
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?n ) WHERE { ?k property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Barbados property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n = ?q ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
148
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q244
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?n ) WHERE { ?k property:P530 ?p . ?p rdf:type ontology:Q15617994 . ?k rdf:type ontology:Q15617994 } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Q244 property:P530 ?r . ?r rdf:type ontology:Q15617994 } } . FILTER ( ?n = ?q ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
148
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Barbados
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?n ) WHERE { ?k property:diplomatic_relation ?p . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?k } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Barbados property:diplomatic_relation ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n = ?q ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q736
P530
Q15617994 Q15617994
USER
And also tell me about Ecuador?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q736
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?r ) WHERE { ?n property:P530 ?m . ?n rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?n } . FILTER ( ?r = ?x ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { resource:Q736 property:P530 ?t . ?t rdf:type ontology:Q15617994 } } }
Ecuador
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Ecuador
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?r ) WHERE { ?n property:diplomatic_relation ?m . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } . FILTER ( ?r = ?x ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { resource:Ecuador property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
148
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q736
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?r ) WHERE { ?n property:P530 ?m . ?n rdf:type ontology:Q15617994 . ?m rdf:type ontology:Q15617994 } GROUP BY ?n } . FILTER ( ?r = ?x ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { resource:Q736 property:P530 ?t . ?t rdf:type ontology:Q15617994 } } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
148
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Ecuador
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?d ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?m ) AS ?r ) WHERE { ?n property:diplomatic_relation ?m . ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?n } . FILTER ( ?r = ?x ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?x ) WHERE { resource:Ecuador property:diplomatic_relation ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]