Simple Question (Direct)
Simple Question
Q1583977
P641
Q349
USER
What did Scott Neville participate in ?
(Q1583977,P641,c(Q349))
action filter_type
action find
entity Q1583977
relation P641
type Q349
['Q1583977', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { resource:Q1583977 property:P641 ?l . ?l rdf:type ontology:Q349 }
Scott Neville
action filter_type
action find
entity Scott Neville
relation sport
type sport
['Scott Neville', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { resource:Scott_Neville property:sport ?l . ?l rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1583977,P641,c(Q349))
action filter_type
action find
entity Q1583977
relation P641
type Q349
Scott Neville participated in [ANSWER]
['Q1583977', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { resource:Q1583977 property:P641 ?l . ?l rdf:type ontology:Q349 }
association football
Scott Neville participated in association football
association football
action filter_type
action find
entity Scott Neville
relation sport
type sport
['Scott Neville', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { resource:Scott_Neville property:sport ?l . ?l rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1583977
P27
Q1048835
USER
Which political territory does that person belong to ?
(Q2736,P27,c(Q1048835))
action filter_type
action find
entity Q1583977
relation P27
type Q1048835
['Q2736', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q1583977 property:P27 ?k . ?k rdf:type ontology:Q1048835 }
Scott Neville
action filter_type
action find
entity Scott Neville
relation country of citizenship
type political territorial entity
['association football', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Scott_Neville property:country_of_citizenship ?k . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
(Q2736,P27,c(Q1048835))
action filter_type
action find
entity Q1583977
relation P27
type Q1048835
That person belongs to an [ANSWER]
['Q2736', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q1583977 property:P27 ?k . ?k rdf:type ontology:Q1048835 }
Australia
That person belongs to an Australia
Australia
action filter_type
action find
entity Scott Neville
relation country of citizenship
type political territorial entity
['association football', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Scott_Neville property:country_of_citizenship ?k . ?k rdf:type ontology:political_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q408 Q36
P530
Q15617994
USER
Does Poland have diplomatic relationships with that political territory ?
(Q408,P530,Q36)
action is_in
entity Q36
action find
entity Q408
relation P530
['Q408', 'P530', 'Q36']
ASK WHERE { resource:Q408 property:P530 resource:Q36 }
Australia Poland
action is_in
entity Poland
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Poland']
ASK WHERE { resource:Australia property:diplomatic_relation resource:Poland }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q408,P530,Q36)
action is_in
entity Q36
action find
entity Q408
relation P530
[ANSWER]
['Q408', 'P530', 'Q36']
ASK WHERE { resource:Q408 property:P530 resource:Q36 }
Yes
action is_in
entity Poland
action find
entity Australia
relation diplomatic relation
['Australia', 'diplomatic relation', 'Poland']
ASK WHERE { resource:Australia property:diplomatic_relation resource:Poland }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19879936 Q408
P530 P27
Q15617994
USER
Which administrative territories have diplomatic relations with Australia or do Daniel Gallemore belong to ?
OR((Q408,P530,c(Q15617994)), (Q19879936,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q408
relation P530
action find
entity Q19879936
relation P27
type Q15617994
{'OR': [['Q408', 'P530', {'concept': 'Q15617994'}], ['Q19879936', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q408 property:P530 ?y } UNION { resource:Q19879936 property:P27 ?y } } . ?y rdf:type ontology:Q15617994 }
Daniel Gallemore Australia
action filter_type
action union
action find
entity Australia
relation diplomatic relation
action find
entity Daniel Gallemore
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Australia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Daniel Gallemore', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Australia property:diplomatic_relation ?y } UNION { resource:Daniel_Gallemore property:country_of_citizenship ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q774 Q686 Q801 Q424 Q878 Q27 Q1009 Q55 Q736 Q215
SYSTEM
Some of them are Guatemala, Vanuatu, Israel, Cambodia, United Arab Emirates, Ireland, Cameroon, Netherlands, Ecuador, Slovenia
Q702 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q148 Q783 Q786 Q924 Q712 Q711 Q836 Q837 Q252 Q403 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q796 Q794 Q954 Q889 Q884 Q881 Q822 Q244 Q33 Q921 Q31 Q30 Q37 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q424 Q851 Q733 Q854 Q734 Q736 Q233 Q20 Q1041 Q27 Q29 Q1027 Q1020 Q843 Q1029 Q225 Q224 Q221 Q96 Q229 Q17 Q902 Q1036 Q1033 Q1030 Q191 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q215 Q218 Q219 Q916 Q833 Q977 Q1009 Q683 Q686 Q574 Q79 Q77 Q878 Q774 Q817 Q810 Q811 Q819 Q678 Q33788 Q869 Q953
OR((Q408,P530,c(Q15617994)), (Q19879936,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q408
relation P530
action find
entity Q19879936
relation P27
type Q15617994
[ANSWERS] have diplomatic relations with Australia or do Daniel Gallemore belong to
{'OR': [['Q408', 'P530', {'concept': 'Q15617994'}], ['Q19879936', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q408 property:P530 ?y } UNION { resource:Q19879936 property:P27 ?y } } . ?y rdf:type ontology:Q15617994 }
Federated States of Micronesia Israel Costa Rica Peru India Argentina France Netherlands United Kingdom People's Republic of China Honduras Dominican Republic Tanzania Fiji Mongolia Myanmar Nepal Indonesia Serbia South Africa Portugal Russia Turkey Greece Brazil El Salvador Iraq Iran Zimbabwe Afghanistan South Korea Vietnam Lebanon Barbados Finland Brunei Belgium United States of America Lithuania Poland Sweden Philippines Switzerland Italy Colombia North Korea Cambodia Saudi Arabia Paraguay Sri Lanka Guyana Ecuador Malta Norway Senegal Ireland Spain Mauritius Malawi Pakistan Mozambique Bosnia and Herzegovina Croatia Republic of Macedonia Mexico Cyprus Japan Bangladesh Uganda Nigeria Namibia Estonia Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Slovenia Romania Bulgaria Angola Malaysia Djibouti Cameroon Samoa Vanuatu East Timor Egypt Uruguay United Arab Emirates Guatemala Kuwait Jordan Nicaragua Laos Tonga New Caledonia Thailand Zambia
Guatemala, Vanuatu, Israel, Cambodia, United Arab Emirates, Ireland, Cameroon, Netherlands, Ecuador and Slovenia have diplomatic relations with Australia or do Daniel Gallemore belong to
Guatemala Vanuatu Israel Cambodia United Arab Emirates Ireland Cameroon Netherlands Ecuador Slovenia
action filter_type
action union
action find
entity Australia
relation diplomatic relation
action find
entity Daniel Gallemore
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Australia', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}], ['Daniel Gallemore', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Australia property:diplomatic_relation ?y } UNION { resource:Daniel_Gallemore property:country_of_citizenship ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q801
P840
Q15416 Q838948
USER
How many television programs or works of art have their setting located at Israel ?
(c(Q15416),P840,Q801) (c(Q838948),P840,Q801)
action count
action union
action filter_type
action find_reverse
entity Q801
relation P840
type Q15416
action filter_type
action find_reverse
entity Q801
relation P840
type Q838948
[{'concept': 'Q15416'}, 'P840', 'Q801'] [{'concept': 'Q838948'}, 'P840', 'Q801']
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { ?z property:P840 resource:Q801 . ?z rdf:type ontology:Q15416 } UNION { ?z rdf:type ontology:Q838948 . ?z property:P840 resource:Q801 } }
Israel
action count
action union
action filter_type
action find_reverse
entity Israel
relation narrative location
type television program
action filter_type
action find_reverse
entity Israel
relation narrative location
type work of art
[{'concept': 'television program'}, 'narrative location', 'Israel'] [{'concept': 'work of art'}, 'narrative location', 'Israel']
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { ?z property:narrative_location resource:Israel . ?z rdf:type ontology:television_program } UNION { ?z rdf:type ontology:work_of_art . ?z property:narrative_location resource:Israel } }
[]
television program work of art
SYSTEM
3
Q1247320 Q926309 Q21264956
(c(Q15416),P840,Q801) (c(Q838948),P840,Q801)
action count
action union
action filter_type
action find_reverse
entity Q801
relation P840
type Q15416
action filter_type
action find_reverse
entity Q801
relation P840
type Q838948
[ANSWER]
[{'concept': 'Q15416'}, 'P840', 'Q801'] [{'concept': 'Q838948'}, 'P840', 'Q801']
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { ?z property:P840 resource:Q801 . ?z rdf:type ontology:Q15416 } UNION { ?z rdf:type ontology:Q838948 . ?z property:P840 resource:Q801 } }
Free Zone Brüno False Flag
3
action count
action union
action filter_type
action find_reverse
entity Israel
relation narrative location
type television program
action filter_type
action find_reverse
entity Israel
relation narrative location
type work of art
[{'concept': 'television program'}, 'narrative location', 'Israel'] [{'concept': 'work of art'}, 'narrative location', 'Israel']
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { ?z property:narrative_location resource:Israel . ?z rdf:type ontology:television_program } UNION { ?z rdf:type ontology:work_of_art . ?z property:narrative_location resource:Israel } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q801
P1532
Q1194951
USER
Who plays for that administrative territory ?
action filter_type
action find_reverse
entity Q801
relation P1532
type Q1194951
SELECT DISTINCT ?l WHERE { ?l property:P1532 resource:Q801 . ?l rdf:type ontology:Q1194951 }
Israel
action filter_type
action find_reverse
entity Israel
relation country for sport
type national sports team
SELECT DISTINCT ?l WHERE { ?l property:country_for_sport resource:Israel . ?l rdf:type ontology:national_sports_team }
[]
national sports team
Q191406
SYSTEM
Israel national football team
Q191406
action filter_type
action find_reverse
entity Q801
relation P1532
type Q1194951
[ANSWER] plays for that administrative territory
SELECT DISTINCT ?l WHERE { ?l property:P1532 resource:Q801 . ?l rdf:type ontology:Q1194951 }
Israel national football team
Israel national football team plays for that administrative territory
Israel national football team
action filter_type
action find_reverse
entity Israel
relation country for sport
type national sports team
SELECT DISTINCT ?l WHERE { ?l property:country_for_sport resource:Israel . ?l rdf:type ontology:national_sports_team }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q32
P122
Q4164871 Q1307214 Q15617994
USER
How many administrative territories have lesser number of positions or forms of government as government than Luxembourg ?
(c(Q15617994),P122,c(Q4164871)|c(Q1307214))
action count
action less
action union
action find_tuple_counts
relation P122
type Q15617994
type Q4164871
action find_tuple_counts
relation P122
type Q15617994
type Q1307214
action count
action filter_multi_types
action find
entity Q32
relation P122
type Q4164871
type Q1307214
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q4164871'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) ?a WHERE { VALUES ( ?x ) { ( ontology:Q1307214 ) ( ontology:Q4164871 ) } . ?i rdf:type ?x } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { resource:Q32 property:P122 ?n . { ?n rdf:type ?s . VALUES ( ?s ) { ( ontology:Q4164871 ) ( ontology:Q1307214 ) } } } } . FILTER ( ?o < ?k ) }
Luxembourg
action count
action less
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type position
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type form of government
action count
action filter_multi_types
action find
entity Luxembourg
relation basic form of government
type position
type form of government
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'position'}, {'concept': 'form of government'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) ?a WHERE { VALUES ( ?x ) { ( ontology:form_of_government ) ( ontology:position ) } . ?i rdf:type ?x } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { resource:Luxembourg property:basic_form_of_government ?n . { ?n rdf:type ?s . VALUES ( ?s ) { ( ontology:position ) ( ontology:form_of_government ) } } } } . FILTER ( ?o < ?k ) }
[]
position form of government designation for an administrative territorial entity
SYSTEM
85
Q702 Q804 Q801 Q805 Q419 Q668 Q414 Q142 Q145 Q265 Q1130767 Q833 Q711 Q717 Q837 Q541991 Q399 Q258 Q45 Q159 Q43 Q155 Q796 Q884 Q958 Q689837 Q315667 Q158290 Q153136 Q33 Q31 Q30 Q37 Q34 Q1133252 Q39 Q38 Q953 Q29999 Q153091 Q1130957 Q236 Q230 Q232 Q238 Q20 Q1045 Q27 Q28 Q29 Q189 Q843 Q184 Q876826 Q3462133 Q227 Q225 Q224 Q815731 Q96 Q228 Q17 Q1989 Q902 Q725731 Q1033 Q115 Q754 Q212 Q213 Q215 Q1483510 Q917 Q970 Q760 Q574 Q694594 Q1132344 Q77 Q878 Q948 Q811 Q1011 Q1013 Q1049
(c(Q15617994),P122,c(Q4164871)|c(Q1307214))
action count
action less
action union
action find_tuple_counts
relation P122
type Q15617994
type Q4164871
action find_tuple_counts
relation P122
type Q15617994
type Q1307214
action count
action filter_multi_types
action find
entity Q32
relation P122
type Q4164871
type Q1307214
[ANSWER]
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q4164871'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) ?a WHERE { VALUES ( ?x ) { ( ontology:Q1307214 ) ( ontology:Q4164871 ) } . ?i rdf:type ?x } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { resource:Q32 property:P122 ?n . { ?n rdf:type ?s . VALUES ( ?s ) { ( ontology:Q4164871 ) ( ontology:Q1307214 ) } } } } . FILTER ( ?o < ?k ) }
Federated States of Micronesia Panama Israel Yemen Peru India Argentina France United Kingdom Uzbekistan Bear Creek Village Malaysia Mongolia Venezuela Nepal Hummelfeld Armenia South Africa Portugal Russia Turkey Brazil Iraq South Korea South Sudan Spanish Sahara Saxe-Weimar Duchy of Lucca Habsburg Empire Finland Belgium United States of America Lithuania Sweden Conyngham Switzerland Italy Zambia Kingdom of the Netherlands Duchy of Prussia Courtdale Montenegro Georgia Kazakhstan San Marino Norway Somalia Ireland Hungary Spain Iceland Pakistan Belarus Ellwangen Abbey Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Principality of Bulgaria Mexico Andorra Japan Saskatchewan Bangladesh Ashley, Pennsylvania Nigeria Ethiopia Trinidad and Tobago Ukraine Czech Republic Slovenia Principality of Wales Bhutan Comoros Saint Lucia East Timor Bremen-Verden Avoca Uruguay United Arab Emirates Tunisia Nicaragua Cape Verde Lesotho Sudan
85
action count
action less
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type position
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type form of government
action count
action filter_multi_types
action find
entity Luxembourg
relation basic form of government
type position
type form of government
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'position'}, {'concept': 'form of government'}]]
SELECT DISTINCT ( COUNT ( ?a ) AS ?e ) WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) ?a WHERE { VALUES ( ?x ) { ( ontology:form_of_government ) ( ontology:position ) } . ?i rdf:type ?x } GROUP BY ?a } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?k ) WHERE { resource:Luxembourg property:basic_form_of_government ?n . { ?n rdf:type ?s . VALUES ( ?s ) { ( ontology:position ) ( ontology:form_of_government ) } } } } . FILTER ( ?o < ?k ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q280312
P122
Q4164871 Q1307214 Q15617994
USER
And also tell me about Principality of Lüneburg?
(c(Q15617994),P122,c(Q4164871)|c(Q1307214))
action count
action less
action union
action find_tuple_counts
relation P122
type Q15617994
type Q4164871
action find_tuple_counts
relation P122
type Q15617994
type Q1307214
action count
action filter_multi_types
action find
entity Q280312
relation P122
type Q4164871
type Q1307214
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q4164871'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?m ) WHERE { ?e rdf:type ?z . VALUES ( ?z ) { ( ontology:Q4164871 ) ( ontology:Q1307214 ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Q280312 property:P122 ?a . { { ?a rdf:type ontology:Q4164871 } UNION { ?a rdf:type ontology:Q1307214 } } } } . FILTER ( ?m < ?g ) }
Principality of Lüneburg
action count
action less
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type position
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type form of government
action count
action filter_multi_types
action find
entity Principality of Lüneburg
relation basic form of government
type position
type form of government
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'position'}, {'concept': 'form of government'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?m ) WHERE { ?e rdf:type ?z . VALUES ( ?z ) { ( ontology:position ) ( ontology:form_of_government ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Principality_of_Lüneburg property:basic_form_of_government ?a . { { ?a rdf:type ontology:position } UNION { ?a rdf:type ontology:form_of_government } } } } . FILTER ( ?m < ?g ) }
[]
position form of government designation for an administrative territorial entity
SYSTEM
85
Q702 Q804 Q801 Q805 Q419 Q668 Q414 Q142 Q145 Q265 Q1130767 Q833 Q711 Q717 Q837 Q541991 Q399 Q258 Q45 Q159 Q43 Q155 Q796 Q884 Q958 Q689837 Q315667 Q158290 Q153136 Q33 Q31 Q30 Q37 Q34 Q1133252 Q39 Q38 Q953 Q29999 Q153091 Q1130957 Q236 Q230 Q232 Q238 Q20 Q1045 Q27 Q28 Q29 Q189 Q843 Q184 Q876826 Q3462133 Q227 Q225 Q224 Q815731 Q96 Q228 Q17 Q1989 Q902 Q725731 Q1033 Q115 Q754 Q212 Q213 Q215 Q1483510 Q917 Q970 Q760 Q574 Q694594 Q1132344 Q77 Q878 Q948 Q811 Q1011 Q1013 Q1049
(c(Q15617994),P122,c(Q4164871)|c(Q1307214))
action count
action less
action union
action find_tuple_counts
relation P122
type Q15617994
type Q4164871
action find_tuple_counts
relation P122
type Q15617994
type Q1307214
action count
action filter_multi_types
action find
entity Q280312
relation P122
type Q4164871
type Q1307214
[ANSWER]
[{'concept': 'Q15617994'}, 'P122', [{'concept': 'Q4164871'}, {'concept': 'Q1307214'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?m ) WHERE { ?e rdf:type ?z . VALUES ( ?z ) { ( ontology:Q4164871 ) ( ontology:Q1307214 ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Q280312 property:P122 ?a . { { ?a rdf:type ontology:Q4164871 } UNION { ?a rdf:type ontology:Q1307214 } } } } . FILTER ( ?m < ?g ) }
Federated States of Micronesia Panama Israel Yemen Peru India Argentina France United Kingdom Uzbekistan Bear Creek Village Malaysia Mongolia Venezuela Nepal Hummelfeld Armenia South Africa Portugal Russia Turkey Brazil Iraq South Korea South Sudan Spanish Sahara Saxe-Weimar Duchy of Lucca Habsburg Empire Finland Belgium United States of America Lithuania Sweden Conyngham Switzerland Italy Zambia Kingdom of the Netherlands Duchy of Prussia Courtdale Montenegro Georgia Kazakhstan San Marino Norway Somalia Ireland Hungary Spain Iceland Pakistan Belarus Ellwangen Abbey Saxe-Coburg and Gotha Azerbaijan Bosnia and Herzegovina Croatia Principality of Bulgaria Mexico Andorra Japan Saskatchewan Bangladesh Ashley, Pennsylvania Nigeria Ethiopia Trinidad and Tobago Ukraine Czech Republic Slovenia Principality of Wales Bhutan Comoros Saint Lucia East Timor Bremen-Verden Avoca Uruguay United Arab Emirates Tunisia Nicaragua Cape Verde Lesotho Sudan
85
action count
action less
action union
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type position
action find_tuple_counts
relation basic form of government
type designation for an administrative territorial entity
type form of government
action count
action filter_multi_types
action find
entity Principality of Lüneburg
relation basic form of government
type position
type form of government
[{'concept': 'designation for an administrative territorial entity'}, 'basic form of government', [{'concept': 'position'}, {'concept': 'form of government'}]]
SELECT DISTINCT ( COUNT ( ?j ) AS ?p ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?e ) AS ?m ) WHERE { ?e rdf:type ?z . VALUES ( ?z ) { ( ontology:position ) ( ontology:form_of_government ) } } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?g ) WHERE { resource:Principality_of_Lüneburg property:basic_form_of_government ?a . { { ?a rdf:type ontology:position } UNION { ?a rdf:type ontology:form_of_government } } } } . FILTER ( ?m < ?g ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q801
P921
Q223393
USER
Which literary genre was primarily based on Israel ?
(c(Q223393),P921,Q801)
action filter_type
action find_reverse
entity Q801
relation P921
type Q223393
[{'concept': 'Q223393'}, 'P921', 'Q801']
SELECT DISTINCT ?f WHERE { ?f property:P921 resource:Q801 . ?f rdf:type ontology:Q223393 }
Israel
action filter_type
action find_reverse
entity Israel
relation main subject
type literary genre
[{'concept': 'literary genre'}, 'main subject', 'Israel']
SELECT DISTINCT ?f WHERE { ?f property:main_subject resource:Israel . ?f rdf:type ontology:literary_genre }
[]
literary genre
Q6754938
SYSTEM
מדריך ארץ ישראל
Q6754938
(c(Q223393),P921,Q801)
action filter_type
action find_reverse
entity Q801
relation P921
type Q223393
[ANSWER] was primarily based on Israel
[{'concept': 'Q223393'}, 'P921', 'Q801']
SELECT DISTINCT ?f WHERE { ?f property:P921 resource:Q801 . ?f rdf:type ontology:Q223393 }
מדריך ארץ ישראל
מדריך ארץ ישראל was primarily based on Israel
מדריך ארץ ישראל
action filter_type
action find_reverse
entity Israel
relation main subject
type literary genre
[{'concept': 'literary genre'}, 'main subject', 'Israel']
SELECT DISTINCT ?f WHERE { ?f property:main_subject resource:Israel . ?f rdf:type ontology:literary_genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q801
P610
Q14524493
USER
Which is the highest point of that administrative territory ?
(Q6754938,P610,c(Q14524493))
action filter_type
action find
entity Q801
relation P610
type Q14524493
['Q6754938', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?r WHERE { resource:Q801 property:P610 ?r . ?r rdf:type ontology:Q14524493 }
Israel
action filter_type
action find
entity Israel
relation highest point
type terrain
['מדריך ארץ ישראל', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?r WHERE { resource:Israel property:highest_point ?r . ?r rdf:type ontology:terrain }
[]
terrain
Q215471
SYSTEM
Mount Hermon
Q215471
(Q6754938,P610,c(Q14524493))
action filter_type
action find
entity Q801
relation P610
type Q14524493
The highest point of that administrative territory is the [ANSWER]
['Q6754938', 'P610', {'concept': 'Q14524493'}]
SELECT DISTINCT ?r WHERE { resource:Q801 property:P610 ?r . ?r rdf:type ontology:Q14524493 }
Mount Hermon
The highest point of that administrative territory is the Mount Hermon
Mount Hermon
action filter_type
action find
entity Israel
relation highest point
type terrain
['מדריך ארץ ישראל', 'highest point', {'concept': 'terrain'}]
SELECT DISTINCT ?r WHERE { resource:Israel property:highest_point ?r . ?r rdf:type ontology:terrain }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q3367142
P3173
Q14524493 Q811979
USER
How many architectural structures have views of greater number of terrains than Pas de Bellecombe ?
(c(Q811979),P3173,c(Q14524493))
action count
action greater
action find_tuple_counts
relation P3173
type Q811979
type Q14524493
action count
action filter_type
action find
entity Q3367142
relation P3173
type Q811979
[{'concept': 'Q811979'}, 'P3173', {'concept': 'Q14524493'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?e ) AS ?w ) WHERE { ?i rdf:type ontology:Q811979 . ?e rdf:type ontology:Q14524493 . ?i property:P3173 ?e } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { resource:Q3367142 property:P3173 ?c . ?c rdf:type ontology:Q811979 } } . FILTER ( ?w > ?s ) }
Pas de Bellecombe
action count
action greater
action find_tuple_counts
relation offers view on
type architectural structure
type terrain
action count
action filter_type
action find
entity Pas de Bellecombe
relation offers view on
type architectural structure
[{'concept': 'architectural structure'}, 'offers view on', {'concept': 'terrain'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?e ) AS ?w ) WHERE { ?i rdf:type ontology:architectural_structure . ?e rdf:type ontology:terrain . ?i property:offers_view_on ?e } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { resource:Pas_de_Bellecombe property:offers_view_on ?c . ?c rdf:type ontology:architectural_structure } } . FILTER ( ?w > ?s ) }
[]
terrain architectural structure
SYSTEM
3
Q3108318 Q7088437 Q2433474
(c(Q811979),P3173,c(Q14524493))
action count
action greater
action find_tuple_counts
relation P3173
type Q811979
type Q14524493
action count
action filter_type
action find
entity Q3367142
relation P3173
type Q811979
[ANSWER]
[{'concept': 'Q811979'}, 'P3173', {'concept': 'Q14524493'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?e ) AS ?w ) WHERE { ?i rdf:type ontology:Q811979 . ?e rdf:type ontology:Q14524493 . ?i property:P3173 ?e } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { resource:Q3367142 property:P3173 ?c . ?c rdf:type ontology:Q811979 } } . FILTER ( ?w > ?s ) }
Glacier Point Olmsted Point Tunnel View
3
action count
action greater
action find_tuple_counts
relation offers view on
type architectural structure
type terrain
action count
action filter_type
action find
entity Pas de Bellecombe
relation offers view on
type architectural structure
[{'concept': 'architectural structure'}, 'offers view on', {'concept': 'terrain'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?e ) AS ?w ) WHERE { ?i rdf:type ontology:architectural_structure . ?e rdf:type ontology:terrain . ?i property:offers_view_on ?e } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?s ) WHERE { resource:Pas_de_Bellecombe property:offers_view_on ?c . ?c rdf:type ontology:architectural_structure } } . FILTER ( ?w > ?s ) }
[]