Simple Question (Direct)
Simple Question
Q3817185
P1412
Q34770
USER
Which language can Wenceslao Carrillo read ?
(Q3817185,P1412,c(Q34770))
action filter_type
action find
entity Q3817185
relation P1412
type Q34770
['Q3817185', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q34770 . resource:Q3817185 property:P1412 ?l }
Wenceslao Carrillo
action filter_type
action find
entity Wenceslao Carrillo
relation languages spoken, written or signed
type language
['Wenceslao Carrillo', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:language . resource:Wenceslao_Carrillo property:languages_spoken,_written_or_signed ?l }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q3817185,P1412,c(Q34770))
action filter_type
action find
entity Q3817185
relation P1412
type Q34770
Wenceslao Carrillo can read in [ANSWER]
['Q3817185', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q34770 . resource:Q3817185 property:P1412 ?l }
Spanish
Wenceslao Carrillo can read in Spanish
Spanish
action filter_type
action find
entity Wenceslao Carrillo
relation languages spoken, written or signed
type language
['Wenceslao Carrillo', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:language . resource:Wenceslao_Carrillo property:languages_spoken,_written_or_signed ?l }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3817185
P40
Q502895
USER
Which person is a child of Wenceslao Carrillo ?
(Q3817185,P40,c(Q502895))
action filter_type
action find
entity Q3817185
relation P40
type Q502895
['Q3817185', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q3817185 property:P40 ?y . ?y rdf:type ontology:Q502895 }
Wenceslao Carrillo
action filter_type
action find
entity Wenceslao Carrillo
relation child
type common name
['Wenceslao Carrillo', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Wenceslao_Carrillo property:child ?y . ?y rdf:type ontology:common_name }
[]
common name
Q298789
SYSTEM
Santiago Carrillo
Q298789
(Q3817185,P40,c(Q502895))
action filter_type
action find
entity Q3817185
relation P40
type Q502895
As [ANSWER] is a child of Wenceslao Carrillo
['Q3817185', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q3817185 property:P40 ?y . ?y rdf:type ontology:Q502895 }
Santiago Carrillo
As Santiago Carrillo is a child of Wenceslao Carrillo
Santiago Carrillo
action filter_type
action find
entity Wenceslao Carrillo
relation child
type common name
['Wenceslao Carrillo', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Wenceslao_Carrillo property:child ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q298789
P39
Q12737077
USER
Which occupation was a position for which that person was appointed ?
(Q298789,P39,c(Q12737077))
action filter_type
action find
entity Q298789
relation P39
type Q12737077
['Q298789', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q298789 property:P39 ?o }
Santiago Carrillo
action filter_type
action find
entity Santiago Carrillo
relation position held
type occupation
['Santiago Carrillo', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:Santiago_Carrillo property:position_held ?o }
[]
occupation
Q18171345
SYSTEM
Member of the Congress of Deputies of Spain
Q18171345
(Q298789,P39,c(Q12737077))
action filter_type
action find
entity Q298789
relation P39
type Q12737077
[ANSWER] was a position for which that person was appointed
['Q298789', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q12737077 . resource:Q298789 property:P39 ?o }
Member of the Congress of Deputies of Spain
Member of the Congress of Deputies of Spain was a position for which that person was appointed
Member of the Congress of Deputies of Spain
action filter_type
action find
entity Santiago Carrillo
relation position held
type occupation
['Santiago Carrillo', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:occupation . resource:Santiago_Carrillo property:position_held ?o }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q298789
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q18171345,P27,c(Q15617994))
action filter_type
action find
entity Q298789
relation P27
type Q15617994
['Q18171345', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q298789 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Santiago Carrillo
action filter_type
action find
entity Santiago Carrillo
relation country of citizenship
type designation for an administrative territorial entity
['Member of the Congress of Deputies of Spain', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Santiago_Carrillo property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q29
SYSTEM
Spain
Q29
(Q18171345,P27,c(Q15617994))
action filter_type
action find
entity Q298789
relation P27
type Q15617994
[ANSWER] is that person a civilian of
['Q18171345', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?e WHERE { resource:Q298789 property:P27 ?e . ?e rdf:type ontology:Q15617994 }
Spain
Spain is that person a civilian of
Spain
action filter_type
action find
entity Santiago Carrillo
relation country of citizenship
type designation for an administrative territorial entity
['Member of the Congress of Deputies of Spain', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?e WHERE { resource:Santiago_Carrillo property:country_of_citizenship ?e . ?e rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q29 Q3771227
P27
Q502895
USER
Is Giuseppe Pillon a citizen of that administrative territory ?
(Q3771227,P27,Q29)
action is_in
entity Q3771227
action find
entity Q29
relation P27
['Q3771227', 'P27', 'Q29']
ASK WHERE { resource:Q29 property:P27 resource:Q3771227 }
Spain Giuseppe Pillon
action is_in
entity Giuseppe Pillon
action find
entity Spain
relation country of citizenship
['Giuseppe Pillon', 'country of citizenship', 'Spain']
ASK WHERE { resource:Spain property:country_of_citizenship resource:Giuseppe_Pillon }
[]
common name
SYSTEM
NO
(Q3771227,P27,Q29)
action is_in
entity Q3771227
action find
entity Q29
relation P27
[ANSWER]
['Q3771227', 'P27', 'Q29']
ASK WHERE { resource:Q29 property:P27 resource:Q3771227 }
No
action is_in
entity Giuseppe Pillon
action find
entity Spain
relation country of citizenship
['Giuseppe Pillon', 'country of citizenship', 'Spain']
ASK WHERE { resource:Spain property:country_of_citizenship resource:Giuseppe_Pillon }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q3817185 Q12655673
P937
Q56061
USER
Is Giršinai the work location of Wenceslao Carrillo ?
(Q3817185,P937,Q12655673)
action is_in
entity Q12655673
action find
entity Q3817185
relation P937
['Q3817185', 'P937', 'Q12655673']
ASK WHERE { resource:Q3817185 property:P937 resource:Q12655673 }
Wenceslao Carrillo Giršinai
action is_in
entity Giršinai
action find
entity Wenceslao Carrillo
relation work location
['Wenceslao Carrillo', 'work location', 'Giršinai']
ASK WHERE { resource:Wenceslao_Carrillo property:work_location resource:Giršinai }
[]
administrative territorial entity
SYSTEM
NO
(Q3817185,P937,Q12655673)
action is_in
entity Q12655673
action find
entity Q3817185
relation P937
[ANSWER]
['Q3817185', 'P937', 'Q12655673']
ASK WHERE { resource:Q3817185 property:P937 resource:Q12655673 }
No
action is_in
entity Giršinai
action find
entity Wenceslao Carrillo
relation work location
['Wenceslao Carrillo', 'work location', 'Giršinai']
ASK WHERE { resource:Wenceslao_Carrillo property:work_location resource:Giršinai }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P674
Q502895 Q2342494 Q15416
USER
Which people are the name of the persons who plays a role in approximately 5 collectables and television programs ?
(c(Q2342494)|c(Q15416),P674,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P674
type Q502895
type Q15416
value 5
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?i ) WHERE { ?q rdf:type ?x . VALUES ( ?x ) { ( ontology:Q2342494 ) ( ontology:Q15416 ) } } GROUP BY ?e } . FILTER ( ?i = 5 ) }
action approx
action union
action find_reverse_tuple_counts
relation characters
type common name
type collectable
action find_reverse_tuple_counts
relation characters
type common name
type television program
value 5
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?i ) WHERE { ?q rdf:type ?x . VALUES ( ?x ) { ( ontology:collectable ) ( ontology:television_program ) } } GROUP BY ?e } . FILTER ( ?i = 5 ) }
[]
common name collectable television program
Q854177 Q47365
SYSTEM
Kay Scarpetta, Marie Antoinette
Q854177 Q47365
(c(Q2342494)|c(Q15416),P674,c(Q502895))
action approx
action union
action find_reverse_tuple_counts
relation P674
type Q502895
type Q2342494
action find_reverse_tuple_counts
relation P674
type Q502895
type Q15416
value 5
[ANSWERS] are the name of the persons who plays a role in approximately 5 collectables and television programs
[[{'concept': 'Q2342494'}, {'concept': 'Q15416'}], 'P674', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?i ) WHERE { ?q rdf:type ?x . VALUES ( ?x ) { ( ontology:Q2342494 ) ( ontology:Q15416 ) } } GROUP BY ?e } . FILTER ( ?i = 5 ) }
Kay Scarpetta Marie Antoinette
Kay Scarpetta and Marie Antoinette are the name of the persons who plays a role in approximately 5 collectables and television programs
Kay Scarpetta Marie Antoinette
action approx
action union
action find_reverse_tuple_counts
relation characters
type common name
type collectable
action find_reverse_tuple_counts
relation characters
type common name
type television program
value 5
[[{'concept': 'collectable'}, {'concept': 'television program'}], 'characters', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ?e ( COUNT ( ?q ) AS ?i ) WHERE { ?q rdf:type ?x . VALUES ( ?x ) { ( ontology:collectable ) ( ontology:television_program ) } } GROUP BY ?e } . FILTER ( ?i = 5 ) }
[]