Simple Question (Direct)
Simple Question
Q1585936
P20
Q56061
USER
Where did the expiration of Harold T. Johnson occur ?
(Q1585936,P20,c(Q56061))
action filter_type
action find
entity Q1585936
relation P20
type Q56061
['Q1585936', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q1585936 property:P20 ?t . ?t rdf:type ontology:Q56061 }
Harold T. Johnson
action filter_type
action find
entity Harold T. Johnson
relation place of death
type administrative territorial entity
['Harold T. Johnson', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Harold_T._Johnson property:place_of_death ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q491340
SYSTEM
Roseville
Q491340
(Q1585936,P20,c(Q56061))
action filter_type
action find
entity Q1585936
relation P20
type Q56061
The expiration of Harold T. Johnson occurred at [ANSWER]
['Q1585936', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?t WHERE { resource:Q1585936 property:P20 ?t . ?t rdf:type ontology:Q56061 }
Roseville
The expiration of Harold T. Johnson occurred at Roseville
Roseville
action filter_type
action find
entity Harold T. Johnson
relation place of death
type administrative territorial entity
['Harold T. Johnson', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Harold_T._Johnson property:place_of_death ?t . ?t rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q491340
P47
Q56061
USER
Who shares the border with that one ?
(Q491340,P47,c(Q56061))
action filter_type
action find
entity Q491340
relation P47
type Q56061
['Q491340', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q491340 property:P47 ?g . ?g rdf:type ontology:Q56061 }
Roseville
action filter_type
action find
entity Roseville
relation shares border with
type administrative territorial entity
['Roseville', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Roseville property:shares_border_with ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q966492
SYSTEM
Lincoln, California
Q966492
(Q491340,P47,c(Q56061))
action filter_type
action find
entity Q491340
relation P47
type Q56061
[ANSWER] shares the border with that one
['Q491340', 'P47', {'concept': 'Q56061'}]
SELECT DISTINCT ?g WHERE { resource:Q491340 property:P47 ?g . ?g rdf:type ontology:Q56061 }
Lincoln, California
Lincoln, California shares the border with that one
Lincoln, California
action filter_type
action find
entity Roseville
relation shares border with
type administrative territorial entity
['Roseville', 'shares border with', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:Roseville property:shares_border_with ?g . ?g rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q15275887 Q491340
P17
Q15617994
USER
Which administrative territories are Roseville or Seke-Banza Territory present in ?
OR((Q491340,P17,c(Q15617994)), (Q15275887,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q491340
relation P17
action find
entity Q15275887
relation P17
type Q15617994
{'OR': [['Q491340', 'P17', {'concept': 'Q15617994'}], ['Q15275887', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q15275887 property:P17 ?w } UNION { resource:Q491340 property:P17 ?w } } . ?w rdf:type ontology:Q15617994 }
Seke-Banza Territory Roseville
action filter_type
action union
action find
entity Roseville
relation country
action find
entity Seke-Banza Territory
relation country
type designation for an administrative territorial entity
{'OR': [['Roseville', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Seke-Banza Territory', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Seke-Banza_Territory property:country ?w } UNION { resource:Roseville property:country ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q974
SYSTEM
United States of America, Democratic Republic of the Congo
Q30 Q974
OR((Q491340,P17,c(Q15617994)), (Q15275887,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q491340
relation P17
action find
entity Q15275887
relation P17
type Q15617994
[ANSWERS]
{'OR': [['Q491340', 'P17', {'concept': 'Q15617994'}], ['Q15275887', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Q15275887 property:P17 ?w } UNION { resource:Q491340 property:P17 ?w } } . ?w rdf:type ontology:Q15617994 }
United States of America Democratic Republic of the Congo
Which administrative territories are Roseville or Seke-Banza Territory present in
United States of America Democratic Republic of the Congo
action filter_type
action union
action find
entity Roseville
relation country
action find
entity Seke-Banza Territory
relation country
type designation for an administrative territorial entity
{'OR': [['Roseville', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Seke-Banza Territory', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?w WHERE { { { resource:Seke-Banza_Territory property:country ?w } UNION { resource:Roseville property:country ?w } } . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|Count over More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2088357 Q15416
USER
How many administrative territories are the countries of origin of lesser number of musical ensembles or television programs than that administrative territory ?
(c(Q2088357)|c(Q15416),P495,c(Q15617994))
[[{'concept': 'Q2088357'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?t ) { ( ?z ) ( ?x ) } . ?t property:P495 ?y } . ?z rdf:type ontology:Q2088357 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15416 }
[[{'concept': 'musical ensemble'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?t ) { ( ?z ) ( ?x ) } . ?t property:country_of_origin ?y } . ?z rdf:type ontology:musical_ensemble . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:television_program }
[]
designation for an administrative territorial entity musical ensemble television program
Comparative|Count over More/Less|Mult. entity type|Clarification
Q30
SYSTEM
Did you mean United States of America ?
(c(Q2088357)|c(Q15416),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q2088357'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?t ) { ( ?z ) ( ?x ) } . ?t property:P495 ?y } . ?z rdf:type ontology:Q2088357 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15416 }
Did you mean United States of America ?
United States of America
[[{'concept': 'musical ensemble'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { VALUES ( ?t ) { ( ?z ) ( ?x ) } . ?t property:country_of_origin ?y } . ?z rdf:type ontology:musical_ensemble . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:television_program }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Democratic Republic of the Congo. Could you tell me the answer for that?
(c(Q2088357)|c(Q15416),P495,c(Q15617994))
Q974
[[{'concept': 'Q2088357'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'musical ensemble'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
80
Q805 Q804 Q1462 Q12536 Q783 Q265 Q36678 Q712 Q711 Q1460 Q657 Q792 Q796 Q954 Q889 Q958 Q986 Q826 Q242 Q244 Q811 Q153136 Q924 Q423 Q983 Q851 Q733 Q819 Q730 Q1013 Q159626 Q233 Q238 Q1045 Q1044 Q1049 Q1025 Q1027 Q1020 Q1029 Q1028 Q227 Q223 Q221 Q347 Q1036 Q1037 Q1032 Q1030 Q965 Q967 Q962 Q963 Q115 Q917 Q1007 Q1006 Q1005 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q774 Q948 Q817 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q672 Q176 Q863 Q953
(c(Q2088357)|c(Q15416),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q2088357'}, {'concept': 'Q15416'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2088357 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q15416 }
Yemen Panama Sardinia Abbasid caliphate Honduras Uzbekistan West Bank Fiji Mongolia Sicily Chad El Salvador Iraq Zimbabwe Afghanistan South Sudan Eritrea Maldives Belize Barbados Nicaragua Habsburg Empire Tanzania North Korea Equatorial Guinea Saudi Arabia Paraguay Laos Suriname Lesotho Württemberg Malta San Marino Somalia Sierra Leone Sudan Mauritania Mauritius Malawi Mozambique Morocco Azerbaijan Greenland Republic of Macedonia Liechtenstein Uganda Rwanda Niger Namibia Burkina Faso Burundi Benin Botswana Ethiopia Bhutan Guinea-Bissau Guinea Gambia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Guatemala Tunisia Kuwait Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Tuvalu Quebec Tajikistan Zambia
80
[[{'concept': 'musical ensemble'}, {'concept': 'television program'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:musical_ensemble . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:television_program }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q974
P530
Q1048835 Q15617994
USER
How many political territories or administrative territories have ambassadorial relations with Democratic Republic of the Congo ?
(c(Q1048835),P530,Q974) (c(Q15617994),P530,Q974)
action count
action union
action filter_type
action find_reverse
entity Q974
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q974
relation P530
type Q15617994
[{'concept': 'Q1048835'}, 'P530', 'Q974'] [{'concept': 'Q15617994'}, 'P530', 'Q974']
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { ?l property:P530 resource:Q974 . ?l rdf:type ontology:Q1048835 } UNION { ?l property:P530 resource:Q974 . ?l rdf:type ontology:Q15617994 } }
Democratic Republic of the Congo
action count
action union
action filter_type
action find_reverse
entity Democratic Republic of the Congo
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Democratic Republic of the Congo
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Democratic Republic of the Congo'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Democratic Republic of the Congo']
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { ?l property:diplomatic_relation resource:Democratic_Republic_of_the_Congo . ?l rdf:type ontology:political_territorial_entity } UNION { ?l property:diplomatic_relation resource:Democratic_Republic_of_the_Congo . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
political territorial entity designation for an administrative territorial entity
SYSTEM
4
Q929 Q230 Q183 Q953
(c(Q1048835),P530,Q974) (c(Q15617994),P530,Q974)
action count
action union
action filter_type
action find_reverse
entity Q974
relation P530
type Q1048835
action filter_type
action find_reverse
entity Q974
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', 'Q974'] [{'concept': 'Q15617994'}, 'P530', 'Q974']
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { ?l property:P530 resource:Q974 . ?l rdf:type ontology:Q1048835 } UNION { ?l property:P530 resource:Q974 . ?l rdf:type ontology:Q15617994 } }
Central African Republic Georgia Germany Zambia
4
action count
action union
action filter_type
action find_reverse
entity Democratic Republic of the Congo
relation diplomatic relation
type political territorial entity
action filter_type
action find_reverse
entity Democratic Republic of the Congo
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'political territorial entity'}, 'diplomatic relation', 'Democratic Republic of the Congo'] [{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', 'Democratic Republic of the Congo']
SELECT DISTINCT ( COUNT ( ?l ) AS ?x ) WHERE { { ?l property:diplomatic_relation resource:Democratic_Republic_of_the_Congo . ?l rdf:type ontology:political_territorial_entity } UNION { ?l property:diplomatic_relation resource:Democratic_Republic_of_the_Congo . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories are known to have diplomatic connections with atleast 70 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 70
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?f ) WHERE { ?x property:P530 ?c . ?x rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?x } . FILTER ( ?f >= 70 ) }
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 70
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?f ) WHERE { ?x property:diplomatic_relation ?c . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . FILTER ( ?f >= 70 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q38 Q230
SYSTEM
Italy, Georgia
Q38 Q230
(c(Q15617994),P530,c(Q15617994))
action atleast
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 70
[ANSWERS] are known to have diplomatic connections with atleast 70 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?f ) WHERE { ?x property:P530 ?c . ?x rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?x } . FILTER ( ?f >= 70 ) }
Italy Georgia
Italy and Georgia are known to have diplomatic connections with atleast 70 administrative territories
Italy Georgia
action atleast
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 70
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?c ) AS ?f ) WHERE { ?x property:diplomatic_relation ?c . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?x } . FILTER ( ?f >= 70 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q735451
P530
Q1048835
USER
Do Elantxobe have ambassadorial relations with those administrative territories ?
(Q735451,P530,Q38) (Q735451,P530,Q230)
action is_in
entity prev_answer
action find
entity Q735451
relation P530
['Q735451', 'P530', 'Q38'] ['Q735451', 'P530', 'Q230']
ASK WHERE { VALUES ( ?y ) { ( resource:Q38 ) ( resource:Q230 ) } . resource:Q735451 property:P530 ?y }
Elantxobe
action is_in
entity prev_answer
action find
entity Elantxobe
relation diplomatic relation
['Elantxobe', 'diplomatic relation', 'Italy'] ['Elantxobe', 'diplomatic relation', 'Georgia']
ASK WHERE { VALUES ( ?y ) { ( resource:Italy ) ( resource:Georgia ) } . resource:Elantxobe property:diplomatic_relation ?y }
[]
political territorial entity
SYSTEM
NO
(Q735451,P530,Q38) (Q735451,P530,Q230)
action is_in
entity prev_answer
action find
entity Q735451
relation P530
[ANSWER]
['Q735451', 'P530', 'Q38'] ['Q735451', 'P530', 'Q230']
ASK WHERE { VALUES ( ?y ) { ( resource:Q38 ) ( resource:Q230 ) } . resource:Q735451 property:P530 ?y }
No
action is_in
entity prev_answer
action find
entity Elantxobe
relation diplomatic relation
['Elantxobe', 'diplomatic relation', 'Italy'] ['Elantxobe', 'diplomatic relation', 'Georgia']
ASK WHERE { VALUES ( ?y ) { ( resource:Italy ) ( resource:Georgia ) } . resource:Elantxobe property:diplomatic_relation ?y }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q38 Q7335310
P530
Q15617994
USER
Does Rio Rancho Public Schools hold diplomatic relationship with Italy ?
(Q38,P530,Q7335310)
action is_in
entity Q7335310
action find
entity Q38
relation P530
['Q38', 'P530', 'Q7335310']
ASK WHERE { resource:Q38 property:P530 resource:Q7335310 }
Italy Rio Rancho Public Schools
action is_in
entity Rio Rancho Public Schools
action find
entity Italy
relation diplomatic relation
['Italy', 'diplomatic relation', 'Rio Rancho Public Schools']
ASK WHERE { resource:Italy property:diplomatic_relation resource:Rio_Rancho_Public_Schools }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q38,P530,Q7335310)
action is_in
entity Q7335310
action find
entity Q38
relation P530
[ANSWER]
['Q38', 'P530', 'Q7335310']
ASK WHERE { resource:Q38 property:P530 resource:Q7335310 }
No
action is_in
entity Rio Rancho Public Schools
action find
entity Italy
relation diplomatic relation
['Italy', 'diplomatic relation', 'Rio Rancho Public Schools']
ASK WHERE { resource:Italy property:diplomatic_relation resource:Rio_Rancho_Public_Schools }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P437
Q82799
USER
What was name that used Italy as a means of distribution ?
action filter_type
action find_reverse
entity Q38
relation P437
type Q82799
SELECT DISTINCT ?l WHERE { ?l property:P437 resource:Q38 . ?l rdf:type ontology:Q82799 }
Italy
action filter_type
action find_reverse
entity Italy
relation distribution
type name
SELECT DISTINCT ?l WHERE { ?l property:distribution resource:Italy . ?l rdf:type ontology:name }
[]
name
Q19891513
SYSTEM
Fonseca
Q19891513
action filter_type
action find_reverse
entity Q38
relation P437
type Q82799
Name that used Italy as a means of distribution was the [ANSWER]
SELECT DISTINCT ?l WHERE { ?l property:P437 resource:Q38 . ?l rdf:type ontology:Q82799 }
Fonseca
Name that used Italy as a means of distribution was the Fonseca
Fonseca
action filter_type
action find_reverse
entity Italy
relation distribution
type name
SELECT DISTINCT ?l WHERE { ?l property:distribution resource:Italy . ?l rdf:type ontology:name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q82799
USER
Which languages are around 102 names in ?
(c(Q82799),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 102
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?k ) WHERE { ?x property:P407 ?z . ?z rdf:type ontology:Q34770 . ?x rdf:type ontology:Q82799 } GROUP BY ?z } . FILTER ( ?k = 102 ) }
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 102
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?k ) WHERE { ?x property:language_of_work_or_name ?z . ?z rdf:type ontology:language . ?x rdf:type ontology:name } GROUP BY ?z } . FILTER ( ?k = 102 ) }
[]
language name
Q1321 Q9056 Q652
SYSTEM
Spanish, Czech, Italian
Q1321 Q9056 Q652
(c(Q82799),P407,c(Q34770))
action approx
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 102
[ANSWERS] are around 102 names in
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?k ) WHERE { ?x property:P407 ?z . ?z rdf:type ontology:Q34770 . ?x rdf:type ontology:Q82799 } GROUP BY ?z } . FILTER ( ?k = 102 ) }
Spanish Czech Italian
Spanish, Czech and Italian are around 102 names in
Spanish Czech Italian
action approx
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 102
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?z WHERE { { SELECT DISTINCT ?z ( COUNT ( ?x ) AS ?k ) WHERE { ?x property:language_of_work_or_name ?z . ?z rdf:type ontology:language . ?x rdf:type ontology:name } GROUP BY ?z } . FILTER ( ?k = 102 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q12949143
P1412
Q502895
USER
Does Joan Francés Blanc write those languages ?
(Q12949143,P1412,Q1321) (Q12949143,P1412,Q9056) (Q12949143,P1412,Q652)
action is_in
entity prev_answer
action find
entity Q12949143
relation P1412
['Q12949143', 'P1412', 'Q1321'] ['Q12949143', 'P1412', 'Q9056'] ['Q12949143', 'P1412', 'Q652']
ASK WHERE { VALUES ( ?l ) { ( resource:Q1321 ) ( resource:Q9056 ) ( resource:Q652 ) } . resource:Q12949143 property:P1412 ?l }
Joan Francés Blanc
action is_in
entity prev_answer
action find
entity Joan Francés Blanc
relation languages spoken, written or signed
['Joan Francés Blanc', 'languages spoken, written or signed', 'Spanish'] ['Joan Francés Blanc', 'languages spoken, written or signed', 'Czech'] ['Joan Francés Blanc', 'languages spoken, written or signed', 'Italian']
ASK WHERE { VALUES ( ?l ) { ( resource:Spanish ) ( resource:Czech ) ( resource:Italian ) } . resource:Joan_Francés_Blanc property:languages_spoken,_written_or_signed ?l }
[]
common name
SYSTEM
YES
(Q12949143,P1412,Q1321) (Q12949143,P1412,Q9056) (Q12949143,P1412,Q652)
action is_in
entity prev_answer
action find
entity Q12949143
relation P1412
[ANSWER]
['Q12949143', 'P1412', 'Q1321'] ['Q12949143', 'P1412', 'Q9056'] ['Q12949143', 'P1412', 'Q652']
ASK WHERE { VALUES ( ?l ) { ( resource:Q1321 ) ( resource:Q9056 ) ( resource:Q652 ) } . resource:Q12949143 property:P1412 ?l }
Yes
action is_in
entity prev_answer
action find
entity Joan Francés Blanc
relation languages spoken, written or signed
['Joan Francés Blanc', 'languages spoken, written or signed', 'Spanish'] ['Joan Francés Blanc', 'languages spoken, written or signed', 'Czech'] ['Joan Francés Blanc', 'languages spoken, written or signed', 'Italian']
ASK WHERE { VALUES ( ?l ) { ( resource:Spanish ) ( resource:Czech ) ( resource:Italian ) } . resource:Joan_Francés_Blanc property:languages_spoken,_written_or_signed ?l }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q230 Q7974375 Q555096
P530
Q15617994
USER
Does Georgia have diplomatic relations with Watermouth and Groß Rönnau ?
(Q230,P530,Q7974375) (Q230,P530,Q555096)
action is_in
entity Q230
action intersection
action find_reverse
entity Q7974375
relation P530
action find_reverse
entity Q555096
relation P530
['Q230', 'P530', 'Q7974375'] ['Q230', 'P530', 'Q555096']
ASK WHERE { resource:Q230 property:P530 resource:Q7974375 . resource:Q230 property:P530 resource:Q555096 }
Georgia Watermouth Groß Rönnau
action is_in
entity Georgia
action intersection
action find_reverse
entity Watermouth
relation diplomatic relation
action find_reverse
entity Groß Rönnau
relation diplomatic relation
['Georgia', 'diplomatic relation', 'Watermouth'] ['Georgia', 'diplomatic relation', 'Groß Rönnau']
ASK WHERE { resource:Georgia property:diplomatic_relation resource:Watermouth . resource:Georgia property:diplomatic_relation resource:Groß_Rönnau }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q230,P530,Q7974375) (Q230,P530,Q555096)
action is_in
entity Q230
action intersection
action find_reverse
entity Q7974375
relation P530
action find_reverse
entity Q555096
relation P530
[ANSWER]
['Q230', 'P530', 'Q7974375'] ['Q230', 'P530', 'Q555096']
ASK WHERE { resource:Q230 property:P530 resource:Q7974375 . resource:Q230 property:P530 resource:Q555096 }
No
action is_in
entity Georgia
action intersection
action find_reverse
entity Watermouth
relation diplomatic relation
action find_reverse
entity Groß Rönnau
relation diplomatic relation
['Georgia', 'diplomatic relation', 'Watermouth'] ['Georgia', 'diplomatic relation', 'Groß Rönnau']
ASK WHERE { resource:Georgia property:diplomatic_relation resource:Watermouth . resource:Georgia property:diplomatic_relation resource:Groß_Rönnau }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P282
Q8192 Q34770
USER
Which writing systems are used as the alphabet set for atmost 1 language ?
(c(Q34770),P282,c(Q8192))
action atmost
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
value 1
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?k ) WHERE { ?w property:P282 ?y . ?y rdf:type ontology:Q8192 . ?w rdf:type ontology:Q34770 } GROUP BY ?y } . FILTER ( ?k <= 1 ) }
action atmost
action find_reverse_tuple_counts
relation writing system
type writing system
type language
value 1
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?k ) WHERE { ?w property:writing_system ?y . ?y rdf:type ontology:writing_system . ?w rdf:type ontology:language } GROUP BY ?y } . FILTER ( ?k <= 1 ) }
[]
writing system language
Q1314503 Q26549 Q2613755
SYSTEM
Tai Tham alphabet, Cherokee syllabary, Tocharian alphabet
Q854968 Q689894 Q82946 Q257634 Q1140801 Q2274646 Q467037 Q933796 Q570450 Q2613755 Q1054190 Q2385276 Q1574992 Q1314503 Q51592 Q1703713 Q877906 Q38592 Q756802 Q804984 Q2374532 Q30972 Q1060381 Q839666 Q1760127 Q2566326 Q79199 Q191272 Q26549 Q1471822 Q48332 Q26803
(c(Q34770),P282,c(Q8192))
action atmost
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
value 1
[ANSWERS] are used as the alphabet set for atmost 1 language
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?k ) WHERE { ?w property:P282 ?y . ?y rdf:type ontology:Q8192 . ?w rdf:type ontology:Q34770 } GROUP BY ?y } . FILTER ( ?k <= 1 ) }
Burmese alphabet Gurmukhī alphabet katakana Ge'ez script Vietnamese Braille Inuktitut syllabics Brahmic script Limbu alphabet Telugu script Tocharian alphabet Khmer alphabet Ranjana alphabet Sinhala script Tai Tham alphabet Batak alphabet Modi alphabet Thaana Devanagari Bengali alphabet Balinese alphabet Uyghur Arabic alphabet Linear A Cham alphabet Kannada alphabet Oriya alphabet Tai Le alphabet Varang Kshiti Assamese alphabet Cherokee syllabary Old Persian cuneiform hiragana Tamil script
Tai Tham alphabet, Cherokee syllabary and Tocharian alphabet are used as the alphabet set for atmost 1 language
Tai Tham alphabet Cherokee syllabary Tocharian alphabet
action atmost
action find_reverse_tuple_counts
relation writing system
type writing system
type language
value 1
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?k ) WHERE { ?w property:writing_system ?y . ?y rdf:type ontology:writing_system . ?w rdf:type ontology:language } GROUP BY ?y } . FILTER ( ?k <= 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1314503
P2439
Q25295
USER
Which language family is linked with that writing system ?
(Q1314503,P2439,c(Q25295))
action filter_type
action find
entity Q1314503
relation P2439
type Q25295
['Q1314503', 'P2439', {'concept': 'Q25295'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q25295 . resource:Q1314503 property:P2439 ?f }
Tai Tham alphabet
action filter_type
action find
entity Tai Tham alphabet
relation language
type language family
['Tai Tham alphabet', 'language', {'concept': 'language family'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:language_family . resource:Tai_Tham_alphabet property:language ?f }
[]
language family
Clarification for simple ques.
Q2613755
SYSTEM
Did you mean Tocharian alphabet ?
Q1314503 Q26549 Q2613755
(Q1314503,P2439,c(Q25295)) (Q26549,P2439,c(Q25295)) (Q2613755,P2439,c(Q25295))
[ANSWER]
['Q1314503', 'P2439', {'concept': 'Q25295'}] ['Q26549', 'P2439', {'concept': 'Q25295'}] ['Q2613755', 'P2439', {'concept': 'Q25295'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q25295 . resource:Q1314503 property:P2439 ?f }
Tai Tham alphabet Cherokee syllabary Tocharian alphabet
Did you mean Tocharian alphabet ?
Tocharian alphabet
['Tai Tham alphabet', 'language', {'concept': 'language family'}] ['Cherokee syllabary', 'language', {'concept': 'language family'}] ['Tocharian alphabet', 'language', {'concept': 'language family'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:language_family . resource:Tai_Tham_alphabet property:language ?f }
[]
Simple Question (Coreferenced)
USER
No, I meant Tai Tham alphabet. Could you tell me the answer for that?
(Q1314503,P2439,c(Q25295))
Q1314503
['Q1314503', 'P2439', {'concept': 'Q25295'}]
['Tai Tham alphabet', 'language', {'concept': 'language family'}]
[]
Q565110
SYSTEM
Northern Thai
Q565110
(Q1314503,P2439,c(Q25295))
action filter_type
action find
entity Q1314503
relation P2439
type Q25295
[ANSWER] is linked with that writing system
['Q1314503', 'P2439', {'concept': 'Q25295'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q25295 . resource:Q1314503 property:P2439 ?f }
Northern Thai
Northern Thai is linked with that writing system
Northern Thai
action filter_type
action find
entity Tai Tham alphabet
relation language
type language family
['Tai Tham alphabet', 'language', {'concept': 'language family'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:language_family . resource:Tai_Tham_alphabet property:language ?f }
[]