Simple Question (Direct)
Simple Question
Q3832609
P106
Q12737077
USER
Which occupation has Linda McDonald as his/her 's career ?
(Q3832609,P106,c(Q12737077))
action filter_type
action find
entity Q3832609
relation P106
type Q12737077
['Q3832609', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q3832609 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Linda McDonald
action filter_type
action find
entity Linda McDonald
relation occupation
type occupation
['Linda McDonald', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Linda_McDonald property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q639669
SYSTEM
musician
Q639669
(Q3832609,P106,c(Q12737077))
action filter_type
action find
entity Q3832609
relation P106
type Q12737077
The [ANSWER] has Linda McDonald as his/her 's career
['Q3832609', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q3832609 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
musician
The musician has Linda McDonald as his/her 's career
musician
action filter_type
action find
entity Linda McDonald
relation occupation
type occupation
['Linda McDonald', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Linda_McDonald property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3832609
P1303
Q34379
USER
Which musical instrument is played by that person ?
(Q639669,P1303,c(Q34379))
action filter_type
action find
entity Q3832609
relation P1303
type Q34379
['Q639669', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?n WHERE { resource:Q3832609 property:P1303 ?n . ?n rdf:type ontology:Q34379 }
Linda McDonald
action filter_type
action find
entity Linda McDonald
relation instrument
type musical instrument
['musician', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?n WHERE { resource:Linda_McDonald property:instrument ?n . ?n rdf:type ontology:musical_instrument }
[]
musical instrument
Q128309
SYSTEM
drum kit
Q128309
(Q639669,P1303,c(Q34379))
action filter_type
action find
entity Q3832609
relation P1303
type Q34379
[ANSWER] is played by that person
['Q639669', 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?n WHERE { resource:Q3832609 property:P1303 ?n . ?n rdf:type ontology:Q34379 }
drum kit
Drum kit is played by that person
drum kit
action filter_type
action find
entity Linda McDonald
relation instrument
type musical instrument
['musician', 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?n WHERE { resource:Linda_McDonald property:instrument ?n . ?n rdf:type ontology:musical_instrument }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7076593 Q3832609
P27 P17
Q15617994
USER
Which administrative territories are the countries of citizenship of Linda McDonald or are Ocoee High School present in ?
OR((Q3832609,P27,c(Q15617994)), (Q7076593,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3832609
relation P27
action find
entity Q7076593
relation P17
type Q15617994
{'OR': [['Q3832609', 'P27', {'concept': 'Q15617994'}], ['Q7076593', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q3832609 property:P27 ?e } UNION { resource:Q7076593 property:P17 ?e } } . ?e rdf:type ontology:Q15617994 }
Ocoee High School Linda McDonald
action filter_type
action union
action find
entity Linda McDonald
relation country of citizenship
action find
entity Ocoee High School
relation country
type designation for an administrative territorial entity
{'OR': [['Linda McDonald', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ocoee High School', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Linda_McDonald property:country_of_citizenship ?e } UNION { resource:Ocoee_High_School property:country ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
OR((Q3832609,P27,c(Q15617994)), (Q7076593,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3832609
relation P27
action find
entity Q7076593
relation P17
type Q15617994
[ANSWER] is the countries of citizenship of Linda McDonald or is Ocoee High School present in
{'OR': [['Q3832609', 'P27', {'concept': 'Q15617994'}], ['Q7076593', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Q3832609 property:P27 ?e } UNION { resource:Q7076593 property:P17 ?e } } . ?e rdf:type ontology:Q15617994 }
United States of America
United States of America is the countries of citizenship of Linda McDonald or is Ocoee High School present in
United States of America
action filter_type
action union
action find
entity Linda McDonald
relation country of citizenship
action find
entity Ocoee High School
relation country
type designation for an administrative territorial entity
{'OR': [['Linda McDonald', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ocoee High School', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?e WHERE { { { resource:Linda_McDonald property:country_of_citizenship ?e } UNION { resource:Ocoee_High_School property:country ?e } } . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q201658 Q838948
USER
Which administrative territories are the origin of lesser number of film genres or works of art than that administrative territory ?
(c(Q201658)|c(Q838948),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q30
relation P495
type Q201658
type Q838948
[[{'concept': 'Q201658'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) ?f WHERE { ?l rdf:type ?b . VALUES ( ?b ) { ( ontology:Q201658 ) ( ontology:Q838948 ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { { ?h rdf:type ?c . VALUES ( ?c ) { ( ontology:Q201658 ) ( ontology:Q838948 ) } } . ?h property:P495 resource:Q30 } } . FILTER ( ?p < ?j ) }
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity United States of America
relation country of origin
type film genre
type work of art
[[{'concept': 'film genre'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) ?f WHERE { ?l rdf:type ?b . VALUES ( ?b ) { ( ontology:film_genre ) ( ontology:work_of_art ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { { ?h rdf:type ?c . VALUES ( ?c ) { ( ontology:film_genre ) ( ontology:work_of_art ) } } . ?h property:country_of_origin resource:United_States_of_America } } . FILTER ( ?p < ?j ) }
[]
designation for an administrative territorial entity film genre work of art
Q38 Q155 Q230
SYSTEM
Italy, Brazil, Georgia
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q145 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q201658)|c(Q838948),P495,c(Q15617994))
action less
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q201658
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q30
relation P495
type Q201658
type Q838948
[ANSWERS] are the origin of lesser number of film genres or works of art than that administrative territory
[[{'concept': 'Q201658'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) ?f WHERE { ?l rdf:type ?b . VALUES ( ?b ) { ( ontology:Q201658 ) ( ontology:Q838948 ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { { ?h rdf:type ?c . VALUES ( ?c ) { ( ontology:Q201658 ) ( ontology:Q838948 ) } } . ?h property:P495 resource:Q30 } } . FILTER ( ?p < ?j ) }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands United Kingdom Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland 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 Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
Italy, Brazil and Georgia are the origin of lesser number of film genres or works of art than that administrative territory
Italy Brazil Georgia
action less
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type film genre
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity United States of America
relation country of origin
type film genre
type work of art
[[{'concept': 'film genre'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?p ) ?f WHERE { ?l rdf:type ?b . VALUES ( ?b ) { ( ontology:film_genre ) ( ontology:work_of_art ) } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?j ) WHERE { { ?h rdf:type ?c . VALUES ( ?c ) { ( ontology:film_genre ) ( ontology:work_of_art ) } } . ?h property:country_of_origin resource:United_States_of_America } } . FILTER ( ?p < ?j ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q20476
P530
Q15617994
USER
Do Monte Castello di Vibio have ambassadorial relations with those ones ?
(Q20476,P530,Q38) (Q20476,P530,Q155) (Q20476,P530,Q230)
action is_in
entity prev_answer
action find
entity Q20476
relation P530
['Q20476', 'P530', 'Q38'] ['Q20476', 'P530', 'Q155'] ['Q20476', 'P530', 'Q230']
ASK WHERE { VALUES ( ?z ) { ( resource:Q805 ) ( resource:Q804 ) ( resource:Q801 ) } . resource:Q20476 property:P530 ?z }
Monte Castello di Vibio
action is_in
entity prev_answer
action find
entity Monte Castello di Vibio
relation diplomatic relation
['Monte Castello di Vibio', 'diplomatic relation', 'Italy'] ['Monte Castello di Vibio', 'diplomatic relation', 'Brazil'] ['Monte Castello di Vibio', 'diplomatic relation', 'Georgia']
ASK WHERE { VALUES ( ?z ) { ( resource:Yemen ) ( resource:Panama ) ( resource:Israel ) } . resource:Monte_Castello_di_Vibio property:diplomatic_relation ?z }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q20476,P530,Q38) (Q20476,P530,Q155) (Q20476,P530,Q230)
action is_in
entity prev_answer
action find
entity Q20476
relation P530
[ANSWER]
['Q20476', 'P530', 'Q38'] ['Q20476', 'P530', 'Q155'] ['Q20476', 'P530', 'Q230']
ASK WHERE { VALUES ( ?z ) { ( resource:Q805 ) ( resource:Q804 ) ( resource:Q801 ) } . resource:Q20476 property:P530 ?z }
No
action is_in
entity prev_answer
action find
entity Monte Castello di Vibio
relation diplomatic relation
['Monte Castello di Vibio', 'diplomatic relation', 'Italy'] ['Monte Castello di Vibio', 'diplomatic relation', 'Brazil'] ['Monte Castello di Vibio', 'diplomatic relation', 'Georgia']
ASK WHERE { VALUES ( ?z ) { ( resource:Yemen ) ( resource:Panama ) ( resource:Israel ) } . resource:Monte_Castello_di_Vibio property:diplomatic_relation ?z }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q155
P1001
Q846882
USER
Which sourcess of law preside the jurisdiction over Brazil ?
(c(Q846882),P1001,Q155)
action filter_type
action find_reverse
entity Q155
relation P1001
type Q846882
[{'concept': 'Q846882'}, 'P1001', 'Q155']
SELECT DISTINCT ?p WHERE { ?p property:P1001 resource:Q155 . ?p rdf:type ontology:Q846882 }
Brazil
action filter_type
action find_reverse
entity Brazil
relation applies to jurisdiction
type sources of law
[{'concept': 'sources of law'}, 'applies to jurisdiction', 'Brazil']
SELECT DISTINCT ?p WHERE { ?p property:applies_to_jurisdiction resource:Brazil . ?p rdf:type ontology:sources_of_law }
[]
sources of law
Q2386422 Q6757502
SYSTEM
Constitution of Brazil, Marco Civil da Internet
Q2386422 Q6757502
(c(Q846882),P1001,Q155)
action filter_type
action find_reverse
entity Q155
relation P1001
type Q846882
[ANSWERS] preside the jurisdiction over Brazil
[{'concept': 'Q846882'}, 'P1001', 'Q155']
SELECT DISTINCT ?p WHERE { ?p property:P1001 resource:Q155 . ?p rdf:type ontology:Q846882 }
Constitution of Brazil Marco Civil da Internet
Constitution of Brazil and Marco Civil da Internet preside the jurisdiction over Brazil
Constitution of Brazil Marco Civil da Internet
action filter_type
action find_reverse
entity Brazil
relation applies to jurisdiction
type sources of law
[{'concept': 'sources of law'}, 'applies to jurisdiction', 'Brazil']
SELECT DISTINCT ?p WHERE { ?p property:applies_to_jurisdiction resource:Brazil . ?p rdf:type ontology:sources_of_law }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q2386422 Q6757502
P1001
Q15617994
USER
Which administrative territories come under the supervision of Constitution of Brazil and Marco Civil da Internet ?
(Q2386422,P1001,c(Q15617994)) (Q6757502,P1001,c(Q15617994))
action union
action filter_type
action find
entity Q2386422
relation P1001
type Q15617994
action filter_type
action find
entity Q6757502
relation P1001
type Q15617994
['Q2386422', 'P1001', {'concept': 'Q15617994'}] ['Q6757502', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { resource:Q6757502 property:P1001 ?m . ?m rdf:type ontology:Q15617994 } UNION { resource:Q2386422 property:P1001 ?m . ?m rdf:type ontology:Q15617994 } }
Constitution of Brazil Marco Civil da Internet
action union
action filter_type
action find
entity Constitution of Brazil
relation applies to jurisdiction
type designation for an administrative territorial entity
action filter_type
action find
entity Marco Civil da Internet
relation applies to jurisdiction
type designation for an administrative territorial entity
['Constitution of Brazil', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Marco Civil da Internet', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { resource:Marco_Civil_da_Internet property:applies_to_jurisdiction ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Constitution_of_Brazil property:applies_to_jurisdiction ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q155 Q155
SYSTEM
Brazil
Q155 Q155
(Q2386422,P1001,c(Q15617994)) (Q6757502,P1001,c(Q15617994))
action union
action filter_type
action find
entity Q2386422
relation P1001
type Q15617994
action filter_type
action find
entity Q6757502
relation P1001
type Q15617994
[ANSWER] and [ANSWER] come under the supervision of Constitution of [ANSWER] and Marco Civil da Internet
['Q2386422', 'P1001', {'concept': 'Q15617994'}] ['Q6757502', 'P1001', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { resource:Q6757502 property:P1001 ?m . ?m rdf:type ontology:Q15617994 } UNION { resource:Q2386422 property:P1001 ?m . ?m rdf:type ontology:Q15617994 } }
Brazil Brazil
Brazil and Brazil come under the supervision of Constitution of Brazil and Marco Civil da Internet
Brazil Brazil
action union
action filter_type
action find
entity Constitution of Brazil
relation applies to jurisdiction
type designation for an administrative territorial entity
action filter_type
action find
entity Marco Civil da Internet
relation applies to jurisdiction
type designation for an administrative territorial entity
['Constitution of Brazil', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}] ['Marco Civil da Internet', 'applies to jurisdiction', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { resource:Marco_Civil_da_Internet property:applies_to_jurisdiction ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Constitution_of_Brazil property:applies_to_jurisdiction ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]