Simple Question (Direct)
Simple Question
Q1786763
P27
Q1048835
USER
Which political territory is the country of citizenship of Tony Eyck ?
(Q1786763,P27,c(Q1048835))
action filter_type
action find
entity Q1786763
relation P27
type Q1048835
['Q1786763', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q1048835 . resource:Q1786763 property:P27 ?j }
Tony Eyck
action filter_type
action find
entity Tony Eyck
relation country of citizenship
type political territorial entity
['Tony Eyck', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:political_territorial_entity . resource:Tony_Eyck property:country_of_citizenship ?j }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1786763,P27,c(Q1048835))
action filter_type
action find
entity Q1786763
relation P27
type Q1048835
[ANSWER] is the country of citizenship of Tony Eyck
['Q1786763', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q1048835 . resource:Q1786763 property:P27 ?j }
Germany
Germany is the country of citizenship of Tony Eyck
Germany
action filter_type
action find
entity Tony Eyck
relation country of citizenship
type political territorial entity
['Tony Eyck', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:political_territorial_entity . resource:Tony_Eyck property:country_of_citizenship ?j }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1786763
P106
Q12737077
USER
What are the professions of that person ?
(Q183,P106,c(Q12737077))
action filter_type
action find
entity Q1786763
relation P106
type Q12737077
['Q183', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q1786763 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Tony Eyck
action filter_type
action find
entity Tony Eyck
relation occupation
type occupation
['Germany', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Tony_Eyck property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q33999 Q36180 Q2259451
SYSTEM
actor, writer, stage actor
Q33999 Q36180 Q2259451
(Q183,P106,c(Q12737077))
action filter_type
action find
entity Q1786763
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q183', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q1786763 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
actor writer stage actor
The professions of that person are actor, writer and stage actor
actor writer stage actor
action filter_type
action find
entity Tony Eyck
relation occupation
type occupation
['Germany', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Tony_Eyck property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q384432
P21
Q290
USER
Which sex does Alexander Drenteln belong to ?
(Q384432,P21,c(Q290))
action filter_type
action find
entity Q384432
relation P21
type Q290
['Q384432', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q384432 property:P21 ?l . ?l rdf:type ontology:Q290 }
Alexander Drenteln
action filter_type
action find
entity Alexander Drenteln
relation gender
type sex
['Alexander Drenteln', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Alexander_Drenteln property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q384432,P21,c(Q290))
action filter_type
action find
entity Q384432
relation P21
type Q290
Alexander Drenteln belongs to [ANSWER]
['Q384432', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q384432 property:P21 ?l . ?l rdf:type ontology:Q290 }
male
Alexander Drenteln belongs to male
male
action filter_type
action find
entity Alexander Drenteln
relation gender
type sex
['Alexander Drenteln', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Alexander_Drenteln property:gender ?l . ?l rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q384432
P19
Q515
USER
Which city was that person born at ?
(Q6581097,P19,c(Q515))
action filter_type
action find
entity Q384432
relation P19
type Q515
['Q6581097', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?c WHERE { resource:Q384432 property:P19 ?c . ?c rdf:type ontology:Q515 }
Alexander Drenteln
action filter_type
action find
entity Alexander Drenteln
relation place of birth
type city
['male', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?c WHERE { resource:Alexander_Drenteln property:place_of_birth ?c . ?c rdf:type ontology:city }
[]
city
Q1899
SYSTEM
Kyiv
Q1899
(Q6581097,P19,c(Q515))
action filter_type
action find
entity Q384432
relation P19
type Q515
That person was born in [ANSWER]
['Q6581097', 'P19', {'concept': 'Q515'}]
SELECT DISTINCT ?c WHERE { resource:Q384432 property:P19 ?c . ?c rdf:type ontology:Q515 }
Kyiv
That person was born in Kyiv
Kyiv
action filter_type
action find
entity Alexander Drenteln
relation place of birth
type city
['male', 'place of birth', {'concept': 'city'}]
SELECT DISTINCT ?c WHERE { resource:Alexander_Drenteln property:place_of_birth ?c . ?c rdf:type ontology:city }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1899 Q4271378
P19
Q502895
USER
Does Yakov Lyubarsky have place of birth as that city ?
(Q4271378,P19,Q1899)
action is_in
entity Q1899
action find
entity Q4271378
relation P19
['Q4271378', 'P19', 'Q1899']
ASK WHERE { resource:Q4271378 property:P19 resource:Q1899 }
Kyiv Yakov Lyubarsky
action is_in
entity Kyiv
action find
entity Yakov Lyubarsky
relation place of birth
['Yakov Lyubarsky', 'place of birth', 'Kyiv']
ASK WHERE { resource:Yakov_Lyubarsky property:place_of_birth resource:Kyiv }
[]
common name
SYSTEM
YES
(Q4271378,P19,Q1899)
action is_in
entity Q1899
action find
entity Q4271378
relation P19
[ANSWER]
['Q4271378', 'P19', 'Q1899']
ASK WHERE { resource:Q4271378 property:P19 resource:Q1899 }
Yes
action is_in
entity Kyiv
action find
entity Yakov Lyubarsky
relation place of birth
['Yakov Lyubarsky', 'place of birth', 'Kyiv']
ASK WHERE { resource:Yakov_Lyubarsky property:place_of_birth resource:Kyiv }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1899
P36
Q15617994
USER
Which administrative territory has that city as its capital ?
action filter_type
action find_reverse
entity Q1899
relation P36
type Q15617994
SELECT DISTINCT ?s WHERE { ?s property:P36 resource:Q1899 . ?s rdf:type ontology:Q15617994 }
Kyiv
action filter_type
action find_reverse
entity Kyiv
relation capital
type designation for an administrative territorial entity
SELECT DISTINCT ?s WHERE { ?s property:capital resource:Kyiv . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q212
SYSTEM
Ukraine
Q212
action filter_type
action find_reverse
entity Q1899
relation P36
type Q15617994
[ANSWER] has that city as its capital
SELECT DISTINCT ?s WHERE { ?s property:P36 resource:Q1899 . ?s rdf:type ontology:Q15617994 }
Ukraine
Ukraine has that city as its capital
Ukraine
action filter_type
action find_reverse
entity Kyiv
relation capital
type designation for an administrative territorial entity
SELECT DISTINCT ?s WHERE { ?s property:capital resource:Kyiv . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1899
P159
Q7210356
USER
Which political organizations have their HQ location at Kyiv ?
(c(Q7210356),P159,Q1899)
action filter_type
action find_reverse
entity Q1899
relation P159
type Q7210356
[{'concept': 'Q7210356'}, 'P159', 'Q1899']
SELECT DISTINCT ?n WHERE { ?n property:P159 resource:Q1899 . ?n rdf:type ontology:Q7210356 }
Kyiv
action filter_type
action find_reverse
entity Kyiv
relation headquarters location
type political organization
[{'concept': 'political organization'}, 'headquarters location', 'Kyiv']
SELECT DISTINCT ?n WHERE { ?n property:headquarters_location resource:Kyiv . ?n rdf:type ontology:political_organization }
[]
political organization
Q290441 Q15361249 Q4396
SYSTEM
Ukrainian Democratic Alliance for Reform, Right Sector, All-Ukrainian Union "Svoboda"
Q937266 Q383371 Q7878501 Q2330393 Q7878493 Q1629755 Q6450960 Q290441 Q204125 Q12100003 Q2588871 Q922724 Q2299546 Q2617120 Q4088284 Q4430263 Q2104371 Q2635662 Q2034609 Q6947580 Q974724 Q2351483 Q4430448 Q2636074 Q4430516 Q1519770 Q788180 Q2415479 Q15361249 Q515003 Q3274568 Q1968659 Q884932 Q2994303 Q7086274 Q1499300 Q7878407 Q4396 Q947126 Q12142151 Q45376 Q4349891 Q1423126 Q4266 Q4157651 Q1984877 Q7165502 Q4260831 Q7893743 Q2355317 Q11227474 Q2380317 Q4415027 Q1770215 Q2982576 Q1083976 Q8061712 Q4147532
(c(Q7210356),P159,Q1899)
action filter_type
action find_reverse
entity Q1899
relation P159
type Q7210356
Ukraine [ANSWERS] have their HQ location at Kyiv
[{'concept': 'Q7210356'}, 'P159', 'Q1899']
SELECT DISTINCT ?n WHERE { ?n property:P159 resource:Q1899 . ?n rdf:type ontology:Q7210356 }
United Centre Yulia Tymoshenko Bloc Ukrainian Republican Party For Ukraine! Ukrainian Peasant Democratic Party Reforms and Order Party Kyiv Civil Activists Ukrainian Democratic Alliance for Reform Bloc of Left and Center-left Forces Democratic Alliance Front for Change Socialist Party of Ukraine Our Ukraine European Party of Ukraine Leonid Chernovetskyi Bloc Social Christian Party PORA Motherland Defenders Party Ukrainian National Assembly – Ukrainian National Self Defence Mykola Katerynchuk Bloc For United Ukraine People's Movement of Ukraine Union Party People's Democratic Party Union of Leftists Congress of Ukrainian Nationalists Our Ukraine–People's Self-Defense Bloc Party of Greens of Ukraine Right Sector Ukrainian People's Party Ukrainian Party of Socialist Independists Republican Christian Party Lytvyn Bloc Party of Industrialists and Entrepreneurs of Ukraine Oleksandr Omelchenko Bloc Social Democratic Party of Ukraine Ukraine of the Future All-Ukrainian Union "Svoboda" Progressive Socialist Party of Ukraine New Politics (Ukraine) Batkivshchyna Petro Poroshenko Bloc Ukraine – Forward! Party of Regions Democratic Party of Ukraine Hromada People's Committee to Protect Ukraine Liberal Democratic Party of Ukraine Unity Radical Party Justice Party Russian Bloc Peasant Party of Ukraine Ukrainian Platform "Sobor" Liberal Party of Ukraine Christian Democratic Union Yuriy Lutsenko's People's Self-Defense Civil Position
Ukraine Ukrainian Democratic Alliance for Reform, Right Sector and All-Ukrainian Union "Svoboda" have their HQ location at Kyiv
Ukrainian Democratic Alliance for Reform Right Sector All-Ukrainian Union "Svoboda"
action filter_type
action find_reverse
entity Kyiv
relation headquarters location
type political organization
[{'concept': 'political organization'}, 'headquarters location', 'Kyiv']
SELECT DISTINCT ?n WHERE { ?n property:headquarters_location resource:Kyiv . ?n rdf:type ontology:political_organization }
[]
Clarification
Simple Question|Single Entity|Indirect
Q290441
P102
Q502895
USER
Who are the members of that political organization ?
(c(Q502895),P102,Q290441)
action filter_type
action find_reverse
entity Q290441
relation P102
type Q502895
[{'concept': 'Q502895'}, 'P102', 'Q290441']
SELECT DISTINCT ?q WHERE { ?q property:P102 resource:Q290441 . ?q rdf:type ontology:Q502895 }
Ukrainian Democratic Alliance for Reform
action filter_type
action find_reverse
entity Ukrainian Democratic Alliance for Reform
relation member of political party
type common name
[{'concept': 'common name'}, 'member of political party', 'Ukrainian Democratic Alliance for Reform']
SELECT DISTINCT ?q WHERE { ?q property:member_of_political_party resource:Ukrainian_Democratic_Alliance_for_Reform . ?q rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q290441
SYSTEM
Did you mean Ukrainian Democratic Alliance for Reform ?
Q290441 Q15361249 Q4396
(c(Q502895),P102,Q290441) (c(Q502895),P102,Q15361249) (c(Q502895),P102,Q4396)
[ANSWER]
[{'concept': 'Q502895'}, 'P102', 'Q290441'] [{'concept': 'Q502895'}, 'P102', 'Q15361249'] [{'concept': 'Q502895'}, 'P102', 'Q4396']
SELECT DISTINCT ?q WHERE { ?q property:P102 resource:Q290441 . ?q rdf:type ontology:Q502895 }
Ukrainian Democratic Alliance for Reform Right Sector All-Ukrainian Union "Svoboda"
Did you mean Ukrainian Democratic Alliance for Reform ?
Ukrainian Democratic Alliance for Reform
[{'concept': 'common name'}, 'member of political party', 'Ukrainian Democratic Alliance for Reform'] [{'concept': 'common name'}, 'member of political party', 'Right Sector'] [{'concept': 'common name'}, 'member of political party', 'All-Ukrainian Union "Svoboda"']
SELECT DISTINCT ?q WHERE { ?q property:member_of_political_party resource:Ukrainian_Democratic_Alliance_for_Reform . ?q rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P102,Q290441)
[{'concept': 'Q502895'}, 'P102', 'Q290441']
[{'concept': 'common name'}, 'member of political party', 'Ukrainian Democratic Alliance for Reform']
[]
Q31919 Q2509516
SYSTEM
Vitali Klitschko, Valentyn Nalyvaichenko
Q31919 Q2509516
(c(Q502895),P102,Q290441)
action filter_type
action find_reverse
entity Q290441
relation P102
type Q502895
The members of that political organization are brothers [ANSWERS]
[{'concept': 'Q502895'}, 'P102', 'Q290441']
SELECT DISTINCT ?q WHERE { ?q property:P102 resource:Q290441 . ?q rdf:type ontology:Q502895 }
Vitali Klitschko Valentyn Nalyvaichenko
The members of that political organization are brothers Vitali Klitschko and Valentyn Nalyvaichenko
Vitali Klitschko Valentyn Nalyvaichenko
action filter_type
action find_reverse
entity Ukrainian Democratic Alliance for Reform
relation member of political party
type common name
[{'concept': 'common name'}, 'member of political party', 'Ukrainian Democratic Alliance for Reform']
SELECT DISTINCT ?q WHERE { ?q property:member_of_political_party resource:Ukrainian_Democratic_Alliance_for_Reform . ?q rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1899
P190
Q1048835 Q15617994
USER
How many political territories or administrative territories are partner towns of Kyiv ?
(Q1899,P190,c(Q1048835)) (Q1899,P190,c(Q15617994))
action count
action union
action filter_type
action find
entity Q1899
relation P190
type Q1048835
action filter_type
action find
entity Q1899
relation P190
type Q15617994
['Q1899', 'P190', {'concept': 'Q1048835'}] ['Q1899', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { { ?f rdf:type ontology:Q1048835 . resource:Q1899 property:P190 ?f } UNION { ?f rdf:type ontology:Q15617994 . resource:Q1899 property:P190 ?f } }
Kyiv
action count
action union
action filter_type
action find
entity Kyiv
relation sister city
type political territorial entity
action filter_type
action find
entity Kyiv
relation sister city
type designation for an administrative territorial entity
['Kyiv', 'sister city', {'concept': 'political territorial entity'}] ['Kyiv', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { { ?f rdf:type ontology:political_territorial_entity . resource:Kyiv property:sister_city ?f } UNION { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Kyiv property:sister_city ?f } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
2
Q158876 Q11746
(Q1899,P190,c(Q1048835)) (Q1899,P190,c(Q15617994))
action count
action union
action filter_type
action find
entity Q1899
relation P190
type Q1048835
action filter_type
action find
entity Q1899
relation P190
type Q15617994
[ANSWER]
['Q1899', 'P190', {'concept': 'Q1048835'}] ['Q1899', 'P190', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { { ?f rdf:type ontology:Q1048835 . resource:Q1899 property:P190 ?f } UNION { ?f rdf:type ontology:Q15617994 . resource:Q1899 property:P190 ?f } }
Reinickendorf Wuhan
2
action count
action union
action filter_type
action find
entity Kyiv
relation sister city
type political territorial entity
action filter_type
action find
entity Kyiv
relation sister city
type designation for an administrative territorial entity
['Kyiv', 'sister city', {'concept': 'political territorial entity'}] ['Kyiv', 'sister city', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?b ) WHERE { { ?f rdf:type ontology:political_territorial_entity . resource:Kyiv property:sister_city ?f } UNION { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Kyiv property:sister_city ?f } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q31919
P40
Q502895
USER
Who has Vitali Klitschko as an offspring ?
(c(Q502895),P40,Q31919)
action filter_type
action find_reverse
entity Q31919
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q31919']
SELECT DISTINCT ?o WHERE { ?o property:P40 resource:Q31919 . ?o rdf:type ontology:Q502895 }
Vitali Klitschko
action filter_type
action find_reverse
entity Vitali Klitschko
relation child
type common name
[{'concept': 'common name'}, 'child', 'Vitali Klitschko']
SELECT DISTINCT ?o WHERE { ?o property:child resource:Vitali_Klitschko . ?o rdf:type ontology:common_name }
[]
common name
Q12110516
SYSTEM
Wladimir Klitschko
Q12110516
(c(Q502895),P40,Q31919)
action filter_type
action find_reverse
entity Q31919
relation P40
type Q502895
[ANSWER] has Vitali Klitschko as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q31919']
SELECT DISTINCT ?o WHERE { ?o property:P40 resource:Q31919 . ?o rdf:type ontology:Q502895 }
Wladimir Klitschko
Wladimir Klitschko has Vitali Klitschko as an offspring
Wladimir Klitschko
action filter_type
action find_reverse
entity Vitali Klitschko
relation child
type common name
[{'concept': 'common name'}, 'child', 'Vitali Klitschko']
SELECT DISTINCT ?o WHERE { ?o property:child resource:Vitali_Klitschko . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12110516
P22
Q502895
USER
Who have that one as a father ?
(c(Q502895),P22,Q12110516)
action filter_type
action find_reverse
entity Q12110516
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q12110516']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . ?f property:P22 resource:Q12110516 }
Wladimir Klitschko
action filter_type
action find_reverse
entity Wladimir Klitschko
relation father
type common name
[{'concept': 'common name'}, 'father', 'Wladimir Klitschko']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . ?f property:father resource:Wladimir_Klitschko }
[]
common name
Q31919 Q18797
SYSTEM
Vitali Klitschko, Wladimir Klitschko
Q31919 Q18797
(c(Q502895),P22,Q12110516)
action filter_type
action find_reverse
entity Q12110516
relation P22
type Q502895
[ANSWERS] have that one as a father
[{'concept': 'Q502895'}, 'P22', 'Q12110516']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . ?f property:P22 resource:Q12110516 }
Vitali Klitschko Wladimir Klitschko
Vitali Klitschko and Wladimir Klitschko have that one as a father
Vitali Klitschko Wladimir Klitschko
action filter_type
action find_reverse
entity Wladimir Klitschko
relation father
type common name
[{'concept': 'common name'}, 'father', 'Wladimir Klitschko']
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . ?f property:father resource:Wladimir_Klitschko }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q21590062
P17
Q1048835 Q159334 Q1190554
USER
How many political territories are approximately the same number of secondary schools or events present in as Antarctic Treaty area ?
(c(Q159334)|c(Q1190554),P17,c(Q1048835))
action count
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q159334
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q1190554
action count
action filter_multi_types
action find_reverse
entity Q21590062
relation P17
type Q159334
type Q1190554
[[{'concept': 'Q159334'}, {'concept': 'Q1190554'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?a ) WHERE { VALUES ( ?z ) { ( ontology:Q159334 ) ( ontology:Q1190554 ) } . ?i rdf:type ?z } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { { ?k rdf:type ?g . VALUES ( ?g ) { ( ontology:Q159334 ) ( ontology:Q1190554 ) } } . ?k property:P17 resource:Q21590062 } } . FILTER ( ?a = ?l ) }
Antarctic Treaty area
action count
action approx
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type secondary school
action find_reverse_tuple_counts
relation country
type political territorial entity
type event
action count
action filter_multi_types
action find_reverse
entity Antarctic Treaty area
relation country
type secondary school
type event
[[{'concept': 'secondary school'}, {'concept': 'event'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?a ) WHERE { VALUES ( ?z ) { ( ontology:secondary_school ) ( ontology:event ) } . ?i rdf:type ?z } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { { ?k rdf:type ?g . VALUES ( ?g ) { ( ontology:secondary_school ) ( ontology:event ) } } . ?k property:country resource:Antarctic_Treaty_area } } . FILTER ( ?a = ?l ) }
[]
political territorial entity secondary school event
SYSTEM
62
Q193714 Q1000 Q195972 Q21590062 Q746558 Q838261 Q183 Q785 Q193619 Q769 Q685 Q699964 Q763 Q13767 Q34617 Q22880 Q9676 Q641138 Q664 Q693551 Q13353 Q766 Q848383 Q5705 Q13726 Q953068 Q5785 Q35 Q38610 Q3405693 Q1054923 Q13862 Q79965 Q223793 Q319376 Q13869 Q407199 Q18221 Q778 Q2002138 Q3899 Q35672 Q25228 Q1747689 Q781 Q691 Q757 Q9648 Q231 Q234 Q2991382 Q40 Q168651 Q399702 Q35086 Q23635 Q208279 Q192184 Q1615455 Q31747 Q25305 Q129286
(c(Q159334)|c(Q1190554),P17,c(Q1048835))
action count
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q159334
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q1190554
action count
action filter_multi_types
action find_reverse
entity Q21590062
relation P17
type Q159334
type Q1190554
[ANSWER]
[[{'concept': 'Q159334'}, {'concept': 'Q1190554'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?a ) WHERE { VALUES ( ?z ) { ( ontology:Q159334 ) ( ontology:Q1190554 ) } . ?i rdf:type ?z } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { { ?k rdf:type ?g . VALUES ( ?g ) { ( ontology:Q159334 ) ( ontology:Q1190554 ) } } . ?k property:P17 resource:Q21590062 } } . FILTER ( ?a = ?l ) }
Mandatory Palestine Gabon Kingdom of Kartli Antarctic Treaty area Emirate of Bukhara Federal Republic of Yugoslavia Germany Jersey Union of South Africa Grenada Solomon Islands Archduchy of Austria Saint Kitts and Nevis Camarines Sur Saint Pierre and Miquelon Electoral Palatinate Isle of Man Duchy of Cleves New Zealand Landgraviate of Hesse-Darmstadt Montserrat Jamaica Duchy of Rome Catalonia Albay South-West Africa Cayman Islands Denmark Dominion of Newfoundland Sark British Hong Kong Negros Occidental Golden Horde Kingdom of Etruria Hanau-Münzenberg Palawan Palestinian territories Turks and Caicos Islands The Bahamas Equador, Rio Grande do Norte Kalimantan Timur Pitcairn Islands Anguilla Ancient Rome Antigua and Barbuda Papua New Guinea Saint Vincent and the Grenadines Falkland Islands Walloon Region Flemish Region County of Provence Austria Landgraviate of Hesse-Kassel Agüimes, Las Palmas South Georgia and the South Sandwich Islands Bermuda Highland Saint Helena, Ascension and Tristan da Cunha Duchy of Mirandola Irish Free State British Virgin Islands British Raj
62
action count
action approx
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type secondary school
action find_reverse_tuple_counts
relation country
type political territorial entity
type event
action count
action filter_multi_types
action find_reverse
entity Antarctic Treaty area
relation country
type secondary school
type event
[[{'concept': 'secondary school'}, {'concept': 'event'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?w ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?i ) AS ?a ) WHERE { VALUES ( ?z ) { ( ontology:secondary_school ) ( ontology:event ) } . ?i rdf:type ?z } GROUP BY ?e } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?l ) WHERE { { ?k rdf:type ?g . VALUES ( ?g ) { ( ontology:secondary_school ) ( ontology:event ) } } . ?k property:country resource:Antarctic_Treaty_area } } . FILTER ( ?a = ?l ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q9648
P17
Q1048835 Q159334 Q1190554
USER
And also tell me about Falkland Islands?
(c(Q159334)|c(Q1190554),P17,c(Q1048835))
action count
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q159334
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q1190554
action count
action filter_multi_types
action find_reverse
entity Q9648
relation P17
type Q159334
type Q1190554
[[{'concept': 'Q159334'}, {'concept': 'Q1190554'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) ?t WHERE { { ?i property:P17 ?t . ?i rdf:type ontology:Q159334 . ?t rdf:type ontology:Q1048835 } UNION { ?i property:P17 ?t . ?i rdf:type ontology:Q1190554 . ?t rdf:type ontology:Q1048835 } } GROUP BY ?t } . FILTER ( ?o = ?r ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { ?h property:P17 resource:Q9648 . { { ?h rdf:type ontology:Q159334 } UNION { ?h rdf:type ontology:Q1190554 } } } } }
Falkland Islands
action count
action approx
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type secondary school
action find_reverse_tuple_counts
relation country
type political territorial entity
type event
action count
action filter_multi_types
action find_reverse
entity Falkland Islands
relation country
type secondary school
type event
[[{'concept': 'secondary school'}, {'concept': 'event'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) ?t WHERE { { ?i property:country ?t . ?i rdf:type ontology:secondary_school . ?t rdf:type ontology:political_territorial_entity } UNION { ?i property:country ?t . ?i rdf:type ontology:event . ?t rdf:type ontology:political_territorial_entity } } GROUP BY ?t } . FILTER ( ?o = ?r ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { ?h property:country resource:Falkland_Islands . { { ?h rdf:type ontology:secondary_school } UNION { ?h rdf:type ontology:event } } } } }
[]
political territorial entity secondary school event
SYSTEM
62
Q193714 Q1000 Q195972 Q21590062 Q746558 Q838261 Q183 Q785 Q193619 Q769 Q685 Q699964 Q763 Q13767 Q34617 Q22880 Q9676 Q641138 Q664 Q693551 Q13353 Q766 Q848383 Q5705 Q13726 Q953068 Q5785 Q35 Q38610 Q3405693 Q1054923 Q13862 Q79965 Q223793 Q319376 Q13869 Q407199 Q18221 Q778 Q2002138 Q3899 Q35672 Q25228 Q1747689 Q781 Q691 Q757 Q9648 Q231 Q234 Q2991382 Q40 Q168651 Q399702 Q35086 Q23635 Q208279 Q192184 Q1615455 Q31747 Q25305 Q129286
(c(Q159334)|c(Q1190554),P17,c(Q1048835))
action count
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q159334
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q1190554
action count
action filter_multi_types
action find_reverse
entity Q9648
relation P17
type Q159334
type Q1190554
[ANSWER]
[[{'concept': 'Q159334'}, {'concept': 'Q1190554'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) ?t WHERE { { ?i property:P17 ?t . ?i rdf:type ontology:Q159334 . ?t rdf:type ontology:Q1048835 } UNION { ?i property:P17 ?t . ?i rdf:type ontology:Q1190554 . ?t rdf:type ontology:Q1048835 } } GROUP BY ?t } . FILTER ( ?o = ?r ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { ?h property:P17 resource:Q9648 . { { ?h rdf:type ontology:Q159334 } UNION { ?h rdf:type ontology:Q1190554 } } } } }
Mandatory Palestine Gabon Kingdom of Kartli Antarctic Treaty area Emirate of Bukhara Federal Republic of Yugoslavia Germany Jersey Union of South Africa Grenada Solomon Islands Archduchy of Austria Saint Kitts and Nevis Camarines Sur Saint Pierre and Miquelon Electoral Palatinate Isle of Man Duchy of Cleves New Zealand Landgraviate of Hesse-Darmstadt Montserrat Jamaica Duchy of Rome Catalonia Albay South-West Africa Cayman Islands Denmark Dominion of Newfoundland Sark British Hong Kong Negros Occidental Golden Horde Kingdom of Etruria Hanau-Münzenberg Palawan Palestinian territories Turks and Caicos Islands The Bahamas Equador, Rio Grande do Norte Kalimantan Timur Pitcairn Islands Anguilla Ancient Rome Antigua and Barbuda Papua New Guinea Saint Vincent and the Grenadines Falkland Islands Walloon Region Flemish Region County of Provence Austria Landgraviate of Hesse-Kassel Agüimes, Las Palmas South Georgia and the South Sandwich Islands Bermuda Highland Saint Helena, Ascension and Tristan da Cunha Duchy of Mirandola Irish Free State British Virgin Islands British Raj
62
action count
action approx
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type secondary school
action find_reverse_tuple_counts
relation country
type political territorial entity
type event
action count
action filter_multi_types
action find_reverse
entity Falkland Islands
relation country
type secondary school
type event
[[{'concept': 'secondary school'}, {'concept': 'event'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?v ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) ?t WHERE { { ?i property:country ?t . ?i rdf:type ontology:secondary_school . ?t rdf:type ontology:political_territorial_entity } UNION { ?i property:country ?t . ?i rdf:type ontology:event . ?t rdf:type ontology:political_territorial_entity } } GROUP BY ?t } . FILTER ( ?o = ?r ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?r ) WHERE { ?h property:country resource:Falkland_Islands . { { ?h rdf:type ontology:secondary_school } UNION { ?h rdf:type ontology:event } } } } }
[]