Simple Question (Direct)
Simple Question
Q754515
P915
Q15617994
USER
Which location was Love Happens filmed ?
(Q754515,P915,c(Q15617994))
action filter_type
action find
entity Q754515
relation P915
type Q15617994
['Q754515', 'P915', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q754515 property:P915 ?c . ?c rdf:type ontology:Q15617994 }
Love Happens
action filter_type
action find
entity Love Happens
relation filming location
type designation for an administrative territorial entity
['Love Happens', 'filming location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Love_Happens property:filming_location ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1974
SYSTEM
British Columbia
Q1974
(Q754515,P915,c(Q15617994))
action filter_type
action find
entity Q754515
relation P915
type Q15617994
Love Happens was filmed in [ANSWER]
['Q754515', 'P915', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q754515 property:P915 ?c . ?c rdf:type ontology:Q15617994 }
British Columbia
Love Happens was filmed in British Columbia
British Columbia
action filter_type
action find
entity Love Happens
relation filming location
type designation for an administrative territorial entity
['Love Happens', 'filming location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Love_Happens property:filming_location ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q754515
P161
Q502895
USER
Which people are in that work of art ?
(Q1974,P161,c(Q502895))
action filter_type
action find
entity Q754515
relation P161
type Q502895
['Q1974', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q754515 property:P161 ?w . ?w rdf:type ontology:Q502895 }
Love Happens
action filter_type
action find
entity Love Happens
relation cast member
type common name
['British Columbia', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Love_Happens property:cast_member ?w . ?w rdf:type ontology:common_name }
[]
common name
Q32522 Q184572 Q233882
SYSTEM
Jennifer Aniston, Martin Sheen, Frances Conroy
Q184572 Q32522 Q374263 Q236189 Q707759 Q233882 Q703676 Q15666053 Q231730 Q192643
(Q1974,P161,c(Q502895))
action filter_type
action find
entity Q754515
relation P161
type Q502895
[ANSWERS] are in that work of art
['Q1974', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q754515 property:P161 ?w . ?w rdf:type ontology:Q502895 }
Martin Sheen Jennifer Aniston Dan Fogler Judy Greer John Carroll Lynch Frances Conroy Joe Anderson Michelle Harrison Sasha Alexander Aaron Eckhart
Jennifer Aniston, Martin Sheen and Frances Conroy are in that work of art
Jennifer Aniston Martin Sheen Frances Conroy
action filter_type
action find
entity Love Happens
relation cast member
type common name
['British Columbia', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:Love_Happens property:cast_member ?w . ?w rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q184572
P102
Q7210356
USER
Which party is that person affiliated with ?
(Q184572,P102,c(Q7210356))
action filter_type
action find
entity Q184572
relation P102
type Q7210356
['Q184572', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?w WHERE { resource:Q184572 property:P102 ?w . ?w rdf:type ontology:Q7210356 }
Martin Sheen
action filter_type
action find
entity Martin Sheen
relation member of political party
type political organization
['Martin Sheen', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?w WHERE { resource:Martin_Sheen property:member_of_political_party ?w . ?w rdf:type ontology:political_organization }
[]
political organization
Clarification for simple ques.
Q184572
SYSTEM
Did you mean Martin Sheen ?
Q32522 Q184572 Q233882
(Q32522,P102,c(Q7210356)) (Q184572,P102,c(Q7210356)) (Q233882,P102,c(Q7210356))
[ANSWER]
['Q32522', 'P102', {'concept': 'Q7210356'}] ['Q184572', 'P102', {'concept': 'Q7210356'}] ['Q233882', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?w WHERE { resource:Q184572 property:P102 ?w . ?w rdf:type ontology:Q7210356 }
Jennifer Aniston Martin Sheen Frances Conroy
Did you mean Martin Sheen ?
Martin Sheen
['Jennifer Aniston', 'member of political party', {'concept': 'political organization'}] ['Martin Sheen', 'member of political party', {'concept': 'political organization'}] ['Frances Conroy', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?w WHERE { resource:Martin_Sheen property:member_of_political_party ?w . ?w rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
USER
Yes
(Q184572,P102,c(Q7210356))
['Q184572', 'P102', {'concept': 'Q7210356'}]
['Martin Sheen', 'member of political party', {'concept': 'political organization'}]
[]
Q29552
SYSTEM
Democratic Party
Q29552
(Q184572,P102,c(Q7210356))
action filter_type
action find
entity Q184572
relation P102
type Q7210356
That person is affiliated with [ANSWER]
['Q184572', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?w WHERE { resource:Q184572 property:P102 ?w . ?w rdf:type ontology:Q7210356 }
Democratic Party
That person is affiliated with Democratic Party
Democratic Party
action filter_type
action find
entity Martin Sheen
relation member of political party
type political organization
['Martin Sheen', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?w WHERE { resource:Martin_Sheen property:member_of_political_party ?w . ?w rdf:type ontology:political_organization }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q65850 Q754515
P20 P495
Q15617994
USER
Which administrative territories are the countries of origin of Love Happens or did the demise of Jakob Balde occur ?
OR((Q754515,P495,c(Q15617994)), (Q65850,P20,c(Q15617994)))
action filter_type
action union
action find
entity Q754515
relation P495
action find
entity Q65850
relation P20
type Q15617994
{'OR': [['Q754515', 'P495', {'concept': 'Q15617994'}], ['Q65850', 'P20', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q754515 property:P495 ?o } UNION { resource:Q65850 property:P20 ?o } } . ?o rdf:type ontology:Q15617994 }
Jakob Balde Love Happens
action filter_type
action union
action find
entity Love Happens
relation country of origin
action find
entity Jakob Balde
relation place of death
type designation for an administrative territorial entity
{'OR': [['Love Happens', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Jakob Balde', 'place of death', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Love_Happens property:country_of_origin ?o } UNION { resource:Jakob_Balde property:place_of_death ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q125652 Q30
SYSTEM
Neuburg an der Donau, United States of America
Q125652 Q30
OR((Q754515,P495,c(Q15617994)), (Q65850,P20,c(Q15617994)))
action filter_type
action union
action find
entity Q754515
relation P495
action find
entity Q65850
relation P20
type Q15617994
[ANSWERS] are the countries of origin of Love Happens or did the demise of Jakob Balde occur
{'OR': [['Q754515', 'P495', {'concept': 'Q15617994'}], ['Q65850', 'P20', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q754515 property:P495 ?o } UNION { resource:Q65850 property:P20 ?o } } . ?o rdf:type ontology:Q15617994 }
Neuburg an der Donau United States of America
Neuburg an der Donau and United States of America are the countries of origin of Love Happens or did the demise of Jakob Balde occur
Neuburg an der Donau United States of America
action filter_type
action union
action find
entity Love Happens
relation country of origin
action find
entity Jakob Balde
relation place of death
type designation for an administrative territorial entity
{'OR': [['Love Happens', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Jakob Balde', 'place of death', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Love_Happens property:country_of_origin ?o } UNION { resource:Jakob_Balde property:place_of_death ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P138
Q486972 Q2221906 Q15617994
USER
How many administrative territories have atleast 2 human settlements or geographic locations as their namesake ?
(c(Q15617994),P138,c(Q486972)|c(Q2221906))
action count
action atleast
action union
action find_tuple_counts
relation P138
type Q15617994
type Q486972
action find_tuple_counts
relation P138
type Q15617994
type Q2221906
value 2
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q486972'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?m ) WHERE { VALUES ( ?y ) { ( ontology:Q486972 ) ( ontology:Q2221906 ) } . ?u rdf:type ?y } GROUP BY ?e } . FILTER ( ?m >= 2 ) }
action count
action atleast
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type human settlement
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type geographic location
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'human settlement'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?m ) WHERE { VALUES ( ?y ) { ( ontology:human_settlement ) ( ontology:geographic_location ) } . ?u rdf:type ?y } GROUP BY ?e } . FILTER ( ?m >= 2 ) }
[]
human settlement geographic location designation for an administrative territorial entity
SYSTEM
1
Q14697553
(c(Q15617994),P138,c(Q486972)|c(Q2221906))
action count
action atleast
action union
action find_tuple_counts
relation P138
type Q15617994
type Q486972
action find_tuple_counts
relation P138
type Q15617994
type Q2221906
value 2
[ANSWER]
[{'concept': 'Q15617994'}, 'P138', [{'concept': 'Q486972'}, {'concept': 'Q2221906'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?m ) WHERE { VALUES ( ?y ) { ( ontology:Q486972 ) ( ontology:Q2221906 ) } . ?u rdf:type ?y } GROUP BY ?e } . FILTER ( ?m >= 2 ) }
Neetzow-Liepen
1
action count
action atleast
action union
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type human settlement
action find_tuple_counts
relation named after
type designation for an administrative territorial entity
type geographic location
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'named after', [{'concept': 'human settlement'}, {'concept': 'geographic location'}]]
SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?m ) WHERE { VALUES ( ?y ) { ( ontology:human_settlement ) ( ontology:geographic_location ) } . ?u rdf:type ?y } GROUP BY ?e } . FILTER ( ?m >= 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q184572
P734
Q82799
USER
Which name is associated with Martin Sheen ?
(Q184572,P734,c(Q82799))
action filter_type
action find
entity Q184572
relation P734
type Q82799
['Q184572', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { resource:Q184572 property:P734 ?q . ?q rdf:type ontology:Q82799 }
Martin Sheen
action filter_type
action find
entity Martin Sheen
relation family name
type name
['Martin Sheen', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { resource:Martin_Sheen property:family_name ?q . ?q rdf:type ontology:name }
[]
name
Q18589318
SYSTEM
Sheen
Q18589318
(Q184572,P734,c(Q82799))
action filter_type
action find
entity Q184572
relation P734
type Q82799
Martin [ANSWER] is associated with Martin [ANSWER]
['Q184572', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?q WHERE { resource:Q184572 property:P734 ?q . ?q rdf:type ontology:Q82799 }
Sheen
Martin Sheen is associated with Martin Sheen
Sheen
action filter_type
action find
entity Martin Sheen
relation family name
type name
['Martin Sheen', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?q WHERE { resource:Martin_Sheen property:family_name ?q . ?q rdf:type ontology:name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q11469257
Q82799
USER
And how about Matori Yamamoto?
(Q11469257,P734,c(Q82799))
action filter_type
action find
entity Q11469257
relation P734
type Q82799
['Q11469257', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q82799 . resource:Q11469257 property:P734 ?i }
Matori Yamamoto
action filter_type
action find
entity Matori Yamamoto
relation family name
type name
['Matori Yamamoto', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:name . resource:Matori_Yamamoto property:family_name ?i }
[]
name
Q231555
SYSTEM
Yamamoto
Q231555
(Q11469257,P734,c(Q82799))
action filter_type
action find
entity Q11469257
relation P734
type Q82799
[ANSWER]
['Q11469257', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q82799 . resource:Q11469257 property:P734 ?i }
Yamamoto
Yamamoto
action filter_type
action find
entity Matori Yamamoto
relation family name
type name
['Matori Yamamoto', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:name . resource:Matori_Yamamoto property:family_name ?i }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q917
P530
Q1048835 Q15617994 Q15617994
USER
How many administrative territories have ambassadorial relations with approximately the same number of political territories and administrative territories as Bhutan ?
(c(Q15617994),P530,c(Q1048835)|c(Q15617994))
action count
action approx
action union
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_multi_types
action find
entity Q917
relation P530
type Q1048835
type Q15617994
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q1048835'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?g ) WHERE { { ?h property:P530 ?o . ?h rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q1048835 } UNION { ?h rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 . ?h property:P530 ?o } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { resource:Q917 property:P530 ?i . { { ?i rdf:type ontology:Q15617994 } UNION { ?i rdf:type ontology:Q1048835 } } } } . FILTER ( ?g = ?f ) }
Bhutan
action count
action approx
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
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_multi_types
action find
entity Bhutan
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?g ) WHERE { { ?h property:diplomatic_relation ?o . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:political_territorial_entity } UNION { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h property:diplomatic_relation ?o } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { resource:Bhutan property:diplomatic_relation ?i . { { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?i rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?g = ?f ) }
[]
political territorial entity designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
148
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q1048835)|c(Q15617994))
action count
action approx
action union
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_multi_types
action find
entity Q917
relation P530
type Q1048835
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q1048835'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?g ) WHERE { { ?h property:P530 ?o . ?h rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q1048835 } UNION { ?h rdf:type ontology:Q15617994 . ?o rdf:type ontology:Q15617994 . ?h property:P530 ?o } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { resource:Q917 property:P530 ?i . { { ?i rdf:type ontology:Q15617994 } UNION { ?i rdf:type ontology:Q1048835 } } } } . FILTER ( ?g = ?f ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
148
action count
action approx
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
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_multi_types
action find
entity Bhutan
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?o ) AS ?g ) WHERE { { ?h property:diplomatic_relation ?o . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:political_territorial_entity } UNION { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?h property:diplomatic_relation ?o } } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?f ) WHERE { resource:Bhutan property:diplomatic_relation ?i . { { ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?i rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?g = ?f ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q736
P530
Q1048835 Q15617994 Q15617994
USER
And how about Ecuador?
(c(Q15617994),P530,c(Q1048835)|c(Q15617994))
action count
action approx
action union
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_multi_types
action find
entity Q736
relation P530
type Q1048835
type Q15617994
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q1048835'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { { VALUES ( ?y ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } . ?m rdf:type ?y } . resource:Q736 property:P530 ?m } } . FILTER ( ?a = ?p ) . { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?a ) WHERE { { ?d property:P530 ?q . ?d rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q1048835 } UNION { ?d rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 . ?d property:P530 ?q } } GROUP BY ?d } }
Ecuador
action count
action approx
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
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_multi_types
action find
entity Ecuador
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { { VALUES ( ?y ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?m rdf:type ?y } . resource:Ecuador property:diplomatic_relation ?m } } . FILTER ( ?a = ?p ) . { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?a ) WHERE { { ?d property:diplomatic_relation ?q . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:political_territorial_entity } UNION { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d property:diplomatic_relation ?q } } GROUP BY ?d } }
[]
political territorial entity designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
149
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 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q1048835)|c(Q15617994))
action count
action approx
action union
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_multi_types
action find
entity Q736
relation P530
type Q1048835
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q1048835'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { { VALUES ( ?y ) { ( ontology:Q1048835 ) ( ontology:Q15617994 ) } . ?m rdf:type ?y } . resource:Q736 property:P530 ?m } } . FILTER ( ?a = ?p ) . { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?a ) WHERE { { ?d property:P530 ?q . ?d rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q1048835 } UNION { ?d rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15617994 . ?d property:P530 ?q } } GROUP BY ?d } }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
149
action count
action approx
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
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_multi_types
action find
entity Ecuador
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'political territorial entity'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?p ) WHERE { { VALUES ( ?y ) { ( ontology:political_territorial_entity ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?m rdf:type ?y } . resource:Ecuador property:diplomatic_relation ?m } } . FILTER ( ?a = ?p ) . { SELECT DISTINCT ?d ( COUNT ( ?q ) AS ?a ) WHERE { { ?d property:diplomatic_relation ?q . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:political_territorial_entity } UNION { ?d rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d property:diplomatic_relation ?q } } GROUP BY ?d } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q184572
P57
Q838948
USER
Which work of art has Martin Sheen as its director ?
(c(Q838948),P57,Q184572)
action filter_type
action find_reverse
entity Q184572
relation P57
type Q838948
[{'concept': 'Q838948'}, 'P57', 'Q184572']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q838948 . ?m property:P57 resource:Q184572 }
Martin Sheen
action filter_type
action find_reverse
entity Martin Sheen
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Martin Sheen']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:work_of_art . ?m property:director resource:Martin_Sheen }
[]
work of art
Q1305472
SYSTEM
Cadence
Q1305472
(c(Q838948),P57,Q184572)
action filter_type
action find_reverse
entity Q184572
relation P57
type Q838948
[ANSWER] has Martin Sheen as its director
[{'concept': 'Q838948'}, 'P57', 'Q184572']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q838948 . ?m property:P57 resource:Q184572 }
Cadence
Cadence has Martin Sheen as its director
Cadence
action filter_type
action find_reverse
entity Martin Sheen
relation director
type work of art
[{'concept': 'work of art'}, 'director', 'Martin Sheen']
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:work_of_art . ?m property:director resource:Martin_Sheen }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1305472
P86
Q502895
USER
Who was that work of art composed by ?
(Q1305472,P86,c(Q502895))
action filter_type
action find
entity Q1305472
relation P86
type Q502895
['Q1305472', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q1305472 property:P86 ?p . ?p rdf:type ontology:Q502895 }
Cadence
action filter_type
action find
entity Cadence
relation composer
type common name
['Cadence', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Cadence property:composer ?p . ?p rdf:type ontology:common_name }
[]
common name
Q435034
SYSTEM
Georges Delerue
Q435034
(Q1305472,P86,c(Q502895))
action filter_type
action find
entity Q1305472
relation P86
type Q502895
By that work of art was composed by [ANSWER]
['Q1305472', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q1305472 property:P86 ?p . ?p rdf:type ontology:Q502895 }
Georges Delerue
By that work of art was composed by Georges Delerue
Georges Delerue
action filter_type
action find
entity Cadence
relation composer
type common name
['Cadence', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:Cadence property:composer ?p . ?p rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q435034
P1346
Q618779
USER
Where was that person decalred as a champion ?
(c(Q618779),P1346,Q435034)
action filter_type
action find_reverse
entity Q435034
relation P1346
type Q618779
[{'concept': 'Q618779'}, 'P1346', 'Q435034']
SELECT DISTINCT ?q WHERE { ?q property:P1346 resource:Q435034 . ?q rdf:type ontology:Q618779 }
Georges Delerue
action filter_type
action find_reverse
entity Georges Delerue
relation winner
type award
[{'concept': 'award'}, 'winner', 'Georges Delerue']
SELECT DISTINCT ?q WHERE { ?q property:winner resource:Georges_Delerue . ?q rdf:type ontology:award }
[]
award
Q23091
SYSTEM
César Award for Best Music Written for a Film
Q23091
(c(Q618779),P1346,Q435034)
action filter_type
action find_reverse
entity Q435034
relation P1346
type Q618779
[ANSWER] that person was decalred as a champion
[{'concept': 'Q618779'}, 'P1346', 'Q435034']
SELECT DISTINCT ?q WHERE { ?q property:P1346 resource:Q435034 . ?q rdf:type ontology:Q618779 }
César Award for Best Music Written for a Film
César Award for Best Music Written for a Film that person was decalred as a champion
César Award for Best Music Written for a Film
action filter_type
action find_reverse
entity Georges Delerue
relation winner
type award
[{'concept': 'award'}, 'winner', 'Georges Delerue']
SELECT DISTINCT ?q WHERE { ?q property:winner resource:Georges_Delerue . ?q rdf:type ontology:award }
[]