Simple Question (Direct)
Simple Question
Q1308600
P58
Q502895
USER
Which person wrote the script for A Holiday with Piroschka ?
(Q1308600,P58,c(Q502895))
action filter_type
action find
entity Q1308600
relation P58
type Q502895
['Q1308600', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . resource:Q1308600 property:P58 ?o }
A Holiday with Piroschka
action filter_type
action find
entity A Holiday with Piroschka
relation screenwriter
type common name
['A Holiday with Piroschka', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . resource:A_Holiday_with_Piroschka property:screenwriter ?o }
[]
common name
Q1641475
SYSTEM
Kurt Nachmann
Q1641475
(Q1308600,P58,c(Q502895))
action filter_type
action find
entity Q1308600
relation P58
type Q502895
[ANSWER] wrote the script for A Holiday with Piroschka
['Q1308600', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . resource:Q1308600 property:P58 ?o }
Kurt Nachmann
Kurt Nachmann wrote the script for A Holiday with Piroschka
Kurt Nachmann
action filter_type
action find
entity A Holiday with Piroschka
relation screenwriter
type common name
['A Holiday with Piroschka', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . resource:A_Holiday_with_Piroschka property:screenwriter ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1308600
P57
Q502895
USER
Which person directed that work of art ?
(Q1641475,P57,c(Q502895))
action filter_type
action find
entity Q1308600
relation P57
type Q502895
['Q1641475', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q1308600 property:P57 ?m }
A Holiday with Piroschka
action filter_type
action find
entity A Holiday with Piroschka
relation director
type common name
['Kurt Nachmann', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:A_Holiday_with_Piroschka property:director ?m }
[]
common name
Q89283
SYSTEM
Franz Josef Gottlieb
Q89283
(Q1641475,P57,c(Q502895))
action filter_type
action find
entity Q1308600
relation P57
type Q502895
[ANSWER] directed that work of art
['Q1641475', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q502895 . resource:Q1308600 property:P57 ?m }
Franz Josef Gottlieb
Franz Josef Gottlieb directed that work of art
Franz Josef Gottlieb
action filter_type
action find
entity A Holiday with Piroschka
relation director
type common name
['Kurt Nachmann', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:common_name . resource:A_Holiday_with_Piroschka property:director ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1308600
P344
Q502895
USER
Who is the director of photography for A Holiday with Piroschka ?
(Q1308600,P344,c(Q502895))
action filter_type
action find
entity Q1308600
relation P344
type Q502895
['Q1308600', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q1308600 property:P344 ?s }
A Holiday with Piroschka
action filter_type
action find
entity A Holiday with Piroschka
relation director of photography
type common name
['A Holiday with Piroschka', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:A_Holiday_with_Piroschka property:director_of_photography ?s }
[]
common name
Q121175
SYSTEM
Richard Angst
Q121175
(Q1308600,P344,c(Q502895))
action filter_type
action find
entity Q1308600
relation P344
type Q502895
The director of photography for A Holiday with Piroschka is named [ANSWER]
['Q1308600', 'P344', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . resource:Q1308600 property:P344 ?s }
Richard Angst
The director of photography for A Holiday with Piroschka is named Richard Angst
Richard Angst
action filter_type
action find
entity A Holiday with Piroschka
relation director of photography
type common name
['A Holiday with Piroschka', 'director of photography', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . resource:A_Holiday_with_Piroschka property:director_of_photography ?s }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q121175
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q121175,P27,c(Q15617994))
action filter_type
action find
entity Q121175
relation P27
type Q15617994
['Q121175', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q121175 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Richard Angst
action filter_type
action find
entity Richard Angst
relation country of citizenship
type designation for an administrative territorial entity
['Richard Angst', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Richard_Angst property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q39
SYSTEM
Switzerland
Q39
(Q121175,P27,c(Q15617994))
action filter_type
action find
entity Q121175
relation P27
type Q15617994
[ANSWER] is that person a civilian of
['Q121175', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q121175 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
Switzerland
Switzerland is that person a civilian of
Switzerland
action filter_type
action find
entity Richard Angst
relation country of citizenship
type designation for an administrative territorial entity
['Richard Angst', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:Richard_Angst property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q39 Q16724838
P495
Q838948
USER
Did Night originate in that administrative territory ?
(Q16724838,P495,Q39)
action is_in
entity Q16724838
action find
entity Q39
relation P495
['Q16724838', 'P495', 'Q39']
ASK WHERE { resource:Q39 property:P495 resource:Q16724838 }
Switzerland Night
action is_in
entity Night
action find
entity Switzerland
relation country of origin
['Night', 'country of origin', 'Switzerland']
ASK WHERE { resource:Switzerland property:country_of_origin resource:Night }
[]
work of art
SYSTEM
NO
(Q16724838,P495,Q39)
action is_in
entity Q16724838
action find
entity Q39
relation P495
[ANSWER]
['Q16724838', 'P495', 'Q39']
ASK WHERE { resource:Q39 property:P495 resource:Q16724838 }
No
action is_in
entity Night
action find
entity Switzerland
relation country of origin
['Night', 'country of origin', 'Switzerland']
ASK WHERE { resource:Switzerland property:country_of_origin resource:Night }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1308600 Q249345 Q3165291
P161
Q502895
USER
Does A Holiday with Piroschka have Teri Tordai and Jean-Daniel Bouvard as actor ?
(Q1308600,P161,Q249345) (Q1308600,P161,Q3165291)
action is_in
entity Q1308600
action intersection
action find_reverse
entity Q249345
relation P161
action find_reverse
entity Q3165291
relation P161
['Q1308600', 'P161', 'Q249345'] ['Q1308600', 'P161', 'Q3165291']
ASK WHERE { resource:Q1308600 property:P161 resource:Q249345 . resource:Q1308600 property:P161 resource:Q3165291 }
A Holiday with Piroschka Teri Tordai Jean-Daniel Bouvard
action is_in
entity A Holiday with Piroschka
action intersection
action find_reverse
entity Teri Tordai
relation cast member
action find_reverse
entity Jean-Daniel Bouvard
relation cast member
['A Holiday with Piroschka', 'cast member', 'Teri Tordai'] ['A Holiday with Piroschka', 'cast member', 'Jean-Daniel Bouvard']
ASK WHERE { resource:A_Holiday_with_Piroschka property:cast_member resource:Teri_Tordai . resource:A_Holiday_with_Piroschka property:cast_member resource:Jean-Daniel_Bouvard }
[]
common name
SYSTEM
YES and NO respectively
(Q1308600,P161,Q249345) (Q1308600,P161,Q3165291)
action is_in
entity Q1308600
action intersection
action find_reverse
entity Q249345
relation P161
action find_reverse
entity Q3165291
relation P161
[ANSWER]
['Q1308600', 'P161', 'Q249345'] ['Q1308600', 'P161', 'Q3165291']
ASK WHERE { resource:Q1308600 property:P161 resource:Q249345 . resource:Q1308600 property:P161 resource:Q3165291 }
YES and NO respectively
action is_in
entity A Holiday with Piroschka
action intersection
action find_reverse
entity Teri Tordai
relation cast member
action find_reverse
entity Jean-Daniel Bouvard
relation cast member
['A Holiday with Piroschka', 'cast member', 'Teri Tordai'] ['A Holiday with Piroschka', 'cast member', 'Jean-Daniel Bouvard']
ASK WHERE { resource:A_Holiday_with_Piroschka property:cast_member resource:Teri_Tordai . resource:A_Holiday_with_Piroschka property:cast_member resource:Jean-Daniel_Bouvard }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q89283
P509
Q12136
USER
How many diseases were the causes of death of Franz Josef Gottlieb ?
(Q89283,P509,c(Q12136))
action count
action filter_type
action find
entity Q89283
relation P509
type Q12136
['Q89283', 'P509', {'concept': 'Q12136'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { resource:Q89283 property:P509 ?a . ?a rdf:type ontology:Q12136 }
Franz Josef Gottlieb
action count
action filter_type
action find
entity Franz Josef Gottlieb
relation cause of death
type disease
['Franz Josef Gottlieb', 'cause of death', {'concept': 'disease'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { resource:Franz_Josef_Gottlieb property:cause_of_death ?a . ?a rdf:type ontology:disease }
[]
disease
SYSTEM
1
Q12078
(Q89283,P509,c(Q12136))
action count
action filter_type
action find
entity Q89283
relation P509
type Q12136
[ANSWER]
['Q89283', 'P509', {'concept': 'Q12136'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { resource:Q89283 property:P509 ?a . ?a rdf:type ontology:Q12136 }
cancer
1
action count
action filter_type
action find
entity Franz Josef Gottlieb
relation cause of death
type disease
['Franz Josef Gottlieb', 'cause of death', {'concept': 'disease'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { resource:Franz_Josef_Gottlieb property:cause_of_death ?a . ?a rdf:type ontology:disease }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q3190830
P509
Q12136
USER
And also tell me about Jérôme Brézillon?
(Q3190830,P509,c(Q12136))
action count
action filter_type
action find
entity Q3190830
relation P509
type Q12136
['Q3190830', 'P509', {'concept': 'Q12136'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { resource:Q3190830 property:P509 ?l . ?l rdf:type ontology:Q12136 }
Jérôme Brézillon
action count
action filter_type
action find
entity Jérôme Brézillon
relation cause of death
type disease
['Jérôme Brézillon', 'cause of death', {'concept': 'disease'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { resource:Jérôme_Brézillon property:cause_of_death ?l . ?l rdf:type ontology:disease }
[]
disease
SYSTEM
1
Q12078
(Q3190830,P509,c(Q12136))
action count
action filter_type
action find
entity Q3190830
relation P509
type Q12136
[ANSWER]
['Q3190830', 'P509', {'concept': 'Q12136'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { resource:Q3190830 property:P509 ?l . ?l rdf:type ontology:Q12136 }
cancer
1
action count
action filter_type
action find
entity Jérôme Brézillon
relation cause of death
type disease
['Jérôme Brézillon', 'cause of death', {'concept': 'disease'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { resource:Jérôme_Brézillon property:cause_of_death ?l . ?l rdf:type ontology:disease }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q7253041
Q12136
USER
And also tell me about Prunella Clough?
(Q7253041,P509,c(Q12136))
action count
action filter_type
action find
entity Q7253041
relation P509
type Q12136
['Q7253041', 'P509', {'concept': 'Q12136'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { resource:Q7253041 property:P509 ?c . ?c rdf:type ontology:Q12136 }
Prunella Clough
action count
action filter_type
action find
entity Prunella Clough
relation cause of death
type disease
['Prunella Clough', 'cause of death', {'concept': 'disease'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { resource:Prunella_Clough property:cause_of_death ?c . ?c rdf:type ontology:disease }
[]
disease
SYSTEM
1
(Q7253041,P509,c(Q12136))
action count
action filter_type
action find
entity Q7253041
relation P509
type Q12136
[ANSWER]
['Q7253041', 'P509', {'concept': 'Q12136'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { resource:Q7253041 property:P509 ?c . ?c rdf:type ontology:Q12136 }
1
action count
action filter_type
action find
entity Prunella Clough
relation cause of death
type disease
['Prunella Clough', 'cause of death', {'concept': 'disease'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { resource:Prunella_Clough property:cause_of_death ?c . ?c rdf:type ontology:disease }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q414
P530
Q15617994 Q15617994
USER
How many administrative territories have diplomatic associations with approximately the same number of administrative territories as Argentina ?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q414
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?a ) WHERE { ?j property:P530 ?d . ?j rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { resource:Q414 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?a = ?s ) }
Argentina
action count
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 Argentina
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 ( COUNT ( ?j ) AS ?p ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?a ) WHERE { ?j property:diplomatic_relation ?d . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { resource:Argentina property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?a = ?s ) }
[]
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(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q414
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?a ) WHERE { ?j property:P530 ?d . ?j rdf:type ontology:Q15617994 . ?d rdf:type ontology:Q15617994 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { resource:Q414 property:P530 ?x . ?x rdf:type ontology:Q15617994 } } . FILTER ( ?a = ?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 Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
149
action count
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 Argentina
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 ( COUNT ( ?j ) AS ?p ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?a ) WHERE { ?j property:diplomatic_relation ?d . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?x ) AS ?s ) WHERE { resource:Argentina property:diplomatic_relation ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?a = ?s ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q774
P530
Q15617994 Q15617994
USER
And what about Guatemala?
(c(Q15617994),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q774
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { resource:Q774 property:P530 ?i . ?i rdf:type ontology:Q15617994 } } . FILTER ( ?c = ?e ) . { SELECT DISTINCT ?h ( COUNT ( ?y ) AS ?c ) WHERE { ?h property:P530 ?y . ?h rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } GROUP BY ?h } }
Guatemala
action count
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 Guatemala
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 ( COUNT ( ?h ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { resource:Guatemala property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?c = ?e ) . { SELECT DISTINCT ?h ( COUNT ( ?y ) AS ?c ) WHERE { ?h property:diplomatic_relation ?y . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
147
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 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 count
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q774
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { resource:Q774 property:P530 ?i . ?i rdf:type ontology:Q15617994 } } . FILTER ( ?c = ?e ) . { SELECT DISTINCT ?h ( COUNT ( ?y ) AS ?c ) WHERE { ?h property:P530 ?y . ?h rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q15617994 } GROUP BY ?h } }
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 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
147
action count
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 Guatemala
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 ( COUNT ( ?h ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?e ) WHERE { resource:Guatemala property:diplomatic_relation ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity } } . FILTER ( ?c = ?e ) . { SELECT DISTINCT ?h ( COUNT ( ?y ) AS ?c ) WHERE { ?h property:diplomatic_relation ?y . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?h } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q39
P610
Q14524493
USER
Which is the highest peak of Switzerland ?
(Q39,P610,c(Q14524493))
action filter_type
action find
entity Q39
relation P610
type Q14524493
['Q39', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q14524493 . resource:Q39 property:P610 ?h }
Switzerland
action filter_type
action find
entity Switzerland
relation highest point
type terrain
['Switzerland', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:terrain . resource:Switzerland property:highest_point ?h }
[]
terrain
Q3403
SYSTEM
Dufourspitze
Q3403
(Q39,P610,c(Q14524493))
action filter_type
action find
entity Q39
relation P610
type Q14524493
The highest peak of Switzerland is the [ANSWER]
['Q39', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q14524493 . resource:Q39 property:P610 ?h }
Dufourspitze
The highest peak of Switzerland is the Dufourspitze
Dufourspitze
action filter_type
action find
entity Switzerland
relation highest point
type terrain
['Switzerland', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:terrain . resource:Switzerland property:highest_point ?h }
[]