Simple Question (Direct)
Simple Question
Q3372446
P106
Q12737077
USER
What is the profession of Jeanne-Thérèse Rousson ?
(Q3372446,P106,c(Q12737077))
action filter_type
action find
entity Q3372446
relation P106
type Q12737077
['Q3372446', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q3372446 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
Jeanne-Thérèse Rousson
action filter_type
action find
entity Jeanne-Thérèse Rousson
relation occupation
type occupation
['Jeanne-Thérèse Rousson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Jeanne-Thérèse_Rousson property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
Q36180
SYSTEM
writer
Q36180
(Q3372446,P106,c(Q12737077))
action filter_type
action find
entity Q3372446
relation P106
type Q12737077
The profession of Jeanne-Thérèse Rousson is a [ANSWER]
['Q3372446', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?z WHERE { resource:Q3372446 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
writer
The profession of Jeanne-Thérèse Rousson is a writer
writer
action filter_type
action find
entity Jeanne-Thérèse Rousson
relation occupation
type occupation
['Jeanne-Thérèse Rousson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?z WHERE { resource:Jeanne-Thérèse_Rousson property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3372446
P27
Q15617994
USER
Which administrative territory is that person a civilian of ?
(Q36180,P27,c(Q15617994))
action filter_type
action find
entity Q3372446
relation P27
type Q15617994
['Q36180', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q3372446 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Jeanne-Thérèse Rousson
action filter_type
action find
entity Jeanne-Thérèse Rousson
relation country of citizenship
type designation for an administrative territorial entity
['writer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Jeanne-Thérèse_Rousson property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q36180,P27,c(Q15617994))
action filter_type
action find
entity Q3372446
relation P27
type Q15617994
The [ANSWER] is that person a civilian of
['Q36180', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { resource:Q3372446 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
France
The France is that person a civilian of
France
action filter_type
action find
entity Jeanne-Thérèse Rousson
relation country of citizenship
type designation for an administrative territorial entity
['writer', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { resource:Jeanne-Thérèse_Rousson property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have a diplomatic relationship with atmost 34 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 34
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?p ) AS ?b ) WHERE { ?o rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 . ?p property:P530 ?o } GROUP BY ?o } . FILTER ( ?b <= 34 ) }
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 34
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?p ) AS ?b ) WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:diplomatic_relation ?o } GROUP BY ?o } . FILTER ( ?b <= 34 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q30 Q230 Q159
SYSTEM
United States of America, Georgia, Russia
Q702 Q804 Q801 Q800 Q805 Q419 Q668 Q414 Q142 Q55 Q145 Q262 Q148 Q783 Q784 Q265 Q37 Q712 Q711 Q710 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q30 Q924 Q36 Q34 Q928 Q929 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q1013 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q184 Q1029 Q1028 Q736 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q970 Q683 Q34020 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869 Q953
(c(Q15617994),P530,c(Q15617994))
action atmost
action find_reverse_tuple_counts
relation P530
type Q15617994
type Q15617994
value 34
[ANSWERS] have a diplomatic relationship with atmost 34 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?p ) AS ?b ) WHERE { ?o rdf:type ontology:Q15617994 . ?p rdf:type ontology:Q15617994 . ?p property:P530 ?o } GROUP BY ?o } . FILTER ( ?b <= 34 ) }
Federated States of Micronesia Panama Israel Costa Rica Yemen Peru India Argentina France Netherlands United Kingdom Algeria People's Republic of China Honduras Dominica Uzbekistan Lithuania Fiji Mongolia Kiribati Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium United States of America Tanzania Poland Sweden Philippines Central African Republic Switzerland Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Guyana Laos Cambodia Suriname Lesotho Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Senegal Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Belarus Mozambique Morocco Ecuador Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Nauru Chile Palau Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Djibouti Cameroon Côte d'Ivoire Republic of the Congo Comoros Samoa Niue Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand Zambia
United States of America, Georgia and Russia have a diplomatic relationship with atmost 34 administrative territories
United States of America Georgia Russia
action atmost
action find_reverse_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 34
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?p ) AS ?b ) WHERE { ?o rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity . ?p property:diplomatic_relation ?o } GROUP BY ?o } . FILTER ( ?b <= 34 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q36180
P180
Q838948
USER
Which work of art demonstrates writer ?
(c(Q838948),P180,Q36180)
action filter_type
action find_reverse
entity Q36180
relation P180
type Q838948
[{'concept': 'Q838948'}, 'P180', 'Q36180']
SELECT DISTINCT ?m WHERE { ?m property:P180 resource:Q36180 . ?m rdf:type ontology:Q838948 }
writer
action filter_type
action find_reverse
entity writer
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'writer']
SELECT DISTINCT ?m WHERE { ?m property:depicts resource:writer . ?m rdf:type ontology:work_of_art }
[]
work of art
Q19204877
SYSTEM
D'Alembert
Q19204877
(c(Q838948),P180,Q36180)
action filter_type
action find_reverse
entity Q36180
relation P180
type Q838948
[ANSWER] demonstrates writer
[{'concept': 'Q838948'}, 'P180', 'Q36180']
SELECT DISTINCT ?m WHERE { ?m property:P180 resource:Q36180 . ?m rdf:type ontology:Q838948 }
D'Alembert
D'Alembert demonstrates writer
D'Alembert
action filter_type
action find_reverse
entity writer
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'writer']
SELECT DISTINCT ?m WHERE { ?m property:depicts resource:writer . ?m rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q36180
P425
Q1914636
USER
Who is associated with the field of occupation that one ?
(Q19204877,P425,c(Q1914636))
action filter_type
action find
entity Q36180
relation P425
type Q1914636
['Q19204877', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?e WHERE { resource:Q36180 property:P425 ?e . ?e rdf:type ontology:Q1914636 }
writer
action filter_type
action find
entity writer
relation field of this occupation
type activity
["D'Alembert", 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?e WHERE { resource:writer property:field_of_this_occupation ?e . ?e rdf:type ontology:activity }
[]
activity
Q8242
SYSTEM
literature
Q8242
(Q19204877,P425,c(Q1914636))
action filter_type
action find
entity Q36180
relation P425
type Q1914636
The [ANSWER] is associated with the field of occupation that one
['Q19204877', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?e WHERE { resource:Q36180 property:P425 ?e . ?e rdf:type ontology:Q1914636 }
literature
The literature is associated with the field of occupation that one
literature
action filter_type
action find
entity writer
relation field of this occupation
type activity
["D'Alembert", 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?e WHERE { resource:writer property:field_of_this_occupation ?e . ?e rdf:type ontology:activity }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q90 Q142
P19
Q502895
USER
Which people were born at France and Paris ?
AND((c(Q502895),P19,Q142), (c(Q502895),P19,Q90))
action filter_type
action intersection
action find_reverse
entity Q142
relation P19
action find_reverse
entity Q90
relation P19
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q142'], [{'concept': 'Q502895'}, 'P19', 'Q90']]}
SELECT DISTINCT ?f WHERE { ?f property:P19 resource:Q142 . ?f property:P19 resource:Q90 . ?f rdf:type ontology:Q502895 }
Paris France
action filter_type
action intersection
action find_reverse
entity France
relation place of birth
action find_reverse
entity Paris
relation place of birth
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'France'], [{'concept': 'common name'}, 'place of birth', 'Paris']]}
SELECT DISTINCT ?f WHERE { ?f property:place_of_birth resource:France . ?f property:place_of_birth resource:Paris . ?f rdf:type ontology:common_name }
[]
common name
Q21684461 Q1622182 Q18658594 Q899054
SYSTEM
Christian Lelong, Sylvia Lopez, Valentine Derrey, Johan Libéreau
Q21684461 Q1622182 Q18658594 Q899054
AND((c(Q502895),P19,Q142), (c(Q502895),P19,Q90))
action filter_type
action intersection
action find_reverse
entity Q142
relation P19
action find_reverse
entity Q90
relation P19
type Q502895
[ANSWERS] were born at France and Paris
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q142'], [{'concept': 'Q502895'}, 'P19', 'Q90']]}
SELECT DISTINCT ?f WHERE { ?f property:P19 resource:Q142 . ?f property:P19 resource:Q90 . ?f rdf:type ontology:Q502895 }
Christian Lelong Sylvia Lopez Valentine Derrey Johan Libéreau
Christian Lelong, Sylvia Lopez, Valentine Derrey and Johan Libéreau were born at France and Paris
Christian Lelong Sylvia Lopez Valentine Derrey Johan Libéreau
action filter_type
action intersection
action find_reverse
entity France
relation place of birth
action find_reverse
entity Paris
relation place of birth
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'France'], [{'concept': 'common name'}, 'place of birth', 'Paris']]}
SELECT DISTINCT ?f WHERE { ?f property:place_of_birth resource:France . ?f property:place_of_birth resource:Paris . ?f rdf:type ontology:common_name }
[]