Simple Question (Direct)
Simple Question
Q201392
P509
Q2057971
USER
What was the cause of death of Domenico Modugno ?
(Q201392,P509,c(Q2057971))
action filter_type
action find
entity Q201392
relation P509
type Q2057971
['Q201392', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?e WHERE { resource:Q201392 property:P509 ?e . ?e rdf:type ontology:Q2057971 }
Domenico Modugno
action filter_type
action find
entity Domenico Modugno
relation cause of death
type health problem
['Domenico Modugno', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?e WHERE { resource:Domenico_Modugno property:cause_of_death ?e . ?e rdf:type ontology:health_problem }
[]
health problem
Q12152
SYSTEM
myocardial infarction
Q12152
(Q201392,P509,c(Q2057971))
action filter_type
action find
entity Q201392
relation P509
type Q2057971
The cause of death of Domenico Modugno was a [ANSWER]
['Q201392', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?e WHERE { resource:Q201392 property:P509 ?e . ?e rdf:type ontology:Q2057971 }
myocardial infarction
The cause of death of Domenico Modugno was a myocardial infarction
myocardial infarction
action filter_type
action find
entity Domenico Modugno
relation cause of death
type health problem
['Domenico Modugno', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?e WHERE { resource:Domenico_Modugno property:cause_of_death ?e . ?e rdf:type ontology:health_problem }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q201392
P86
Q7725634
USER
Which literary work is that person a composer of ?
(c(Q7725634),P86,Q12152)
action filter_type
action find_reverse
entity Q201392
relation P86
type Q7725634
[{'concept': 'Q7725634'}, 'P86', 'Q12152']
SELECT DISTINCT ?m WHERE { ?m property:P86 resource:Q201392 . ?m rdf:type ontology:Q7725634 }
Domenico Modugno
action filter_type
action find_reverse
entity Domenico Modugno
relation composer
type literary work
[{'concept': 'literary work'}, 'composer', 'myocardial infarction']
SELECT DISTINCT ?m WHERE { ?m property:composer resource:Domenico_Modugno . ?m rdf:type ontology:literary_work }
[]
literary work
Q734836
SYSTEM
Piove
Q734836
(c(Q7725634),P86,Q12152)
action filter_type
action find_reverse
entity Q201392
relation P86
type Q7725634
[ANSWER] is that person a composer of
[{'concept': 'Q7725634'}, 'P86', 'Q12152']
SELECT DISTINCT ?m WHERE { ?m property:P86 resource:Q201392 . ?m rdf:type ontology:Q7725634 }
Piove
Piove is that person a composer of
Piove
action filter_type
action find_reverse
entity Domenico Modugno
relation composer
type literary work
[{'concept': 'literary work'}, 'composer', 'myocardial infarction']
SELECT DISTINCT ?m WHERE { ?m property:composer resource:Domenico_Modugno . ?m rdf:type ontology:literary_work }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q734836 Q201392
P86
Q502895
USER
Did the compostion for that literary work Domenico Modugno ?
(Q734836,P86,Q201392)
action is_in
entity Q201392
action find
entity Q734836
relation P86
['Q734836', 'P86', 'Q201392']
ASK WHERE { resource:Q734836 property:P86 resource:Q201392 }
Piove Domenico Modugno
action is_in
entity Domenico Modugno
action find
entity Piove
relation composer
['Piove', 'composer', 'Domenico Modugno']
ASK WHERE { resource:Piove property:composer resource:Domenico_Modugno }
[]
common name
SYSTEM
YES
(Q734836,P86,Q201392)
action is_in
entity Q201392
action find
entity Q734836
relation P86
[ANSWER]
['Q734836', 'P86', 'Q201392']
ASK WHERE { resource:Q734836 property:P86 resource:Q201392 }
Yes
action is_in
entity Domenico Modugno
action find
entity Piove
relation composer
['Piove', 'composer', 'Domenico Modugno']
ASK WHERE { resource:Piove property:composer resource:Domenico_Modugno }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q201392 Q38
P27
Q15617994
USER
Is Italy the native country of Domenico Modugno ?
(Q201392,P27,Q38)
action is_in
entity Q38
action find
entity Q201392
relation P27
['Q201392', 'P27', 'Q38']
ASK WHERE { resource:Q201392 property:P27 resource:Q38 }
Domenico Modugno Italy
action is_in
entity Italy
action find
entity Domenico Modugno
relation country of citizenship
['Domenico Modugno', 'country of citizenship', 'Italy']
ASK WHERE { resource:Domenico_Modugno property:country_of_citizenship resource:Italy }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q201392,P27,Q38)
action is_in
entity Q38
action find
entity Q201392
relation P27
[ANSWER]
['Q201392', 'P27', 'Q38']
ASK WHERE { resource:Q201392 property:P27 resource:Q38 }
Yes
action is_in
entity Italy
action find
entity Domenico Modugno
relation country of citizenship
['Domenico Modugno', 'country of citizenship', 'Italy']
ASK WHERE { resource:Domenico_Modugno property:country_of_citizenship resource:Italy }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q734836 Q5257279 Q201392
P86
Q502895
USER
Is Denis Hayes and Domenico Modugno a composer of Piove ?
(Q734836,P86,Q5257279) (Q734836,P86,Q201392)
action is_in
entity Q734836
action intersection
action find_reverse
entity Q5257279
relation P86
action find_reverse
entity Q201392
relation P86
['Q734836', 'P86', 'Q5257279'] ['Q734836', 'P86', 'Q201392']
ASK WHERE { resource:Q734836 property:P86 resource:Q201392 . resource:Q734836 property:P86 resource:Q5257279 }
Piove Denis Hayes Domenico Modugno
action is_in
entity Piove
action intersection
action find_reverse
entity Denis Hayes
relation composer
action find_reverse
entity Domenico Modugno
relation composer
['Piove', 'composer', 'Denis Hayes'] ['Piove', 'composer', 'Domenico Modugno']
ASK WHERE { resource:Piove property:composer resource:Domenico_Modugno . resource:Piove property:composer resource:Denis_Hayes }
[]
common name
SYSTEM
NO and YES respectively
(Q734836,P86,Q5257279) (Q734836,P86,Q201392)
action is_in
entity Q734836
action intersection
action find_reverse
entity Q5257279
relation P86
action find_reverse
entity Q201392
relation P86
[ANSWER]
['Q734836', 'P86', 'Q5257279'] ['Q734836', 'P86', 'Q201392']
ASK WHERE { resource:Q734836 property:P86 resource:Q201392 . resource:Q734836 property:P86 resource:Q5257279 }
NO and YES respectively
action is_in
entity Piove
action intersection
action find_reverse
entity Denis Hayes
relation composer
action find_reverse
entity Domenico Modugno
relation composer
['Piove', 'composer', 'Denis Hayes'] ['Piove', 'composer', 'Domenico Modugno']
ASK WHERE { resource:Piove property:composer resource:Domenico_Modugno . resource:Piove property:composer resource:Denis_Hayes }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q618616 Q201392
P161
Q838948
USER
Which works of art do Domenico Modugno or George Bancroft star in ?
OR((c(Q838948),P161,Q201392), (c(Q838948),P161,Q618616))
action filter_type
action union
action find_reverse
entity Q201392
relation P161
action find_reverse
entity Q618616
relation P161
type Q838948
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q201392'], [{'concept': 'Q838948'}, 'P161', 'Q618616']]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?v ) { ( resource:Q201392 ) ( resource:Q618616 ) } . ?y property:P161 ?v } . ?y rdf:type ontology:Q838948 }
George Bancroft Domenico Modugno
action filter_type
action union
action find_reverse
entity Domenico Modugno
relation cast member
action find_reverse
entity George Bancroft
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Domenico Modugno'], [{'concept': 'work of art'}, 'cast member', 'George Bancroft']]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?v ) { ( resource:Domenico_Modugno ) ( resource:George_Bancroft ) } . ?y property:cast_member ?v } . ?y rdf:type ontology:work_of_art }
[]
work of art
Q6650905 Q19363787 Q3618034 Q1382120 Q3824790 Q4004077 Q779490 Q5398993 Q3823997 Q3363534
SYSTEM
Some of them are Little Men, Rich Man's Folly, Easy Years, Rulers of the Sea, When the Daltons Rode, Un sorriso, uno schiaffo, un bacio in bocca, The Scientific Cardplayer, Espionage Agent, La sbandata, Paramount on Parade
Q779490 Q3651324 Q3618034 Q5398993 Q19363787 Q1169191 Q1109210 Q519505 Q4080515 Q6469500 Q524997 Q19363906 Q7247340 Q1382120 Q7994081 Q21527632 Q3363534 Q7707414 Q3596104 Q1977159 Q3819626 Q3791157 Q50714 Q4927640 Q10368731 Q475529 Q3874341 Q3901944 Q7720525 Q3823997 Q963688 Q3559002 Q19363919 Q7907886 Q6650905 Q18612470 Q19363578 Q20814707 Q3283869 Q19571472 Q3020368 Q2261883 Q3658603 Q1536124 Q3620967 Q742569 Q3824790 Q16554518 Q17313421 Q2704717 Q1218571 Q2559912 Q3828227 Q15231297 Q4004077
OR((c(Q838948),P161,Q201392), (c(Q838948),P161,Q618616))
action filter_type
action union
action find_reverse
entity Q201392
relation P161
action find_reverse
entity Q618616
relation P161
type Q838948
Domenico Modugno or George Bancroft star in [ANSWERS]
{'OR': [[{'concept': 'Q838948'}, 'P161', 'Q201392'], [{'concept': 'Q838948'}, 'P161', 'Q618616']]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?v ) { ( resource:Q201392 ) ( resource:Q618616 ) } . ?y property:P161 ?v } . ?y rdf:type ontology:Q838948 }
The Scientific Cardplayer Cameriera bella presenza offresi... Easy Years Espionage Agent Rich Man's Folly The Last Judgement Adua and Friends Young Tom Edison The Runaway Ladies Love Brutes Angels with Dirty Faces The Mighty Processo contro ignoti Rulers of the Sea Whistling in Dixie Elmer and Elsie Paramount on Parade Texas "FF.SS." – Cioè: "...che mi hai portato a fare sopra a Posillipo se non mi vuoi più bene?" Submarine Patrol L'onorata società The Firemen of Viggiù Stagecoach Blood Money Scandal Sheet Mr. Deeds Goes to Town Nel blu dipinto di blu Piange... il telefono The Bugle Sounds La sbandata North West Mounted Police Magic Village The World and the Flesh Vacanze in Argentina Little Men Hell-Ship Morgan Derelict Racketeers in Exile Wedding Present A Doctor's Diary Of Life and Love Caprice Italian Style Heroic Charge Each Dawn I Die Appuntamento a Ischia Thunderbolt When the Daltons Rode Esterina I pinguini ci guardano The Hawks and the Sparrows Green Hell Lady and Gent Lazzarella The Wolf of Wall Street Un sorriso, uno schiaffo, un bacio in bocca
Domenico Modugno or George Bancroft star in Little Men, Rich Man's Folly, Easy Years, Rulers of the Sea, When the Daltons Rode, Un sorriso, uno schiaffo, un bacio in bocca, The Scientific Cardplayer, Espionage Agent, La sbandata and Paramount on Parade
Little Men Rich Man's Folly Easy Years Rulers of the Sea When the Daltons Rode Un sorriso, uno schiaffo, un bacio in bocca The Scientific Cardplayer Espionage Agent La sbandata Paramount on Parade
action filter_type
action union
action find_reverse
entity Domenico Modugno
relation cast member
action find_reverse
entity George Bancroft
relation cast member
type work of art
{'OR': [[{'concept': 'work of art'}, 'cast member', 'Domenico Modugno'], [{'concept': 'work of art'}, 'cast member', 'George Bancroft']]}
SELECT DISTINCT ?y WHERE { { VALUES ( ?v ) { ( resource:Domenico_Modugno ) ( resource:George_Bancroft ) } . ?y property:cast_member ?v } . ?y rdf:type ontology:work_of_art }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q9612564 Q38
P530 P27
Q15617994
USER
Which administrative territories holds diplomatic relationship with Italy and are the countries of citizenship of Ana Perugini ?
AND((Q38,P530,c(Q15617994)), (Q9612564,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q38
relation P530
action find
entity Q9612564
relation P27
type Q15617994
{'AND': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q9612564', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . resource:Q38 property:P530 ?l . resource:Q9612564 property:P27 ?l }
Ana Perugini Italy
action filter_type
action intersection
action find
entity Italy
relation diplomatic relation
action find
entity Ana Perugini
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Ana Perugini', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Italy property:diplomatic_relation ?l . resource:Ana_Perugini property:country_of_citizenship ?l }
[]
designation for an administrative territorial entity
Q155
SYSTEM
Brazil
Q155
AND((Q38,P530,c(Q15617994)), (Q9612564,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q38
relation P530
action find
entity Q9612564
relation P27
type Q15617994
[ANSWER] holds diplomatic relationship with Italy and are the countries of citizenship of Ana Perugini
{'AND': [['Q38', 'P530', {'concept': 'Q15617994'}], ['Q9612564', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . resource:Q38 property:P530 ?l . resource:Q9612564 property:P27 ?l }
Brazil
Brazil holds diplomatic relationship with Italy and are the countries of citizenship of Ana Perugini
Brazil
action filter_type
action intersection
action find
entity Italy
relation diplomatic relation
action find
entity Ana Perugini
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['Italy', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Ana Perugini', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Italy property:diplomatic_relation ?l . resource:Ana_Perugini property:country_of_citizenship ?l }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q1029
P530
Q15617994 Q15617994
USER
Which administrative territories have ambassadorial relations with around the same number of administrative territories as Mozambique ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1029
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?n ) WHERE { ?y property:P530 ?c . ?y rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { resource:Q1029 property:P530 ?v . ?v rdf:type ontology:Q15617994 } } . FILTER ( ?n = ?s ) }
Mozambique
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 Mozambique
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 ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?n ) WHERE { ?y property:diplomatic_relation ?c . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { resource:Mozambique property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n = ?s ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q55 Q36 Q148
SYSTEM
Netherlands, Poland, People's Republic of China
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 approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q1029
relation P530
type Q15617994
[ANSWERS] have ambassadorial relations with around the same number of administrative territories as Mozambique
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?n ) WHERE { ?y property:P530 ?c . ?y rdf:type ontology:Q15617994 . ?c rdf:type ontology:Q15617994 } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { resource:Q1029 property:P530 ?v . ?v rdf:type ontology:Q15617994 } } . FILTER ( ?n = ?s ) }
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
Netherlands, Poland and People's Republic of China have ambassadorial relations with around the same number of administrative territories as Mozambique
Netherlands Poland People's Republic of China
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 Mozambique
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 ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?c ) AS ?n ) WHERE { ?y property:diplomatic_relation ?c . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?s ) WHERE { resource:Mozambique property:diplomatic_relation ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?n = ?s ) }
[]