Simple Question (Direct)
Simple Question
Q5955567
P27
Q15617994
USER
Which administrative territory is the native country of Julio Nicolás José Fonrouge de Lesseps ?
(Q5955567,P27,c(Q15617994))
action filter_type
action find
entity Q5955567
relation P27
type Q15617994
['Q5955567', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q5955567 property:P27 ?g }
Julio Nicolás José Fonrouge de Lesseps
action filter_type
action find
entity Julio Nicolás José Fonrouge de Lesseps
relation country of citizenship
type designation for an administrative territorial entity
['Julio Nicolás José Fonrouge de Lesseps', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Julio_Nicolás_José_Fonrouge_de_Lesseps property:country_of_citizenship ?g }
[]
designation for an administrative territorial entity
Q414
SYSTEM
Argentina
Q414
(Q5955567,P27,c(Q15617994))
action filter_type
action find
entity Q5955567
relation P27
type Q15617994
[ANSWER] is the native country of Julio Nicolás José Fonrouge de Lesseps
['Q5955567', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q5955567 property:P27 ?g }
Argentina
Argentina is the native country of Julio Nicolás José Fonrouge de Lesseps
Argentina
action filter_type
action find
entity Julio Nicolás José Fonrouge de Lesseps
relation country of citizenship
type designation for an administrative territorial entity
['Julio Nicolás José Fonrouge de Lesseps', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Julio_Nicolás_José_Fonrouge_de_Lesseps property:country_of_citizenship ?g }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q414
P6
Q502895
USER
Which person has that administrative territory as its head of government ?
(Q414,P6,c(Q502895))
action filter_type
action find
entity Q414
relation P6
type Q502895
['Q414', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . resource:Q414 property:P6 ?y }
Argentina
action filter_type
action find
entity Argentina
relation head of government
type common name
['Argentina', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . resource:Argentina property:head_of_government ?y }
[]
common name
Q561837
SYSTEM
Mauricio Macri
Q561837
(Q414,P6,c(Q502895))
action filter_type
action find
entity Q414
relation P6
type Q502895
[ANSWER] has that administrative territory as its head of government
['Q414', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . resource:Q414 property:P6 ?y }
Mauricio Macri
Mauricio Macri has that administrative territory as its head of government
Mauricio Macri
action filter_type
action find
entity Argentina
relation head of government
type common name
['Argentina', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . resource:Argentina property:head_of_government ?y }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q561837 Q414
P35
Q15617994
USER
Does Argentina have that person as its chief of state ?
(Q414,P35,Q561837)
action is_in
entity Q561837
action find
entity Q414
relation P35
['Q414', 'P35', 'Q561837']
ASK WHERE { resource:Q414 property:P35 resource:Q561837 }
Mauricio Macri Argentina
action is_in
entity Mauricio Macri
action find
entity Argentina
relation head of state
['Argentina', 'head of state', 'Mauricio Macri']
ASK WHERE { resource:Argentina property:head_of_state resource:Mauricio_Macri }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q414,P35,Q561837)
action is_in
entity Q561837
action find
entity Q414
relation P35
[ANSWER]
['Q414', 'P35', 'Q561837']
ASK WHERE { resource:Q414 property:P35 resource:Q561837 }
Yes
action is_in
entity Mauricio Macri
action find
entity Argentina
relation head of state
['Argentina', 'head of state', 'Mauricio Macri']
ASK WHERE { resource:Argentina property:head_of_state resource:Mauricio_Macri }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P725
Q502895 Q838948
USER
Which works of art had their voice dubbing done by min number of people ?
(c(Q838948),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q838948
type Q502895
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?s ) { SELECT DISTINCT ?d ( COUNT ( ?i ) AS ?v ) WHERE { ?d property:P725 ?i . ?i rdf:type ontology:Q502895 . ?d rdf:type ontology:Q838948 } GROUP BY ?d } } . { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?a ) WHERE { ?e property:P725 ?u . ?e rdf:type ontology:Q838948 . ?u rdf:type ontology:Q502895 } GROUP BY ?e } . FILTER ( ?a = ?s ) }
action argmin
action find_tuple_counts
relation voice actor
type work of art
type common name
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?s ) { SELECT DISTINCT ?d ( COUNT ( ?i ) AS ?v ) WHERE { ?d property:voice_actor ?i . ?i rdf:type ontology:common_name . ?d rdf:type ontology:work_of_art } GROUP BY ?d } } . { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?a ) WHERE { ?e property:voice_actor ?u . ?e rdf:type ontology:work_of_art . ?u rdf:type ontology:common_name } GROUP BY ?e } . FILTER ( ?a = ?s ) }
[]
common name work of art
Q190145 Q4468674 Q4204793
SYSTEM
Spider-Man 2, To Kill a Dragon, History of the Arkanar Massacre
Q4346544 Q190145 Q4367569 Q4468674 Q4204793
(c(Q838948),P725,c(Q502895))
action argmin
action find_tuple_counts
relation P725
type Q838948
type Q502895
Spider-Man 2, To kill a Dragon and History of the Arkanar Massacre had their voice dubbing done by min number of people
[{'concept': 'Q838948'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?s ) { SELECT DISTINCT ?d ( COUNT ( ?i ) AS ?v ) WHERE { ?d property:P725 ?i . ?i rdf:type ontology:Q502895 . ?d rdf:type ontology:Q838948 } GROUP BY ?d } } . { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?a ) WHERE { ?e property:P725 ?u . ?e rdf:type ontology:Q838948 . ?u rdf:type ontology:Q502895 } GROUP BY ?e } . FILTER ( ?a = ?s ) }
Passport Spider-Man 2 The Witches Cave To Kill a Dragon History of the Arkanar Massacre
Spider-Man 2, To kill a Dragon and History of the Arkanar Massacre had their voice dubbing done by min number of people
Spider-Man 2 To Kill a Dragon History of the Arkanar Massacre
action argmin
action find_tuple_counts
relation voice actor
type work of art
type common name
[{'concept': 'work of art'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MIN ( ?v ) AS ?s ) { SELECT DISTINCT ?d ( COUNT ( ?i ) AS ?v ) WHERE { ?d property:voice_actor ?i . ?i rdf:type ontology:common_name . ?d rdf:type ontology:work_of_art } GROUP BY ?d } } . { SELECT DISTINCT ?e ( COUNT ( ?u ) AS ?a ) WHERE { ?e property:voice_actor ?u . ?e rdf:type ontology:work_of_art . ?u rdf:type ontology:common_name } GROUP BY ?e } . FILTER ( ?a = ?s ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5955567
P607
Q350604
USER
What battle was Julio Nicolás José Fonrouge de Lesseps a part of ?
(Q5955567,P607,c(Q350604))
action filter_type
action find
entity Q5955567
relation P607
type Q350604
['Q5955567', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?c WHERE { resource:Q5955567 property:P607 ?c . ?c rdf:type ontology:Q350604 }
Julio Nicolás José Fonrouge de Lesseps
action filter_type
action find
entity Julio Nicolás José Fonrouge de Lesseps
relation conflict
type armed conflict
['Julio Nicolás José Fonrouge de Lesseps', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?c WHERE { resource:Julio_Nicolás_José_Fonrouge_de_Lesseps property:conflict ?c . ?c rdf:type ontology:armed_conflict }
[]
armed conflict
Q2697981
SYSTEM
Argentine Civil Wars
Q2697981
(Q5955567,P607,c(Q350604))
action filter_type
action find
entity Q5955567
relation P607
type Q350604
Of the [ANSWER] Julio Nicolás José Fonrouge de Lesseps was
['Q5955567', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?c WHERE { resource:Q5955567 property:P607 ?c . ?c rdf:type ontology:Q350604 }
Argentine Civil Wars
Of the Argentine Civil Wars Julio Nicolás José Fonrouge de Lesseps was
Argentine Civil Wars
action filter_type
action find
entity Julio Nicolás José Fonrouge de Lesseps
relation conflict
type armed conflict
['Julio Nicolás José Fonrouge de Lesseps', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?c WHERE { resource:Julio_Nicolás_José_Fonrouge_de_Lesseps property:conflict ?c . ?c rdf:type ontology:armed_conflict }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5955567
P1412
Q34770
USER
Which language can Julio Nicolás José Fonrouge de Lesseps understand ?
(Q5955567,P1412,c(Q34770))
action filter_type
action find
entity Q5955567
relation P1412
type Q34770
['Q5955567', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q5955567 property:P1412 ?y . ?y rdf:type ontology:Q34770 }
Julio Nicolás José Fonrouge de Lesseps
action filter_type
action find
entity Julio Nicolás José Fonrouge de Lesseps
relation languages spoken, written or signed
type language
['Julio Nicolás José Fonrouge de Lesseps', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:Julio_Nicolás_José_Fonrouge_de_Lesseps property:languages_spoken,_written_or_signed ?y . ?y rdf:type ontology:language }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q5955567,P1412,c(Q34770))
action filter_type
action find
entity Q5955567
relation P1412
type Q34770
Julio Nicolás José Fonrouge de Lesseps can understand the [ANSWER]
['Q5955567', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?y WHERE { resource:Q5955567 property:P1412 ?y . ?y rdf:type ontology:Q34770 }
Spanish
Julio Nicolás José Fonrouge de Lesseps can understand the Spanish
Spanish
action filter_type
action find
entity Julio Nicolás José Fonrouge de Lesseps
relation languages spoken, written or signed
type language
['Julio Nicolás José Fonrouge de Lesseps', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?y WHERE { resource:Julio_Nicolás_José_Fonrouge_de_Lesseps property:languages_spoken,_written_or_signed ?y . ?y rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5955567
P106
Q12737077
USER
What is the job of that person ?
(Q1321,P106,c(Q12737077))
action filter_type
action find
entity Q5955567
relation P106
type Q12737077
['Q1321', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q5955567 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Julio Nicolás José Fonrouge de Lesseps
action filter_type
action find
entity Julio Nicolás José Fonrouge de Lesseps
relation occupation
type occupation
['Spanish', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Julio_Nicolás_José_Fonrouge_de_Lesseps property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q47064
SYSTEM
military personnel
Q47064
(Q1321,P106,c(Q12737077))
action filter_type
action find
entity Q5955567
relation P106
type Q12737077
The job of that person is of [ANSWER]
['Q1321', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q5955567 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
military personnel
The job of that person is of military personnel
military personnel
action filter_type
action find
entity Julio Nicolás José Fonrouge de Lesseps
relation occupation
type occupation
['Spanish', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Julio_Nicolás_José_Fonrouge_de_Lesseps property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
How many people are the patron saints of around 3 occupations ?
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 3
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:P417 ?q . ?q rdf:type ontology:Q502895 . ?l rdf:type ontology:Q12737077 } GROUP BY ?q } . FILTER ( ?c = 3 ) }
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 3
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:patron_saint ?q . ?q rdf:type ontology:common_name . ?l rdf:type ontology:occupation } GROUP BY ?q } . FILTER ( ?c = 3 ) }
[]
common name occupation
SYSTEM
3
Q128538 Q192816 Q200895
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 3
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:P417 ?q . ?q rdf:type ontology:Q502895 . ?l rdf:type ontology:Q12737077 } GROUP BY ?q } . FILTER ( ?c = 3 ) }
Luke the Evangelist Saint Barbara Agatha of Sicily
3
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 3
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?w ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?l ) AS ?c ) WHERE { ?l property:patron_saint ?q . ?q rdf:type ontology:common_name . ?l rdf:type ontology:occupation } GROUP BY ?q } . FILTER ( ?c = 3 ) }
[]