Simple Question (Direct)
Simple Question
Q3054678
P27
Q15617994
USER
Which administrative territory does Enrique Jara Saguier belong to ?
(Q3054678,P27,c(Q15617994))
action filter_type
action find
entity Q3054678
relation P27
type Q15617994
['Q3054678', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . resource:Q3054678 property:P27 ?l }
Enrique Jara Saguier
action filter_type
action find
entity Enrique Jara Saguier
relation country of citizenship
type designation for an administrative territorial entity
['Enrique Jara Saguier', '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:Enrique_Jara_Saguier property:country_of_citizenship ?l }
[]
designation for an administrative territorial entity
Q733
SYSTEM
Paraguay
Q733
(Q3054678,P27,c(Q15617994))
action filter_type
action find
entity Q3054678
relation P27
type Q15617994
Enrique Jara Saguier belongs to [ANSWER]
['Q3054678', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q15617994 . resource:Q3054678 property:P27 ?l }
Paraguay
Enrique Jara Saguier belongs to Paraguay
Paraguay
action filter_type
action find
entity Enrique Jara Saguier
relation country of citizenship
type designation for an administrative territorial entity
['Enrique Jara Saguier', '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:Enrique_Jara_Saguier property:country_of_citizenship ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3054678
P54
Q1194951
USER
What is that person a member of ?
(Q733,P54,c(Q1194951))
action filter_type
action find
entity Q3054678
relation P54
type Q1194951
['Q733', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q1194951 . resource:Q3054678 property:P54 ?h }
Enrique Jara Saguier
action filter_type
action find
entity Enrique Jara Saguier
relation member of sports team
type national sports team
['Paraguay', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:national_sports_team . resource:Enrique_Jara_Saguier property:member_of_sports_team ?h }
[]
national sports team
Q172020
SYSTEM
Paraguay national football team
Q172020
(Q733,P54,c(Q1194951))
action filter_type
action find
entity Q3054678
relation P54
type Q1194951
That person a member of is the [ANSWER]
['Q733', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q1194951 . resource:Q3054678 property:P54 ?h }
Paraguay national football team
That person a member of is the Paraguay national football team
Paraguay national football team
action filter_type
action find
entity Enrique Jara Saguier
relation member of sports team
type national sports team
['Paraguay', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:national_sports_team . resource:Enrique_Jara_Saguier property:member_of_sports_team ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3054678
P641
Q349
USER
Which sport was Enrique Jara Saguier a part of ?
(Q3054678,P641,c(Q349))
action filter_type
action find
entity Q3054678
relation P641
type Q349
['Q3054678', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { resource:Q3054678 property:P641 ?a . ?a rdf:type ontology:Q349 }
Enrique Jara Saguier
action filter_type
action find
entity Enrique Jara Saguier
relation sport
type sport
['Enrique Jara Saguier', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { resource:Enrique_Jara_Saguier property:sport ?a . ?a rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3054678,P641,c(Q349))
action filter_type
action find
entity Q3054678
relation P641
type Q349
The [ANSWER] was Enrique Jara Saguier a part of
['Q3054678', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?a WHERE { resource:Q3054678 property:P641 ?a . ?a rdf:type ontology:Q349 }
association football
The association football was Enrique Jara Saguier a part of
association football
action filter_type
action find
entity Enrique Jara Saguier
relation sport
type sport
['Enrique Jara Saguier', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?a WHERE { resource:Enrique_Jara_Saguier property:sport ?a . ?a rdf:type ontology:sport }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q781
P530
Q1048835 Q15617994
USER
Which political territories have diplomatic relationships with greater number of administrative territories than Antigua and Barbuda ?
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q781
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?z ) WHERE { ?e property:P530 ?w . ?w rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q1048835 } GROUP BY ?e } . FILTER ( ?z > ?o ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { resource:Q781 property:P530 ?h . ?h rdf:type ontology:Q15617994 } } }
Antigua and Barbuda
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Antigua and Barbuda
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?z ) WHERE { ?e property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:political_territorial_entity } GROUP BY ?e } . FILTER ( ?z > ?o ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { resource:Antigua_and_Barbuda property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408 Q35
SYSTEM
Germany, Australia, Denmark
Q40 Q183 Q408 Q35 Q16 Q664 Q766
(c(Q15617994),P530,c(Q1048835))
action greater
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
action count
action filter_type
action find
entity Q781
relation P530
type Q15617994
[ANSWERS] have diplomatic relationships with greater number of administrative territories than Antigua and Barbuda
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?z ) WHERE { ?e property:P530 ?w . ?w rdf:type ontology:Q15617994 . ?e rdf:type ontology:Q1048835 } GROUP BY ?e } . FILTER ( ?z > ?o ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { resource:Q781 property:P530 ?h . ?h rdf:type ontology:Q15617994 } } }
Austria Germany Australia Denmark Canada New Zealand Jamaica
Germany, Australia and Denmark have diplomatic relationships with greater number of administrative territories than Antigua and Barbuda
Germany Australia Denmark
action greater
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Antigua and Barbuda
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?w ) AS ?z ) WHERE { ?e property:diplomatic_relation ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity . ?e rdf:type ontology:political_territorial_entity } GROUP BY ?e } . FILTER ( ?z > ?o ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?o ) WHERE { resource:Antigua_and_Barbuda property:diplomatic_relation ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q230
P530
Q15617994
USER
Are Georgia known to have diplomatic connections with those political territories ?
(Q230,P530,Q183) (Q230,P530,Q408) (Q230,P530,Q35)
action is_in
entity prev_answer
action find
entity Q230
relation P530
['Q230', 'P530', 'Q183'] ['Q230', 'P530', 'Q408'] ['Q230', 'P530', 'Q35']
ASK WHERE { resource:Q230 property:P530 ?l . VALUES ( ?l ) { ( resource:Q40 ) ( resource:Q183 ) ( resource:Q408 ) } }
Georgia
action is_in
entity prev_answer
action find
entity Georgia
relation diplomatic relation
['Georgia', 'diplomatic relation', 'Germany'] ['Georgia', 'diplomatic relation', 'Australia'] ['Georgia', 'diplomatic relation', 'Denmark']
ASK WHERE { resource:Georgia property:diplomatic_relation ?l . VALUES ( ?l ) { ( resource:Austria ) ( resource:Germany ) ( resource:Australia ) } }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q230,P530,Q183) (Q230,P530,Q408) (Q230,P530,Q35)
action is_in
entity prev_answer
action find
entity Q230
relation P530
[ANSWER]
['Q230', 'P530', 'Q183'] ['Q230', 'P530', 'Q408'] ['Q230', 'P530', 'Q35']
ASK WHERE { resource:Q230 property:P530 ?l . VALUES ( ?l ) { ( resource:Q40 ) ( resource:Q183 ) ( resource:Q408 ) } }
Yes
action is_in
entity prev_answer
action find
entity Georgia
relation diplomatic relation
['Georgia', 'diplomatic relation', 'Germany'] ['Georgia', 'diplomatic relation', 'Australia'] ['Georgia', 'diplomatic relation', 'Denmark']
ASK WHERE { resource:Georgia property:diplomatic_relation ?l . VALUES ( ?l ) { ( resource:Austria ) ( resource:Germany ) ( resource:Australia ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q183
P530
Q15617994
USER
How many administrative territories holds diplomatic relationship with Germany ?
(Q183,P530,c(Q15617994))
action count
action filter_type
action find
entity Q183
relation P530
type Q15617994
['Q183', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { resource:Q183 property:P530 ?e . ?e rdf:type ontology:Q15617994 }
Germany
action count
action filter_type
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { resource:Germany property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
124
Q804 Q801 Q800 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q265 Q833 Q711 Q717 Q252 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q739 Q241 Q242 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q929 Q39 Q38 Q986 Q423 Q983 Q851 Q733 Q734 Q736 Q730 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q29 Q1049 Q189 Q843 Q184 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q1008 Q1032 Q1033 Q1030 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q750 Q212 Q213 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q1009 Q974 Q971 Q79 Q77 Q878 Q774 Q948 Q810 Q1019 Q1016 Q1011 Q945 Q869 Q953
(Q183,P530,c(Q15617994))
action count
action filter_type
action find
entity Q183
relation P530
type Q15617994
[ANSWER]
['Q183', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { resource:Q183 property:P530 ?e . ?e rdf:type ontology:Q15617994 }
Panama Israel Costa Rica Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Malaysia Mongolia Venezuela Indonesia Serbia Chad South Africa Portugal Russia Turkey Greece Brazil Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Colombia Cuba Belize Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Central African Republic Switzerland Italy Eritrea North Korea Equatorial Guinea Saudi Arabia Paraguay Guyana Ecuador Suriname Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Spain Sudan Iceland Pakistan Belarus Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Côte d'Ivoire Niger Nigeria Namibia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Bolivia Ukraine Czech Republic Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Cameroon Democratic Republic of the Congo Republic of the Congo Egypt Uruguay United Arab Emirates Guatemala Tunisia Jordan Madagascar Libya Cape Verde Togo Thailand Zambia
124
action count
action filter_type
action find
entity Germany
relation diplomatic relation
type designation for an administrative territorial entity
['Germany', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?t ) WHERE { resource:Germany property:diplomatic_relation ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q218
Q15617994
USER
And what about Romania?
(Q218,P530,c(Q15617994))
action count
action filter_type
action find
entity Q218
relation P530
type Q15617994
['Q218', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { resource:Q218 property:P530 ?f . ?f rdf:type ontology:Q15617994 }
Romania
action count
action filter_type
action find
entity Romania
relation diplomatic relation
type designation for an administrative territorial entity
['Romania', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { resource:Romania property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
3
(Q218,P530,c(Q15617994))
action count
action filter_type
action find
entity Q218
relation P530
type Q15617994
[ANSWER]
['Q218', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { resource:Q218 property:P530 ?f . ?f rdf:type ontology:Q15617994 }
3
action count
action filter_type
action find
entity Romania
relation diplomatic relation
type designation for an administrative territorial entity
['Romania', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?n ) WHERE { resource:Romania property:diplomatic_relation ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q218
P183
Q16521
USER
Which taxon belongs to that administrative territory ?
action filter_type
action find_reverse
entity Q218
relation P183
type Q16521
SELECT DISTINCT ?p WHERE { ?p property:P183 resource:Q218 . ?p rdf:type ontology:Q16521 }
Romania
action filter_type
action find_reverse
entity Romania
relation endemic to
type taxon
SELECT DISTINCT ?p WHERE { ?p property:endemic_to resource:Romania . ?p rdf:type ontology:taxon }
[]
taxon
Q2557264
SYSTEM
Nesticus orghidani
Q2557264
action filter_type
action find_reverse
entity Q218
relation P183
type Q16521
[ANSWER] belongs to that administrative territory
SELECT DISTINCT ?p WHERE { ?p property:P183 resource:Q218 . ?p rdf:type ontology:Q16521 }
Nesticus orghidani
Nesticus orghidani belongs to that administrative territory
Nesticus orghidani
action filter_type
action find_reverse
entity Romania
relation endemic to
type taxon
SELECT DISTINCT ?p WHERE { ?p property:endemic_to resource:Romania . ?p rdf:type ontology:taxon }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P85
Q484692 Q7725634 Q1048835
USER
Which political territories have an anthem named max number of hymns and literary works ?
(c(Q1048835),P85,c(Q484692)|c(Q7725634))
action argmax
action union
action find_tuple_counts
relation P85
type Q1048835
type Q484692
action find_tuple_counts
relation P85
type Q1048835
type Q7725634
[{'concept': 'Q1048835'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?h ) { SELECT DISTINCT ?v ( COUNT ( ?f ) AS ?j ) WHERE { { ?v property:P85 ?f . ?v rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q7725634 } UNION { ?v property:P85 ?f . ?f rdf:type ontology:Q484692 . ?v rdf:type ontology:Q1048835 } } GROUP BY ?v } } . { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?q ) WHERE { { ?n property:P85 ?c . ?n rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q484692 } UNION { ?n rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q7725634 . ?n property:P85 ?c } } GROUP BY ?n } . FILTER ( ?q = ?h ) }
action argmax
action union
action find_tuple_counts
relation anthem
type political territorial entity
type hymn
action find_tuple_counts
relation anthem
type political territorial entity
type literary work
[{'concept': 'political territorial entity'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?h ) { SELECT DISTINCT ?v ( COUNT ( ?f ) AS ?j ) WHERE { { ?v property:anthem ?f . ?v rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:literary_work } UNION { ?v property:anthem ?f . ?f rdf:type ontology:hymn . ?v rdf:type ontology:political_territorial_entity } } GROUP BY ?v } } . { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?q ) WHERE { { ?n property:anthem ?c . ?n rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:hymn } UNION { ?n rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:literary_work . ?n property:anthem ?c } } GROUP BY ?n } . FILTER ( ?q = ?h ) }
[]
hymn literary work political territorial entity
Q408 Q35 Q769
SYSTEM
Australia, Denmark, Grenada
Q769 Q766 Q781 Q35 Q408
(c(Q1048835),P85,c(Q484692)|c(Q7725634))
action argmax
action union
action find_tuple_counts
relation P85
type Q1048835
type Q484692
action find_tuple_counts
relation P85
type Q1048835
type Q7725634
[ANSWERS] have an anthem named max number of hymns and literary works
[{'concept': 'Q1048835'}, 'P85', [{'concept': 'Q484692'}, {'concept': 'Q7725634'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?h ) { SELECT DISTINCT ?v ( COUNT ( ?f ) AS ?j ) WHERE { { ?v property:P85 ?f . ?v rdf:type ontology:Q1048835 . ?f rdf:type ontology:Q7725634 } UNION { ?v property:P85 ?f . ?f rdf:type ontology:Q484692 . ?v rdf:type ontology:Q1048835 } } GROUP BY ?v } } . { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?q ) WHERE { { ?n property:P85 ?c . ?n rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q484692 } UNION { ?n rdf:type ontology:Q1048835 . ?c rdf:type ontology:Q7725634 . ?n property:P85 ?c } } GROUP BY ?n } . FILTER ( ?q = ?h ) }
Grenada Jamaica Antigua and Barbuda Denmark Australia
Australia, Denmark and Grenada have an anthem named max number of hymns and literary works
Australia Denmark Grenada
action argmax
action union
action find_tuple_counts
relation anthem
type political territorial entity
type hymn
action find_tuple_counts
relation anthem
type political territorial entity
type literary work
[{'concept': 'political territorial entity'}, 'anthem', [{'concept': 'hymn'}, {'concept': 'literary work'}]]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ( MAX ( ?j ) AS ?h ) { SELECT DISTINCT ?v ( COUNT ( ?f ) AS ?j ) WHERE { { ?v property:anthem ?f . ?v rdf:type ontology:political_territorial_entity . ?f rdf:type ontology:literary_work } UNION { ?v property:anthem ?f . ?f rdf:type ontology:hymn . ?v rdf:type ontology:political_territorial_entity } } GROUP BY ?v } } . { SELECT DISTINCT ?n ( COUNT ( ?c ) AS ?q ) WHERE { { ?n property:anthem ?c . ?n rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:hymn } UNION { ?n rdf:type ontology:political_territorial_entity . ?c rdf:type ontology:literary_work . ?n property:anthem ?c } } GROUP BY ?n } . FILTER ( ?q = ?h ) }
[]