Simple Question (Direct)
Simple Question
Q8019439
P102
Q7210356
USER
Which political organization is William Tod Otto a member of ?
(Q8019439,P102,c(Q7210356))
action filter_type
action find
entity Q8019439
relation P102
type Q7210356
['Q8019439', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?i WHERE { resource:Q8019439 property:P102 ?i . ?i rdf:type ontology:Q7210356 }
William Tod Otto
action filter_type
action find
entity William Tod Otto
relation member of political party
type political organization
['William Tod Otto', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?i WHERE { resource:William_Tod_Otto property:member_of_political_party ?i . ?i rdf:type ontology:political_organization }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
(Q8019439,P102,c(Q7210356))
action filter_type
action find
entity Q8019439
relation P102
type Q7210356
The [ANSWER] is William Tod Otto a member of
['Q8019439', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?i WHERE { resource:Q8019439 property:P102 ?i . ?i rdf:type ontology:Q7210356 }
Republican Party
The Republican Party is William Tod Otto a member of
Republican Party
action filter_type
action find
entity William Tod Otto
relation member of political party
type political organization
['William Tod Otto', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?i WHERE { resource:William_Tod_Otto property:member_of_political_party ?i . ?i rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29468
P1142
Q1047113
USER
Which special field is the ideology of that political organization ?
(Q29468,P1142,c(Q1047113))
action filter_type
action find
entity Q29468
relation P1142
type Q1047113
['Q29468', 'P1142', {'concept': 'Q1047113'}]
SELECT DISTINCT ?t WHERE { resource:Q29468 property:P1142 ?t . ?t rdf:type ontology:Q1047113 }
Republican Party
action filter_type
action find
entity Republican Party
relation political ideology
type special field
['Republican Party', 'political ideology', {'concept': 'special field'}]
SELECT DISTINCT ?t WHERE { resource:Republican_Party property:political_ideology ?t . ?t rdf:type ontology:special_field }
[]
special field
Q7169
SYSTEM
conservatism
Q7169
(Q29468,P1142,c(Q1047113))
action filter_type
action find
entity Q29468
relation P1142
type Q1047113
[ANSWER] is the ideology of that political organization
['Q29468', 'P1142', {'concept': 'Q1047113'}]
SELECT DISTINCT ?t WHERE { resource:Q29468 property:P1142 ?t . ?t rdf:type ontology:Q1047113 }
conservatism
Conservatism is the ideology of that political organization
conservatism
action filter_type
action find
entity Republican Party
relation political ideology
type special field
['Republican Party', 'political ideology', {'concept': 'special field'}]
SELECT DISTINCT ?t WHERE { resource:Republican_Party property:political_ideology ?t . ?t rdf:type ontology:special_field }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29468
P462
Q1075
USER
Which color is that political organization associated with ?
(Q7169,P462,c(Q1075))
action filter_type
action find
entity Q29468
relation P462
type Q1075
['Q7169', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?m WHERE { resource:Q29468 property:P462 ?m . ?m rdf:type ontology:Q1075 }
Republican Party
action filter_type
action find
entity Republican Party
relation color
type color
['conservatism', 'color', {'concept': 'color'}]
SELECT DISTINCT ?m WHERE { resource:Republican_Party property:color ?m . ?m rdf:type ontology:color }
[]
color
Q3142
SYSTEM
red
Q3142
(Q7169,P462,c(Q1075))
action filter_type
action find
entity Q29468
relation P462
type Q1075
That political organization is associated with [ANSWER]
['Q7169', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?m WHERE { resource:Q29468 property:P462 ?m . ?m rdf:type ontology:Q1075 }
red
That political organization is associated with red
red
action filter_type
action find
entity Republican Party
relation color
type color
['conservatism', 'color', {'concept': 'color'}]
SELECT DISTINCT ?m WHERE { resource:Republican_Party property:color ?m . ?m rdf:type ontology:color }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P361
Q1914636 Q1047113
USER
Which activities are around 3 special fields a component of ?
(c(Q1047113),P361,c(Q1914636))
action approx
action find_reverse_tuple_counts
relation P361
type Q1914636
type Q1047113
value 3
[{'concept': 'Q1047113'}, 'P361', {'concept': 'Q1914636'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?r ) WHERE { ?w rdf:type ontology:Q1914636 . ?a rdf:type ontology:Q1047113 . ?a property:P361 ?w } GROUP BY ?w } . FILTER ( ?r = 3 ) }
action approx
action find_reverse_tuple_counts
relation part of
type activity
type special field
value 3
[{'concept': 'special field'}, 'part of', {'concept': 'activity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?r ) WHERE { ?w rdf:type ontology:activity . ?a rdf:type ontology:special_field . ?a property:part_of ?w } GROUP BY ?w } . FILTER ( ?r = 3 ) }
[]
activity special field
Q944537 Q8162
SYSTEM
Geisteswissenschaft, linguistics
Q944537 Q8162
(c(Q1047113),P361,c(Q1914636))
action approx
action find_reverse_tuple_counts
relation P361
type Q1914636
type Q1047113
value 3
[ANSWERS] are around 3 special fields a component of
[{'concept': 'Q1047113'}, 'P361', {'concept': 'Q1914636'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?r ) WHERE { ?w rdf:type ontology:Q1914636 . ?a rdf:type ontology:Q1047113 . ?a property:P361 ?w } GROUP BY ?w } . FILTER ( ?r = 3 ) }
Geisteswissenschaft linguistics
Geisteswissenschaft and linguistics are around 3 special fields a component of
Geisteswissenschaft linguistics
action approx
action find_reverse_tuple_counts
relation part of
type activity
type special field
value 3
[{'concept': 'special field'}, 'part of', {'concept': 'activity'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?a ) AS ?r ) WHERE { ?w rdf:type ontology:activity . ?a rdf:type ontology:special_field . ?a property:part_of ?w } GROUP BY ?w } . FILTER ( ?r = 3 ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1046801
P101
Q1914636 Q2342494 Q43229
USER
Which activities are the field of work of approximately the same number of collectables and organizations as turntablism ?
(c(Q2342494)|c(Q43229),P101,c(Q1914636))
action approx
action union
action find_reverse_tuple_counts
relation P101
type Q1914636
type Q2342494
action find_reverse_tuple_counts
relation P101
type Q1914636
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q1046801
relation P101
type Q2342494
type Q43229
[[{'concept': 'Q2342494'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q1914636'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?j ) WHERE { { ?f property:P101 ?o . ?f rdf:type ontology:Q2342494 . ?o rdf:type ontology:Q1914636 } UNION { ?f property:P101 ?o . ?o rdf:type ontology:Q1914636 . ?f rdf:type ontology:Q43229 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:P101 resource:Q1046801 . { VALUES ( ?c ) { ( ontology:Q2342494 ) ( ontology:Q43229 ) } . ?v rdf:type ?c } } } . FILTER ( ?j = ?z ) }
turntablism
action approx
action union
action find_reverse_tuple_counts
relation field of work
type activity
type collectable
action find_reverse_tuple_counts
relation field of work
type activity
type organization
action count
action filter_multi_types
action find_reverse
entity turntablism
relation field of work
type collectable
type organization
[[{'concept': 'collectable'}, {'concept': 'organization'}], 'field of work', {'concept': 'activity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?j ) WHERE { { ?f property:field_of_work ?o . ?f rdf:type ontology:collectable . ?o rdf:type ontology:activity } UNION { ?f property:field_of_work ?o . ?o rdf:type ontology:activity . ?f rdf:type ontology:organization } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:field_of_work resource:turntablism . { VALUES ( ?c ) { ( ontology:collectable ) ( ontology:organization ) } . ?v rdf:type ?c } } } . FILTER ( ?j = ?z ) }
[]
activity collectable organization
Q43114 Q7205 Q49389
SYSTEM
aikido, paleontology, tourism
Q1069 Q309823 Q15991269 Q5569949 Q914395 Q1196009 Q7202 Q11635 Q7205 Q10566551 Q27997 Q2485457 Q206814 Q159964 Q2144042 Q8421 Q10979515 Q190149 Q159595 Q27908 Q22826122 Q11372 Q163082 Q1089246 Q12015335 Q185727 Q34187 Q1392782 Q928357 Q11650 Q184485 Q12969198 Q83371 Q3046459 Q835153 Q50675 Q36649 Q49389 Q6502154 Q119190 Q1587903 Q63100 Q337935 Q897511 Q5367 Q124946 Q16861871 Q192296 Q853077 Q1562096 Q1046801 Q7173 Q2138622 Q10737 Q484591 Q41923 Q514 Q36389 Q83357 Q843601 Q193210 Q1261491 Q857102 Q7168 Q160398 Q177777 Q43114 Q190993 Q627716 Q9350 Q862072 Q222749 Q243606 Q11467 Q80993 Q212105 Q836610 Q8789 Q189594 Q602507 Q7141 Q494452 Q373557 Q5567091 Q131683 Q781492 Q1369650 Q3764113 Q31728 Q25261 Q52109 Q931309 Q682010
(c(Q2342494)|c(Q43229),P101,c(Q1914636))
action approx
action union
action find_reverse_tuple_counts
relation P101
type Q1914636
type Q2342494
action find_reverse_tuple_counts
relation P101
type Q1914636
type Q43229
action count
action filter_multi_types
action find_reverse
entity Q1046801
relation P101
type Q2342494
type Q43229
[ANSWERS] are the field of work of approximately the same number of collectables and organizations as turntablism
[[{'concept': 'Q2342494'}, {'concept': 'Q43229'}], 'P101', {'concept': 'Q1914636'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?j ) WHERE { { ?f property:P101 ?o . ?f rdf:type ontology:Q2342494 . ?o rdf:type ontology:Q1914636 } UNION { ?f property:P101 ?o . ?o rdf:type ontology:Q1914636 . ?f rdf:type ontology:Q43229 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:P101 resource:Q1046801 . { VALUES ( ?c ) { ( ontology:Q2342494 ) ( ontology:Q43229 ) } . ?v rdf:type ?c } } } . FILTER ( ?j = ?z ) }
geology open science amateur sport Glitch art Celtic art Big Science molecular biology theater paleontology safety Celtic studies science education civil aviation typography Process engineering aeronautics general economics photogrammetry distance education music education commentary physical chemistry petrology Studio glass engineering disciplines amateur service religious studies gnomonics bronze sculpture electronics performing arts Paper cutting seismology Earth system science medical examination historiography visual arts tourism exploration medieval studies human science urban design necromancy cryptanalysis motorsport gardening job training weaving mathematics education ironwork turntablism marine biology nutrition suicide natural history yodeling anatomy taekwondo origami health science skydiving male prostitution software design histology crystallography logistics aikido malacology military aviation yoga conchology acting industrial design metallurgy software engineering special education signals intelligence cryptography Islamic art hand-to-hand combat cell biology blazonry aerobatics glass art embryology Optogenetics professional sport choreography public administration meteorology geomorphology medical imaging video art
Aikido, paleontology and tourism are the field of work of approximately the same number of collectables and organizations as turntablism
aikido paleontology tourism
action approx
action union
action find_reverse_tuple_counts
relation field of work
type activity
type collectable
action find_reverse_tuple_counts
relation field of work
type activity
type organization
action count
action filter_multi_types
action find_reverse
entity turntablism
relation field of work
type collectable
type organization
[[{'concept': 'collectable'}, {'concept': 'organization'}], 'field of work', {'concept': 'activity'}]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?f ) AS ?j ) WHERE { { ?f property:field_of_work ?o . ?f rdf:type ontology:collectable . ?o rdf:type ontology:activity } UNION { ?f property:field_of_work ?o . ?o rdf:type ontology:activity . ?f rdf:type ontology:organization } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?v ) AS ?z ) WHERE { ?v property:field_of_work resource:turntablism . { VALUES ( ?c ) { ( ontology:collectable ) ( ontology:organization ) } . ?v rdf:type ?c } } } . FILTER ( ?j = ?z ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P452
Q1914636 Q1269299
USER
Which business organizations belong to the industry approximately 1 activity ?
(c(Q1269299),P452,c(Q1914636))
action approx
action find_tuple_counts
relation P452
type Q1269299
type Q1914636
value 1
[{'concept': 'Q1269299'}, 'P452', {'concept': 'Q1914636'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?u ) WHERE { ?q property:P452 ?p . ?p rdf:type ontology:Q1914636 . ?q rdf:type ontology:Q1269299 } GROUP BY ?q } . FILTER ( ?u = 1 ) }
action approx
action find_tuple_counts
relation industry
type type of business entity
type activity
value 1
[{'concept': 'type of business entity'}, 'industry', {'concept': 'activity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?u ) WHERE { ?q property:industry ?p . ?p rdf:type ontology:activity . ?q rdf:type ontology:type_of_business_entity } GROUP BY ?q } . FILTER ( ?u = 1 ) }
[]
activity type of business entity
Q53247 Q62621 Q193412
SYSTEM
Panasonic, Canon Inc., Texas Instruments
Q62621 Q463094 Q7433758 Q53247 Q1491819 Q193412
(c(Q1269299),P452,c(Q1914636))
action approx
action find_tuple_counts
relation P452
type Q1269299
type Q1914636
value 1
[ANSWERS] belong to the industry approximately 1 activity
[{'concept': 'Q1269299'}, 'P452', {'concept': 'Q1914636'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?u ) WHERE { ?q property:P452 ?p . ?p rdf:type ontology:Q1914636 . ?q rdf:type ontology:Q1269299 } GROUP BY ?q } . FILTER ( ?u = 1 ) }
Canon Inc. Foxconn Scientific Games Corporation Panasonic Galenica Texas Instruments
Panasonic, Canon Inc. and Texas Instruments belong to the industry approximately 1 activity
Panasonic Canon Inc. Texas Instruments
action approx
action find_tuple_counts
relation industry
type type of business entity
type activity
value 1
[{'concept': 'type of business entity'}, 'industry', {'concept': 'activity'}]
SELECT DISTINCT ?q WHERE { { SELECT DISTINCT ?q ( COUNT ( ?p ) AS ?u ) WHERE { ?q property:industry ?p . ?p rdf:type ontology:activity . ?q rdf:type ontology:type_of_business_entity } GROUP BY ?q } . FILTER ( ?u = 1 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q193412
P108
Q502895
USER
Who works for that business organization ?
(c(Q502895),P108,Q193412)
action filter_type
action find_reverse
entity Q193412
relation P108
type Q502895
[{'concept': 'Q502895'}, 'P108', 'Q193412']
SELECT DISTINCT ?x WHERE { ?x property:P108 resource:Q193412 . ?x rdf:type ontology:Q502895 }
Texas Instruments
action filter_type
action find_reverse
entity Texas Instruments
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Texas Instruments']
SELECT DISTINCT ?x WHERE { ?x property:employer resource:Texas_Instruments . ?x rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q193412
SYSTEM
Did you mean Texas Instruments ?
Q53247 Q62621 Q193412
(c(Q502895),P108,Q53247) (c(Q502895),P108,Q62621) (c(Q502895),P108,Q193412)
[ANSWER]
[{'concept': 'Q502895'}, 'P108', 'Q53247'] [{'concept': 'Q502895'}, 'P108', 'Q62621'] [{'concept': 'Q502895'}, 'P108', 'Q193412']
SELECT DISTINCT ?x WHERE { ?x property:P108 resource:Q193412 . ?x rdf:type ontology:Q502895 }
Panasonic Canon Inc. Texas Instruments
Did you mean Texas Instruments ?
Texas Instruments
[{'concept': 'common name'}, 'employer', 'Panasonic'] [{'concept': 'common name'}, 'employer', 'Canon Inc.'] [{'concept': 'common name'}, 'employer', 'Texas Instruments']
SELECT DISTINCT ?x WHERE { ?x property:employer resource:Texas_Instruments . ?x rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q502895),P108,Q193412)
[{'concept': 'Q502895'}, 'P108', 'Q193412']
[{'concept': 'common name'}, 'employer', 'Texas Instruments']
[]
Q17254565 Q5891705 Q182031
SYSTEM
Kamil Barbarski, J. Erik Jonsson, Jack Kilby
Q7323455 Q22970518 Q17254565 Q5891705 Q182031
(c(Q502895),P108,Q193412)
action filter_type
action find_reverse
entity Q193412
relation P108
type Q502895
[ANSWERS] work for that business organization
[{'concept': 'Q502895'}, 'P108', 'Q193412']
SELECT DISTINCT ?x WHERE { ?x property:P108 resource:Q193412 . ?x rdf:type ontology:Q502895 }
Rich Templeton Samuel P. Harbison Kamil Barbarski J. Erik Jonsson Jack Kilby
Kamil Barbarski, J. Erik Jonsson and Jack Kilby work for that business organization
Kamil Barbarski J. Erik Jonsson Jack Kilby
action filter_type
action find_reverse
entity Texas Instruments
relation employer
type common name
[{'concept': 'common name'}, 'employer', 'Texas Instruments']
SELECT DISTINCT ?x WHERE { ?x property:employer resource:Texas_Instruments . ?x rdf:type ontology:common_name }
[]