Simple Question (Direct)
Simple Question
Q6165652
P1412
Q34770
USER
Which language is Víctor Mañon capable of writing ?
(Q6165652,P1412,c(Q34770))
action filter_type
action find
entity Q6165652
relation P1412
type Q34770
['Q6165652', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q34770 . resource:Q6165652 property:P1412 ?f }
Víctor Mañon
action filter_type
action find
entity Víctor Mañon
relation languages spoken, written or signed
type language
['Víctor Mañon', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:language . resource:Víctor_Mañon property:languages_spoken,_written_or_signed ?f }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q6165652,P1412,c(Q34770))
action filter_type
action find
entity Q6165652
relation P1412
type Q34770
[ANSWER] is Víctor Mañon capable of writing
['Q6165652', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q34770 . resource:Q6165652 property:P1412 ?f }
Spanish
Spanish is Víctor Mañon capable of writing
Spanish
action filter_type
action find
entity Víctor Mañon
relation languages spoken, written or signed
type language
['Víctor Mañon', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:language . resource:Víctor_Mañon property:languages_spoken,_written_or_signed ?f }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6165652
P27
Q15617994
USER
Which administrative territory is Víctor Mañon a civilian of ?
(Q6165652,P27,c(Q15617994))
action filter_type
action find
entity Q6165652
relation P27
type Q15617994
['Q6165652', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q6165652 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Víctor Mañon
action filter_type
action find
entity Víctor Mañon
relation country of citizenship
type designation for an administrative territorial entity
['Víctor Mañon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Víctor_Mañon property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q96
SYSTEM
Mexico
Q96
(Q6165652,P27,c(Q15617994))
action filter_type
action find
entity Q6165652
relation P27
type Q15617994
[ANSWER] is Víctor Mañon a civilian of
['Q6165652', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?h WHERE { resource:Q6165652 property:P27 ?h . ?h rdf:type ontology:Q15617994 }
Mexico
Mexico is Víctor Mañon a civilian of
Mexico
action filter_type
action find
entity Víctor Mañon
relation country of citizenship
type designation for an administrative territorial entity
['Víctor Mañon', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?h WHERE { resource:Víctor_Mañon property:country_of_citizenship ?h . ?h rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q174209
Q15617994
USER
And what about Glen Brand?
(Q174209,P27,c(Q15617994))
action filter_type
action find
entity Q174209
relation P27
type Q15617994
['Q174209', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q174209 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
Glen Brand
action filter_type
action find
entity Glen Brand
relation country of citizenship
type designation for an administrative territorial entity
['Glen Brand', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Glen_Brand property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q174209,P27,c(Q15617994))
action filter_type
action find
entity Q174209
relation P27
type Q15617994
[ANSWER]
['Q174209', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q174209 property:P27 ?j . ?j rdf:type ontology:Q15617994 }
United States of America
United States of America
action filter_type
action find
entity Glen Brand
relation country of citizenship
type designation for an administrative territorial entity
['Glen Brand', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Glen_Brand property:country_of_citizenship ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q191077
P710
Q820655
USER
What event was Kingdom of Yugoslavia a participant of ?
(c(Q820655),P710,Q191077)
action filter_type
action find_reverse
entity Q191077
relation P710
type Q820655
[{'concept': 'Q820655'}, 'P710', 'Q191077']
SELECT DISTINCT ?v WHERE { ?v property:P710 resource:Q191077 . ?v rdf:type ontology:Q820655 }
Kingdom of Yugoslavia
action filter_type
action find_reverse
entity Kingdom of Yugoslavia
relation participant
type statute
[{'concept': 'statute'}, 'participant', 'Kingdom of Yugoslavia']
SELECT DISTINCT ?v WHERE { ?v property:participant resource:Kingdom_of_Yugoslavia . ?v rdf:type ontology:statute }
[]
statute
Q167396
SYSTEM
Balkan Pact
Q167396
(c(Q820655),P710,Q191077)
action filter_type
action find_reverse
entity Q191077
relation P710
type Q820655
What event was Kingdom of Yugoslavia a participant of
[{'concept': 'Q820655'}, 'P710', 'Q191077']
SELECT DISTINCT ?v WHERE { ?v property:P710 resource:Q191077 . ?v rdf:type ontology:Q820655 }
Balkan Pact
What event was Kingdom of Yugoslavia a participant of
Balkan Pact
action filter_type
action find_reverse
entity Kingdom of Yugoslavia
relation participant
type statute
[{'concept': 'statute'}, 'participant', 'Kingdom of Yugoslavia']
SELECT DISTINCT ?v WHERE { ?v property:participant resource:Kingdom_of_Yugoslavia . ?v rdf:type ontology:statute }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q191077
P85
Q484692
USER
Which is the national anthem of that state ?
(Q167396,P85,c(Q484692))
action filter_type
action find
entity Q191077
relation P85
type Q484692
['Q167396', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?b WHERE { resource:Q191077 property:P85 ?b . ?b rdf:type ontology:Q484692 }
Kingdom of Yugoslavia
action filter_type
action find
entity Kingdom of Yugoslavia
relation anthem
type hymn
['Balkan Pact', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?b WHERE { resource:Kingdom_of_Yugoslavia property:anthem ?b . ?b rdf:type ontology:hymn }
[]
hymn
Q1317821
SYSTEM
National Anthem of the Kingdom of Yugoslavia
Q1317821
(Q167396,P85,c(Q484692))
action filter_type
action find
entity Q191077
relation P85
type Q484692
The national anthem of that state is the [ANSWER]
['Q167396', 'P85', {'concept': 'Q484692'}]
SELECT DISTINCT ?b WHERE { resource:Q191077 property:P85 ?b . ?b rdf:type ontology:Q484692 }
National Anthem of the Kingdom of Yugoslavia
The national anthem of that state is the National Anthem of the Kingdom of Yugoslavia
National Anthem of the Kingdom of Yugoslavia
action filter_type
action find
entity Kingdom of Yugoslavia
relation anthem
type hymn
['Balkan Pact', 'anthem', {'concept': 'hymn'}]
SELECT DISTINCT ?b WHERE { resource:Kingdom_of_Yugoslavia property:anthem ?b . ?b rdf:type ontology:hymn }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q1317821 Q11340468 Q11980409
P676
Q502895
USER
Does that hymn have its lyrics written by Honda Makkoi and Kato Johansen ?
(Q1317821,P676,Q11340468) (Q1317821,P676,Q11980409)
action is_in
entity Q1317821
action intersection
action find_reverse
entity Q11340468
relation P676
action find_reverse
entity Q11980409
relation P676
['Q1317821', 'P676', 'Q11340468'] ['Q1317821', 'P676', 'Q11980409']
ASK WHERE { resource:Q1317821 property:P676 resource:Q11340468 . resource:Q1317821 property:P676 resource:Q11980409 }
National Anthem of the Kingdom of Yugoslavia Honda Makkoi Kato Johansen
action is_in
entity National Anthem of the Kingdom of Yugoslavia
action intersection
action find_reverse
entity Honda Makkoi
relation lyrics by
action find_reverse
entity Kato Johansen
relation lyrics by
['National Anthem of the Kingdom of Yugoslavia', 'lyrics by', 'Honda Makkoi'] ['National Anthem of the Kingdom of Yugoslavia', 'lyrics by', 'Kato Johansen']
ASK WHERE { resource:National_Anthem_of_the_Kingdom_of_Yugoslavia property:lyrics_by resource:Honda_Makkoi . resource:National_Anthem_of_the_Kingdom_of_Yugoslavia property:lyrics_by resource:Kato_Johansen }
[]
common name
SYSTEM
NO
(Q1317821,P676,Q11340468) (Q1317821,P676,Q11980409)
action is_in
entity Q1317821
action intersection
action find_reverse
entity Q11340468
relation P676
action find_reverse
entity Q11980409
relation P676
[ANSWER]
['Q1317821', 'P676', 'Q11340468'] ['Q1317821', 'P676', 'Q11980409']
ASK WHERE { resource:Q1317821 property:P676 resource:Q11340468 . resource:Q1317821 property:P676 resource:Q11980409 }
No
action is_in
entity National Anthem of the Kingdom of Yugoslavia
action intersection
action find_reverse
entity Honda Makkoi
relation lyrics by
action find_reverse
entity Kato Johansen
relation lyrics by
['National Anthem of the Kingdom of Yugoslavia', 'lyrics by', 'Honda Makkoi'] ['National Anthem of the Kingdom of Yugoslavia', 'lyrics by', 'Kato Johansen']
ASK WHERE { resource:National_Anthem_of_the_Kingdom_of_Yugoslavia property:lyrics_by resource:Honda_Makkoi . resource:National_Anthem_of_the_Kingdom_of_Yugoslavia property:lyrics_by resource:Kato_Johansen }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1317821
P17
Q7275
USER
Which state is that hymn situated in ?
action filter_type
action find
entity Q1317821
relation P17
type Q7275
SELECT DISTINCT ?r WHERE { resource:Q1317821 property:P17 ?r . ?r rdf:type ontology:Q7275 }
National Anthem of the Kingdom of Yugoslavia
action filter_type
action find
entity National Anthem of the Kingdom of Yugoslavia
relation country
type state
SELECT DISTINCT ?r WHERE { resource:National_Anthem_of_the_Kingdom_of_Yugoslavia property:country ?r . ?r rdf:type ontology:state }
[]
state
Q191077
SYSTEM
Kingdom of Yugoslavia
Q191077
action filter_type
action find
entity Q1317821
relation P17
type Q7275
That hymn is situated in [ANSWER]
SELECT DISTINCT ?r WHERE { resource:Q1317821 property:P17 ?r . ?r rdf:type ontology:Q7275 }
Kingdom of Yugoslavia
That hymn is situated in Kingdom of Yugoslavia
Kingdom of Yugoslavia
action filter_type
action find
entity National Anthem of the Kingdom of Yugoslavia
relation country
type state
SELECT DISTINCT ?r WHERE { resource:National_Anthem_of_the_Kingdom_of_Yugoslavia property:country ?r . ?r rdf:type ontology:state }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P194
Q11204 Q7275
USER
How many legislatures are the legislative bodies for exactly 2 states ?
(c(Q7275),P194,c(Q11204))
action count
action equal
action find_reverse_tuple_counts
relation P194
type Q11204
type Q7275
value 2
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { FILTER ( ?p = 2 ) . { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?p ) WHERE { ?x rdf:type ontology:Q7275 . ?b rdf:type ontology:Q11204 . ?x property:P194 ?b } GROUP BY ?b } }
action count
action equal
action find_reverse_tuple_counts
relation legislative body
type legislature
type state
value 2
[{'concept': 'state'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { FILTER ( ?p = 2 ) . { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?p ) WHERE { ?x rdf:type ontology:state . ?b rdf:type ontology:legislature . ?x property:legislative_body ?b } GROUP BY ?b } }
[]
legislature state
SYSTEM
2
Q539149 Q497578
(c(Q7275),P194,c(Q11204))
action count
action equal
action find_reverse_tuple_counts
relation P194
type Q11204
type Q7275
value 2
[ANSWER]
[{'concept': 'Q7275'}, 'P194', {'concept': 'Q11204'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { FILTER ( ?p = 2 ) . { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?p ) WHERE { ?x rdf:type ontology:Q7275 . ?b rdf:type ontology:Q11204 . ?x property:P194 ?b } GROUP BY ?b } }
Congress of Deputies Witenagemot
2
action count
action equal
action find_reverse_tuple_counts
relation legislative body
type legislature
type state
value 2
[{'concept': 'state'}, 'legislative body', {'concept': 'legislature'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?h ) WHERE { FILTER ( ?p = 2 ) . { SELECT DISTINCT ?b ( COUNT ( ?x ) AS ?p ) WHERE { ?x rdf:type ontology:state . ?b rdf:type ontology:legislature . ?x property:legislative_body ?b } GROUP BY ?b } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P183
Q16521
USER
Which taxon belongs to United States of America ?
(c(Q16521),P183,Q30)
action filter_type
action find_reverse
entity Q30
relation P183
type Q16521
[{'concept': 'Q16521'}, 'P183', 'Q30']
SELECT DISTINCT ?u WHERE { ?u property:P183 resource:Q30 . ?u rdf:type ontology:Q16521 }
United States of America
action filter_type
action find_reverse
entity United States of America
relation endemic to
type taxon
[{'concept': 'taxon'}, 'endemic to', 'United States of America']
SELECT DISTINCT ?u WHERE { ?u property:endemic_to resource:United_States_of_America . ?u rdf:type ontology:taxon }
[]
taxon
Q2205148
SYSTEM
Northern dwarf siren
Q2205148
(c(Q16521),P183,Q30)
action filter_type
action find_reverse
entity Q30
relation P183
type Q16521
[ANSWER] belongs to United States of America
[{'concept': 'Q16521'}, 'P183', 'Q30']
SELECT DISTINCT ?u WHERE { ?u property:P183 resource:Q30 . ?u rdf:type ontology:Q16521 }
Northern dwarf siren
Northern dwarf siren belongs to United States of America
Northern dwarf siren
action filter_type
action find_reverse
entity United States of America
relation endemic to
type taxon
[{'concept': 'taxon'}, 'endemic to', 'United States of America']
SELECT DISTINCT ?u WHERE { ?u property:endemic_to resource:United_States_of_America . ?u rdf:type ontology:taxon }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q30
P138
Q2221906
USER
Which geographic location is United States of America named after ?
(Q30,P138,c(Q2221906))
action filter_type
action find
entity Q30
relation P138
type Q2221906
['Q30', 'P138', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q2221906 . resource:Q30 property:P138 ?y }
United States of America
action filter_type
action find
entity United States of America
relation named after
type geographic location
['United States of America', 'named after', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:geographic_location . resource:United_States_of_America property:named_after ?y }
[]
geographic location
Q828
SYSTEM
Americas
Q828
(Q30,P138,c(Q2221906))
action filter_type
action find
entity Q30
relation P138
type Q2221906
United States of America is named the [ANSWER]
['Q30', 'P138', {'concept': 'Q2221906'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q2221906 . resource:Q30 property:P138 ?y }
Americas
United States of America is named the Americas
Americas
action filter_type
action find
entity United States of America
relation named after
type geographic location
['United States of America', 'named after', {'concept': 'geographic location'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:geographic_location . resource:United_States_of_America property:named_after ?y }
[]