Simple Question (Direct)
Simple Question
Q291532
P17
Q15617994
USER
Which administrative territory does Évran belong to ?
(Q291532,P17,c(Q15617994))
action filter_type
action find
entity Q291532
relation P17
type Q15617994
['Q291532', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q291532 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
Évran
action filter_type
action find
entity Évran
relation country
type designation for an administrative territorial entity
['Évran', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Évran property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q291532,P17,c(Q15617994))
action filter_type
action find
entity Q291532
relation P17
type Q15617994
Évran belongs to [ANSWER]
['Q291532', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { resource:Q291532 property:P17 ?y . ?y rdf:type ontology:Q15617994 }
France
Évran belongs to France
France
action filter_type
action find
entity Évran
relation country
type designation for an administrative territorial entity
['Évran', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Évran property:country ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q291532
P19
Q502895
USER
Which people have birthplace at that french administrative division ?
(c(Q502895),P19,Q142)
action filter_type
action find_reverse
entity Q291532
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q142']
SELECT DISTINCT ?m WHERE { ?m property:P19 resource:Q291532 . ?m rdf:type ontology:Q502895 }
Évran
action filter_type
action find_reverse
entity Évran
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'France']
SELECT DISTINCT ?m WHERE { ?m property:place_of_birth resource:Évran . ?m rdf:type ontology:common_name }
[]
common name
Q538701 Q23956944 Q365004
SYSTEM
Georges Coudray, Victor Douceré, Auguste Haouissée
Q538701 Q23956944 Q365004
(c(Q502895),P19,Q142)
action filter_type
action find_reverse
entity Q291532
relation P19
type Q502895
[ANSWERS] have birthplace at that french administrative division
[{'concept': 'Q502895'}, 'P19', 'Q142']
SELECT DISTINCT ?m WHERE { ?m property:P19 resource:Q291532 . ?m rdf:type ontology:Q502895 }
Georges Coudray Victor Douceré Auguste Haouissée
Georges Coudray, Victor Douceré and Auguste Haouissée have birthplace at that french administrative division
Georges Coudray Victor Douceré Auguste Haouissée
action filter_type
action find_reverse
entity Évran
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'France']
SELECT DISTINCT ?m WHERE { ?m property:place_of_birth resource:Évran . ?m rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q23956944
P611
Q2061186
USER
What religion is that person affiliated to ?
(Q23956944,P611,c(Q2061186))
action filter_type
action find
entity Q23956944
relation P611
type Q2061186
['Q23956944', 'P611', {'concept': 'Q2061186'}]
SELECT DISTINCT ?h WHERE { resource:Q23956944 property:P611 ?h . ?h rdf:type ontology:Q2061186 }
Victor Douceré
action filter_type
action find
entity Victor Douceré
relation religious order
type religious order
['Victor Douceré', 'religious order', {'concept': 'religious order'}]
SELECT DISTINCT ?h WHERE { resource:Victor_Douceré property:religious_order ?h . ?h rdf:type ontology:religious_order }
[]
religious order
Clarification for simple ques.
Q538701
SYSTEM
Did you mean Georges Coudray ?
Q538701 Q23956944 Q365004
(Q538701,P611,c(Q2061186)) (Q23956944,P611,c(Q2061186)) (Q365004,P611,c(Q2061186))
[ANSWER]
['Q538701', 'P611', {'concept': 'Q2061186'}] ['Q23956944', 'P611', {'concept': 'Q2061186'}] ['Q365004', 'P611', {'concept': 'Q2061186'}]
SELECT DISTINCT ?h WHERE { resource:Q23956944 property:P611 ?h . ?h rdf:type ontology:Q2061186 }
Georges Coudray Victor Douceré Auguste Haouissée
Did you mean Georges Coudray ?
Georges Coudray
['Georges Coudray', 'religious order', {'concept': 'religious order'}] ['Victor Douceré', 'religious order', {'concept': 'religious order'}] ['Auguste Haouissée', 'religious order', {'concept': 'religious order'}]
SELECT DISTINCT ?h WHERE { resource:Victor_Douceré property:religious_order ?h . ?h rdf:type ontology:religious_order }
[]
Simple Question (Coreferenced)
USER
No, I meant Victor Douceré. Could you tell me the answer for that?
(Q23956944,P611,c(Q2061186))
Q23956944
['Q23956944', 'P611', {'concept': 'Q2061186'}]
['Victor Douceré', 'religious order', {'concept': 'religious order'}]
[]
Q923103
SYSTEM
Society of Mary
Q923103
(Q23956944,P611,c(Q2061186))
action filter_type
action find
entity Q23956944
relation P611
type Q2061186
That person is affiliated to [ANSWER]
['Q23956944', 'P611', {'concept': 'Q2061186'}]
SELECT DISTINCT ?h WHERE { resource:Q23956944 property:P611 ?h . ?h rdf:type ontology:Q2061186 }
Society of Mary
That person is affiliated to Society of Mary
Society of Mary
action filter_type
action find
entity Victor Douceré
relation religious order
type religious order
['Victor Douceré', 'religious order', {'concept': 'religious order'}]
SELECT DISTINCT ?h WHERE { resource:Victor_Douceré property:religious_order ?h . ?h rdf:type ontology:religious_order }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q923103 Q3371331
P611
Q502895
USER
Does Paul Glynn have a religious affiliation to that one ?
(Q3371331,P611,Q923103)
action is_in
entity Q923103
action find
entity Q3371331
relation P611
['Q3371331', 'P611', 'Q923103']
ASK WHERE { resource:Q3371331 property:P611 resource:Q923103 }
Society of Mary Paul Glynn
action is_in
entity Society of Mary
action find
entity Paul Glynn
relation religious order
['Paul Glynn', 'religious order', 'Society of Mary']
ASK WHERE { resource:Paul_Glynn property:religious_order resource:Society_of_Mary }
[]
common name
SYSTEM
YES
(Q3371331,P611,Q923103)
action is_in
entity Q923103
action find
entity Q3371331
relation P611
[ANSWER]
['Q3371331', 'P611', 'Q923103']
ASK WHERE { resource:Q3371331 property:P611 resource:Q923103 }
Yes
action is_in
entity Society of Mary
action find
entity Paul Glynn
relation religious order
['Paul Glynn', 'religious order', 'Society of Mary']
ASK WHERE { resource:Paul_Glynn property:religious_order resource:Society_of_Mary }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q142 Q633866 Q155
P47
Q15617994
USER
Does France have an adjacent border with Misselwarden and Brazil ?
(Q142,P47,Q633866) (Q142,P47,Q155)
action is_in
entity Q142
action intersection
action find_reverse
entity Q633866
relation P47
action find_reverse
entity Q155
relation P47
['Q142', 'P47', 'Q633866'] ['Q142', 'P47', 'Q155']
ASK WHERE { resource:Q142 property:P47 resource:Q633866 . resource:Q142 property:P47 resource:Q155 }
France Misselwarden Brazil
action is_in
entity France
action intersection
action find_reverse
entity Misselwarden
relation shares border with
action find_reverse
entity Brazil
relation shares border with
['France', 'shares border with', 'Misselwarden'] ['France', 'shares border with', 'Brazil']
ASK WHERE { resource:France property:shares_border_with resource:Misselwarden . resource:France property:shares_border_with resource:Brazil }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q142,P47,Q633866) (Q142,P47,Q155)
action is_in
entity Q142
action intersection
action find_reverse
entity Q633866
relation P47
action find_reverse
entity Q155
relation P47
[ANSWER]
['Q142', 'P47', 'Q633866'] ['Q142', 'P47', 'Q155']
ASK WHERE { resource:Q142 property:P47 resource:Q633866 . resource:Q142 property:P47 resource:Q155 }
NO and YES respectively
action is_in
entity France
action intersection
action find_reverse
entity Misselwarden
relation shares border with
action find_reverse
entity Brazil
relation shares border with
['France', 'shares border with', 'Misselwarden'] ['France', 'shares border with', 'Brazil']
ASK WHERE { resource:France property:shares_border_with resource:Misselwarden . resource:France property:shares_border_with resource:Brazil }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q365004 Q8686
P20
Q56061
USER
Is Shanghai the place of death of Auguste Haouissée ?
(Q365004,P20,Q8686)
action is_in
entity Q8686
action find
entity Q365004
relation P20
['Q365004', 'P20', 'Q8686']
ASK WHERE { resource:Q365004 property:P20 resource:Q8686 }
Auguste Haouissée Shanghai
action is_in
entity Shanghai
action find
entity Auguste Haouissée
relation place of death
['Auguste Haouissée', 'place of death', 'Shanghai']
ASK WHERE { resource:Auguste_Haouissée property:place_of_death resource:Shanghai }
[]
administrative territorial entity
SYSTEM
YES
(Q365004,P20,Q8686)
action is_in
entity Q8686
action find
entity Q365004
relation P20
[ANSWER]
['Q365004', 'P20', 'Q8686']
ASK WHERE { resource:Q365004 property:P20 resource:Q8686 }
Yes
action is_in
entity Shanghai
action find
entity Auguste Haouissée
relation place of death
['Auguste Haouissée', 'place of death', 'Shanghai']
ASK WHERE { resource:Auguste_Haouissée property:place_of_death resource:Shanghai }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q365004
P140
Q879146
USER
What is the religious affiliation of that person ?
action filter_type
action find
entity Q365004
relation P140
type Q879146
SELECT DISTINCT ?f WHERE { resource:Q365004 property:P140 ?f . ?f rdf:type ontology:Q879146 }
Auguste Haouissée
action filter_type
action find
entity Auguste Haouissée
relation religion
type Christian denomination
SELECT DISTINCT ?f WHERE { resource:Auguste_Haouissée property:religion ?f . ?f rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
action filter_type
action find
entity Q365004
relation P140
type Q879146
The religious affiliation of that person is a [ANSWER]
SELECT DISTINCT ?f WHERE { resource:Q365004 property:P140 ?f . ?f rdf:type ontology:Q879146 }
Roman Catholic Church
The religious affiliation of that person is a Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity Auguste Haouissée
relation religion
type Christian denomination
SELECT DISTINCT ?f WHERE { resource:Auguste_Haouissée property:religion ?f . ?f rdf:type ontology:Christian_denomination }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q263107 Q923103
P190 P159
Q56061
USER
Which administrative territories are the headquarter locations of Society of Mary or are partner towns of Judenburg ?
OR((Q923103,P159,c(Q56061)), (Q263107,P190,c(Q56061)))
action filter_type
action union
action find
entity Q923103
relation P159
action find
entity Q263107
relation P190
type Q56061
{'OR': [['Q923103', 'P159', {'concept': 'Q56061'}], ['Q263107', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q56061 . { { resource:Q923103 property:P159 ?a } UNION { resource:Q263107 property:P190 ?a } } }
Judenburg Society of Mary
action filter_type
action union
action find
entity Society of Mary
relation headquarters location
action find
entity Judenburg
relation sister city
type administrative territorial entity
{'OR': [['Society of Mary', 'headquarters location', {'concept': 'administrative territorial entity'}], ['Judenburg', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:administrative_territorial_entity . { { resource:Society_of_Mary property:headquarters_location ?a } UNION { resource:Judenburg property:sister_city ?a } } }
[]
administrative territorial entity
Q1006408 Q530309 Q11874 Q405136 Q141796 Q586895 Q27678 Q353854 Q213898 Q499318
SYSTEM
Some of them are Sesimbra Municipality, Karkkila, Zvolen, Tryavna, Türi, Sherborne, Holstebro, Agros, Preveza, Prienai
Q15922 Q27678 Q220 Q499318 Q1009405 Q213898 Q985402 Q954157 Q353854 Q11874 Q1006408 Q586895 Q405136 Q141796 Q530309
OR((Q923103,P159,c(Q56061)), (Q263107,P190,c(Q56061)))
action filter_type
action union
action find
entity Q923103
relation P159
action find
entity Q263107
relation P190
type Q56061
[ANSWERS] are the headquarter locations of Society of Mary or are partner towns of Judenburg
{'OR': [['Q923103', 'P159', {'concept': 'Q56061'}], ['Q263107', 'P190', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q56061 . { { resource:Q923103 property:P159 ?a } UNION { resource:Q263107 property:P190 ?a } } }
Škofja Loka Holstebro Rome Prienai Bundoran Preveza Niederanven Chojna Agros Zvolen Sesimbra Municipality Sherborne Tryavna Türi Karkkila
Sesimbra Municipality, Karkkila, Zvolen, Tryavna, Türi, Sherborne, Holstebro, Agros, Preveza and Prienai are the headquarter locations of Society of Mary or are partner towns of Judenburg
Sesimbra Municipality Karkkila Zvolen Tryavna Türi Sherborne Holstebro Agros Preveza Prienai
action filter_type
action union
action find
entity Society of Mary
relation headquarters location
action find
entity Judenburg
relation sister city
type administrative territorial entity
{'OR': [['Society of Mary', 'headquarters location', {'concept': 'administrative territorial entity'}], ['Judenburg', 'sister city', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:administrative_territorial_entity . { { resource:Society_of_Mary property:headquarters_location ?a } UNION { resource:Judenburg property:sister_city ?a } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q200783
P206
Q15324 Q1267889 Q56061
USER
How many administrative territories are located nearby more number of bodies of water or waterways than Monschau ?
(c(Q56061),P206,c(Q15324)|c(Q1267889))
action count
action greater
action union
action find_tuple_counts
relation P206
type Q56061
type Q15324
action find_tuple_counts
relation P206
type Q56061
type Q1267889
action count
action filter_multi_types
action find
entity Q200783
relation P206
type Q15324
type Q1267889
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) ?x WHERE { { ?x property:P206 ?w . ?x rdf:type ontology:Q56061 . ?w rdf:type ontology:Q1267889 } UNION { ?w rdf:type ontology:Q15324 . ?x rdf:type ontology:Q56061 . ?x property:P206 ?w } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { resource:Q200783 property:P206 ?s . { { ?s rdf:type ontology:Q15324 } UNION { ?s rdf:type ontology:Q1267889 } } } } . FILTER ( ?b > ?i ) }
Monschau
action count
action greater
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type waterway
action count
action filter_multi_types
action find
entity Monschau
relation located next to body of water
type body of water
type waterway
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) ?x WHERE { { ?x property:located_next_to_body_of_water ?w . ?x rdf:type ontology:administrative_territorial_entity . ?w rdf:type ontology:waterway } UNION { ?w rdf:type ontology:body_of_water . ?x rdf:type ontology:administrative_territorial_entity . ?x property:located_next_to_body_of_water ?w } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { resource:Monschau property:located_next_to_body_of_water ?s . { { ?s rdf:type ontology:body_of_water } UNION { ?s rdf:type ontology:waterway } } } } . FILTER ( ?b > ?i ) }
[]
body of water waterway administrative territorial entity
SYSTEM
145
Q12273 Q3818 Q770885 Q4083209 Q501661 Q501744 Q1939468 Q548441 Q331556 Q2943426 Q17151 Q15982011 Q1636296 Q105342 Q1757 Q1754 Q47048 Q985587 Q501090 Q1113813 Q34820 Q991661 Q11901685 Q2060910 Q2921491 Q15981916 Q1335 Q28721 Q9911 Q6465685 Q41295 Q2861 Q37133 Q207998 Q3792 Q52437 Q2598092 Q2983392 Q463937 Q3630 Q334 Q12994 Q282461 Q35178 Q4119405 Q1563 Q991274 Q3299785 Q9536 Q849441 Q15068816 Q10707890 Q3947670 Q2229853 Q969531 Q851034 Q3595479 Q3398922 Q614919 Q36281 Q1000107 Q1442470 Q21060 Q2021057 Q831527 Q200036 Q517053 Q60 Q39178 Q2684898 Q9310 Q1052027 Q1874 Q837211 Q239496 Q959 Q3932309 Q2745332 Q213707 Q1770 Q41699 Q425786 Q938379 Q18419 Q227064 Q2893117 Q7314172 Q840867 Q133123 Q986387 Q3825 Q865021 Q2238911 Q1330853 Q5379235 Q25230 Q10690 Q5926907 Q16953999 Q724394 Q4347874 Q36526 Q2727978 Q2666506 Q1419813 Q62 Q3882 Q3889 Q1616324 Q1160017 Q2928585 Q79716 Q930204 Q10313 Q990130 Q368275 Q79848 Q2413248 Q34692 Q913649 Q585 Q220 Q2729387 Q176749 Q100 Q11873187 Q36262 Q569080 Q18386455 Q3932 Q1025353 Q1572113 Q683125 Q2978763 Q36600 Q36168 Q743521 Q1807728 Q11901258 Q446232 Q41547 Q1552720 Q505601 Q991400 Q1758944
(c(Q56061),P206,c(Q15324)|c(Q1267889))
action count
action greater
action union
action find_tuple_counts
relation P206
type Q56061
type Q15324
action find_tuple_counts
relation P206
type Q56061
type Q1267889
action count
action filter_multi_types
action find
entity Q200783
relation P206
type Q15324
type Q1267889
[ANSWER]
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) ?x WHERE { { ?x property:P206 ?w . ?x rdf:type ontology:Q56061 . ?w rdf:type ontology:Q1267889 } UNION { ?w rdf:type ontology:Q15324 . ?x rdf:type ontology:Q56061 . ?x property:P206 ?w } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { resource:Q200783 property:P206 ?s . { { ?s rdf:type ontology:Q15324 } UNION { ?s rdf:type ontology:Q1267889 } } } } . FILTER ( ?b > ?i ) }
Gijón Malabo Bergen aan Zee Seymour Arm Schleswig Alert Paravur Portugalete Bosaso Cayo Santa María Thessaloniki El Teso Hulhumalé Bolshoy Kamen Helsinki Stockholm Oulu Lee-on-the-Solent Castro Urdiales Come By Chance, Newfoundland and Labrador Santo Domingo Callantsoog Virkkula Fuvahmulah Katwijk aan Zee El Sargento Montevideo Beeston Regis Den Helder La Ventana Basseterre Rostock Mariupol Fethiye Lomé Murano Shorne Colliers Saint Thomas Jakarta Singapore Bruges IJmuiden Kuwait City Nabih Saleh Havana Kalamos Halat Nuaim Bad Doberan Saint John Norris Arm Olhava San Mauro Mare Velsen-Noord Monster San Leandro Andrott Y Felinheli Atokos Roseau Kijkduin Santoña Ouddorp Hindersön Djurgården Volos De Koog New York City Port of Spain Ter Heijde Dili Cayo Largo del Sur Odessa Scheveningen Sheringham Vladivostok Nieuw-Haamstede Villa Las Estrellas Grímsey Tallinn Castries 's-Gravenzande Samarai Brooklyn Zoutelande Beit Ummar Reposaari Rudnaya Pristan Patras Cárdenas Libreville Birchington-on-Sea Kumta Vilsandi Ennore Guernsey Cardiff Hubbards, Nova Scotia Daloloia Group Poros Emäsalo Port Moresby Karwar Panaeati Island Roatán San Francisco Manama Maputo Egmond aan Zee Perim Burnt Islands, Newfoundland and Labrador Whittier Wells-next-the-Sea Donostia/San Sebastián Hook of Holland Spetses Southampton Cayo Romano Kingston Wijk aan Zee Oslo Rome Huisduinen Villingili Boston Kuivaniemi St. John's Koipsi Canoe Island São Tomé Cadzand-Bad Útila Ustronie Morskie Clearwater Beach The Hague Bridgetown Scarborough Samhah Vihiluoto Petten St. George's Guanaja Wassenaar Puerto Barrios Rottumeroog
145
action count
action greater
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type waterway
action count
action filter_multi_types
action find
entity Monschau
relation located next to body of water
type body of water
type waterway
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?b ) ?x WHERE { { ?x property:located_next_to_body_of_water ?w . ?x rdf:type ontology:administrative_territorial_entity . ?w rdf:type ontology:waterway } UNION { ?w rdf:type ontology:body_of_water . ?x rdf:type ontology:administrative_territorial_entity . ?x property:located_next_to_body_of_water ?w } } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?i ) WHERE { resource:Monschau property:located_next_to_body_of_water ?s . { { ?s rdf:type ontology:body_of_water } UNION { ?s rdf:type ontology:waterway } } } } . FILTER ( ?b > ?i ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q894535
P206
Q15324 Q1267889 Q56061
USER
And also tell me about Bosso?
(c(Q56061),P206,c(Q15324)|c(Q1267889))
action count
action greater
action union
action find_tuple_counts
relation P206
type Q56061
type Q15324
action find_tuple_counts
relation P206
type Q56061
type Q1267889
action count
action filter_multi_types
action find
entity Q894535
relation P206
type Q15324
type Q1267889
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) ?i WHERE { { ?i rdf:type ontology:Q56061 . ?u rdf:type ontology:Q1267889 . ?i property:P206 ?u } UNION { ?i property:P206 ?u . ?i rdf:type ontology:Q56061 . ?u rdf:type ontology:Q15324 } } GROUP BY ?i } . FILTER ( ?w > ?f ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { ?x rdf:type ?j . VALUES ( ?j ) { ( ontology:Q15324 ) ( ontology:Q1267889 ) } } . resource:Q894535 property:P206 ?x } } }
Bosso
action count
action greater
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type waterway
action count
action filter_multi_types
action find
entity Bosso
relation located next to body of water
type body of water
type waterway
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) ?i WHERE { { ?i rdf:type ontology:administrative_territorial_entity . ?u rdf:type ontology:waterway . ?i property:located_next_to_body_of_water ?u } UNION { ?i property:located_next_to_body_of_water ?u . ?i rdf:type ontology:administrative_territorial_entity . ?u rdf:type ontology:body_of_water } } GROUP BY ?i } . FILTER ( ?w > ?f ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { ?x rdf:type ?j . VALUES ( ?j ) { ( ontology:body_of_water ) ( ontology:waterway ) } } . resource:Bosso property:located_next_to_body_of_water ?x } } }
[]
body of water waterway administrative territorial entity
SYSTEM
145
Q12273 Q3818 Q770885 Q4083209 Q501661 Q501744 Q1939468 Q548441 Q331556 Q2943426 Q17151 Q15982011 Q1636296 Q105342 Q1757 Q1754 Q47048 Q985587 Q501090 Q1113813 Q34820 Q991661 Q11901685 Q2060910 Q2921491 Q15981916 Q1335 Q28721 Q9911 Q6465685 Q41295 Q2861 Q37133 Q207998 Q3792 Q52437 Q2598092 Q2983392 Q463937 Q3630 Q334 Q12994 Q282461 Q35178 Q4119405 Q1563 Q991274 Q3299785 Q9536 Q849441 Q15068816 Q10707890 Q3947670 Q2229853 Q969531 Q851034 Q3595479 Q3398922 Q614919 Q36281 Q1000107 Q1442470 Q21060 Q2021057 Q831527 Q200036 Q517053 Q60 Q39178 Q2684898 Q9310 Q1052027 Q1874 Q837211 Q239496 Q959 Q3932309 Q2745332 Q213707 Q1770 Q41699 Q425786 Q938379 Q18419 Q227064 Q2893117 Q7314172 Q840867 Q133123 Q986387 Q3825 Q865021 Q2238911 Q1330853 Q5379235 Q25230 Q10690 Q5926907 Q16953999 Q724394 Q4347874 Q36526 Q2727978 Q2666506 Q1419813 Q62 Q3882 Q3889 Q1616324 Q1160017 Q2928585 Q79716 Q930204 Q10313 Q990130 Q368275 Q79848 Q2413248 Q34692 Q913649 Q585 Q220 Q2729387 Q176749 Q100 Q11873187 Q36262 Q569080 Q18386455 Q3932 Q1025353 Q1572113 Q683125 Q2978763 Q36600 Q36168 Q743521 Q1807728 Q11901258 Q446232 Q41547 Q1552720 Q505601 Q991400 Q1758944
(c(Q56061),P206,c(Q15324)|c(Q1267889))
action count
action greater
action union
action find_tuple_counts
relation P206
type Q56061
type Q15324
action find_tuple_counts
relation P206
type Q56061
type Q1267889
action count
action filter_multi_types
action find
entity Q894535
relation P206
type Q15324
type Q1267889
[ANSWER]
[{'concept': 'Q56061'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q1267889'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) ?i WHERE { { ?i rdf:type ontology:Q56061 . ?u rdf:type ontology:Q1267889 . ?i property:P206 ?u } UNION { ?i property:P206 ?u . ?i rdf:type ontology:Q56061 . ?u rdf:type ontology:Q15324 } } GROUP BY ?i } . FILTER ( ?w > ?f ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { ?x rdf:type ?j . VALUES ( ?j ) { ( ontology:Q15324 ) ( ontology:Q1267889 ) } } . resource:Q894535 property:P206 ?x } } }
Gijón Malabo Bergen aan Zee Seymour Arm Schleswig Alert Paravur Portugalete Bosaso Cayo Santa María Thessaloniki El Teso Hulhumalé Bolshoy Kamen Helsinki Stockholm Oulu Lee-on-the-Solent Castro Urdiales Come By Chance, Newfoundland and Labrador Santo Domingo Callantsoog Virkkula Fuvahmulah Katwijk aan Zee El Sargento Montevideo Beeston Regis Den Helder La Ventana Basseterre Rostock Mariupol Fethiye Lomé Murano Shorne Colliers Saint Thomas Jakarta Singapore Bruges IJmuiden Kuwait City Nabih Saleh Havana Kalamos Halat Nuaim Bad Doberan Saint John Norris Arm Olhava San Mauro Mare Velsen-Noord Monster San Leandro Andrott Y Felinheli Atokos Roseau Kijkduin Santoña Ouddorp Hindersön Djurgården Volos De Koog New York City Port of Spain Ter Heijde Dili Cayo Largo del Sur Odessa Scheveningen Sheringham Vladivostok Nieuw-Haamstede Villa Las Estrellas Grímsey Tallinn Castries 's-Gravenzande Samarai Brooklyn Zoutelande Beit Ummar Reposaari Rudnaya Pristan Patras Cárdenas Libreville Birchington-on-Sea Kumta Vilsandi Ennore Guernsey Cardiff Hubbards, Nova Scotia Daloloia Group Poros Emäsalo Port Moresby Karwar Panaeati Island Roatán San Francisco Manama Maputo Egmond aan Zee Perim Burnt Islands, Newfoundland and Labrador Whittier Wells-next-the-Sea Donostia/San Sebastián Hook of Holland Spetses Southampton Cayo Romano Kingston Wijk aan Zee Oslo Rome Huisduinen Villingili Boston Kuivaniemi St. John's Koipsi Canoe Island São Tomé Cadzand-Bad Útila Ustronie Morskie Clearwater Beach The Hague Bridgetown Scarborough Samhah Vihiluoto Petten St. George's Guanaja Wassenaar Puerto Barrios Rottumeroog
145
action count
action greater
action union
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type administrative territorial entity
type waterway
action count
action filter_multi_types
action find
entity Bosso
relation located next to body of water
type body of water
type waterway
[{'concept': 'administrative territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'waterway'}]]
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) ?i WHERE { { ?i rdf:type ontology:administrative_territorial_entity . ?u rdf:type ontology:waterway . ?i property:located_next_to_body_of_water ?u } UNION { ?i property:located_next_to_body_of_water ?u . ?i rdf:type ontology:administrative_territorial_entity . ?u rdf:type ontology:body_of_water } } GROUP BY ?i } . FILTER ( ?w > ?f ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?f ) WHERE { { ?x rdf:type ?j . VALUES ( ?j ) { ( ontology:body_of_water ) ( ontology:waterway ) } } . resource:Bosso property:located_next_to_body_of_water ?x } } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q52927
P88
Q502895 Q2668072 Q2160811
USER
Which people did the commissioning of more number of collections or artistic themes than Charles XIV John of Sweden ?
(c(Q2668072)|c(Q2160811),P88,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q2668072
action find_reverse_tuple_counts
relation P88
type Q502895
type Q2160811
action count
action filter_multi_types
action find_reverse
entity Q52927
relation P88
type Q2668072
type Q2160811
[[{'concept': 'Q2668072'}, {'concept': 'Q2160811'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { ?j property:P88 resource:Q52927 . { { ?j rdf:type ontology:Q2668072 } UNION { ?j rdf:type ontology:Q2160811 } } } } . FILTER ( ?q > ?m ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) ?r WHERE { ?i rdf:type ?t . VALUES ( ?t ) { ( ontology:Q2160811 ) ( ontology:Q2668072 ) } } GROUP BY ?r } }
Charles XIV John of Sweden
action greater
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type collection
action find_reverse_tuple_counts
relation commissioned by
type common name
type artistic theme
action count
action filter_multi_types
action find_reverse
entity Charles XIV John of Sweden
relation commissioned by
type collection
type artistic theme
[[{'concept': 'collection'}, {'concept': 'artistic theme'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { ?j property:commissioned_by resource:Charles_XIV_John_of_Sweden . { { ?j rdf:type ontology:collection } UNION { ?j rdf:type ontology:artistic_theme } } } } . FILTER ( ?q > ?m ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) ?r WHERE { ?i rdf:type ?t . VALUES ( ?t ) { ( ontology:artistic_theme ) ( ontology:collection ) } } GROUP BY ?r } }
[]
common name collection artistic theme
Q150726 Q153586 Q51056
SYSTEM
Maximilian I, Holy Roman Emperor, Christian IV of Denmark, Franz Joseph I of Austria
Q2161266 Q3291384 Q60568 Q57628 Q150726 Q3768246 Q49237 Q177854 Q51056 Q715054 Q540802 Q153586 Q62594 Q2551650
(c(Q2668072)|c(Q2160811),P88,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q2668072
action find_reverse_tuple_counts
relation P88
type Q502895
type Q2160811
action count
action filter_multi_types
action find_reverse
entity Q52927
relation P88
type Q2668072
type Q2160811
[ANSWERS] did the commissioning of more number of collections or artistic themes than Charles XIV John of Sweden
[[{'concept': 'Q2668072'}, {'concept': 'Q2160811'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { ?j property:P88 resource:Q52927 . { { ?j rdf:type ontology:Q2668072 } UNION { ?j rdf:type ontology:Q2160811 } } } } . FILTER ( ?q > ?m ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) ?r WHERE { ?i rdf:type ?t . VALUES ( ?t ) { ( ontology:Q2160811 ) ( ontology:Q2668072 ) } } GROUP BY ?r } }
Rodolphe d'Erlanger Mariano Guadalupe Vallejo William V, Duke of Bavaria Maximilian II Emanuel, Elector of Bavaria Maximilian I, Holy Roman Emperor Giovanni Tornabuoni Leo X Lorenzo de' Medici Franz Joseph I of Austria Borso d'Este, Duke of Ferrara Frederick III, Prince of Salm-Kyrburg Christian IV of Denmark Charles III Philip, Elector Palatine Alberto d'Este, Marquis of Ferrara
Maximilian I, Holy Roman Emperor, Christian IV of Denmark and Franz Joseph I of Austria did the commissioning of more number of collections or artistic themes than Charles XIV John of Sweden
Maximilian I, Holy Roman Emperor Christian IV of Denmark Franz Joseph I of Austria
action greater
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type collection
action find_reverse_tuple_counts
relation commissioned by
type common name
type artistic theme
action count
action filter_multi_types
action find_reverse
entity Charles XIV John of Sweden
relation commissioned by
type collection
type artistic theme
[[{'concept': 'collection'}, {'concept': 'artistic theme'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { ?j property:commissioned_by resource:Charles_XIV_John_of_Sweden . { { ?j rdf:type ontology:collection } UNION { ?j rdf:type ontology:artistic_theme } } } } . FILTER ( ?q > ?m ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?q ) ?r WHERE { ?i rdf:type ?t . VALUES ( ?t ) { ( ontology:artistic_theme ) ( ontology:collection ) } } GROUP BY ?r } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q16745596
P88
Q502895 Q2668072 Q2160811
USER
And also tell me about Jacopo Pesaro?
(c(Q2668072)|c(Q2160811),P88,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q2668072
action find_reverse_tuple_counts
relation P88
type Q502895
type Q2160811
action count
action filter_multi_types
action find_reverse
entity Q16745596
relation P88
type Q2668072
type Q2160811
[[{'concept': 'Q2668072'}, {'concept': 'Q2160811'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?o ) WHERE { VALUES ( ?h ) { ( ontology:Q2668072 ) ( ontology:Q2160811 ) } . ?l rdf:type ?h } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:P88 resource:Q16745596 . { { ?m rdf:type ontology:Q2668072 } UNION { ?m rdf:type ontology:Q2160811 } } } } . FILTER ( ?o > ?z ) }
Jacopo Pesaro
action greater
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type collection
action find_reverse_tuple_counts
relation commissioned by
type common name
type artistic theme
action count
action filter_multi_types
action find_reverse
entity Jacopo Pesaro
relation commissioned by
type collection
type artistic theme
[[{'concept': 'collection'}, {'concept': 'artistic theme'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?o ) WHERE { VALUES ( ?h ) { ( ontology:collection ) ( ontology:artistic_theme ) } . ?l rdf:type ?h } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:commissioned_by resource:Jacopo_Pesaro . { { ?m rdf:type ontology:collection } UNION { ?m rdf:type ontology:artistic_theme } } } } . FILTER ( ?o > ?z ) }
[]
common name collection artistic theme
Q150726 Q153586 Q51056
SYSTEM
Maximilian I, Holy Roman Emperor, Christian IV of Denmark, Franz Joseph I of Austria
Q2161266 Q3291384 Q60568 Q57628 Q150726 Q3768246 Q49237 Q177854 Q51056 Q715054 Q540802 Q153586 Q62594 Q2551650
(c(Q2668072)|c(Q2160811),P88,c(Q502895))
action greater
action union
action find_reverse_tuple_counts
relation P88
type Q502895
type Q2668072
action find_reverse_tuple_counts
relation P88
type Q502895
type Q2160811
action count
action filter_multi_types
action find_reverse
entity Q16745596
relation P88
type Q2668072
type Q2160811
[ANSWERS]
[[{'concept': 'Q2668072'}, {'concept': 'Q2160811'}], 'P88', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?o ) WHERE { VALUES ( ?h ) { ( ontology:Q2668072 ) ( ontology:Q2160811 ) } . ?l rdf:type ?h } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:P88 resource:Q16745596 . { { ?m rdf:type ontology:Q2668072 } UNION { ?m rdf:type ontology:Q2160811 } } } } . FILTER ( ?o > ?z ) }
Rodolphe d'Erlanger Mariano Guadalupe Vallejo William V, Duke of Bavaria Maximilian II Emanuel, Elector of Bavaria Maximilian I, Holy Roman Emperor Giovanni Tornabuoni Leo X Lorenzo de' Medici Franz Joseph I of Austria Borso d'Este, Duke of Ferrara Frederick III, Prince of Salm-Kyrburg Christian IV of Denmark Charles III Philip, Elector Palatine Alberto d'Este, Marquis of Ferrara
Maximilian I, Holy Roman Emperor Christian IV of Denmark Franz Joseph I of Austria
action greater
action union
action find_reverse_tuple_counts
relation commissioned by
type common name
type collection
action find_reverse_tuple_counts
relation commissioned by
type common name
type artistic theme
action count
action filter_multi_types
action find_reverse
entity Jacopo Pesaro
relation commissioned by
type collection
type artistic theme
[[{'concept': 'collection'}, {'concept': 'artistic theme'}], 'commissioned by', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?l ) AS ?o ) WHERE { VALUES ( ?h ) { ( ontology:collection ) ( ontology:artistic_theme ) } . ?l rdf:type ?h } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?z ) WHERE { ?m property:commissioned_by resource:Jacopo_Pesaro . { { ?m rdf:type ontology:collection } UNION { ?m rdf:type ontology:artistic_theme } } } } . FILTER ( ?o > ?z ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q16572997 Q23956944
P20
Q56061
USER
Which administrative territories did Victor Douceré or Lucjan Grabski expire ?
OR((Q23956944,P20,c(Q56061)), (Q16572997,P20,c(Q56061)))
action filter_type
action union
action find
entity Q23956944
relation P20
action find
entity Q16572997
relation P20
type Q56061
{'OR': [['Q23956944', 'P20', {'concept': 'Q56061'}], ['Q16572997', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?z ) { ( resource:Q23956944 ) ( resource:Q16572997 ) } . ?z property:P20 ?c } . ?c rdf:type ontology:Q56061 }
Lucjan Grabski Victor Douceré
action filter_type
action union
action find
entity Victor Douceré
relation place of death
action find
entity Lucjan Grabski
relation place of death
type administrative territorial entity
{'OR': [['Victor Douceré', 'place of death', {'concept': 'administrative territorial entity'}], ['Lucjan Grabski', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?z ) { ( resource:Victor_Douceré ) ( resource:Lucjan_Grabski ) } . ?z property:place_of_death ?c } . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q516462 Q37806
SYSTEM
Bad Wildungen, Port Vila
Q516462 Q37806
OR((Q23956944,P20,c(Q56061)), (Q16572997,P20,c(Q56061)))
action filter_type
action union
action find
entity Q23956944
relation P20
action find
entity Q16572997
relation P20
type Q56061
Victor Douceré or Lucjan Grabski expired in [ANSWERS]
{'OR': [['Q23956944', 'P20', {'concept': 'Q56061'}], ['Q16572997', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?z ) { ( resource:Q23956944 ) ( resource:Q16572997 ) } . ?z property:P20 ?c } . ?c rdf:type ontology:Q56061 }
Bad Wildungen Port Vila
Victor Douceré or Lucjan Grabski expired in Bad Wildungen and Port Vila
Bad Wildungen Port Vila
action filter_type
action union
action find
entity Victor Douceré
relation place of death
action find
entity Lucjan Grabski
relation place of death
type administrative territorial entity
{'OR': [['Victor Douceré', 'place of death', {'concept': 'administrative territorial entity'}], ['Lucjan Grabski', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?c WHERE { { VALUES ( ?z ) { ( resource:Victor_Douceré ) ( resource:Lucjan_Grabski ) } . ?z property:place_of_death ?c } . ?c rdf:type ontology:administrative_territorial_entity }
[]