Simple Question (Direct)
Simple Question
Q1063808
P106
Q12737077
USER
What do Charles Brenner do for a living ?
(Q1063808,P106,c(Q12737077))
action filter_type
action find
entity Q1063808
relation P106
type Q12737077
['Q1063808', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q1063808 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
Charles Brenner
action filter_type
action find
entity Charles Brenner
relation occupation
type occupation
['Charles Brenner', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Charles_Brenner property:occupation ?f . ?f rdf:type ontology:occupation }
[]
occupation
Q212980 Q211346 Q3410028
SYSTEM
psychologist, psychiatrist, psychoanalyst
Q212980 Q211346 Q3410028
(Q1063808,P106,c(Q12737077))
action filter_type
action find
entity Q1063808
relation P106
type Q12737077
[ANSWERS] Charles Brenner do for a living
['Q1063808', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?f WHERE { resource:Q1063808 property:P106 ?f . ?f rdf:type ontology:Q12737077 }
psychologist psychiatrist psychoanalyst
Psychologist, psychiatrist and psychoanalyst Charles Brenner do for a living
psychologist psychiatrist psychoanalyst
action filter_type
action find
entity Charles Brenner
relation occupation
type occupation
['Charles Brenner', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?f WHERE { resource:Charles_Brenner property:occupation ?f . ?f rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1063808
P20
Q56061
USER
Where did the demise of Charles Brenner occur ?
(Q1063808,P20,c(Q56061))
action filter_type
action find
entity Q1063808
relation P20
type Q56061
['Q1063808', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q1063808 property:P20 ?f . ?f rdf:type ontology:Q56061 }
Charles Brenner
action filter_type
action find
entity Charles Brenner
relation place of death
type administrative territorial entity
['Charles Brenner', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Charles_Brenner property:place_of_death ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60
SYSTEM
New York City
Q60
(Q1063808,P20,c(Q56061))
action filter_type
action find
entity Q1063808
relation P20
type Q56061
The demise of Charles Brenner occurred in [ANSWER]
['Q1063808', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { resource:Q1063808 property:P20 ?f . ?f rdf:type ontology:Q56061 }
New York City
The demise of Charles Brenner occurred in New York City
New York City
action filter_type
action find
entity Charles Brenner
relation place of death
type administrative territorial entity
['Charles Brenner', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Charles_Brenner property:place_of_death ?f . ?f rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1063808
P21
Q290
USER
Which sex does that person have ?
(Q60,P21,c(Q290))
action filter_type
action find
entity Q1063808
relation P21
type Q290
['Q60', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q290 . resource:Q1063808 property:P21 ?m }
Charles Brenner
action filter_type
action find
entity Charles Brenner
relation gender
type sex
['New York City', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:sex . resource:Charles_Brenner property:gender ?m }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q60,P21,c(Q290))
action filter_type
action find
entity Q1063808
relation P21
type Q290
That person has a [ANSWER]
['Q60', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q290 . resource:Q1063808 property:P21 ?m }
male
That person has a male
male
action filter_type
action find
entity Charles Brenner
relation gender
type sex
['New York City', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:sex . resource:Charles_Brenner property:gender ?m }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1063808
P27
Q15617994
USER
Which administrative territory does Charles Brenner belong to ?
(Q1063808,P27,c(Q15617994))
action filter_type
action find
entity Q1063808
relation P27
type Q15617994
['Q1063808', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q1063808 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
Charles Brenner
action filter_type
action find
entity Charles Brenner
relation country of citizenship
type designation for an administrative territorial entity
['Charles Brenner', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Charles_Brenner property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q1063808,P27,c(Q15617994))
action filter_type
action find
entity Q1063808
relation P27
type Q15617994
Charles Brenner belongs to [ANSWER]
['Q1063808', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q1063808 property:P27 ?d . ?d rdf:type ontology:Q15617994 }
United States of America
Charles Brenner belongs to United States of America
United States of America
action filter_type
action find
entity Charles Brenner
relation country of citizenship
type designation for an administrative territorial entity
['Charles Brenner', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Charles_Brenner property:country_of_citizenship ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1063808
P19
Q56061
USER
Where was that person born ?
(Q30,P19,c(Q56061))
action filter_type
action find
entity Q1063808
relation P19
type Q56061
['Q30', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q1063808 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Charles Brenner
action filter_type
action find
entity Charles Brenner
relation place of birth
type administrative territorial entity
['United States of America', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Charles_Brenner property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q100
SYSTEM
Boston
Q100
(Q30,P19,c(Q56061))
action filter_type
action find
entity Q1063808
relation P19
type Q56061
That person was born in [ANSWER]
['Q30', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q1063808 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Boston
That person was born in Boston
Boston
action filter_type
action find
entity Charles Brenner
relation place of birth
type administrative territorial entity
['United States of America', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Charles_Brenner property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q100 Q2882553
P19
Q502895
USER
Does William Dallimore have place of birth as that administrative territory ?
(Q2882553,P19,Q100)
action is_in
entity Q100
action find
entity Q2882553
relation P19
['Q2882553', 'P19', 'Q100']
ASK WHERE { resource:Q2882553 property:P19 resource:Q100 }
Boston William Dallimore
action is_in
entity Boston
action find
entity William Dallimore
relation place of birth
['William Dallimore', 'place of birth', 'Boston']
ASK WHERE { resource:William_Dallimore property:place_of_birth resource:Boston }
[]
common name
SYSTEM
YES
(Q2882553,P19,Q100)
action is_in
entity Q100
action find
entity Q2882553
relation P19
[ANSWER]
['Q2882553', 'P19', 'Q100']
ASK WHERE { resource:Q2882553 property:P19 resource:Q100 }
Yes
action is_in
entity Boston
action find
entity William Dallimore
relation place of birth
['William Dallimore', 'place of birth', 'Boston']
ASK WHERE { resource:William_Dallimore property:place_of_birth resource:Boston }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q953
P530
Q15617994 Q1048835 Q15617994
USER
How many administrative territories have tactful political relations with approximately the same number of administrative territories or political territories as Zambia ?
(c(Q15617994),P530,c(Q15617994)|c(Q1048835))
action count
action approx
action union
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_multi_types
action find
entity Q953
relation P530
type Q15617994
type Q1048835
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?l ) WHERE { VALUES ( ?p ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?u rdf:type ?p } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { resource:Q953 property:P530 ?e . { { ?e rdf:type ontology:Q15617994 } UNION { ?e rdf:type ontology:Q1048835 } } } } . FILTER ( ?l = ?s ) }
Zambia
action count
action approx
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find
entity Zambia
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?l ) WHERE { VALUES ( ?p ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?u rdf:type ?p } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { resource:Zambia property:diplomatic_relation ?e . { { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?e rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?l = ?s ) }
[]
designation for an administrative territorial entity political territorial entity designation for an administrative territorial entity
SYSTEM
9
Q801 Q805 Q142 Q159 Q30 Q929 Q114 Q858 Q953
(c(Q15617994),P530,c(Q15617994)|c(Q1048835))
action count
action approx
action union
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_multi_types
action find
entity Q953
relation P530
type Q15617994
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?l ) WHERE { VALUES ( ?p ) { ( ontology:Q15617994 ) ( ontology:Q1048835 ) } . ?u rdf:type ?p } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { resource:Q953 property:P530 ?e . { { ?e rdf:type ontology:Q15617994 } UNION { ?e rdf:type ontology:Q1048835 } } } } . FILTER ( ?l = ?s ) }
Israel Yemen France Russia United States of America Central African Republic Kenya Syria Zambia
9
action count
action approx
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find
entity Zambia
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?t ) AS ?c ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?u ) AS ?l ) WHERE { VALUES ( ?p ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:political_territorial_entity ) } . ?u rdf:type ?p } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?s ) WHERE { resource:Zambia property:diplomatic_relation ?e . { { ?e rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?e rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?l = ?s ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q702
P530
Q15617994 Q1048835 Q15617994
USER
And what about Federated States of Micronesia?
(c(Q15617994),P530,c(Q15617994)|c(Q1048835))
action count
action approx
action union
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_multi_types
action find
entity Q702
relation P530
type Q15617994
type Q1048835
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) ?v WHERE { { ?v property:P530 ?y . ?v rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 } UNION { ?v property:P530 ?y . ?y rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { resource:Q702 property:P530 ?c . { { ?c rdf:type ontology:Q15617994 } UNION { ?c rdf:type ontology:Q1048835 } } } } . FILTER ( ?x = ?e ) }
Federated States of Micronesia
action count
action approx
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find
entity Federated States of Micronesia
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) ?v WHERE { { ?v property:diplomatic_relation ?y . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity } UNION { ?v property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { resource:Federated_States_of_Micronesia property:diplomatic_relation ?c . { { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?c rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?x = ?e ) }
[]
designation for an administrative territorial entity political territorial entity designation for an administrative territorial entity
SYSTEM
147
Q702 Q804 Q800 Q419 Q668 Q414 Q55 Q145 Q262 Q148 Q783 Q265 Q37 Q712 Q711 Q717 Q837 Q252 Q399 Q398 Q403 Q657 Q258 Q45 Q43 Q41 Q792 Q790 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q822 Q241 Q242 Q244 Q811 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q734 Q819 Q424 Q730 Q736 Q236 Q232 Q233 Q238 Q20 Q1045 Q1041 Q27 Q28 Q921 Q1049 Q1027 Q1020 Q189 Q843 Q842 Q1029 Q1028 Q786 Q228 Q227 Q225 Q224 Q222 Q221 Q96 Q229 Q347 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q697 Q298 Q695 Q115 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q977 Q1009 Q1008 Q971 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994)|c(Q1048835))
action count
action approx
action union
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
action find_tuple_counts
relation P530
type Q15617994
type Q1048835
action count
action filter_multi_types
action find
entity Q702
relation P530
type Q15617994
type Q1048835
[ANSWER]
[{'concept': 'Q15617994'}, 'P530', [{'concept': 'Q15617994'}, {'concept': 'Q1048835'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) ?v WHERE { { ?v property:P530 ?y . ?v rdf:type ontology:Q15617994 . ?y rdf:type ontology:Q1048835 } UNION { ?v property:P530 ?y . ?y rdf:type ontology:Q15617994 . ?v rdf:type ontology:Q15617994 } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { resource:Q702 property:P530 ?c . { { ?c rdf:type ontology:Q15617994 } UNION { ?c rdf:type ontology:Q1048835 } } } } . FILTER ( ?x = ?e ) }
Federated States of Micronesia Panama Costa Rica Peru India Argentina Netherlands United Kingdom Algeria People's Republic of China Honduras Uzbekistan Lithuania Fiji Mongolia Venezuela Nepal Indonesia Armenia Bahrain Serbia Chad South Africa Portugal Turkey Greece El Salvador Haiti Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Lebanon Cuba Belize Barbados Nicaragua Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland 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 Ireland Hungary Brunei Sudan Mauritius Malawi Iceland Pakistan Oman Mozambique Morocco Dominican Republic Andorra Azerbaijan Bosnia and Herzegovina Croatia Albania Republic of Macedonia Mexico Cyprus Liechtenstein Bangladesh 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 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 Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
147
action count
action approx
action union
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
action count
action filter_multi_types
action find
entity Federated States of Micronesia
relation diplomatic relation
type designation for an administrative territorial entity
type political territorial entity
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', [{'concept': 'designation for an administrative territorial entity'}, {'concept': 'political territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) ?v WHERE { { ?v property:diplomatic_relation ?y . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity . ?y rdf:type ontology:political_territorial_entity } UNION { ?v property:diplomatic_relation ?y . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity } } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?e ) WHERE { resource:Federated_States_of_Micronesia property:diplomatic_relation ?c . { { ?c rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?c rdf:type ontology:political_territorial_entity } } } } . FILTER ( ?x = ?e ) }
[]