Simple Question (Direct)
Simple Question
Q275464
P106
Q12737077
USER
What do Claire Watson do for a living ?
(Q275464,P106,c(Q12737077))
action filter_type
action find
entity Q275464
relation P106
type Q12737077
['Q275464', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q275464 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
Claire Watson
action filter_type
action find
entity Claire Watson
relation occupation
type occupation
['Claire Watson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Claire_Watson property:occupation ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q639669 Q2865819 Q177220
SYSTEM
musician, opera singer, singer
Q639669 Q2865819 Q177220
(Q275464,P106,c(Q12737077))
action filter_type
action find
entity Q275464
relation P106
type Q12737077
Claire Watson do for a living as [ANSWERS]
['Q275464', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q275464 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
musician opera singer singer
Claire Watson do for a living as musician, opera singer and singer
musician opera singer singer
action filter_type
action find
entity Claire Watson
relation occupation
type occupation
['Claire Watson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:Claire_Watson property:occupation ?n . ?n rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q275464
P21
Q290
USER
Which sex does that person have ?
(Q639669,P21,c(Q290)) (Q2865819,P21,c(Q290)) (Q177220,P21,c(Q290))
action filter_type
action find
entity Q275464
relation P21
type Q290
['Q639669', 'P21', {'concept': 'Q290'}] ['Q2865819', 'P21', {'concept': 'Q290'}] ['Q177220', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q275464 property:P21 ?w . ?w rdf:type ontology:Q290 }
Claire Watson
action filter_type
action find
entity Claire Watson
relation gender
type sex
['musician', 'gender', {'concept': 'sex'}] ['opera singer', 'gender', {'concept': 'sex'}] ['singer', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Claire_Watson property:gender ?w . ?w rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q639669,P21,c(Q290)) (Q2865819,P21,c(Q290)) (Q177220,P21,c(Q290))
action filter_type
action find
entity Q275464
relation P21
type Q290
That person has a [ANSWER]
['Q639669', 'P21', {'concept': 'Q290'}] ['Q2865819', 'P21', {'concept': 'Q290'}] ['Q177220', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?w WHERE { resource:Q275464 property:P21 ?w . ?w rdf:type ontology:Q290 }
female
That person has a female
female
action filter_type
action find
entity Claire Watson
relation gender
type sex
['musician', 'gender', {'concept': 'sex'}] ['opera singer', 'gender', {'concept': 'sex'}] ['singer', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?w WHERE { resource:Claire_Watson property:gender ?w . ?w rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q275464
P27
Q15617994
USER
Which administrative territory does Claire Watson belong to ?
(Q275464,P27,c(Q15617994))
action filter_type
action find
entity Q275464
relation P27
type Q15617994
['Q275464', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q275464 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
Claire Watson
action filter_type
action find
entity Claire Watson
relation country of citizenship
type designation for an administrative territorial entity
['Claire Watson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Claire_Watson property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q275464,P27,c(Q15617994))
action filter_type
action find
entity Q275464
relation P27
type Q15617994
Claire Watson belongs to [ANSWER]
['Q275464', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?b WHERE { resource:Q275464 property:P27 ?b . ?b rdf:type ontology:Q15617994 }
United States of America
Claire Watson belongs to United States of America
United States of America
action filter_type
action find
entity Claire Watson
relation country of citizenship
type designation for an administrative territorial entity
['Claire Watson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?b WHERE { resource:Claire_Watson property:country_of_citizenship ?b . ?b rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q275464
P19
Q56061
USER
Which administrative territory was that person born in ?
(Q30,P19,c(Q56061))
action filter_type
action find
entity Q275464
relation P19
type Q56061
['Q30', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q275464 property:P19 ?u . ?u rdf:type ontology:Q56061 }
Claire Watson
action filter_type
action find
entity Claire Watson
relation place of birth
type administrative territorial entity
['United States of America', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Claire_Watson property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q60
SYSTEM
New York City
Q60
(Q30,P19,c(Q56061))
action filter_type
action find
entity Q275464
relation P19
type Q56061
That person was born in [ANSWER]
['Q30', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?u WHERE { resource:Q275464 property:P19 ?u . ?u rdf:type ontology:Q56061 }
New York City
That person was born in New York City
New York City
action filter_type
action find
entity Claire Watson
relation place of birth
type administrative territorial entity
['United States of America', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Claire_Watson property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P921
Q12737077 Q732577 Q2342494
USER
Which occupations were atmost 6 publications or collectables mainly about ?
(c(Q732577)|c(Q2342494),P921,c(Q12737077))
action atmost
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
value 6
[[{'concept': 'Q732577'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?g ) AS ?r ) WHERE { ?g rdf:type ?j . VALUES ( ?j ) { ( ontology:Q732577 ) ( ontology:Q2342494 ) } } GROUP BY ?c } . FILTER ( ?r <= 6 ) }
action atmost
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
value 6
[[{'concept': 'publication'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?g ) AS ?r ) WHERE { ?g rdf:type ?j . VALUES ( ?j ) { ( ontology:publication ) ( ontology:collectable ) } } GROUP BY ?c } . FILTER ( ?r <= 6 ) }
[]
occupation publication collectable
Q316070 Q131512 Q182436
SYSTEM
Fletcher Christian, farmer, librarian
Q172907 Q15637082 Q911554 Q9045502 Q2666591 Q39631 Q1124183 Q11631 Q5185440 Q765778 Q33999 Q36180 Q774306 Q3809586 Q3315094 Q83307 Q622807 Q4610556 Q18145518 Q7358 Q131512 Q1708232 Q2094335 Q82955 Q842782 Q730242 Q378622 Q42973 Q19627913 Q18534408 Q1930187 Q16267607 Q212238 Q6337803 Q202883 Q14948018 Q11642 Q20065408 Q937857 Q618536 Q9402 Q2961580 Q43845 Q14128148 Q814356 Q101539 Q168559 Q316070 Q1058375 Q16556694 Q4991371 Q29182 Q486839 Q510373 Q899758 Q131524 Q19185341 Q23810528 Q2306431 Q15958185 Q205375 Q164236 Q654291 Q14373094 Q483501 Q152002 Q1114448 Q16533 Q18220900 Q936969 Q3658608 Q1028181 Q19204627 Q15987302 Q36834 Q15320003 Q133485 Q1477129 Q158852 Q16003605 Q245068 Q33231 Q838811 Q219477 Q1006696 Q639669 Q732358 Q49757 Q17143199 Q384593 Q2095549 Q372436 Q1238570 Q182436 Q2259532 Q1674312 Q361593 Q1856798 Q16003532 Q16707842
(c(Q732577)|c(Q2342494),P921,c(Q12737077))
action atmost
action union
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q732577
action find_reverse_tuple_counts
relation P921
type Q12737077
type Q2342494
value 6
[ANSWERS] were atmost 6 publications or collectables mainly about
[[{'concept': 'Q732577'}, {'concept': 'Q2342494'}], 'P921', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?g ) AS ?r ) WHERE { ?g rdf:type ?j . VALUES ( ?j ) { ( ontology:Q732577 ) ( ontology:Q2342494 ) } } GROUP BY ?c } . FILTER ( ?r <= 6 ) }
praetor industrialist business magnate member of the Parliament of Norway Chair of the Federal Reserve physician lumberjack astronaut Crime scene cleanup organist actor writer surgeon Wikipedian in Residence Prime Minister of Hungary minister seiyū model Member of the New Zealand House of Representatives clown farmer medallist United States Attorney politician detective test pilot racing driver architect Member of the Western Australian Legislative Council member of the Victorian Legislative Assembly journalist classical philologist civil servant neuroscientist veterinarian street musician pottery member of the Virginia House of Delegates association football player candidate ninja taxi driver businessperson gridiron football player call girl flight attendant political commissar Fletcher Christian double agent member of the Lok Sabha soldier bishop member of parliament Lord High Steward violist entrepreneur Member of the Victorian Legislative Council ice cream taster White House Press Secretary racecar driver inventor war correspondent Deputy to the Dáil rugby league player artist pastor cartoonist judge Member of the South Australian House of Assembly nanny caricaturist painter American football player legal profession composer migrant worker rabbi völva conductor elementary school student comedian photographer peasant missionary United States federal judge musician Nomarch poet medical examiner police officer aviator statesman political scientist librarian cleric rag-and-bone man police officer baseball umpire middle school student Member of Parliament in the United Kingdom
Fletcher Christian, farmer and librarian were atmost 6 publications or collectables mainly about
Fletcher Christian farmer librarian
action atmost
action union
action find_reverse_tuple_counts
relation main subject
type occupation
type publication
action find_reverse_tuple_counts
relation main subject
type occupation
type collectable
value 6
[[{'concept': 'publication'}, {'concept': 'collectable'}], 'main subject', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?g ) AS ?r ) WHERE { ?g rdf:type ?j . VALUES ( ?j ) { ( ontology:publication ) ( ontology:collectable ) } } GROUP BY ?c } . FILTER ( ?r <= 6 ) }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q18572571 Q30
P47 P27
Q15617994
USER
Which administrative territories have a shared border with United States of America and do Muu Blanco belong to ?
AND((Q30,P47,c(Q15617994)), (Q18572571,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q30
relation P47
action find
entity Q18572571
relation P27
type Q15617994
{'AND': [['Q30', 'P47', {'concept': 'Q15617994'}], ['Q18572571', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q30 property:P47 ?g . resource:Q18572571 property:P27 ?g }
Muu Blanco United States of America
action filter_type
action intersection
action find
entity United States of America
relation shares border with
action find
entity Muu Blanco
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Muu Blanco', '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:United_States_of_America property:shares_border_with ?g . resource:Muu_Blanco property:country_of_citizenship ?g }
[]
designation for an administrative territorial entity
Q717
SYSTEM
Venezuela
Q717
AND((Q30,P47,c(Q15617994)), (Q18572571,P27,c(Q15617994)))
action filter_type
action intersection
action find
entity Q30
relation P47
action find
entity Q18572571
relation P27
type Q15617994
[ANSWER] have a shared border with United States of America and do Muu Blanco belong to
{'AND': [['Q30', 'P47', {'concept': 'Q15617994'}], ['Q18572571', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q15617994 . resource:Q30 property:P47 ?g . resource:Q18572571 property:P27 ?g }
Venezuela
Venezuela have a shared border with United States of America and do Muu Blanco belong to
Venezuela
action filter_type
action intersection
action find
entity United States of America
relation shares border with
action find
entity Muu Blanco
relation country of citizenship
type designation for an administrative territorial entity
{'AND': [['United States of America', 'shares border with', {'concept': 'designation for an administrative territorial entity'}], ['Muu Blanco', '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:United_States_of_America property:shares_border_with ?g . resource:Muu_Blanco property:country_of_citizenship ?g }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q15617994
USER
Which administrative territories have tactful political relations with approximately 8 administrative territories ?
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 8
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?w ) WHERE { ?y property:P530 ?l . ?y rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 } GROUP BY ?y } . FILTER ( ?w = 8 ) }
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 8
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?w ) WHERE { ?y property:diplomatic_relation ?l . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } . FILTER ( ?w = 8 ) }
[]
designation for an administrative territorial entity designation for an administrative territorial entity
Q30 Q55 Q142
SYSTEM
United States of America, Netherlands, France
Q702 Q804 Q800 Q805 Q419 Q668 Q414 Q142 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 Q30 Q924 Q36 Q34 Q928 Q929 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 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 Q683 Q34020 Q686 Q836 Q574 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q1016 Q1011 Q945 Q678 Q29 Q33788 Q869
(c(Q15617994),P530,c(Q15617994))
action approx
action find_tuple_counts
relation P530
type Q15617994
type Q15617994
value 8
[ANSWERS] have tactful political relations with approximately 8 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?w ) WHERE { ?y property:P530 ?l . ?y rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q15617994 } GROUP BY ?y } . FILTER ( ?w = 8 ) }
Federated States of Micronesia Panama Costa Rica Yemen Peru India Argentina France 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 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 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 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 Samoa Niue Vanuatu Myanmar East Timor Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Libya Cape Verde Togo Tonga Spain New Caledonia Thailand
United States of America, Netherlands and France have tactful political relations with approximately 8 administrative territories
United States of America Netherlands France
action approx
action find_tuple_counts
relation diplomatic relation
type designation for an administrative territorial entity
type designation for an administrative territorial entity
value 8
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?l ) AS ?w ) WHERE { ?y property:diplomatic_relation ?l . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?y } . FILTER ( ?w = 8 ) }
[]