Simple Question (Direct)
Simple Question
Q18758699
P27
Q15617994
USER
Which administrative territory is Alfonso Tesauro an inhabitant of ?
(Q18758699,P27,c(Q15617994))
action filter_type
action find
entity Q18758699
relation P27
type Q15617994
['Q18758699', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q18758699 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
Alfonso Tesauro
action filter_type
action find
entity Alfonso Tesauro
relation country of citizenship
type designation for an administrative territorial entity
['Alfonso Tesauro', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Alfonso_Tesauro property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q18758699,P27,c(Q15617994))
action filter_type
action find
entity Q18758699
relation P27
type Q15617994
[ANSWER] is Alfonso Tesauro an inhabitant of
['Q18758699', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?r WHERE { resource:Q18758699 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
Italy
Italy is Alfonso Tesauro an inhabitant of
Italy
action filter_type
action find
entity Alfonso Tesauro
relation country of citizenship
type designation for an administrative territorial entity
['Alfonso Tesauro', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Alfonso_Tesauro property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18758699
P1412
Q34770
USER
Which language is spoken by that person ?
(Q38,P1412,c(Q34770))
action filter_type
action find
entity Q18758699
relation P1412
type Q34770
['Q38', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { resource:Q18758699 property:P1412 ?j . ?j rdf:type ontology:Q34770 }
Alfonso Tesauro
action filter_type
action find
entity Alfonso Tesauro
relation languages spoken, written or signed
type language
['Italy', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { resource:Alfonso_Tesauro property:languages_spoken,_written_or_signed ?j . ?j rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
(Q38,P1412,c(Q34770))
action filter_type
action find
entity Q18758699
relation P1412
type Q34770
By [ANSWER] is spoken by that person
['Q38', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { resource:Q18758699 property:P1412 ?j . ?j rdf:type ontology:Q34770 }
Italian
By Italian is spoken by that person
Italian
action filter_type
action find
entity Alfonso Tesauro
relation languages spoken, written or signed
type language
['Italy', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { resource:Alfonso_Tesauro property:languages_spoken,_written_or_signed ?j . ?j rdf:type ontology:language }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q1060381
P282
Q8192 Q34770
USER
How many writing systems are used as the alphabet set for approximately the same number of languages as Cham alphabet ?
(c(Q34770),P282,c(Q8192))
action count
action approx
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find
entity Q1060381
relation P282
type Q8192
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?q ) WHERE { ?s rdf:type ontology:Q8192 . ?v rdf:type ontology:Q34770 . ?v property:P282 ?s } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { resource:Q1060381 property:P282 ?i . ?i rdf:type ontology:Q8192 } } . FILTER ( ?q = ?w ) }
Cham alphabet
action count
action approx
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find
entity Cham alphabet
relation writing system
type writing system
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?q ) WHERE { ?s rdf:type ontology:writing_system . ?v rdf:type ontology:language . ?v property:writing_system ?s } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { resource:Cham_alphabet property:writing_system ?i . ?i rdf:type ontology:writing_system } } . FILTER ( ?q = ?w ) }
[]
writing system language
SYSTEM
29
Q854968 Q689894 Q257634 Q1140801 Q2274646 Q467037 Q933796 Q570450 Q2613755 Q1054190 Q2385276 Q1574992 Q1314503 Q51592 Q1703713 Q877906 Q38592 Q756802 Q804984 Q2374532 Q1060381 Q839666 Q1760127 Q2566326 Q79199 Q191272 Q26549 Q1471822 Q26803
(c(Q34770),P282,c(Q8192))
action count
action approx
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find
entity Q1060381
relation P282
type Q8192
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?q ) WHERE { ?s rdf:type ontology:Q8192 . ?v rdf:type ontology:Q34770 . ?v property:P282 ?s } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { resource:Q1060381 property:P282 ?i . ?i rdf:type ontology:Q8192 } } . FILTER ( ?q = ?w ) }
Burmese alphabet Gurmukhī alphabet 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 Cham alphabet Kannada alphabet Oriya alphabet Tai Le alphabet Varang Kshiti Assamese alphabet Cherokee syllabary Old Persian cuneiform Tamil script
29
action count
action approx
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find
entity Cham alphabet
relation writing system
type writing system
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?r ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?v ) AS ?q ) WHERE { ?s rdf:type ontology:writing_system . ?v rdf:type ontology:language . ?v property:writing_system ?s } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { resource:Cham_alphabet property:writing_system ?i . ?i rdf:type ontology:writing_system } } . FILTER ( ?q = ?w ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q48332
P282
Q8192 Q34770
USER
And what about hiragana?
(c(Q34770),P282,c(Q8192))
action count
action approx
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find
entity Q48332
relation P282
type Q8192
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?i ) WHERE { ?r property:P282 ?y . ?y rdf:type ontology:Q8192 . ?r rdf:type ontology:Q34770 } GROUP BY ?y } . FILTER ( ?i = ?p ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { ?u rdf:type ontology:Q8192 . resource:Q48332 property:P282 ?u } } }
hiragana
action count
action approx
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find
entity hiragana
relation writing system
type writing system
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?i ) WHERE { ?r property:writing_system ?y . ?y rdf:type ontology:writing_system . ?r rdf:type ontology:language } GROUP BY ?y } . FILTER ( ?i = ?p ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { ?u rdf:type ontology:writing_system . resource:hiragana property:writing_system ?u } } }
[]
writing system language
SYSTEM
3
Q82946 Q30972 Q48332
(c(Q34770),P282,c(Q8192))
action count
action approx
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find
entity Q48332
relation P282
type Q8192
[ANSWER]
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?i ) WHERE { ?r property:P282 ?y . ?y rdf:type ontology:Q8192 . ?r rdf:type ontology:Q34770 } GROUP BY ?y } . FILTER ( ?i = ?p ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { ?u rdf:type ontology:Q8192 . resource:Q48332 property:P282 ?u } } }
katakana Linear A hiragana
3
action count
action approx
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find
entity hiragana
relation writing system
type writing system
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?e ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?r ) AS ?i ) WHERE { ?r property:writing_system ?y . ?y rdf:type ontology:writing_system . ?r rdf:type ontology:language } GROUP BY ?y } . FILTER ( ?i = ?p ) . { SELECT DISTINCT ( COUNT ( ?u ) AS ?p ) WHERE { ?u rdf:type ontology:writing_system . resource:hiragana property:writing_system ?u } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q652
P2439
Q43229 Q7397
USER
How many organizations and software have an association with the language Italian ?
(c(Q43229),P2439,Q652) (c(Q7397),P2439,Q652)
action count
action union
action filter_type
action find_reverse
entity Q652
relation P2439
type Q43229
action filter_type
action find_reverse
entity Q652
relation P2439
type Q7397
[{'concept': 'Q43229'}, 'P2439', 'Q652'] [{'concept': 'Q7397'}, 'P2439', 'Q652']
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { { ?n property:P2439 resource:Q652 . ?n rdf:type ontology:Q43229 } UNION { ?n rdf:type ontology:Q7397 . ?n property:P2439 resource:Q652 } }
Italian
action count
action union
action filter_type
action find_reverse
entity Italian
relation language
type organization
action filter_type
action find_reverse
entity Italian
relation language
type software
[{'concept': 'organization'}, 'language', 'Italian'] [{'concept': 'software'}, 'language', 'Italian']
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { { ?n property:language resource:Italian . ?n rdf:type ontology:organization } UNION { ?n rdf:type ontology:software . ?n property:language resource:Italian } }
[]
organization software
SYSTEM
1 organizations and 1 software
Q1421571 Q24059098
(c(Q43229),P2439,Q652) (c(Q7397),P2439,Q652)
action count
action union
action filter_type
action find_reverse
entity Q652
relation P2439
type Q43229
action filter_type
action find_reverse
entity Q652
relation P2439
type Q7397
[ANSWER]
[{'concept': 'Q43229'}, 'P2439', 'Q652'] [{'concept': 'Q7397'}, 'P2439', 'Q652']
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { { ?n property:P2439 resource:Q652 . ?n rdf:type ontology:Q43229 } UNION { ?n rdf:type ontology:Q7397 . ?n property:P2439 resource:Q652 } }
Mantis Bug Tracker Elemento Tango
1 organizations and 1 software
action count
action union
action filter_type
action find_reverse
entity Italian
relation language
type organization
action filter_type
action find_reverse
entity Italian
relation language
type software
[{'concept': 'organization'}, 'language', 'Italian'] [{'concept': 'software'}, 'language', 'Italian']
SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { { ?n property:language resource:Italian . ?n rdf:type ontology:organization } UNION { ?n rdf:type ontology:software . ?n property:language resource:Italian } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q79199
P282
Q8192 Q34770
USER
Which writing systems are the writing systems used for approximately the same number of languages as Varang Kshiti ?
(c(Q34770),P282,c(Q8192))
action approx
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find
entity Q79199
relation P282
type Q8192
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?t ) AS ?q ) WHERE { ?t property:P282 ?g . ?g rdf:type ontology:Q8192 . ?t rdf:type ontology:Q34770 } GROUP BY ?g } . FILTER ( ?q = ?h ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { resource:Q79199 property:P282 ?w . ?w rdf:type ontology:Q8192 } } }
Varang Kshiti
action approx
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find
entity Varang Kshiti
relation writing system
type writing system
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?t ) AS ?q ) WHERE { ?t property:writing_system ?g . ?g rdf:type ontology:writing_system . ?t rdf:type ontology:language } GROUP BY ?g } . FILTER ( ?q = ?h ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { resource:Varang_Kshiti property:writing_system ?w . ?w rdf:type ontology:writing_system } } }
[]
writing system language
Q1314503 Q26549 Q2613755
SYSTEM
Tai Tham alphabet, Cherokee syllabary, Tocharian alphabet
Q854968 Q689894 Q257634 Q1140801 Q2274646 Q467037 Q933796 Q570450 Q2613755 Q1054190 Q2385276 Q1574992 Q1314503 Q51592 Q1703713 Q877906 Q38592 Q756802 Q804984 Q2374532 Q1060381 Q839666 Q1760127 Q2566326 Q79199 Q191272 Q26549 Q1471822 Q26803
(c(Q34770),P282,c(Q8192))
action approx
action find_reverse_tuple_counts
relation P282
type Q8192
type Q34770
action count
action filter_type
action find
entity Q79199
relation P282
type Q8192
[ANSWERS] are the writing systems used for approximately the same number of languages as Varang Kshiti
[{'concept': 'Q34770'}, 'P282', {'concept': 'Q8192'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?t ) AS ?q ) WHERE { ?t property:P282 ?g . ?g rdf:type ontology:Q8192 . ?t rdf:type ontology:Q34770 } GROUP BY ?g } . FILTER ( ?q = ?h ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { resource:Q79199 property:P282 ?w . ?w rdf:type ontology:Q8192 } } }
Burmese alphabet Gurmukhī alphabet 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 Cham alphabet Kannada alphabet Oriya alphabet Tai Le alphabet Varang Kshiti Assamese alphabet Cherokee syllabary Old Persian cuneiform Tamil script
Tai Tham alphabet, Cherokee syllabary and Tocharian alphabet are the writing systems used for approximately the same number of languages as Varang Kshiti
Tai Tham alphabet Cherokee syllabary Tocharian alphabet
action approx
action find_reverse_tuple_counts
relation writing system
type writing system
type language
action count
action filter_type
action find
entity Varang Kshiti
relation writing system
type writing system
[{'concept': 'language'}, 'writing system', {'concept': 'writing system'}]
SELECT DISTINCT ?g WHERE { { SELECT DISTINCT ?g ( COUNT ( ?t ) AS ?q ) WHERE { ?t property:writing_system ?g . ?g rdf:type ontology:writing_system . ?t rdf:type ontology:language } GROUP BY ?g } . FILTER ( ?q = ?h ) . { SELECT DISTINCT ( COUNT ( ?w ) AS ?h ) WHERE { resource:Varang_Kshiti property:writing_system ?w . ?w rdf:type ontology:writing_system } } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P194
Q35749 Q1752346 Q15617994
USER
Which administrative territories have min number of parliaments or assemblies as their legislative body ?
(c(Q15617994),P194,c(Q35749)|c(Q1752346))
action argmin
action union
action find_tuple_counts
relation P194
type Q15617994
type Q35749
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q35749'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) ?l WHERE { ?x rdf:type ?e . VALUES ( ?e ) { ( ontology:Q35749 ) ( ontology:Q1752346 ) } } GROUP BY ?l } } . FILTER ( ?j = ?n ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) ?d WHERE { { ?d property:P194 ?b . ?b rdf:type ontology:Q35749 . ?d rdf:type ontology:Q15617994 } UNION { ?d property:P194 ?b . ?d rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q1752346 } } GROUP BY ?d } }
action argmin
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type parliament
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'parliament'}, {'concept': 'assembly'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) ?l WHERE { ?x rdf:type ?e . VALUES ( ?e ) { ( ontology:parliament ) ( ontology:assembly ) } } GROUP BY ?l } } . FILTER ( ?j = ?n ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) ?d WHERE { { ?d property:legislative_body ?b . ?b rdf:type ontology:parliament . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?d property:legislative_body ?b . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:assembly } } GROUP BY ?d } }
[]
parliament assembly designation for an administrative territorial entity
Q30 Q148 Q17
SYSTEM
United States of America, People's Republic of China, Japan
Q805 Q800 Q1462 Q1250 Q2806757 Q148 Q189 Q786 Q710 Q252320 Q187035 Q1460 Q3361 Q43 Q792 Q779011 Q889 Q884 Q958 Q12574 Q153529 Q12761 Q244 Q32 Q31 Q30 Q37 Q1447 Q104192 Q603676 Q1282 Q1284 Q3389 Q236 Q12661 Q1273 Q1279 Q1049 Q1458 Q227 Q347 Q17 Q902 Q191 Q114 Q1210 Q917 Q736 Q34020 Q686 Q760 Q574 Q694594 Q1222 Q774 Q948 Q1016 Q27 Q1011 Q1243 Q12620 Q12626 Q672 Q1237
(c(Q15617994),P194,c(Q35749)|c(Q1752346))
action argmin
action union
action find_tuple_counts
relation P194
type Q15617994
type Q35749
action find_tuple_counts
relation P194
type Q15617994
type Q1752346
[ANSWERS] have min number of parliaments or assemblies as their legislative body
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q35749'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) ?l WHERE { ?x rdf:type ?e . VALUES ( ?e ) { ( ontology:Q35749 ) ( ontology:Q1752346 ) } } GROUP BY ?l } } . FILTER ( ?j = ?n ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) ?d WHERE { { ?d property:P194 ?b . ?b rdf:type ontology:Q35749 . ?d rdf:type ontology:Q15617994 } UNION { ?d property:P194 ?b . ?d rdf:type ontology:Q15617994 . ?b rdf:type ontology:Q1752346 } } GROUP BY ?d } }
Yemen Costa Rica Sardinia Friuli–Venezia Giulia 105 Mile Post Indian Reserve No. 2 People's Republic of China Iceland Dominican Republic Kiribati Pleinfeld Principality of Albania Sicily Doubs Turkey El Salvador Principality of Montenegro Afghanistan South Korea South Sudan Loiret Duchy of Milan Seine-Saint-Denis Barbados Luxembourg Belgium United States of America Lithuania Apulia Kleinmachnow District of Keewatin Lazio Abruzzo Finistère Montenegro Nord Tuscany Marche Sudan Calabria Azerbaijan Liechtenstein Japan Bangladesh Estonia Kenya Lombardy Bhutan Ecuador Niue Vanuatu Saint Lucia East Timor Bremen-Verden Aosta Valley Guatemala Tunisia Libya Ireland Cape Verde Veneto Mayenne Meurthe-et-Moselle Tuvalu Trentino-South Tyrol
United States of America, People's Republic of China and Japan have min number of parliaments or assemblies as their legislative body
United States of America People's Republic of China Japan
action argmin
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type parliament
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type assembly
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'parliament'}, {'concept': 'assembly'}]]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ( MIN ( ?z ) AS ?n ) { SELECT DISTINCT ( COUNT ( ?x ) AS ?z ) ?l WHERE { ?x rdf:type ?e . VALUES ( ?e ) { ( ontology:parliament ) ( ontology:assembly ) } } GROUP BY ?l } } . FILTER ( ?j = ?n ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?j ) ?d WHERE { { ?d property:legislative_body ?b . ?b rdf:type ontology:parliament . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?d property:legislative_body ?b . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?b rdf:type ontology:assembly } } GROUP BY ?d } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q927537
P530
Q1048835
USER
Do Serra, Espírito Santo have diplomatic relations with those administrative territories ?
(Q927537,P530,Q30) (Q927537,P530,Q148) (Q927537,P530,Q17)
action is_in
entity prev_answer
action find
entity Q927537
relation P530
['Q927537', 'P530', 'Q30'] ['Q927537', 'P530', 'Q148'] ['Q927537', 'P530', 'Q17']
ASK WHERE { resource:Q927537 property:P530 ?a . VALUES ( ?a ) { ( resource:Q805 ) ( resource:Q800 ) ( resource:Q1462 ) } }
Serra, Espírito Santo
action is_in
entity prev_answer
action find
entity Serra, Espírito Santo
relation diplomatic relation
['Serra, Espírito Santo', 'diplomatic relation', 'United States of America'] ['Serra, Espírito Santo', 'diplomatic relation', "People's Republic of China"] ['Serra, Espírito Santo', 'diplomatic relation', 'Japan']
ASK WHERE { resource:Serra,_Espírito_Santo property:diplomatic_relation ?a . VALUES ( ?a ) { ( resource:Yemen ) ( resource:Costa_Rica ) ( resource:Sardinia ) } }
[]
political territorial entity
SYSTEM
NO
(Q927537,P530,Q30) (Q927537,P530,Q148) (Q927537,P530,Q17)
action is_in
entity prev_answer
action find
entity Q927537
relation P530
[ANSWER]
['Q927537', 'P530', 'Q30'] ['Q927537', 'P530', 'Q148'] ['Q927537', 'P530', 'Q17']
ASK WHERE { resource:Q927537 property:P530 ?a . VALUES ( ?a ) { ( resource:Q805 ) ( resource:Q800 ) ( resource:Q1462 ) } }
No
action is_in
entity prev_answer
action find
entity Serra, Espírito Santo
relation diplomatic relation
['Serra, Espírito Santo', 'diplomatic relation', 'United States of America'] ['Serra, Espírito Santo', 'diplomatic relation', "People's Republic of China"] ['Serra, Espírito Santo', 'diplomatic relation', 'Japan']
ASK WHERE { resource:Serra,_Espírito_Santo property:diplomatic_relation ?a . VALUES ( ?a ) { ( resource:Yemen ) ( resource:Costa_Rica ) ( resource:Sardinia ) } }
[]