Simple Question (Direct)
Simple Question
Q7243603
P21
Q290
USER
Which sex does Primo Feliciano Velázquez have ?
(Q7243603,P21,c(Q290))
action filter_type
action find
entity Q7243603
relation P21
type Q290
['Q7243603', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q7243603 property:P21 ?n . ?n rdf:type ontology:Q290 }
Primo Feliciano Velázquez
action filter_type
action find
entity Primo Feliciano Velázquez
relation gender
type sex
['Primo Feliciano Velázquez', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Primo_Feliciano_Velázquez property:gender ?n . ?n rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7243603,P21,c(Q290))
action filter_type
action find
entity Q7243603
relation P21
type Q290
Primo Feliciano Velázquez has a [ANSWER]
['Q7243603', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?n WHERE { resource:Q7243603 property:P21 ?n . ?n rdf:type ontology:Q290 }
male
Primo Feliciano Velázquez has a male
male
action filter_type
action find
entity Primo Feliciano Velázquez
relation gender
type sex
['Primo Feliciano Velázquez', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?n WHERE { resource:Primo_Feliciano_Velázquez property:gender ?n . ?n rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7243603
P19
Q112865
USER
Which Mexican administrative territory was Primo Feliciano Velázquez born in ?
(Q7243603,P19,c(Q112865))
action filter_type
action find
entity Q7243603
relation P19
type Q112865
['Q7243603', 'P19', {'concept': 'Q112865'}]
SELECT DISTINCT ?r WHERE { resource:Q7243603 property:P19 ?r . ?r rdf:type ontology:Q112865 }
Primo Feliciano Velázquez
action filter_type
action find
entity Primo Feliciano Velázquez
relation place of birth
type administrative territorial entity of Mexico
['Primo Feliciano Velázquez', 'place of birth', {'concept': 'administrative territorial entity of Mexico'}]
SELECT DISTINCT ?r WHERE { resource:Primo_Feliciano_Velázquez property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity_of_Mexico }
[]
administrative territorial entity of Mexico
Q3846862
SYSTEM
Santa María del Río, San Luis Potosí
Q3846862
(Q7243603,P19,c(Q112865))
action filter_type
action find
entity Q7243603
relation P19
type Q112865
Which Mexican administrative territory was Primo Feliciano Velázquez born in
['Q7243603', 'P19', {'concept': 'Q112865'}]
SELECT DISTINCT ?r WHERE { resource:Q7243603 property:P19 ?r . ?r rdf:type ontology:Q112865 }
Santa María del Río, San Luis Potosí
Which Mexican administrative territory was Primo Feliciano Velázquez born in
Santa María del Río, San Luis Potosí
action filter_type
action find
entity Primo Feliciano Velázquez
relation place of birth
type administrative territorial entity of Mexico
['Primo Feliciano Velázquez', 'place of birth', {'concept': 'administrative territorial entity of Mexico'}]
SELECT DISTINCT ?r WHERE { resource:Primo_Feliciano_Velázquez property:place_of_birth ?r . ?r rdf:type ontology:administrative_territorial_entity_of_Mexico }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q15526690
Q112865
USER
And what about Rafael Yerena Zambrano?
(Q15526690,P19,c(Q112865))
action filter_type
action find
entity Q15526690
relation P19
type Q112865
['Q15526690', 'P19', {'concept': 'Q112865'}]
SELECT DISTINCT ?k WHERE { resource:Q15526690 property:P19 ?k . ?k rdf:type ontology:Q112865 }
Rafael Yerena Zambrano
action filter_type
action find
entity Rafael Yerena Zambrano
relation place of birth
type administrative territorial entity of Mexico
['Rafael Yerena Zambrano', 'place of birth', {'concept': 'administrative territorial entity of Mexico'}]
SELECT DISTINCT ?k WHERE { resource:Rafael_Yerena_Zambrano property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity_of_Mexico }
[]
administrative territorial entity of Mexico
Q3056144
SYSTEM
Mascota
Q3056144
(Q15526690,P19,c(Q112865))
action filter_type
action find
entity Q15526690
relation P19
type Q112865
[ANSWER]
['Q15526690', 'P19', {'concept': 'Q112865'}]
SELECT DISTINCT ?k WHERE { resource:Q15526690 property:P19 ?k . ?k rdf:type ontology:Q112865 }
Mascota
Mascota
action filter_type
action find
entity Rafael Yerena Zambrano
relation place of birth
type administrative territorial entity of Mexico
['Rafael Yerena Zambrano', 'place of birth', {'concept': 'administrative territorial entity of Mexico'}]
SELECT DISTINCT ?k WHERE { resource:Rafael_Yerena_Zambrano property:place_of_birth ?k . ?k rdf:type ontology:administrative_territorial_entity_of_Mexico }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7243603
P27
Q15617994
USER
Which administrative territory does Primo Feliciano Velázquez belong to ?
(Q7243603,P27,c(Q15617994))
action filter_type
action find
entity Q7243603
relation P27
type Q15617994
['Q7243603', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q7243603 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Primo Feliciano Velázquez
action filter_type
action find
entity Primo Feliciano Velázquez
relation country of citizenship
type designation for an administrative territorial entity
['Primo Feliciano Velázquez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Primo_Feliciano_Velázquez property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q96
SYSTEM
Mexico
Q96
(Q7243603,P27,c(Q15617994))
action filter_type
action find
entity Q7243603
relation P27
type Q15617994
Primo Feliciano Velázquez belongs to New [ANSWER]
['Q7243603', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?x WHERE { resource:Q7243603 property:P27 ?x . ?x rdf:type ontology:Q15617994 }
Mexico
Primo Feliciano Velázquez belongs to New Mexico
Mexico
action filter_type
action find
entity Primo Feliciano Velázquez
relation country of citizenship
type designation for an administrative territorial entity
['Primo Feliciano Velázquez', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Primo_Feliciano_Velázquez property:country_of_citizenship ?x . ?x rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q96 Q3038568 Q5825680
P36
Q56061
USER
Does that administrative territory consists of Vidovići, Bosansko Grahovo and Sonbol, Razavi Khorasan as its capital ?
(Q96,P36,Q3038568) (Q96,P36,Q5825680)
action is_in
entity Q96
action intersection
action find_reverse
entity Q3038568
relation P36
action find_reverse
entity Q5825680
relation P36
['Q96', 'P36', 'Q3038568'] ['Q96', 'P36', 'Q5825680']
ASK WHERE { resource:Q96 property:P36 resource:Q3038568 . resource:Q96 property:P36 resource:Q5825680 }
Mexico Vidovići, Bosansko Grahovo Sonbol, Razavi Khorasan
action is_in
entity Mexico
action intersection
action find_reverse
entity Vidovići, Bosansko Grahovo
relation capital
action find_reverse
entity Sonbol, Razavi Khorasan
relation capital
['Mexico', 'capital', 'Vidovići, Bosansko Grahovo'] ['Mexico', 'capital', 'Sonbol, Razavi Khorasan']
ASK WHERE { resource:Mexico property:capital resource:Vidovići,_Bosansko_Grahovo . resource:Mexico property:capital resource:Sonbol,_Razavi_Khorasan }
[]
administrative territorial entity
SYSTEM
NO
(Q96,P36,Q3038568) (Q96,P36,Q5825680)
action is_in
entity Q96
action intersection
action find_reverse
entity Q3038568
relation P36
action find_reverse
entity Q5825680
relation P36
[ANSWER]
['Q96', 'P36', 'Q3038568'] ['Q96', 'P36', 'Q5825680']
ASK WHERE { resource:Q96 property:P36 resource:Q3038568 . resource:Q96 property:P36 resource:Q5825680 }
No
action is_in
entity Mexico
action intersection
action find_reverse
entity Vidovići, Bosansko Grahovo
relation capital
action find_reverse
entity Sonbol, Razavi Khorasan
relation capital
['Mexico', 'capital', 'Vidovići, Bosansko Grahovo'] ['Mexico', 'capital', 'Sonbol, Razavi Khorasan']
ASK WHERE { resource:Mexico property:capital resource:Vidovići,_Bosansko_Grahovo . resource:Mexico property:capital resource:Sonbol,_Razavi_Khorasan }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3846862 Q627732
P17
Q15617994
USER
Is Santa María del Río, San Luis Potosí a part of Friesenhagen ?
(Q3846862,P17,Q627732)
action is_in
entity Q627732
action find
entity Q3846862
relation P17
['Q3846862', 'P17', 'Q627732']
ASK WHERE { resource:Q3846862 property:P17 resource:Q627732 }
Santa María del Río, San Luis Potosí Friesenhagen
action is_in
entity Friesenhagen
action find
entity Santa María del Río, San Luis Potosí
relation country
['Santa María del Río, San Luis Potosí', 'country', 'Friesenhagen']
ASK WHERE { resource:Santa_María_del_Río,_San_Luis_Potosí property:country resource:Friesenhagen }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q3846862,P17,Q627732)
action is_in
entity Q627732
action find
entity Q3846862
relation P17
[ANSWER]
['Q3846862', 'P17', 'Q627732']
ASK WHERE { resource:Q3846862 property:P17 resource:Q627732 }
No
action is_in
entity Friesenhagen
action find
entity Santa María del Río, San Luis Potosí
relation country
['Santa María del Río, San Luis Potosí', 'country', 'Friesenhagen']
ASK WHERE { resource:Santa_María_del_Río,_San_Luis_Potosí property:country resource:Friesenhagen }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q3846862
P19 P21
Q502895
USER
Which people have birthplace at Santa María del Río, San Luis Potosí and have the gender as male ?
AND((c(Q502895),P19,Q3846862), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q3846862
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q3846862'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?w WHERE { ?w property:P19 resource:Q3846862 . ?w property:P21 resource:Q6581097 . ?w rdf:type ontology:Q502895 }
male Santa María del Río, San Luis Potosí
action filter_type
action intersection
action find_reverse
entity Santa María del Río, San Luis Potosí
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Santa María del Río, San Luis Potosí'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?w WHERE { ?w property:place_of_birth resource:Santa_María_del_Río,_San_Luis_Potosí . ?w property:gender resource:male . ?w rdf:type ontology:common_name }
[]
common name
Q7243603
SYSTEM
Primo Feliciano Velázquez
Q7243603
AND((c(Q502895),P19,Q3846862), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q3846862
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWER] have birthplace at Santa María del Río, San Luis Potosí and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q3846862'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?w WHERE { ?w property:P19 resource:Q3846862 . ?w property:P21 resource:Q6581097 . ?w rdf:type ontology:Q502895 }
Primo Feliciano Velázquez
Primo Feliciano Velázquez have birthplace at Santa María del Río, San Luis Potosí and have the gender as male
Primo Feliciano Velázquez
action filter_type
action intersection
action find_reverse
entity Santa María del Río, San Luis Potosí
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Santa María del Río, San Luis Potosí'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?w WHERE { ?w property:place_of_birth resource:Santa_María_del_Río,_San_Luis_Potosí . ?w property:gender resource:male . ?w rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q96
P463
Q1129645 Q874405
USER
How many trade blocs and social groups were Mexico a member of ?
(Q96,P463,c(Q1129645)) (Q96,P463,c(Q874405))
action count
action union
action filter_type
action find
entity Q96
relation P463
type Q1129645
action filter_type
action find
entity Q96
relation P463
type Q874405
['Q96', 'P463', {'concept': 'Q1129645'}] ['Q96', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { { resource:Q96 property:P463 ?m . ?m rdf:type ontology:Q1129645 } UNION { resource:Q96 property:P463 ?m . ?m rdf:type ontology:Q874405 } }
Mexico
action count
action union
action filter_type
action find
entity Mexico
relation member of
type trade bloc
action filter_type
action find
entity Mexico
relation member of
type social group
['Mexico', 'member of', {'concept': 'trade bloc'}] ['Mexico', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { { resource:Mexico property:member_of ?m . ?m rdf:type ontology:trade_bloc } UNION { resource:Mexico property:member_of ?m . ?m rdf:type ontology:social_group } }
[]
trade bloc social group
SYSTEM
1 trade blocs and 6 social groups
Q83201 Q32874 Q41984 Q782942 Q971612 Q181574 Q1069175
(Q96,P463,c(Q1129645)) (Q96,P463,c(Q874405))
action count
action union
action filter_type
action find
entity Q96
relation P463
type Q1129645
action filter_type
action find
entity Q96
relation P463
type Q874405
[ANSWER]
['Q96', 'P463', {'concept': 'Q1129645'}] ['Q96', 'P463', {'concept': 'Q874405'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { { resource:Q96 property:P463 ?m . ?m rdf:type ontology:Q1129645 } UNION { resource:Q96 property:P463 ?m . ?m rdf:type ontology:Q874405 } }
Non-Aligned Movement United Nations Economic Commission for Latin America and the Caribbean International Atomic Energy Agency Australia Group Group of 15 North American Free Trade Agreement International Federation of Red Cross and Red Crescent Societies
1 trade blocs and 6 social groups
action count
action union
action filter_type
action find
entity Mexico
relation member of
type trade bloc
action filter_type
action find
entity Mexico
relation member of
type social group
['Mexico', 'member of', {'concept': 'trade bloc'}] ['Mexico', 'member of', {'concept': 'social group'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?h ) WHERE { { resource:Mexico property:member_of ?m . ?m rdf:type ontology:trade_bloc } UNION { resource:Mexico property:member_of ?m . ?m rdf:type ontology:social_group } }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q96
P112
Q43229
USER
Which organization was established by that administrative territory ?
action filter_type
action find_reverse
entity Q96
relation P112
type Q43229
SELECT DISTINCT ?d WHERE { ?d property:P112 resource:Q96 . ?d rdf:type ontology:Q43229 }
Mexico
action filter_type
action find_reverse
entity Mexico
relation founder
type organization
SELECT DISTINCT ?d WHERE { ?d property:founder resource:Mexico . ?d rdf:type ontology:organization }
[]
organization
Q7809
SYSTEM
United Nations Educational, Scientific and Cultural Organization
Q7809
action filter_type
action find_reverse
entity Q96
relation P112
type Q43229
[ANSWER] was established by that administrative territory
SELECT DISTINCT ?d WHERE { ?d property:P112 resource:Q96 . ?d rdf:type ontology:Q43229 }
United Nations Educational, Scientific and Cultural Organization
United Nations Educational, Scientific and Cultural Organization was established by that administrative territory
United Nations Educational, Scientific and Cultural Organization
action filter_type
action find_reverse
entity Mexico
relation founder
type organization
SELECT DISTINCT ?d WHERE { ?d property:founder resource:Mexico . ?d rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q96
P530
Q15617994
USER
Who have a diplomatic relationship with that one ?
(Q7809,P530,c(Q15617994))
action filter_type
action find
entity Q96
relation P530
type Q15617994
['Q7809', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q96 property:P530 ?o . ?o rdf:type ontology:Q15617994 }
Mexico
action filter_type
action find
entity Mexico
relation diplomatic relation
type designation for an administrative territorial entity
['United Nations Educational, Scientific and Cultural Organization', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Mexico property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q155 Q38
SYSTEM
Brazil, Italy
Q155 Q38
(Q7809,P530,c(Q15617994))
action filter_type
action find
entity Q96
relation P530
type Q15617994
[ANSWERS] have a diplomatic relationship with that one
['Q7809', 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q96 property:P530 ?o . ?o rdf:type ontology:Q15617994 }
Brazil Italy
Brazil and Italy have a diplomatic relationship with that one
Brazil Italy
action filter_type
action find
entity Mexico
relation diplomatic relation
type designation for an administrative territorial entity
['United Nations Educational, Scientific and Cultural Organization', 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Mexico property:diplomatic_relation ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5424173
P840
Q166142
USER
Do F1 Race Stars have their setting located at those administrative territories ?
(Q5424173,P840,Q155) (Q5424173,P840,Q38)
action is_in
entity prev_answer
action find
entity Q5424173
relation P840
['Q5424173', 'P840', 'Q155'] ['Q5424173', 'P840', 'Q38']
ASK WHERE { resource:Q5424173 property:P840 ?h . VALUES ( ?h ) { ( resource:Q155 ) ( resource:Q38 ) } }
F1 Race Stars
action is_in
entity prev_answer
action find
entity F1 Race Stars
relation narrative location
['F1 Race Stars', 'narrative location', 'Brazil'] ['F1 Race Stars', 'narrative location', 'Italy']
ASK WHERE { resource:F1_Race_Stars property:narrative_location ?h . VALUES ( ?h ) { ( resource:Brazil ) ( resource:Italy ) } }
[]
application
SYSTEM
YES
(Q5424173,P840,Q155) (Q5424173,P840,Q38)
action is_in
entity prev_answer
action find
entity Q5424173
relation P840
[ANSWER]
['Q5424173', 'P840', 'Q155'] ['Q5424173', 'P840', 'Q38']
ASK WHERE { resource:Q5424173 property:P840 ?h . VALUES ( ?h ) { ( resource:Q155 ) ( resource:Q38 ) } }
Yes
action is_in
entity prev_answer
action find
entity F1 Race Stars
relation narrative location
['F1 Race Stars', 'narrative location', 'Brazil'] ['F1 Race Stars', 'narrative location', 'Italy']
ASK WHERE { resource:F1_Race_Stars property:narrative_location ?h . VALUES ( ?h ) { ( resource:Brazil ) ( resource:Italy ) } }
[]