Simple Question (Direct)
Simple Question
Q2871342
P39
Q12737077
USER
Which occupation was a position for which Auguste Nougarède de Fayet was appointed ?
(Q2871342,P39,c(Q12737077))
action filter_type
action find
entity Q2871342
relation P39
type Q12737077
['Q2871342', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q2871342 property:P39 ?c . ?c rdf:type ontology:Q12737077 }
Auguste Nougarède de Fayet
action filter_type
action find
entity Auguste Nougarède de Fayet
relation position held
type occupation
['Auguste Nougarède de Fayet', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Auguste_Nougarède_de_Fayet property:position_held ?c . ?c rdf:type ontology:occupation }
[]
occupation
Q3044918
SYSTEM
member of the French National Assembly
Q3044918
(Q2871342,P39,c(Q12737077))
action filter_type
action find
entity Q2871342
relation P39
type Q12737077
A member of the French National Assembly was a position for which Auguste Nougarède de Fayet was appointed
['Q2871342', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { resource:Q2871342 property:P39 ?c . ?c rdf:type ontology:Q12737077 }
member of the French National Assembly
A member of the French National Assembly was a position for which Auguste Nougarède de Fayet was appointed
member of the French National Assembly
action filter_type
action find
entity Auguste Nougarède de Fayet
relation position held
type occupation
['Auguste Nougarède de Fayet', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { resource:Auguste_Nougarède_de_Fayet property:position_held ?c . ?c rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2871342
P27
Q15617994
USER
Which administrative territory is that person an inhabitant of ?
(Q3044918,P27,c(Q15617994))
action filter_type
action find
entity Q2871342
relation P27
type Q15617994
['Q3044918', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q2871342 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
Auguste Nougarède de Fayet
action filter_type
action find
entity Auguste Nougarède de Fayet
relation country of citizenship
type designation for an administrative territorial entity
['member of the French\xa0National Assembly', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Auguste_Nougarède_de_Fayet property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q3044918,P27,c(Q15617994))
action filter_type
action find
entity Q2871342
relation P27
type Q15617994
The [ANSWER] is that person an inhabitant of
['Q3044918', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?q WHERE { resource:Q2871342 property:P27 ?q . ?q rdf:type ontology:Q15617994 }
France
The France is that person an inhabitant of
France
action filter_type
action find
entity Auguste Nougarède de Fayet
relation country of citizenship
type designation for an administrative territorial entity
['member of the French\xa0National Assembly', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Auguste_Nougarède_de_Fayet property:country_of_citizenship ?q . ?q rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q32
P530
Q15617994 Q15617994
USER
How many administrative territories have tactful political relations with lesser number of administrative territories than Luxembourg ?
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q32
relation P530
type Q15617994
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?p ) WHERE { ?j property:P530 ?z . ?j rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { ?y rdf:type ontology:Q15617994 . resource:Q32 property:P530 ?y } } . FILTER ( ?p < ?r ) }
Luxembourg
action count
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Luxembourg
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?p ) WHERE { ?j property:diplomatic_relation ?z . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Luxembourg property:diplomatic_relation ?y } } . FILTER ( ?p < ?r ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
SYSTEM
111
Q702 Q804 Q800 Q419 Q55 Q262 Q783 Q265 Q712 Q717 Q837 Q398 Q657 Q792 Q790 Q954 Q958 Q881 Q986 Q242 Q244 Q811 Q33 Q924 Q36 Q34 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q842 Q1029 Q1028 Q786 Q228 Q227 Q224 Q221 Q96 Q229 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q211 Q217 Q214 Q215 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q77 Q878 Q774 Q817 Q810 Q1019 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action count
action less
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action count
action filter_type
action find
entity Q32
relation P530
type Q15617994
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?p ) WHERE { ?j property:P530 ?z . ?j rdf:type ontology:Q15617994 . ?z rdf:type ontology:Q15617994 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { ?y rdf:type ontology:Q15617994 . resource:Q32 property:P530 ?y } } . FILTER ( ?p < ?r ) }
Federated States of Micronesia Panama Costa Rica Peru Netherlands Algeria Honduras Uzbekistan Fiji Venezuela Nepal Bahrain Chad El Salvador Haiti Zimbabwe South Sudan Vietnam Eritrea Belize Barbados Nicaragua Finland Tanzania Poland Sweden Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Ecuador Montenegro Kazakhstan Malta San Marino Norway Somalia Senegal Hungary Brunei Sudan Mauritius Malawi Iceland Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Croatia Republic of Macedonia Mexico Cyprus Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Ghana Trinidad and Tobago Bolivia Latvia Republic of Moldova Slovakia Slovenia Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Samoa Niue Vanuatu Myanmar East Timor Uruguay United Arab Emirates Guatemala Kuwait Jordan Madagascar Togo Tonga Spain New Caledonia Thailand
111
action count
action less
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action count
action filter_type
action find
entity Luxembourg
relation diplomatic relation
type designation for an administrative territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?d ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?z ) AS ?p ) WHERE { ?j property:diplomatic_relation ?z . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Luxembourg property:diplomatic_relation ?y } } . FILTER ( ?p < ?r ) }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q32
P463
Q43229
USER
What were that administrative territory a member of ?
action filter_type
action find
entity Q32
relation P463
type Q43229
SELECT DISTINCT ?l WHERE { resource:Q32 property:P463 ?l . ?l rdf:type ontology:Q43229 }
Luxembourg
action filter_type
action find
entity Luxembourg
relation member of
type organization
SELECT DISTINCT ?l WHERE { resource:Luxembourg property:member_of ?l . ?l rdf:type ontology:organization }
[]
organization
Q7825 Q41550 Q191384
SYSTEM
World Trade Organization, Organisation for Economic Co-operation and Development, International Bank for Reconstruction and Development
Q340195 Q191384 Q899770 Q41550 Q656801 Q7825 Q827525
action filter_type
action find
entity Q32
relation P463
type Q43229
[ANSWERS] a member of
SELECT DISTINCT ?l WHERE { resource:Q32 property:P463 ?l . ?l rdf:type ontology:Q43229 }
African Development Bank International Bank for Reconstruction and Development International Centre for Settlement of Investment Disputes Organisation for Economic Co-operation and Development International Finance Corporation World Trade Organization International Development Association
World Trade Organization, Organisation for Economic Co-operation and Development and International Bank for Reconstruction and Development a member of
World Trade Organization Organisation for Economic Co-operation and Development International Bank for Reconstruction and Development
action filter_type
action find
entity Luxembourg
relation member of
type organization
SELECT DISTINCT ?l WHERE { resource:Luxembourg property:member_of ?l . ?l rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q32
P166
Q618779
USER
What was received by that administrative territory ?
(Q7825,P166,c(Q618779)) (Q41550,P166,c(Q618779)) (Q191384,P166,c(Q618779))
action filter_type
action find
entity Q32
relation P166
type Q618779
['Q7825', 'P166', {'concept': 'Q618779'}] ['Q41550', 'P166', {'concept': 'Q618779'}] ['Q191384', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?w WHERE { resource:Q32 property:P166 ?w . ?w rdf:type ontology:Q618779 }
Luxembourg
action filter_type
action find
entity Luxembourg
relation award received
type award
['World Trade Organization', 'award received', {'concept': 'award'}] ['Organisation for Economic Co-operation and Development', 'award received', {'concept': 'award'}] ['International Bank for Reconstruction and Development', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?w WHERE { resource:Luxembourg property:award_received ?w . ?w rdf:type ontology:award }
[]
award
Q152337
SYSTEM
Charlemagne Prize
Q152337
(Q7825,P166,c(Q618779)) (Q41550,P166,c(Q618779)) (Q191384,P166,c(Q618779))
action filter_type
action find
entity Q32
relation P166
type Q618779
The [ANSWER] was received by that administrative territory
['Q7825', 'P166', {'concept': 'Q618779'}] ['Q41550', 'P166', {'concept': 'Q618779'}] ['Q191384', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?w WHERE { resource:Q32 property:P166 ?w . ?w rdf:type ontology:Q618779 }
Charlemagne Prize
The Charlemagne Prize was received by that administrative territory
Charlemagne Prize
action filter_type
action find
entity Luxembourg
relation award received
type award
['World Trade Organization', 'award received', {'concept': 'award'}] ['Organisation for Economic Co-operation and Development', 'award received', {'concept': 'award'}] ['International Bank for Reconstruction and Development', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?w WHERE { resource:Luxembourg property:award_received ?w . ?w rdf:type ontology:award }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q152337 Q989
P166
Q502895
USER
Was John Paul II honoured with that award ?
(Q989,P166,Q152337)
action is_in
entity Q152337
action find
entity Q989
relation P166
['Q989', 'P166', 'Q152337']
ASK WHERE { resource:Q989 property:P166 resource:Q152337 }
Charlemagne Prize John Paul II
action is_in
entity Charlemagne Prize
action find
entity John Paul II
relation award received
['John Paul II', 'award received', 'Charlemagne Prize']
ASK WHERE { resource:John_Paul_II property:award_received resource:Charlemagne_Prize }
[]
common name
SYSTEM
YES
(Q989,P166,Q152337)
action is_in
entity Q152337
action find
entity Q989
relation P166
[ANSWER]
['Q989', 'P166', 'Q152337']
ASK WHERE { resource:Q989 property:P166 resource:Q152337 }
Yes
action is_in
entity Charlemagne Prize
action find
entity John Paul II
relation award received
['John Paul II', 'award received', 'Charlemagne Prize']
ASK WHERE { resource:John_Paul_II property:award_received resource:Charlemagne_Prize }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q2871342 Q1645072 Q4968405
P20
Q56061
USER
Does Auguste Nougarède de Fayet have Mirandópolis and Brinka, Ontario as the location of death ?
(Q2871342,P20,Q1645072) (Q2871342,P20,Q4968405)
action is_in
entity Q2871342
action intersection
action find_reverse
entity Q1645072
relation P20
action find_reverse
entity Q4968405
relation P20
['Q2871342', 'P20', 'Q1645072'] ['Q2871342', 'P20', 'Q4968405']
ASK WHERE { resource:Q2871342 property:P20 resource:Q1645072 . resource:Q2871342 property:P20 resource:Q4968405 }
Auguste Nougarède de Fayet Mirandópolis Brinka, Ontario
action is_in
entity Auguste Nougarède de Fayet
action intersection
action find_reverse
entity Mirandópolis
relation place of death
action find_reverse
entity Brinka, Ontario
relation place of death
['Auguste Nougarède de Fayet', 'place of death', 'Mirandópolis'] ['Auguste Nougarède de Fayet', 'place of death', 'Brinka, Ontario']
ASK WHERE { resource:Auguste_Nougarède_de_Fayet property:place_of_death resource:Mirandópolis . resource:Auguste_Nougarède_de_Fayet property:place_of_death resource:Brinka,_Ontario }
[]
administrative territorial entity
SYSTEM
NO
(Q2871342,P20,Q1645072) (Q2871342,P20,Q4968405)
action is_in
entity Q2871342
action intersection
action find_reverse
entity Q1645072
relation P20
action find_reverse
entity Q4968405
relation P20
[ANSWER]
['Q2871342', 'P20', 'Q1645072'] ['Q2871342', 'P20', 'Q4968405']
ASK WHERE { resource:Q2871342 property:P20 resource:Q1645072 . resource:Q2871342 property:P20 resource:Q4968405 }
No
action is_in
entity Auguste Nougarède de Fayet
action intersection
action find_reverse
entity Mirandópolis
relation place of death
action find_reverse
entity Brinka, Ontario
relation place of death
['Auguste Nougarède de Fayet', 'place of death', 'Mirandópolis'] ['Auguste Nougarède de Fayet', 'place of death', 'Brinka, Ontario']
ASK WHERE { resource:Auguste_Nougarède_de_Fayet property:place_of_death resource:Mirandópolis . resource:Auguste_Nougarède_de_Fayet property:place_of_death resource:Brinka,_Ontario }
[]