Simple Question (Direct)
Simple Question
Q11373795
P27
Q15617994
USER
Which administrative territory is the native country of Yoshiko Iseki ?
(Q11373795,P27,c(Q15617994))
action filter_type
action find
entity Q11373795
relation P27
type Q15617994
['Q11373795', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q11373795 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Yoshiko Iseki
action filter_type
action find
entity Yoshiko Iseki
relation country of citizenship
type designation for an administrative territorial entity
['Yoshiko Iseki', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Yoshiko_Iseki property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q17
SYSTEM
Japan
Q17
(Q11373795,P27,c(Q15617994))
action filter_type
action find
entity Q11373795
relation P27
type Q15617994
[ANSWER]
['Q11373795', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q11373795 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Japan
Japan
action filter_type
action find
entity Yoshiko Iseki
relation country of citizenship
type designation for an administrative territorial entity
['Yoshiko Iseki', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Yoshiko_Iseki property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11373795
P21
Q290
USER
What is the sex of that person ?
(Q17,P21,c(Q290))
action filter_type
action find
entity Q11373795
relation P21
type Q290
['Q17', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q11373795 property:P21 ?m . ?m rdf:type ontology:Q290 }
Yoshiko Iseki
action filter_type
action find
entity Yoshiko Iseki
relation gender
type sex
['Japan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Yoshiko_Iseki property:gender ?m . ?m rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q17,P21,c(Q290))
action filter_type
action find
entity Q11373795
relation P21
type Q290
[ANSWER]
['Q17', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { resource:Q11373795 property:P21 ?m . ?m rdf:type ontology:Q290 }
female
female
action filter_type
action find
entity Yoshiko Iseki
relation gender
type sex
['Japan', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { resource:Yoshiko_Iseki property:gender ?m . ?m rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11373795
P106
Q12737077
USER
Which occupations have that person as his/her 's career ?
(Q6581072,P106,c(Q12737077))
action filter_type
action find
entity Q11373795
relation P106
type Q12737077
['Q6581072', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q11373795 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Yoshiko Iseki
action filter_type
action find
entity Yoshiko Iseki
relation occupation
type occupation
['female', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Yoshiko_Iseki property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Q33999 Q177220 Q622807
SYSTEM
actor, singer, seiyū
Q622807 Q943995 Q33999 Q177220
(Q6581072,P106,c(Q12737077))
action filter_type
action find
entity Q11373795
relation P106
type Q12737077
[ANSWERS]
['Q6581072', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q11373795 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
seiyū impresario actor singer
actor singer seiyū
action filter_type
action find
entity Yoshiko Iseki
relation occupation
type occupation
['female', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Yoshiko_Iseki property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q33999 Q177220 Q622807
P101
Q502895
USER
Which people have his/her area as actor, singer and seiyū ?
(c(Q502895),P101,Q33999) (c(Q502895),P101,Q177220) (c(Q502895),P101,Q622807)
action union
action filter_type
action find_reverse
entity Q33999
relation P101
type Q502895
action filter_type
action find_reverse
entity Q177220
relation P101
type Q502895
action filter_type
action find_reverse
entity Q622807
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q33999'] [{'concept': 'Q502895'}, 'P101', 'Q177220'] [{'concept': 'Q502895'}, 'P101', 'Q622807']
SELECT DISTINCT ?r WHERE { { ?r rdf:type ontology:Q502895 . ?r property:P101 resource:Q177220 } UNION { ?r property:P101 resource:Q33999 . ?r rdf:type ontology:Q502895 } }
actor singer seiyū
action union
action filter_type
action find_reverse
entity actor
relation field of work
type common name
action filter_type
action find_reverse
entity singer
relation field of work
type common name
action filter_type
action find_reverse
entity seiyū
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'actor'] [{'concept': 'common name'}, 'field of work', 'singer'] [{'concept': 'common name'}, 'field of work', 'seiyū']
SELECT DISTINCT ?r WHERE { { ?r rdf:type ontology:common_name . ?r property:field_of_work resource:singer } UNION { ?r property:field_of_work resource:actor . ?r rdf:type ontology:common_name } }
[]
common name
Q738505 Q5957599 Q5957599
SYSTEM
Renan Luce for 1st, Hamid Jebelli for 2nd, 3rd
Q5957599 Q3140773 Q738505 Q5957599 Q910761 Q6024866 Q3140773
(c(Q502895),P101,Q33999) (c(Q502895),P101,Q177220) (c(Q502895),P101,Q622807)
action union
action filter_type
action find_reverse
entity Q33999
relation P101
type Q502895
action filter_type
action find_reverse
entity Q177220
relation P101
type Q502895
action filter_type
action find_reverse
entity Q622807
relation P101
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P101', 'Q33999'] [{'concept': 'Q502895'}, 'P101', 'Q177220'] [{'concept': 'Q502895'}, 'P101', 'Q622807']
SELECT DISTINCT ?r WHERE { { ?r rdf:type ontology:Q502895 . ?r property:P101 resource:Q177220 } UNION { ?r property:P101 resource:Q33999 . ?r rdf:type ontology:Q502895 } }
Hamid Jebelli Rikako Aikawa Renan Luce Hamid Jebelli Mac Davis Indila Rikako Aikawa
Renan Luce Hamid Jebelli Hamid Jebelli
action union
action filter_type
action find_reverse
entity actor
relation field of work
type common name
action filter_type
action find_reverse
entity singer
relation field of work
type common name
action filter_type
action find_reverse
entity seiyū
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'actor'] [{'concept': 'common name'}, 'field of work', 'singer'] [{'concept': 'common name'}, 'field of work', 'seiyū']
SELECT DISTINCT ?r WHERE { { ?r rdf:type ontology:common_name . ?r property:field_of_work resource:singer } UNION { ?r property:field_of_work resource:actor . ?r rdf:type ontology:common_name } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q738505
P7
Q502895
USER
Who is a sibling of that one ?
(c(Q502895),P7,Q738505)
action filter_type
action find
entity Q738505
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q738505']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . resource:Q738505 property:P7 ?x }
Renan Luce
action filter_type
action find
entity Renan Luce
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Renan Luce']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . resource:Renan_Luce property:brother ?x }
[]
common name
Clarification for simple ques.
Q738505
SYSTEM
Did you mean Renan Luce ?
Q738505 Q5957599 Q5957599
(c(Q502895),P7,Q738505) (c(Q502895),P7,Q5957599) (c(Q502895),P7,Q5957599)
[ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q738505'] [{'concept': 'Q502895'}, 'P7', 'Q5957599'] [{'concept': 'Q502895'}, 'P7', 'Q5957599']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . resource:Q738505 property:P7 ?x }
Renan Luce Hamid Jebelli Hamid Jebelli
Did you mean Renan Luce ?
Renan Luce
[{'concept': 'common name'}, 'brother', 'Renan Luce'] [{'concept': 'common name'}, 'brother', 'Hamid Jebelli'] [{'concept': 'common name'}, 'brother', 'Hamid Jebelli']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . resource:Renan_Luce property:brother ?x }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P7,Q738505)
[{'concept': 'Q502895'}, 'P7', 'Q738505']
[{'concept': 'common name'}, 'brother', 'Renan Luce']
[]
Q3012812
SYSTEM
Damien Luce
Q3012812
(c(Q502895),P7,Q738505)
action filter_type
action find
entity Q738505
relation P7
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P7', 'Q738505']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q502895 . resource:Q738505 property:P7 ?x }
Damien Luce
Damien Luce
action filter_type
action find
entity Renan Luce
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Renan Luce']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:common_name . resource:Renan_Luce property:brother ?x }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3012812
P19
Q56061
USER
Which administrative territory is the place of birth of that person ?
(Q3012812,P19,c(Q56061))
action filter_type
action find
entity Q3012812
relation P19
type Q56061
['Q3012812', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q3012812 property:P19 ?d . ?d rdf:type ontology:Q56061 }
Damien Luce
action filter_type
action find
entity Damien Luce
relation place of birth
type administrative territorial entity
['Damien Luce', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Damien_Luce property:place_of_birth ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q3012812,P19,c(Q56061))
action filter_type
action find
entity Q3012812
relation P19
type Q56061
[ANSWER]
['Q3012812', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q3012812 property:P19 ?d . ?d rdf:type ontology:Q56061 }
Paris
Paris
action filter_type
action find
entity Damien Luce
relation place of birth
type administrative territorial entity
['Damien Luce', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Damien_Luce property:place_of_birth ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21088825
Q56061
USER
And also tell me about Enrique Rambal Sacía?
(Q21088825,P19,c(Q56061))
action filter_type
action find
entity Q21088825
relation P19
type Q56061
['Q21088825', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q21088825 property:P19 ?g . ?g rdf:type ontology:Q56061 }
Enrique Rambal Sacía
action filter_type
action find
entity Enrique Rambal Sacía
relation place of birth
type administrative territorial entity
['Enrique Rambal Sacía', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Enrique_Rambal_Sacía property:place_of_birth ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q8818
SYSTEM
Valencia
Q8818
(Q21088825,P19,c(Q56061))
action filter_type
action find
entity Q21088825
relation P19
type Q56061
[ANSWER]
['Q21088825', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q21088825 property:P19 ?g . ?g rdf:type ontology:Q56061 }
Valencia
Valencia
action filter_type
action find
entity Enrique Rambal Sacía
relation place of birth
type administrative territorial entity
['Enrique Rambal Sacía', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Enrique_Rambal_Sacía property:place_of_birth ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q24027049
P532
Q56061 Q2235308
USER
Which ship types have greater number of administrative territories as their registry harbour than Active ?
(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 Q24027049
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?j ) AS ?p ) WHERE { ?a rdf:type ontology:Q2235308 . ?j rdf:type ontology:Q56061 . ?a property:P532 ?j } GROUP BY ?a } . FILTER ( ?p > ?s ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { resource:Q24027049 property:P532 ?y . ?y rdf:type ontology:Q2235308 } } }
Active
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 Active
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?j ) AS ?p ) WHERE { ?a rdf:type ontology:ship_type . ?j rdf:type ontology:administrative_territorial_entity . ?a property:port_of_registry ?j } GROUP BY ?a } . FILTER ( ?p > ?s ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { resource:Active property:port_of_registry ?y . ?y rdf:type ontology:ship_type } } }
[]
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 Q24027049
relation P532
type Q2235308
[ANSWERS]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?j ) AS ?p ) WHERE { ?a rdf:type ontology:Q2235308 . ?j rdf:type ontology:Q56061 . ?a property:P532 ?j } GROUP BY ?a } . FILTER ( ?p > ?s ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { resource:Q24027049 property:P532 ?y . ?y rdf:type ontology:Q2235308 } } }
HSC Condor Rapide MS Viking XPRS MY Sam Simon MS Star Meteora MV Arctic Sunrise A MS Harmony of the Seas Edith Mærsk Shoalway RMS Samaria MV Esperanza SS Burutu PS Empress Queen SS Empire Airman RMS Titanic Mærsk Mc-Kinney Møller MS Quantum of the Seas Pioneering Spirit Emma Victory SS Argentina S/S Drottningholm Emma Mærsk Admiral Makarov HSC Condor Liberation MS Arrow SS California Modern Express Djurgården 8 Mary Celeste Sapphire Princess MS Azura Mein Schiff 4 MT Mastera CMA CGM Marco Polo VOS Sympathy RMS St Helena Eclipse MS Norman Atlantic MV Ascension HSC Highspeed 5 MS Express Samina msy Wind Song Varnek (ship, 1974-2010) MV Baltic Ace Empire Sandy SS Maxim Gorkiy Vitus Bering MV Christinaki Adventure British Explorer SS Coccolita RMS Olympic MV Royal Daffodil RMS Mauretania MV Boudicca SS Prince of Wales HMHS Britannic MS Brilliance of the Seas Anthem of the Seas SS Potsdam MS Empress MS Epsilon MS Marco Polo MV Hoegh Osaka RMS Empress of Ireland Vieux Crabe MS Oasis of the Seas Royal Clipper RMS Aquitania
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 Active
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?j ) AS ?p ) WHERE { ?a rdf:type ontology:ship_type . ?j rdf:type ontology:administrative_territorial_entity . ?a property:port_of_registry ?j } GROUP BY ?a } . FILTER ( ?p > ?s ) . { SELECT DISTINCT ( COUNT ( ?y ) AS ?s ) WHERE { resource:Active property:port_of_registry ?y . ?y rdf:type ontology:ship_type } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q192381
P532
Q56061 Q2235308
USER
And how about MS Oasis of the Seas?
(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 Q192381
relation P532
type Q2235308
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { resource:Q192381 property:P532 ?j . ?j rdf:type ontology:Q2235308 } } . FILTER ( ?h > ?d ) . { SELECT DISTINCT ?m ( COUNT ( ?x ) AS ?h ) WHERE { ?m property:P532 ?x . ?m rdf:type ontology:Q2235308 . ?x rdf:type ontology:Q56061 } GROUP BY ?m } }
MS Oasis of the Seas
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 MS Oasis of the Seas
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { resource:MS_Oasis_of_the_Seas property:port_of_registry ?j . ?j rdf:type ontology:ship_type } } . FILTER ( ?h > ?d ) . { SELECT DISTINCT ?m ( COUNT ( ?x ) AS ?h ) WHERE { ?m property:port_of_registry ?x . ?m rdf:type ontology:ship_type . ?x rdf:type ontology:administrative_territorial_entity } GROUP BY ?m } }
[]
administrative territorial entity ship type
Q2596850 Q468026 Q11707059
SYSTEM
MS Azura, SS Maxim Gorkiy, MS Arrow
Q11707059 Q33209 Q1514518 Q2596850 Q468026
(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 Q192381
relation P532
type Q2235308
[ANSWERS]
[{'concept': 'Q2235308'}, 'P532', {'concept': 'Q56061'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { resource:Q192381 property:P532 ?j . ?j rdf:type ontology:Q2235308 } } . FILTER ( ?h > ?d ) . { SELECT DISTINCT ?m ( COUNT ( ?x ) AS ?h ) WHERE { ?m property:P532 ?x . ?m rdf:type ontology:Q2235308 . ?x rdf:type ontology:Q56061 } GROUP BY ?m } }
MS Arrow Mary Celeste Sapphire Princess MS Azura SS Maxim Gorkiy
MS Azura SS Maxim Gorkiy MS Arrow
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 MS Oasis of the Seas
relation port of registry
type ship type
[{'concept': 'ship type'}, 'port of registry', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { resource:MS_Oasis_of_the_Seas property:port_of_registry ?j . ?j rdf:type ontology:ship_type } } . FILTER ( ?h > ?d ) . { SELECT DISTINCT ?m ( COUNT ( ?x ) AS ?h ) WHERE { ?m property:port_of_registry ?x . ?m rdf:type ontology:ship_type . ?x rdf:type ontology:administrative_territorial_entity } GROUP BY ?m } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q452548 Q21088825
P27
Q15617994
USER
Which administrative territories are the countries of citizenship of Enrique Rambal Sacía or Arianna Puello ?
OR((Q21088825,P27,c(Q15617994)), (Q452548,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q21088825
relation P27
action find
entity Q452548
relation P27
type Q15617994
{'OR': [['Q21088825', 'P27', {'concept': 'Q15617994'}], ['Q452548', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q21088825 property:P27 ?r } UNION { resource:Q452548 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
Arianna Puello Enrique Rambal Sacía
action filter_type
action union
action find
entity Enrique Rambal Sacía
relation country of citizenship
action find
entity Arianna Puello
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Enrique Rambal Sacía', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Arianna Puello', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Enrique_Rambal_Sacía property:country_of_citizenship ?r } UNION { resource:Arianna_Puello property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
OR((Q21088825,P27,c(Q15617994)), (Q452548,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q21088825
relation P27
action find
entity Q452548
relation P27
type Q15617994
[ANSWER]
{'OR': [['Q21088825', 'P27', {'concept': 'Q15617994'}], ['Q452548', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q21088825 property:P27 ?r } UNION { resource:Q452548 property:P27 ?r } } . ?r rdf:type ontology:Q15617994 }
Spain
Spain
action filter_type
action union
action find
entity Enrique Rambal Sacía
relation country of citizenship
action find
entity Arianna Puello
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Enrique Rambal Sacía', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Arianna Puello', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Enrique_Rambal_Sacía property:country_of_citizenship ?r } UNION { resource:Arianna_Puello property:country_of_citizenship ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q800
P530
Q15617994 Q15617994
USER
Which administrative territories are known to have diplomatic connections with less number of administrative territories than Costa Rica ?
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q800
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?r ) WHERE { ?n rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 . ?q property:P530 ?n } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { resource:Q800 property:P530 ?z . ?z rdf:type ontology:Q15617994 } } . FILTER ( ?r < ?k ) }
Costa Rica
action less
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 Costa Rica
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 ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?r ) WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q property:diplomatic_relation ?n } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { resource:Costa_Rica property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?r < ?k ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q29999 Q786 Q924
SYSTEM
Kingdom of the Netherlands, Dominican Republic, Tanzania
Q702 Q804 Q262 Q265 Q712 Q837 Q657 Q792 Q986 Q242 Q811 Q924 Q29999 Q854 Q819 Q424 Q730 Q232 Q921 Q1027 Q1020 Q1028 Q786 Q1036 Q1037 Q974 Q1032 Q1030 Q965 Q967 Q963 Q697 Q695 Q115 Q117 Q754 Q912 Q1007 Q1006 Q1005 Q1009 Q1008 Q971 Q683 Q686 Q836 Q774 Q817 Q1019 Q945 Q678 Q33788
(c(Q15617994),P530,c(Q15617994))
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q800
relation P530
type Q15617994
[ANSWERS]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?r ) WHERE { ?n rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 . ?q property:P530 ?n } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { resource:Q800 property:P530 ?z . ?z rdf:type ontology:Q15617994 } } . FILTER ( ?r < ?k ) }
Federated States of Micronesia Panama Algeria Uzbekistan Fiji Nepal Chad El Salvador Eritrea Belize Nicaragua Tanzania Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Kazakhstan Brunei Mauritius Malawi Morocco Dominican Republic Uganda Rwanda Democratic Republic of the Congo Niger Namibia Burkina Faso Burundi Botswana Nauru Palau Ethiopia Ghana Trinidad and Tobago Mali Guinea-Bissau Guinea Gambia Cameroon Côte d'Ivoire Republic of the Congo Samoa Vanuatu Myanmar Guatemala Kuwait Madagascar Togo Tonga New Caledonia
Kingdom of the Netherlands Dominican Republic Tanzania
action less
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 Costa Rica
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 ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?n ) AS ?r ) WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q property:diplomatic_relation ?n } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { resource:Costa_Rica property:diplomatic_relation ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?r < ?k ) }
[]