Simple Question (Direct)
Simple Question
Q18176755
P734
Q82799
USER
Who has the surname Corinna Herold ?
(Q18176755,P734,c(Q82799))
action filter_type
action find
entity Q18176755
relation P734
type Q82799
['Q18176755', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q82799 . resource:Q18176755 property:P734 ?t }
Corinna Herold
action filter_type
action find
entity Corinna Herold
relation family name
type name
['Corinna Herold', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:name . resource:Corinna_Herold property:family_name ?t }
[]
name
Q16870734
SYSTEM
Herold
Q16870734
(Q18176755,P734,c(Q82799))
action filter_type
action find
entity Q18176755
relation P734
type Q82799
[ANSWER] has the surname Corinna [ANSWER]
['Q18176755', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q82799 . resource:Q18176755 property:P734 ?t }
Herold
Herold has the surname Corinna Herold
Herold
action filter_type
action find
entity Corinna Herold
relation family name
type name
['Corinna Herold', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:name . resource:Corinna_Herold property:family_name ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18176755
P937
Q56061
USER
What is the work location of Corinna Herold ?
(Q18176755,P937,c(Q56061))
action filter_type
action find
entity Q18176755
relation P937
type Q56061
['Q18176755', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . resource:Q18176755 property:P937 ?l }
Corinna Herold
action filter_type
action find
entity Corinna Herold
relation work location
type administrative territorial entity
['Corinna Herold', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:Corinna_Herold property:work_location ?l }
[]
administrative territorial entity
Q1729
SYSTEM
Erfurt
Q1729
(Q18176755,P937,c(Q56061))
action filter_type
action find
entity Q18176755
relation P937
type Q56061
The work location of Corinna Herold is in [ANSWER]
['Q18176755', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . resource:Q18176755 property:P937 ?l }
Erfurt
The work location of Corinna Herold is in Erfurt
Erfurt
action filter_type
action find
entity Corinna Herold
relation work location
type administrative territorial entity
['Corinna Herold', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . resource:Corinna_Herold property:work_location ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18176755
P102
Q7210356
USER
Which party is that person affiliated with ?
(Q1729,P102,c(Q7210356))
action filter_type
action find
entity Q18176755
relation P102
type Q7210356
['Q1729', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?q WHERE { resource:Q18176755 property:P102 ?q . ?q rdf:type ontology:Q7210356 }
Corinna Herold
action filter_type
action find
entity Corinna Herold
relation member of political party
type political organization
['Erfurt', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?q WHERE { resource:Corinna_Herold property:member_of_political_party ?q . ?q rdf:type ontology:political_organization }
[]
political organization
Q6721203
SYSTEM
Alternative for Germany
Q6721203
(Q1729,P102,c(Q7210356))
action filter_type
action find
entity Q18176755
relation P102
type Q7210356
That person is affiliated with [ANSWER]
['Q1729', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?q WHERE { resource:Q18176755 property:P102 ?q . ?q rdf:type ontology:Q7210356 }
Alternative for Germany
That person is affiliated with Alternative for Germany
Alternative for Germany
action filter_type
action find
entity Corinna Herold
relation member of political party
type political organization
['Erfurt', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?q WHERE { resource:Corinna_Herold property:member_of_political_party ?q . ?q rdf:type ontology:political_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q18176755
P39
Q12737077
USER
What was the position held by Corinna Herold ?
(Q18176755,P39,c(Q12737077))
action filter_type
action find
entity Q18176755
relation P39
type Q12737077
['Q18176755', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q18176755 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
Corinna Herold
action filter_type
action find
entity Corinna Herold
relation position held
type occupation
['Corinna Herold', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Corinna_Herold property:position_held ?h . ?h rdf:type ontology:occupation }
[]
occupation
Q17344251
SYSTEM
Member of the Landtag of Thuringia
Q17344251
(Q18176755,P39,c(Q12737077))
action filter_type
action find
entity Q18176755
relation P39
type Q12737077
The position held by Corinna Herold was a [ANSWER]
['Q18176755', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?h WHERE { resource:Q18176755 property:P39 ?h . ?h rdf:type ontology:Q12737077 }
Member of the Landtag of Thuringia
The position held by Corinna Herold was a Member of the Landtag of Thuringia
Member of the Landtag of Thuringia
action filter_type
action find
entity Corinna Herold
relation position held
type occupation
['Corinna Herold', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?h WHERE { resource:Corinna_Herold property:position_held ?h . ?h rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q17344251 Q23984 Q183
P17
Q1048835
USER
Is that occupation present in São Pedro and Germany ?
(Q17344251,P17,Q23984) (Q17344251,P17,Q183)
action is_in
entity Q17344251
action intersection
action find_reverse
entity Q23984
relation P17
action find_reverse
entity Q183
relation P17
['Q17344251', 'P17', 'Q23984'] ['Q17344251', 'P17', 'Q183']
ASK WHERE { resource:Q17344251 property:P17 resource:Q23984 . resource:Q17344251 property:P17 resource:Q183 }
Member of the Landtag of Thuringia São Pedro Germany
action is_in
entity Member of the Landtag of Thuringia
action intersection
action find_reverse
entity São Pedro
relation country
action find_reverse
entity Germany
relation country
['Member of the Landtag of Thuringia', 'country', 'São Pedro'] ['Member of the Landtag of Thuringia', 'country', 'Germany']
ASK WHERE { resource:Member_of_the_Landtag_of_Thuringia property:country resource:São_Pedro . resource:Member_of_the_Landtag_of_Thuringia property:country resource:Germany }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q17344251,P17,Q23984) (Q17344251,P17,Q183)
action is_in
entity Q17344251
action intersection
action find_reverse
entity Q23984
relation P17
action find_reverse
entity Q183
relation P17
[ANSWER]
['Q17344251', 'P17', 'Q23984'] ['Q17344251', 'P17', 'Q183']
ASK WHERE { resource:Q17344251 property:P17 resource:Q23984 . resource:Q17344251 property:P17 resource:Q183 }
NO and YES respectively
action is_in
entity Member of the Landtag of Thuringia
action intersection
action find_reverse
entity São Pedro
relation country
action find_reverse
entity Germany
relation country
['Member of the Landtag of Thuringia', 'country', 'São Pedro'] ['Member of the Landtag of Thuringia', 'country', 'Germany']
ASK WHERE { resource:Member_of_the_Landtag_of_Thuringia property:country resource:São_Pedro . resource:Member_of_the_Landtag_of_Thuringia property:country resource:Germany }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q17344251
P361
Q1752346
USER
Which assembly is that occupation a part of ?
action filter_type
action find
entity Q17344251
relation P361
type Q1752346
SELECT DISTINCT ?x WHERE { resource:Q17344251 property:P361 ?x . ?x rdf:type ontology:Q1752346 }
Member of the Landtag of Thuringia
action filter_type
action find
entity Member of the Landtag of Thuringia
relation part of
type assembly
SELECT DISTINCT ?x WHERE { resource:Member_of_the_Landtag_of_Thuringia property:part_of ?x . ?x rdf:type ontology:assembly }
[]
assembly
Q896075
SYSTEM
Landtag of Thuringia
Q896075
action filter_type
action find
entity Q17344251
relation P361
type Q1752346
[ANSWER] is that occupation a part of
SELECT DISTINCT ?x WHERE { resource:Q17344251 property:P361 ?x . ?x rdf:type ontology:Q1752346 }
Landtag of Thuringia
Landtag of Thuringia is that occupation a part of
Landtag of Thuringia
action filter_type
action find
entity Member of the Landtag of Thuringia
relation part of
type assembly
SELECT DISTINCT ?x WHERE { resource:Member_of_the_Landtag_of_Thuringia property:part_of ?x . ?x rdf:type ontology:assembly }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q18176755
P27
Q1048835 Q7275
USER
How many political territories or states are the countries of citizenship of Corinna Herold ?
(Q18176755,P27,c(Q1048835)) (Q18176755,P27,c(Q7275))
action count
action union
action filter_type
action find
entity Q18176755
relation P27
type Q1048835
action filter_type
action find
entity Q18176755
relation P27
type Q7275
['Q18176755', 'P27', {'concept': 'Q1048835'}] ['Q18176755', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { ?g rdf:type ?y . VALUES ( ?y ) { ( ontology:Q1048835 ) ( ontology:Q7275 ) } }
Corinna Herold
action count
action union
action filter_type
action find
entity Corinna Herold
relation country of citizenship
type political territorial entity
action filter_type
action find
entity Corinna Herold
relation country of citizenship
type state
['Corinna Herold', 'country of citizenship', {'concept': 'political territorial entity'}] ['Corinna Herold', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { ?g rdf:type ?y . VALUES ( ?y ) { ( ontology:political_territorial_entity ) ( ontology:state ) } }
[]
political territorial entity state
SYSTEM
2
Q16957 Q183
(Q18176755,P27,c(Q1048835)) (Q18176755,P27,c(Q7275))
action count
action union
action filter_type
action find
entity Q18176755
relation P27
type Q1048835
action filter_type
action find
entity Q18176755
relation P27
type Q7275
[ANSWER]
['Q18176755', 'P27', {'concept': 'Q1048835'}] ['Q18176755', 'P27', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { ?g rdf:type ?y . VALUES ( ?y ) { ( ontology:Q1048835 ) ( ontology:Q7275 ) } }
East Germany Germany
2
action count
action union
action filter_type
action find
entity Corinna Herold
relation country of citizenship
type political territorial entity
action filter_type
action find
entity Corinna Herold
relation country of citizenship
type state
['Corinna Herold', 'country of citizenship', {'concept': 'political territorial entity'}] ['Corinna Herold', 'country of citizenship', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { ?g rdf:type ?y . VALUES ( ?y ) { ( ontology:political_territorial_entity ) ( ontology:state ) } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q12737077 Q386724 Q15709879
USER
Which occupations are depicted in max number of works and artwork series ?
(c(Q386724)|c(Q15709879),P180,c(Q12737077))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
[[{'concept': 'Q386724'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) ?q WHERE { { ?b property:P180 ?q . ?q rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q386724 } UNION { ?b property:P180 ?q . ?q rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q15709879 } } GROUP BY ?q } . FILTER ( ?a = ?w ) . { SELECT DISTINCT ( MAX ( ?i ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) ?t WHERE { { ?e property:P180 ?t . ?t rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q386724 } UNION { ?e property:P180 ?t . ?t rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q15709879 } } GROUP BY ?t } } }
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
[[{'concept': 'work'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) ?q WHERE { { ?b property:depicts ?q . ?q rdf:type ontology:occupation . ?b rdf:type ontology:work } UNION { ?b property:depicts ?q . ?q rdf:type ontology:occupation . ?b rdf:type ontology:artwork_series } } GROUP BY ?q } . FILTER ( ?a = ?w ) . { SELECT DISTINCT ( MAX ( ?i ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) ?t WHERE { { ?e property:depicts ?t . ?t rdf:type ontology:occupation . ?e rdf:type ontology:work } UNION { ?e property:depicts ?t . ?t rdf:type ontology:occupation . ?e rdf:type ontology:artwork_series } } GROUP BY ?t } } }
[]
occupation work artwork series
Q54128 Q2730732 Q838811
SYSTEM
domestic worker, equestrian, peasant
Q54128 Q2730732 Q838811
(c(Q386724)|c(Q15709879),P180,c(Q12737077))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
The [ANSWERS] are depicted in max number of works and artwork series
[[{'concept': 'Q386724'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) ?q WHERE { { ?b property:P180 ?q . ?q rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q386724 } UNION { ?b property:P180 ?q . ?q rdf:type ontology:Q12737077 . ?b rdf:type ontology:Q15709879 } } GROUP BY ?q } . FILTER ( ?a = ?w ) . { SELECT DISTINCT ( MAX ( ?i ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) ?t WHERE { { ?e property:P180 ?t . ?t rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q386724 } UNION { ?e property:P180 ?t . ?t rdf:type ontology:Q12737077 . ?e rdf:type ontology:Q15709879 } } GROUP BY ?t } } }
domestic worker equestrian peasant
The domestic worker, equestrian and peasant are depicted in max number of works and artwork series
domestic worker equestrian peasant
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type work
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
[[{'concept': 'work'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?a ) ?q WHERE { { ?b property:depicts ?q . ?q rdf:type ontology:occupation . ?b rdf:type ontology:work } UNION { ?b property:depicts ?q . ?q rdf:type ontology:occupation . ?b rdf:type ontology:artwork_series } } GROUP BY ?q } . FILTER ( ?a = ?w ) . { SELECT DISTINCT ( MAX ( ?i ) AS ?w ) { SELECT DISTINCT ( COUNT ( ?e ) AS ?i ) ?t WHERE { { ?e property:depicts ?t . ?t rdf:type ontology:occupation . ?e rdf:type ontology:work } UNION { ?e property:depicts ?t . ?t rdf:type ontology:occupation . ?e rdf:type ontology:artwork_series } } GROUP BY ?t } } }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q7149913 Q18176755
P27
Q1048835
USER
Which political territories are the countries of citizenship of Corinna Herold or Paul Collins ?
OR((Q18176755,P27,c(Q1048835)), (Q7149913,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q18176755
relation P27
action find
entity Q7149913
relation P27
type Q1048835
{'OR': [['Q18176755', 'P27', {'concept': 'Q1048835'}], ['Q7149913', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q1048835 . { { resource:Q18176755 property:P27 ?b } UNION { resource:Q7149913 property:P27 ?b } } }
Paul Collins Corinna Herold
action filter_type
action union
action find
entity Corinna Herold
relation country of citizenship
action find
entity Paul Collins
relation country of citizenship
type political territorial entity
{'OR': [['Corinna Herold', 'country of citizenship', {'concept': 'political territorial entity'}], ['Paul Collins', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:political_territorial_entity . { { resource:Corinna_Herold property:country_of_citizenship ?b } UNION { resource:Paul_Collins property:country_of_citizenship ?b } } }
[]
political territorial entity
Q408 Q183
SYSTEM
Australia, Germany
Q408 Q183
OR((Q18176755,P27,c(Q1048835)), (Q7149913,P27,c(Q1048835)))
action filter_type
action union
action find
entity Q18176755
relation P27
action find
entity Q7149913
relation P27
type Q1048835
[ANSWERS] are the countries of citizenship of Corinna Herold or Paul Collins
{'OR': [['Q18176755', 'P27', {'concept': 'Q1048835'}], ['Q7149913', 'P27', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q1048835 . { { resource:Q18176755 property:P27 ?b } UNION { resource:Q7149913 property:P27 ?b } } }
Australia Germany
Australia and Germany are the countries of citizenship of Corinna Herold or Paul Collins
Australia Germany
action filter_type
action union
action find
entity Corinna Herold
relation country of citizenship
action find
entity Paul Collins
relation country of citizenship
type political territorial entity
{'OR': [['Corinna Herold', 'country of citizenship', {'concept': 'political territorial entity'}], ['Paul Collins', 'country of citizenship', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:political_territorial_entity . { { resource:Corinna_Herold property:country_of_citizenship ?b } UNION { resource:Paul_Collins property:country_of_citizenship ?b } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q1615455
P17
Q1048835 Q41176 Q13406554
USER
How many political territories are around the same number of buildings and sport competitions present in as Duchy of Mirandola ?
(c(Q41176)|c(Q13406554),P17,c(Q1048835))
action count
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q41176
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q1615455
relation P17
type Q41176
type Q13406554
[[{'concept': 'Q41176'}, {'concept': 'Q13406554'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { ?h property:P17 resource:Q1615455 . { { ?h rdf:type ontology:Q41176 } UNION { ?h rdf:type ontology:Q13406554 } } } } . FILTER ( ?s = ?q ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) ?k WHERE { VALUES ( ?g ) { ( ontology:Q41176 ) ( ontology:Q13406554 ) } . ?e rdf:type ?g } GROUP BY ?k } }
Duchy of Mirandola
action count
action approx
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type building
action find_reverse_tuple_counts
relation country
type political territorial entity
type sport competition
action count
action filter_multi_types
action find_reverse
entity Duchy of Mirandola
relation country
type building
type sport competition
[[{'concept': 'building'}, {'concept': 'sport competition'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { ?h property:country resource:Duchy_of_Mirandola . { { ?h rdf:type ontology:building } UNION { ?h rdf:type ontology:sport_competition } } } } . FILTER ( ?s = ?q ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) ?k WHERE { VALUES ( ?g ) { ( ontology:building ) ( ontology:sport_competition ) } . ?e rdf:type ?g } GROUP BY ?k } }
[]
political territorial entity building sport competition
SYSTEM
59
Q193714 Q1000 Q195972 Q21590062 Q746558 Q838261 Q785 Q193619 Q769 Q685 Q699964 Q763 Q13767 Q34617 Q22880 Q9676 Q641138 Q664 Q693551 Q13353 Q766 Q848383 Q5705 Q13726 Q953068 Q5785 Q38610 Q3405693 Q1054923 Q13862 Q79965 Q223793 Q319376 Q13869 Q407199 Q18221 Q778 Q2002138 Q3899 Q35672 Q25228 Q1747689 Q781 Q691 Q757 Q9648 Q231 Q234 Q2991382 Q168651 Q399702 Q35086 Q23635 Q208279 Q192184 Q1615455 Q31747 Q25305 Q129286
(c(Q41176)|c(Q13406554),P17,c(Q1048835))
action count
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q41176
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q1615455
relation P17
type Q41176
type Q13406554
[ANSWER]
[[{'concept': 'Q41176'}, {'concept': 'Q13406554'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { ?h property:P17 resource:Q1615455 . { { ?h rdf:type ontology:Q41176 } UNION { ?h rdf:type ontology:Q13406554 } } } } . FILTER ( ?s = ?q ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) ?k WHERE { VALUES ( ?g ) { ( ontology:Q41176 ) ( ontology:Q13406554 ) } . ?e rdf:type ?g } GROUP BY ?k } }
Mandatory Palestine Gabon Kingdom of Kartli Antarctic Treaty area Emirate of Bukhara Federal Republic of Yugoslavia Jersey Union of South Africa Grenada Solomon Islands Archduchy of Austria Saint Kitts and Nevis Camarines Sur Saint Pierre and Miquelon Electoral Palatinate Isle of Man Duchy of Cleves New Zealand Landgraviate of Hesse-Darmstadt Montserrat Jamaica Duchy of Rome Catalonia Albay South-West Africa Cayman Islands Dominion of Newfoundland Sark British Hong Kong Negros Occidental Golden Horde Kingdom of Etruria Hanau-Münzenberg Palawan Palestinian territories Turks and Caicos Islands The Bahamas Equador, Rio Grande do Norte Kalimantan Timur Pitcairn Islands Anguilla Ancient Rome Antigua and Barbuda Papua New Guinea Saint Vincent and the Grenadines Falkland Islands Walloon Region Flemish Region County of Provence Landgraviate of Hesse-Kassel Agüimes, Las Palmas South Georgia and the South Sandwich Islands Bermuda Highland Saint Helena, Ascension and Tristan da Cunha Duchy of Mirandola Irish Free State British Virgin Islands British Raj
59
action count
action approx
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type building
action find_reverse_tuple_counts
relation country
type political territorial entity
type sport competition
action count
action filter_multi_types
action find_reverse
entity Duchy of Mirandola
relation country
type building
type sport competition
[[{'concept': 'building'}, {'concept': 'sport competition'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?i ) WHERE { { SELECT DISTINCT ( COUNT ( ?h ) AS ?q ) WHERE { ?h property:country resource:Duchy_of_Mirandola . { { ?h rdf:type ontology:building } UNION { ?h rdf:type ontology:sport_competition } } } } . FILTER ( ?s = ?q ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) ?k WHERE { VALUES ( ?g ) { ( ontology:building ) ( ontology:sport_competition ) } . ?e rdf:type ?g } GROUP BY ?k } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q757
P17
Q1048835 Q41176 Q13406554
USER
And what about Saint Vincent and the Grenadines?
(c(Q41176)|c(Q13406554),P17,c(Q1048835))
action count
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q41176
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q757
relation P17
type Q41176
type Q13406554
[[{'concept': 'Q41176'}, {'concept': 'Q13406554'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?n ) WHERE { VALUES ( ?w ) { ( ontology:Q41176 ) ( ontology:Q13406554 ) } . ?s rdf:type ?w } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { { { ?k rdf:type ontology:Q13406554 } UNION { ?k rdf:type ontology:Q41176 } } . ?k property:P17 resource:Q757 } } . FILTER ( ?n = ?q ) }
Saint Vincent and the Grenadines
action count
action approx
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type building
action find_reverse_tuple_counts
relation country
type political territorial entity
type sport competition
action count
action filter_multi_types
action find_reverse
entity Saint Vincent and the Grenadines
relation country
type building
type sport competition
[[{'concept': 'building'}, {'concept': 'sport competition'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?n ) WHERE { VALUES ( ?w ) { ( ontology:building ) ( ontology:sport_competition ) } . ?s rdf:type ?w } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { { { ?k rdf:type ontology:sport_competition } UNION { ?k rdf:type ontology:building } } . ?k property:country resource:Saint_Vincent_and_the_Grenadines } } . FILTER ( ?n = ?q ) }
[]
political territorial entity building sport competition
SYSTEM
59
Q193714 Q1000 Q195972 Q21590062 Q746558 Q838261 Q785 Q193619 Q769 Q685 Q699964 Q763 Q13767 Q34617 Q22880 Q9676 Q641138 Q664 Q693551 Q13353 Q766 Q848383 Q5705 Q13726 Q953068 Q5785 Q38610 Q3405693 Q1054923 Q13862 Q79965 Q223793 Q319376 Q13869 Q407199 Q18221 Q778 Q2002138 Q3899 Q35672 Q25228 Q1747689 Q781 Q691 Q757 Q9648 Q231 Q234 Q2991382 Q168651 Q399702 Q35086 Q23635 Q208279 Q192184 Q1615455 Q31747 Q25305 Q129286
(c(Q41176)|c(Q13406554),P17,c(Q1048835))
action count
action approx
action union
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q41176
action find_reverse_tuple_counts
relation P17
type Q1048835
type Q13406554
action count
action filter_multi_types
action find_reverse
entity Q757
relation P17
type Q41176
type Q13406554
[ANSWER]
[[{'concept': 'Q41176'}, {'concept': 'Q13406554'}], 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?n ) WHERE { VALUES ( ?w ) { ( ontology:Q41176 ) ( ontology:Q13406554 ) } . ?s rdf:type ?w } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { { { ?k rdf:type ontology:Q13406554 } UNION { ?k rdf:type ontology:Q41176 } } . ?k property:P17 resource:Q757 } } . FILTER ( ?n = ?q ) }
Mandatory Palestine Gabon Kingdom of Kartli Antarctic Treaty area Emirate of Bukhara Federal Republic of Yugoslavia Jersey Union of South Africa Grenada Solomon Islands Archduchy of Austria Saint Kitts and Nevis Camarines Sur Saint Pierre and Miquelon Electoral Palatinate Isle of Man Duchy of Cleves New Zealand Landgraviate of Hesse-Darmstadt Montserrat Jamaica Duchy of Rome Catalonia Albay South-West Africa Cayman Islands Dominion of Newfoundland Sark British Hong Kong Negros Occidental Golden Horde Kingdom of Etruria Hanau-Münzenberg Palawan Palestinian territories Turks and Caicos Islands The Bahamas Equador, Rio Grande do Norte Kalimantan Timur Pitcairn Islands Anguilla Ancient Rome Antigua and Barbuda Papua New Guinea Saint Vincent and the Grenadines Falkland Islands Walloon Region Flemish Region County of Provence Landgraviate of Hesse-Kassel Agüimes, Las Palmas South Georgia and the South Sandwich Islands Bermuda Highland Saint Helena, Ascension and Tristan da Cunha Duchy of Mirandola Irish Free State British Virgin Islands British Raj
59
action count
action approx
action union
action find_reverse_tuple_counts
relation country
type political territorial entity
type building
action find_reverse_tuple_counts
relation country
type political territorial entity
type sport competition
action count
action filter_multi_types
action find_reverse
entity Saint Vincent and the Grenadines
relation country
type building
type sport competition
[[{'concept': 'building'}, {'concept': 'sport competition'}], 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?u ) WHERE { { SELECT DISTINCT ?y ( COUNT ( ?s ) AS ?n ) WHERE { VALUES ( ?w ) { ( ontology:building ) ( ontology:sport_competition ) } . ?s rdf:type ?w } GROUP BY ?y } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?q ) WHERE { { { ?k rdf:type ontology:sport_competition } UNION { ?k rdf:type ontology:building } } . ?k property:country resource:Saint_Vincent_and_the_Grenadines } } . FILTER ( ?n = ?q ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q757
P1532
Q6979593
USER
Which national association football team plays for that political territory ?
action filter_type
action find_reverse
entity Q757
relation P1532
type Q6979593
SELECT DISTINCT ?u WHERE { ?u property:P1532 resource:Q757 . ?u rdf:type ontology:Q6979593 }
Saint Vincent and the Grenadines
action filter_type
action find_reverse
entity Saint Vincent and the Grenadines
relation country for sport
type national association football team
SELECT DISTINCT ?u WHERE { ?u property:country_for_sport resource:Saint_Vincent_and_the_Grenadines . ?u rdf:type ontology:national_association_football_team }
[]
national association football team
Q3277468
SYSTEM
Saint Vincent and the Grenadines women's national football team
Q3277468
action filter_type
action find_reverse
entity Q757
relation P1532
type Q6979593
The [ANSWER] plays for that political territory
SELECT DISTINCT ?u WHERE { ?u property:P1532 resource:Q757 . ?u rdf:type ontology:Q6979593 }
Saint Vincent and the Grenadines women's national football team
The Saint Vincent and the Grenadines women's national football team plays for that political territory
Saint Vincent and the Grenadines women's national football team
action filter_type
action find_reverse
entity Saint Vincent and the Grenadines
relation country for sport
type national association football team
SELECT DISTINCT ?u WHERE { ?u property:country_for_sport resource:Saint_Vincent_and_the_Grenadines . ?u rdf:type ontology:national_association_football_team }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q3277468 Q1758814 Q757
P1532
Q1048835
USER
Does that national association football team plays for Pantano Grande and Saint Vincent and the Grenadines ?
(Q3277468,P1532,Q1758814) (Q3277468,P1532,Q757)
action is_in
entity Q3277468
action intersection
action find_reverse
entity Q1758814
relation P1532
action find_reverse
entity Q757
relation P1532
['Q3277468', 'P1532', 'Q1758814'] ['Q3277468', 'P1532', 'Q757']
ASK WHERE { resource:Q3277468 property:P1532 resource:Q1758814 . resource:Q3277468 property:P1532 resource:Q757 }
Saint Vincent and the Grenadines women's national football team Pantano Grande Saint Vincent and the Grenadines
action is_in
entity Saint Vincent and the Grenadines women's national football team
action intersection
action find_reverse
entity Pantano Grande
relation country for sport
action find_reverse
entity Saint Vincent and the Grenadines
relation country for sport
["Saint Vincent and the Grenadines women's national football team", 'country for sport', 'Pantano Grande'] ["Saint Vincent and the Grenadines women's national football team", 'country for sport', 'Saint Vincent and the Grenadines']
ASK WHERE { resource:Saint_Vincent_and_the_Grenadines_women's_national_football_team property:country_for_sport resource:Pantano_Grande . resource:Saint_Vincent_and_the_Grenadines_women's_national_football_team property:country_for_sport resource:Saint_Vincent_and_the_Grenadines }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q3277468,P1532,Q1758814) (Q3277468,P1532,Q757)
action is_in
entity Q3277468
action intersection
action find_reverse
entity Q1758814
relation P1532
action find_reverse
entity Q757
relation P1532
[ANSWER]
['Q3277468', 'P1532', 'Q1758814'] ['Q3277468', 'P1532', 'Q757']
ASK WHERE { resource:Q3277468 property:P1532 resource:Q1758814 . resource:Q3277468 property:P1532 resource:Q757 }
NO and YES respectively
action is_in
entity Saint Vincent and the Grenadines women's national football team
action intersection
action find_reverse
entity Pantano Grande
relation country for sport
action find_reverse
entity Saint Vincent and the Grenadines
relation country for sport
["Saint Vincent and the Grenadines women's national football team", 'country for sport', 'Pantano Grande'] ["Saint Vincent and the Grenadines women's national football team", 'country for sport', 'Saint Vincent and the Grenadines']
ASK WHERE { resource:Saint_Vincent_and_the_Grenadines_women's_national_football_team property:country_for_sport resource:Pantano_Grande . resource:Saint_Vincent_and_the_Grenadines_women's_national_football_team property:country_for_sport resource:Saint_Vincent_and_the_Grenadines }
[]