Simple Question (Direct)
Simple Question
Q1785569
P463
Q7210356
USER
Which political organization was Jeremiah O'Donovan Rossa a member of ?
(Q1785569,P463,c(Q7210356))
action filter_type
action find
entity Q1785569
relation P463
type Q7210356
['Q1785569', 'P463', {'concept': 'Q7210356'}]
SELECT DISTINCT ?d WHERE { resource:Q1785569 property:P463 ?d . ?d rdf:type ontology:Q7210356 }
Jeremiah O'Donovan Rossa
action filter_type
action find
entity Jeremiah O'Donovan Rossa
relation member of
type political organization
["Jeremiah O'Donovan Rossa", 'member of', {'concept': 'political organization'}]
SELECT DISTINCT ?d WHERE { resource:Jeremiah_O'Donovan_Rossa property:member_of ?d . ?d rdf:type ontology:political_organization }
[]
political organization
Q1062580
SYSTEM
Irish Republican Brotherhood
Q1062580
(Q1785569,P463,c(Q7210356))
action filter_type
action find
entity Q1785569
relation P463
type Q7210356
The [ANSWER] was Jeremiah O'Donovan Rossa a member of
['Q1785569', 'P463', {'concept': 'Q7210356'}]
SELECT DISTINCT ?d WHERE { resource:Q1785569 property:P463 ?d . ?d rdf:type ontology:Q7210356 }
Irish Republican Brotherhood
The Irish Republican Brotherhood was Jeremiah O'Donovan Rossa a member of
Irish Republican Brotherhood
action filter_type
action find
entity Jeremiah O'Donovan Rossa
relation member of
type political organization
["Jeremiah O'Donovan Rossa", 'member of', {'concept': 'political organization'}]
SELECT DISTINCT ?d WHERE { resource:Jeremiah_O'Donovan_Rossa property:member_of ?d . ?d rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1785569
P119
Q43229
USER
Which organization is the resting place of that person ?
(Q1062580,P119,c(Q43229))
action filter_type
action find
entity Q1785569
relation P119
type Q43229
['Q1062580', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?e WHERE { resource:Q1785569 property:P119 ?e . ?e rdf:type ontology:Q43229 }
Jeremiah O'Donovan Rossa
action filter_type
action find
entity Jeremiah O'Donovan Rossa
relation place of burial
type organization
['Irish Republican Brotherhood', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?e WHERE { resource:Jeremiah_O'Donovan_Rossa property:place_of_burial ?e . ?e rdf:type ontology:organization }
[]
organization
Q1263215
SYSTEM
Glasnevin Cemetery
Q1263215
(Q1062580,P119,c(Q43229))
action filter_type
action find
entity Q1785569
relation P119
type Q43229
[ANSWER] is the resting place of that person
['Q1062580', 'P119', {'concept': 'Q43229'}]
SELECT DISTINCT ?e WHERE { resource:Q1785569 property:P119 ?e . ?e rdf:type ontology:Q43229 }
Glasnevin Cemetery
Glasnevin Cemetery is the resting place of that person
Glasnevin Cemetery
action filter_type
action find
entity Jeremiah O'Donovan Rossa
relation place of burial
type organization
['Irish Republican Brotherhood', 'place of burial', {'concept': 'organization'}]
SELECT DISTINCT ?e WHERE { resource:Jeremiah_O'Donovan_Rossa property:place_of_burial ?e . ?e rdf:type ontology:organization }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q5478659 Q1785569
P119
Q43229
USER
Or Frances Fuller Victor?
OR((Q1785569,P119,c(Q43229)), (Q5478659,P119,c(Q43229)))
action filter_type
action union
action find
entity Q1785569
relation P119
action find
entity Q5478659
relation P119
type Q43229
{'OR': [['Q1785569', 'P119', {'concept': 'Q43229'}], ['Q5478659', 'P119', {'concept': 'Q43229'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q43229 . { VALUES ( ?g ) { ( resource:Q1785569 ) ( resource:Q5478659 ) } . ?g property:P119 ?i } }
Frances Fuller Victor Jeremiah O'Donovan Rossa
action filter_type
action union
action find
entity Jeremiah O'Donovan Rossa
relation place of burial
action find
entity Frances Fuller Victor
relation place of burial
type organization
{'OR': [["Jeremiah O'Donovan Rossa", 'place of burial', {'concept': 'organization'}], ['Frances Fuller Victor', 'place of burial', {'concept': 'organization'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:organization . { VALUES ( ?g ) { ( resource:Jeremiah_O'Donovan_Rossa ) ( resource:Frances_Fuller_Victor ) } . ?g property:place_of_burial ?i } }
[]
organization
Q7337938 Q1263215
SYSTEM
River View Cemetery, Glasnevin Cemetery
Q7337938 Q1263215
OR((Q1785569,P119,c(Q43229)), (Q5478659,P119,c(Q43229)))
action filter_type
action union
action find
entity Q1785569
relation P119
action find
entity Q5478659
relation P119
type Q43229
[ANSWERS]
{'OR': [['Q1785569', 'P119', {'concept': 'Q43229'}], ['Q5478659', 'P119', {'concept': 'Q43229'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q43229 . { VALUES ( ?g ) { ( resource:Q1785569 ) ( resource:Q5478659 ) } . ?g property:P119 ?i } }
River View Cemetery Glasnevin Cemetery
River View Cemetery Glasnevin Cemetery
action filter_type
action union
action find
entity Jeremiah O'Donovan Rossa
relation place of burial
action find
entity Frances Fuller Victor
relation place of burial
type organization
{'OR': [["Jeremiah O'Donovan Rossa", 'place of burial', {'concept': 'organization'}], ['Frances Fuller Victor', 'place of burial', {'concept': 'organization'}]]}
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:organization . { VALUES ( ?g ) { ( resource:Jeremiah_O'Donovan_Rossa ) ( resource:Frances_Fuller_Victor ) } . ?g property:place_of_burial ?i } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q5478659
P27
Q15617994
USER
How many administrative territories are Frances Fuller Victor a civilian of ?
(Q5478659,P27,c(Q15617994))
action count
action filter_type
action find
entity Q5478659
relation P27
type Q15617994
['Q5478659', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Q5478659 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
Frances Fuller Victor
action count
action filter_type
action find
entity Frances Fuller Victor
relation country of citizenship
type designation for an administrative territorial entity
['Frances Fuller Victor', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Frances_Fuller_Victor property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q5478659,P27,c(Q15617994))
action count
action filter_type
action find
entity Q5478659
relation P27
type Q15617994
[ANSWER]
['Q5478659', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Q5478659 property:P27 ?r . ?r rdf:type ontology:Q15617994 }
United States of America
1
action count
action filter_type
action find
entity Frances Fuller Victor
relation country of citizenship
type designation for an administrative territorial entity
['Frances Fuller Victor', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?q ) WHERE { resource:Frances_Fuller_Victor property:country_of_citizenship ?r . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q18347428
P27
Q15617994
USER
And also tell me about Chloé Valdary?
(Q18347428,P27,c(Q15617994))
action count
action filter_type
action find
entity Q18347428
relation P27
type Q15617994
['Q18347428', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { ?n rdf:type ontology:Q15617994 . resource:Q18347428 property:P27 ?n }
Chloé Valdary
action count
action filter_type
action find
entity Chloé Valdary
relation country of citizenship
type designation for an administrative territorial entity
['Chloé Valdary', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Chloé_Valdary property:country_of_citizenship ?n }
[]
designation for an administrative territorial entity
SYSTEM
1
Q30
(Q18347428,P27,c(Q15617994))
action count
action filter_type
action find
entity Q18347428
relation P27
type Q15617994
[ANSWER]
['Q18347428', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { ?n rdf:type ontology:Q15617994 . resource:Q18347428 property:P27 ?n }
United States of America
1
action count
action filter_type
action find
entity Chloé Valdary
relation country of citizenship
type designation for an administrative territorial entity
['Chloé Valdary', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?m ) WHERE { ?n rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Chloé_Valdary property:country_of_citizenship ?n }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q5561521
Q15617994
USER
And how about Gilda Olvidado?
(Q5561521,P27,c(Q15617994))
action count
action filter_type
action find
entity Q5561521
relation P27
type Q15617994
['Q5561521', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { resource:Q5561521 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
Gilda Olvidado
action count
action filter_type
action find
entity Gilda Olvidado
relation country of citizenship
type designation for an administrative territorial entity
['Gilda Olvidado', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { resource:Gilda_Olvidado property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q5561521,P27,c(Q15617994))
action count
action filter_type
action find
entity Q5561521
relation P27
type Q15617994
[ANSWER]
['Q5561521', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { resource:Q5561521 property:P27 ?l . ?l rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Gilda Olvidado
relation country of citizenship
type designation for an administrative territorial entity
['Gilda Olvidado', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?j ) WHERE { resource:Gilda_Olvidado property:country_of_citizenship ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5561521
P21
Q290
USER
Which sex does that person have ?
action filter_type
action find
entity Q5561521
relation P21
type Q290
SELECT DISTINCT ?z WHERE { resource:Q5561521 property:P21 ?z . ?z rdf:type ontology:Q290 }
Gilda Olvidado
action filter_type
action find
entity Gilda Olvidado
relation gender
type sex
SELECT DISTINCT ?z WHERE { resource:Gilda_Olvidado property:gender ?z . ?z rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
action filter_type
action find
entity Q5561521
relation P21
type Q290
That person has a [ANSWER]
SELECT DISTINCT ?z WHERE { resource:Q5561521 property:P21 ?z . ?z rdf:type ontology:Q290 }
female
That person has a female
female
action filter_type
action find
entity Gilda Olvidado
relation gender
type sex
SELECT DISTINCT ?z WHERE { resource:Gilda_Olvidado property:gender ?z . ?z rdf:type ontology:sex }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P35
Q502895 Q35798 Q7275
USER
Which people are the chiefs of state of max number of executive branches and states ?
(c(Q35798)|c(Q7275),P35,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q35798
action find_reverse_tuple_counts
relation P35
type Q502895
type Q7275
[[{'concept': 'Q35798'}, {'concept': 'Q7275'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) ?o WHERE { VALUES ( ?v ) { ( ontology:Q35798 ) ( ontology:Q7275 ) } . ?i rdf:type ?v } GROUP BY ?o } } . FILTER ( ?t = ?a ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) ?f WHERE { { ?f rdf:type ontology:Q502895 . ?p rdf:type ontology:Q35798 . ?p property:P35 ?f } UNION { ?p property:P35 ?f . ?f rdf:type ontology:Q502895 . ?p rdf:type ontology:Q7275 } } GROUP BY ?f } }
action argmax
action union
action find_reverse_tuple_counts
relation head of state
type common name
type executive branch
action find_reverse_tuple_counts
relation head of state
type common name
type state
[[{'concept': 'executive branch'}, {'concept': 'state'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) ?o WHERE { VALUES ( ?v ) { ( ontology:executive_branch ) ( ontology:state ) } . ?i rdf:type ?v } GROUP BY ?o } } . FILTER ( ?t = ?a ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) ?f WHERE { { ?f rdf:type ontology:common_name . ?p rdf:type ontology:executive_branch . ?p property:head_of_state ?f } UNION { ?p property:head_of_state ?f . ?f rdf:type ontology:common_name . ?p rdf:type ontology:state } } GROUP BY ?f } }
[]
common name executive branch state
Q150642
SYSTEM
Vittorio Emanuele III
Q150642
(c(Q35798)|c(Q7275),P35,c(Q502895))
action argmax
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q35798
action find_reverse_tuple_counts
relation P35
type Q502895
type Q7275
[ANSWER] is the chiefs of state of max number of executive branches and states
[[{'concept': 'Q35798'}, {'concept': 'Q7275'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) ?o WHERE { VALUES ( ?v ) { ( ontology:Q35798 ) ( ontology:Q7275 ) } . ?i rdf:type ?v } GROUP BY ?o } } . FILTER ( ?t = ?a ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) ?f WHERE { { ?f rdf:type ontology:Q502895 . ?p rdf:type ontology:Q35798 . ?p property:P35 ?f } UNION { ?p property:P35 ?f . ?f rdf:type ontology:Q502895 . ?p rdf:type ontology:Q7275 } } GROUP BY ?f } }
Vittorio Emanuele III
Vittorio Emanuele III is the chiefs of state of max number of executive branches and states
Vittorio Emanuele III
action argmax
action union
action find_reverse_tuple_counts
relation head of state
type common name
type executive branch
action find_reverse_tuple_counts
relation head of state
type common name
type state
[[{'concept': 'executive branch'}, {'concept': 'state'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( MAX ( ?r ) AS ?a ) { SELECT DISTINCT ( COUNT ( ?i ) AS ?r ) ?o WHERE { VALUES ( ?v ) { ( ontology:executive_branch ) ( ontology:state ) } . ?i rdf:type ?v } GROUP BY ?o } } . FILTER ( ?t = ?a ) . { SELECT DISTINCT ( COUNT ( ?p ) AS ?t ) ?f WHERE { { ?f rdf:type ontology:common_name . ?p rdf:type ontology:executive_branch . ?p property:head_of_state ?f } UNION { ?p property:head_of_state ?f . ?f rdf:type ontology:common_name . ?p rdf:type ontology:state } } GROUP BY ?f } }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q150642 Q7847114
P27
Q15617994
USER
Is Truas the native country of that person ?
(Q150642,P27,Q7847114)
action is_in
entity Q7847114
action find
entity Q150642
relation P27
['Q150642', 'P27', 'Q7847114']
ASK WHERE { resource:Q150642 property:P27 resource:Q7847114 }
Vittorio Emanuele III Truas
action is_in
entity Truas
action find
entity Vittorio Emanuele III
relation country of citizenship
['Vittorio Emanuele III', 'country of citizenship', 'Truas']
ASK WHERE { resource:Vittorio_Emanuele_III property:country_of_citizenship resource:Truas }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q150642,P27,Q7847114)
action is_in
entity Q7847114
action find
entity Q150642
relation P27
[ANSWER]
['Q150642', 'P27', 'Q7847114']
ASK WHERE { resource:Q150642 property:P27 resource:Q7847114 }
No
action is_in
entity Truas
action find
entity Vittorio Emanuele III
relation country of citizenship
['Vittorio Emanuele III', 'country of citizenship', 'Truas']
ASK WHERE { resource:Vittorio_Emanuele_III property:country_of_citizenship resource:Truas }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q7337938 Q2878474 Q30
P17
Q15617994
USER
Is River View Cemetery located in Matsloot and United States of America ?
(Q7337938,P17,Q2878474) (Q7337938,P17,Q30)
action is_in
entity Q7337938
action intersection
action find_reverse
entity Q2878474
relation P17
action find_reverse
entity Q30
relation P17
['Q7337938', 'P17', 'Q2878474'] ['Q7337938', 'P17', 'Q30']
ASK WHERE { resource:Q7337938 property:P17 resource:Q2878474 . resource:Q7337938 property:P17 resource:Q30 }
River View Cemetery Matsloot United States of America
action is_in
entity River View Cemetery
action intersection
action find_reverse
entity Matsloot
relation country
action find_reverse
entity United States of America
relation country
['River View Cemetery', 'country', 'Matsloot'] ['River View Cemetery', 'country', 'United States of America']
ASK WHERE { resource:River_View_Cemetery property:country resource:Matsloot . resource:River_View_Cemetery property:country resource:United_States_of_America }
[]
designation for an administrative territorial entity
SYSTEM
NO and YES respectively
(Q7337938,P17,Q2878474) (Q7337938,P17,Q30)
action is_in
entity Q7337938
action intersection
action find_reverse
entity Q2878474
relation P17
action find_reverse
entity Q30
relation P17
[ANSWER]
['Q7337938', 'P17', 'Q2878474'] ['Q7337938', 'P17', 'Q30']
ASK WHERE { resource:Q7337938 property:P17 resource:Q2878474 . resource:Q7337938 property:P17 resource:Q30 }
NO and YES respectively
action is_in
entity River View Cemetery
action intersection
action find_reverse
entity Matsloot
relation country
action find_reverse
entity United States of America
relation country
['River View Cemetery', 'country', 'Matsloot'] ['River View Cemetery', 'country', 'United States of America']
ASK WHERE { resource:River_View_Cemetery property:country resource:Matsloot . resource:River_View_Cemetery property:country resource:United_States_of_America }
[]