Simple Question (Direct)
Simple Question
Q302728
P19
Q56061
USER
Which administrative territory was Lenita Airisto born at ?
(Q302728,P19,c(Q56061))
action filter_type
action find
entity Q302728
relation P19
type Q56061
['Q302728', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q302728 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Lenita Airisto
action filter_type
action find
entity Lenita Airisto
relation place of birth
type administrative territorial entity
['Lenita Airisto', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Lenita_Airisto property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1757
SYSTEM
Helsinki
Q1757
(Q302728,P19,c(Q56061))
action filter_type
action find
entity Q302728
relation P19
type Q56061
Lenita Airisto was born in [ANSWER]
['Q302728', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?k WHERE { resource:Q302728 property:P19 ?k . ?k rdf:type ontology:Q56061 }
Helsinki
Lenita Airisto was born in Helsinki
Helsinki
action filter_type
action find
entity Lenita Airisto
relation place of birth
type administrative territorial entity
['Lenita Airisto', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Lenita_Airisto property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q302728
P106
Q12737077
USER
What are the professions of that person ?
(Q1757,P106,c(Q12737077))
action filter_type
action find
entity Q302728
relation P106
type Q12737077
['Q1757', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q302728 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
Lenita Airisto
action filter_type
action find
entity Lenita Airisto
relation occupation
type occupation
['Helsinki', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Lenita_Airisto property:occupation ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q1930187 Q4610556 Q18581305
SYSTEM
journalist, model, beauty pageant contestant
Q1930187 Q4610556 Q43845 Q18581305
(Q1757,P106,c(Q12737077))
action filter_type
action find
entity Q302728
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q1757', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q302728 property:P106 ?c . ?c rdf:type ontology:Q12737077 }
journalist model businessperson beauty pageant contestant
The professions of that person are journalist, model and beauty pageant contestant
journalist model beauty pageant contestant
action filter_type
action find
entity Lenita Airisto
relation occupation
type occupation
['Helsinki', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Lenita_Airisto property:occupation ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q302728
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q1930187,P27,c(Q15617994)) (Q4610556,P27,c(Q15617994)) (Q18581305,P27,c(Q15617994))
action filter_type
action find
entity Q302728
relation P27
type Q15617994
['Q1930187', 'P27', {'concept': 'Q15617994'}] ['Q4610556', 'P27', {'concept': 'Q15617994'}] ['Q18581305', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q302728 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Lenita Airisto
action filter_type
action find
entity Lenita Airisto
relation country of citizenship
type designation for an administrative territorial entity
['journalist', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['model', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['beauty pageant contestant', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Lenita_Airisto property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q33
SYSTEM
Finland
Q33
(Q1930187,P27,c(Q15617994)) (Q4610556,P27,c(Q15617994)) (Q18581305,P27,c(Q15617994))
action filter_type
action find
entity Q302728
relation P27
type Q15617994
[ANSWER] is that person a civilian of
['Q1930187', 'P27', {'concept': 'Q15617994'}] ['Q4610556', 'P27', {'concept': 'Q15617994'}] ['Q18581305', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?a WHERE { resource:Q302728 property:P27 ?a . ?a rdf:type ontology:Q15617994 }
Finland
Finland is that person a civilian of
Finland
action filter_type
action find
entity Lenita Airisto
relation country of citizenship
type designation for an administrative territorial entity
['journalist', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['model', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}] ['beauty pageant contestant', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?a WHERE { resource:Lenita_Airisto property:country_of_citizenship ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P530
Q5589178 Q1048835
USER
How many regimes or political territories have a diplomatic relationship with that administrative territory ?
(Q33,P530,c(Q5589178)) (Q33,P530,c(Q1048835)) (Q33,P530,c(Q5589178)) (Q33,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q33
relation P530
type Q5589178
action filter_type
action find
entity Q33
relation P530
type Q1048835
['Q33', 'P530', {'concept': 'Q5589178'}] ['Q33', 'P530', {'concept': 'Q1048835'}] ['Q33', 'P530', {'concept': 'Q5589178'}] ['Q33', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { { resource:Q33 property:P530 ?t . ?t rdf:type ontology:Q5589178 } UNION { resource:Q33 property:P530 ?t . ?t rdf:type ontology:Q1048835 } }
action count
action union
action filter_type
action find
entity Finland
relation diplomatic relation
type regime
action filter_type
action find
entity Finland
relation diplomatic relation
type political territorial entity
['Finland', 'diplomatic relation', {'concept': 'regime'}] ['Finland', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Finland', 'diplomatic relation', {'concept': 'regime'}] ['Finland', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { { resource:Finland property:diplomatic_relation ?t . ?t rdf:type ontology:regime } UNION { resource:Finland property:diplomatic_relation ?t . ?t rdf:type ontology:political_territorial_entity } }
[]
regime political territorial entity
SYSTEM
4
Q16 Q408 Q183 Q842199
(Q33,P530,c(Q5589178)) (Q33,P530,c(Q1048835)) (Q33,P530,c(Q5589178)) (Q33,P530,c(Q1048835))
action count
action union
action filter_type
action find
entity Q33
relation P530
type Q5589178
action filter_type
action find
entity Q33
relation P530
type Q1048835
[ANSWER]
['Q33', 'P530', {'concept': 'Q5589178'}] ['Q33', 'P530', {'concept': 'Q1048835'}] ['Q33', 'P530', {'concept': 'Q5589178'}] ['Q33', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { { resource:Q33 property:P530 ?t . ?t rdf:type ontology:Q5589178 } UNION { resource:Q33 property:P530 ?t . ?t rdf:type ontology:Q1048835 } }
Canada Australia Germany Belarusian People's Republic
4
action count
action union
action filter_type
action find
entity Finland
relation diplomatic relation
type regime
action filter_type
action find
entity Finland
relation diplomatic relation
type political territorial entity
['Finland', 'diplomatic relation', {'concept': 'regime'}] ['Finland', 'diplomatic relation', {'concept': 'political territorial entity'}] ['Finland', 'diplomatic relation', {'concept': 'regime'}] ['Finland', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?d ) WHERE { { resource:Finland property:diplomatic_relation ?t . ?t rdf:type ontology:regime } UNION { resource:Finland property:diplomatic_relation ?t . ?t rdf:type ontology:political_territorial_entity } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q924
P530
Q15617994 Q15617994
USER
How many administrative territories have ambassadorial relations with around the same number of administrative territories as Tanzania ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q924
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?d ) AS ?l ) WHERE { ?s property:P530 ?d . ?s rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { resource:Q924 property:P530 ?a . ?a rdf:type ontology:Q15617994 } } . FILTER ( ?l = ?n ) }
Tanzania
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Tanzania
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?d ) AS ?l ) WHERE { ?s property:diplomatic_relation ?d . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { resource:Tanzania property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l = ?n ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
147
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q924
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?d ) AS ?l ) WHERE { ?s property:P530 ?d . ?s rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { resource:Q924 property:P530 ?a . ?a rdf:type ontology:Q15617994 } } . FILTER ( ?l = ?n ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
147
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Tanzania
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?q ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?d ) AS ?l ) WHERE { ?s property:diplomatic_relation ?d . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?n ) WHERE { resource:Tanzania property:diplomatic_relation ?a . ?a rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?l = ?n ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q842
P530
Q15617994 Q15617994
USER
And also tell me about Oman?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q842
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?v ) WHERE { ?i property:P530 ?j . ?i rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { resource:Q842 property:P530 ?s . ?s rdf:type ontology:Q15617994 } } . FILTER ( ?v = ?d ) }
Oman
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Oman
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?v ) WHERE { ?i property:diplomatic_relation ?j . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { resource:Oman property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?v = ?d ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
148
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q842
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?v ) WHERE { ?i property:P530 ?j . ?i rdf:type ontology:Q15617994 . ?j rdf:type ontology:Q15617994 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { resource:Q842 property:P530 ?s . ?s rdf:type ontology:Q15617994 } } . FILTER ( ?v = ?d ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
148
action count
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Oman
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?k ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?j ) AS ?v ) WHERE { ?i property:diplomatic_relation ?j . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?s ) AS ?d ) WHERE { resource:Oman property:diplomatic_relation ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?v = ?d ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q216173 Q302728
P276
Q1190554
USER
Which events have their location as Lenita Airisto or Free City of Danzig ?
OR((c(Q1190554),P276,Q302728), (c(Q1190554),P276,Q216173))
action filter_type
action union
action find_reverse
entity Q302728
relation P276
action find_reverse
entity Q216173
relation P276
type Q1190554
{'OR': [[{'concept': 'Q1190554'}, 'P276', 'Q302728'], [{'concept': 'Q1190554'}, 'P276', 'Q216173']]}
SELECT DISTINCT ?s WHERE { { { ?s property:P276 resource:Q302728 } UNION { ?s property:P276 resource:Q216173 } } . ?s rdf:type ontology:Q1190554 }
Free City of Danzig Lenita Airisto
action filter_type
action union
action find_reverse
entity Lenita Airisto
relation location
action find_reverse
entity Free City of Danzig
relation location
type event
{'OR': [[{'concept': 'event'}, 'location', 'Lenita Airisto'], [{'concept': 'event'}, 'location', 'Free City of Danzig']]}
SELECT DISTINCT ?s WHERE { { { ?s property:location resource:Lenita_Airisto } UNION { ?s property:location resource:Free_City_of_Danzig } } . ?s rdf:type ontology:event }
[]
event
Q3379300 Q564388
SYSTEM
Battle of Rimito Kramp, Defense of the Polish Post Office in Danzig
Q3379300 Q564388
OR((c(Q1190554),P276,Q302728), (c(Q1190554),P276,Q216173))
action filter_type
action union
action find_reverse
entity Q302728
relation P276
action find_reverse
entity Q216173
relation P276
type Q1190554
[ANSWERS] have their location as Lenita Airisto or Free City of Danzig
{'OR': [[{'concept': 'Q1190554'}, 'P276', 'Q302728'], [{'concept': 'Q1190554'}, 'P276', 'Q216173']]}
SELECT DISTINCT ?s WHERE { { { ?s property:P276 resource:Q302728 } UNION { ?s property:P276 resource:Q216173 } } . ?s rdf:type ontology:Q1190554 }
Battle of Rimito Kramp Defense of the Polish Post Office in Danzig
Battle of Rimito Kramp and Defense of the Polish Post Office in Danzig have their location as Lenita Airisto or Free City of Danzig
Battle of Rimito Kramp Defense of the Polish Post Office in Danzig
action filter_type
action union
action find_reverse
entity Lenita Airisto
relation location
action find_reverse
entity Free City of Danzig
relation location
type event
{'OR': [[{'concept': 'event'}, 'location', 'Lenita Airisto'], [{'concept': 'event'}, 'location', 'Free City of Danzig']]}
SELECT DISTINCT ?s WHERE { { { ?s property:location resource:Lenita_Airisto } UNION { ?s property:location resource:Free_City_of_Danzig } } . ?s rdf:type ontology:event }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P793
Q1190554 Q3947 Q44539
USER
Which events are greater number of houses and temples associated with than that event ?
(c(Q3947)|c(Q44539),P793,c(Q1190554))
[[{'concept': 'Q3947'}, {'concept': 'Q44539'}], 'P793', {'concept': 'Q1190554'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P793 ?y } UNION { ?x property:P793 ?y } } . ?z rdf:type ontology:Q20019676 . ?y rdf:type ontology:Q5416694 . ?x rdf:type ontology:Q7654661 }
[[{'concept': 'house'}, {'concept': 'temple'}], 'significant event', {'concept': 'event'}]
SELECT DISTINCT ?y WHERE { { { ?z property:significant_event ?y } UNION { ?x property:significant_event ?y } } . ?z rdf:type ontology:house . ?y rdf:type ontology:event . ?x rdf:type ontology:temple }
[]
event house temple
Comparative|More/Less|Mult. entity type|Clarification
Q564388
SYSTEM
Did you mean Defense of the Polish Post Office in Danzig ?
(c(Q3947)|c(Q44539),P793,c(Q1190554))
[ANSWER]
[[{'concept': 'Q3947'}, {'concept': 'Q44539'}], 'P793', {'concept': 'Q1190554'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P793 ?y } UNION { ?x property:P793 ?y } } . ?z rdf:type ontology:Q20019676 . ?y rdf:type ontology:Q5416694 . ?x rdf:type ontology:Q7654661 }
Did you mean Defense of the Polish Post Office in Danzig ?
Defense of the Polish Post Office in Danzig
[[{'concept': 'house'}, {'concept': 'temple'}], 'significant event', {'concept': 'event'}]
SELECT DISTINCT ?y WHERE { { { ?z property:significant_event ?y } UNION { ?x property:significant_event ?y } } . ?z rdf:type ontology:house . ?y rdf:type ontology:event . ?x rdf:type ontology:temple }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q3947)|c(Q44539),P793,c(Q1190554))
[[{'concept': 'Q3947'}, {'concept': 'Q44539'}], 'P793', {'concept': 'Q1190554'}]
[[{'concept': 'house'}, {'concept': 'temple'}], 'significant event', {'concept': 'event'}]
[]
Q385378 Q19841649 Q168983
SYSTEM
construction, extension, conflagration
Q385378 Q19841649 Q168983 Q1150070 Q1370468 Q2144402
(c(Q3947)|c(Q44539),P793,c(Q1190554))
The [ANSWERS] are greater number of houses and temples associated with than that event
[[{'concept': 'Q3947'}, {'concept': 'Q44539'}], 'P793', {'concept': 'Q1190554'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P793 ?y } UNION { ?x property:P793 ?y } } . ?z rdf:type ontology:Q20019676 . ?y rdf:type ontology:Q5416694 . ?x rdf:type ontology:Q7654661 }
construction extension conflagration change reconstruction renovation
The construction, extension and conflagration are greater number of houses and temples associated with than that event
construction extension conflagration
[[{'concept': 'house'}, {'concept': 'temple'}], 'significant event', {'concept': 'event'}]
SELECT DISTINCT ?y WHERE { { { ?z property:significant_event ?y } UNION { ?x property:significant_event ?y } } . ?z rdf:type ontology:house . ?y rdf:type ontology:event . ?x rdf:type ontology:temple }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q11060274 Q340169
USER
How many occupations are expressed in around 1 prints and medias ?
(c(Q11060274)|c(Q340169),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
value 1
[[{'concept': 'Q11060274'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?z ) WHERE { { ?u property:P180 ?a . ?a rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q11060274 } UNION { ?u property:P180 ?a . ?a rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q340169 } } GROUP BY ?a } . FILTER ( ?z = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action find_reverse_tuple_counts
relation depicts
type occupation
type media
value 1
[[{'concept': 'print'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?z ) WHERE { { ?u property:depicts ?a . ?a rdf:type ontology:occupation . ?u rdf:type ontology:print } UNION { ?u property:depicts ?a . ?a rdf:type ontology:occupation . ?u rdf:type ontology:media } } GROUP BY ?a } . FILTER ( ?z = 1 ) }
[]
occupation print media
SYSTEM
19
Q2486919 Q177220 Q131512 Q2995983 Q45199 Q186360 Q733786 Q376924 Q273108 Q589897 Q848466 Q1509714 Q11063 Q5716684 Q18575684 Q838811 Q2251335 Q384593 Q1630100
(c(Q11060274)|c(Q340169),P180,c(Q12737077))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q340169
value 1
[ANSWER]
[[{'concept': 'Q11060274'}, {'concept': 'Q340169'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?z ) WHERE { { ?u property:P180 ?a . ?a rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q11060274 } UNION { ?u property:P180 ?a . ?a rdf:type ontology:Q12737077 . ?u rdf:type ontology:Q340169 } } GROUP BY ?a } . FILTER ( ?z = 1 ) }
standard-bearer singer farmer double-bassist sailor nurse monk courtesan condottiero mahout courier porter astronomer dancer embroiderer peasant school teacher police officer art model
19
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type print
action find_reverse_tuple_counts
relation depicts
type occupation
type media
value 1
[[{'concept': 'print'}, {'concept': 'media'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?z ) WHERE { { ?u property:depicts ?a . ?a rdf:type ontology:occupation . ?u rdf:type ontology:print } UNION { ?u property:depicts ?a . ?a rdf:type ontology:occupation . ?u rdf:type ontology:media } } GROUP BY ?a } . FILTER ( ?z = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1757
P30
Q2221906
USER
Where is Helsinki situated ?
(Q1757,P30,c(Q2221906))
action filter_type
action find
entity Q1757
relation P30
type Q2221906
['Q1757', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?p WHERE { resource:Q1757 property:P30 ?p . ?p rdf:type ontology:Q2221906 }
Helsinki
action filter_type
action find
entity Helsinki
relation continent
type geographic location
['Helsinki', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?p WHERE { resource:Helsinki property:continent ?p . ?p rdf:type ontology:geographic_location }
[]
geographic location
Q46
SYSTEM
Europe
Q46
(Q1757,P30,c(Q2221906))
action filter_type
action find
entity Q1757
relation P30
type Q2221906
Helsinki is situated in [ANSWER]
['Q1757', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ?p WHERE { resource:Q1757 property:P30 ?p . ?p rdf:type ontology:Q2221906 }
Europe
Helsinki is situated in Europe
Europe
action filter_type
action find
entity Helsinki
relation continent
type geographic location
['Helsinki', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ?p WHERE { resource:Helsinki property:continent ?p . ?p rdf:type ontology:geographic_location }
[]