Simple Question (Direct)
Simple Question
Q61505
P2416
Q349
USER
Which sport did Ilke Wyludda compete in ?
(Q61505,P2416,c(Q349))
action filter_type
action find
entity Q61505
relation P2416
type Q349
['Q61505', 'P2416', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q61505 property:P2416 ?p . ?p rdf:type ontology:Q349 }
Ilke Wyludda
action filter_type
action find
entity Ilke Wyludda
relation sports discipline competed in
type sport
['Ilke Wyludda', 'sports discipline competed in', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:Ilke_Wyludda property:sports_discipline_competed_in ?p . ?p rdf:type ontology:sport }
[]
sport
Q182570
SYSTEM
discus throw
Q182570
(Q61505,P2416,c(Q349))
action filter_type
action find
entity Q61505
relation P2416
type Q349
Ilke Wyludda competed in [ANSWER]
['Q61505', 'P2416', {'concept': 'Q349'}]
SELECT DISTINCT ?p WHERE { resource:Q61505 property:P2416 ?p . ?p rdf:type ontology:Q349 }
discus throw
Ilke Wyludda competed in discus throw
discus throw
action filter_type
action find
entity Ilke Wyludda
relation sports discipline competed in
type sport
['Ilke Wyludda', 'sports discipline competed in', {'concept': 'sport'}]
SELECT DISTINCT ?p WHERE { resource:Ilke_Wyludda property:sports_discipline_competed_in ?p . ?p rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q61505
P641
Q31629
USER
Which type of sport did Ilke Wyludda participate in ?
(Q61505,P641,c(Q31629))
action filter_type
action find
entity Q61505
relation P641
type Q31629
['Q61505', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?p WHERE { resource:Q61505 property:P641 ?p . ?p rdf:type ontology:Q31629 }
Ilke Wyludda
action filter_type
action find
entity Ilke Wyludda
relation sport
type type of sport
['Ilke Wyludda', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?p WHERE { resource:Ilke_Wyludda property:sport ?p . ?p rdf:type ontology:type_of_sport }
[]
type of sport
Q542
SYSTEM
athletics
Q542
(Q61505,P641,c(Q31629))
action filter_type
action find
entity Q61505
relation P641
type Q31629
Ilke Wyludda participated in [ANSWER]
['Q61505', 'P641', {'concept': 'Q31629'}]
SELECT DISTINCT ?p WHERE { resource:Q61505 property:P641 ?p . ?p rdf:type ontology:Q31629 }
athletics
Ilke Wyludda participated in athletics
athletics
action filter_type
action find
entity Ilke Wyludda
relation sport
type type of sport
['Ilke Wyludda', 'sport', {'concept': 'type of sport'}]
SELECT DISTINCT ?p WHERE { resource:Ilke_Wyludda property:sport ?p . ?p rdf:type ontology:type_of_sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q61505
P106
Q151885
USER
Which concept has that person as his/her 's career ?
(Q542,P106,c(Q151885))
action filter_type
action find
entity Q61505
relation P106
type Q151885
['Q542', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?l WHERE { resource:Q61505 property:P106 ?l . ?l rdf:type ontology:Q151885 }
Ilke Wyludda
action filter_type
action find
entity Ilke Wyludda
relation occupation
type concept
['athletics', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?l WHERE { resource:Ilke_Wyludda property:occupation ?l . ?l rdf:type ontology:concept }
[]
concept
Q11513337
SYSTEM
athletics competitor
Q11513337
(Q542,P106,c(Q151885))
action filter_type
action find
entity Q61505
relation P106
type Q151885
The [ANSWER] has that person as his/her 's career
['Q542', 'P106', {'concept': 'Q151885'}]
SELECT DISTINCT ?l WHERE { resource:Q61505 property:P106 ?l . ?l rdf:type ontology:Q151885 }
athletics competitor
The athletics competitor has that person as his/her 's career
athletics competitor
action filter_type
action find
entity Ilke Wyludda
relation occupation
type concept
['athletics', 'occupation', {'concept': 'concept'}]
SELECT DISTINCT ?l WHERE { resource:Ilke_Wyludda property:occupation ?l . ?l rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q61505
P27
Q1048835
USER
Which political territory does that person belong to ?
(Q11513337,P27,c(Q1048835))
action filter_type
action find
entity Q61505
relation P27
type Q1048835
['Q11513337', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q61505 property:P27 ?k . ?k rdf:type ontology:Q1048835 }
Ilke Wyludda
action filter_type
action find
entity Ilke Wyludda
relation country of citizenship
type political territorial entity
['athletics competitor', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Ilke_Wyludda property:country_of_citizenship ?k . ?k rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q11513337,P27,c(Q1048835))
action filter_type
action find
entity Q61505
relation P27
type Q1048835
That person belongs to the [ANSWER]
['Q11513337', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?k WHERE { resource:Q61505 property:P27 ?k . ?k rdf:type ontology:Q1048835 }
Germany
That person belongs to the Germany
Germany
action filter_type
action find
entity Ilke Wyludda
relation country of citizenship
type political territorial entity
['athletics competitor', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?k WHERE { resource:Ilke_Wyludda property:country_of_citizenship ?k . ?k rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q61505
P21
Q290
USER
Which sex does that person have ?
(Q183,P21,c(Q290))
action filter_type
action find
entity Q61505
relation P21
type Q290
['Q183', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q61505 property:P21 ?o . ?o rdf:type ontology:Q290 }
Ilke Wyludda
action filter_type
action find
entity Ilke Wyludda
relation gender
type sex
['Germany', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Ilke_Wyludda property:gender ?o . ?o rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q183,P21,c(Q290))
action filter_type
action find
entity Q61505
relation P21
type Q290
That person has a [ANSWER]
['Q183', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?o WHERE { resource:Q61505 property:P21 ?o . ?o rdf:type ontology:Q290 }
female
That person has a female
female
action filter_type
action find
entity Ilke Wyludda
relation gender
type sex
['Germany', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?o WHERE { resource:Ilke_Wyludda property:gender ?o . ?o rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q183 Q81931
P35
Q502895
USER
How many people are the heads of state of Germany or Confederate States of America ?
(Q183,P35,c(Q502895)) (Q81931,P35,c(Q502895))
action count
action union
action filter_type
action find
entity Q183
relation P35
type Q502895
action filter_type
action find
entity Q81931
relation P35
type Q502895
['Q183', 'P35', {'concept': 'Q502895'}] ['Q81931', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { { resource:Q183 property:P35 ?z . ?z rdf:type ontology:Q502895 } UNION { resource:Q81931 property:P35 ?z . ?z rdf:type ontology:Q502895 } }
Germany Confederate States of America
action count
action union
action filter_type
action find
entity Germany
relation head of state
type common name
action filter_type
action find
entity Confederate States of America
relation head of state
type common name
['Germany', 'head of state', {'concept': 'common name'}] ['Confederate States of America', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { { resource:Germany property:head_of_state ?z . ?z rdf:type ontology:common_name } UNION { resource:Confederate_States_of_America property:head_of_state ?z . ?z rdf:type ontology:common_name } }
[]
common name
SYSTEM
12
Q2569 Q2594 Q2573 Q2563 Q2571 Q162269 Q2538 Q2551 Q2567 Q2540 Q2582 Q2542
(Q183,P35,c(Q502895)) (Q81931,P35,c(Q502895))
action count
action union
action filter_type
action find
entity Q183
relation P35
type Q502895
action filter_type
action find
entity Q81931
relation P35
type Q502895
[ANSWER]
['Q183', 'P35', {'concept': 'Q502895'}] ['Q81931', 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { { resource:Q183 property:P35 ?z . ?z rdf:type ontology:Q502895 } UNION { resource:Q81931 property:P35 ?z . ?z rdf:type ontology:Q502895 } }
Karl Carstens Theodor Heuss Gustav Heinemann Roman Herzog Walter Scheel Jefferson Davis Joachim Gauck Johannes Rau Richard von Weizsäcker Christian Wulff Heinrich Lübke Horst Köhler
12
action count
action union
action filter_type
action find
entity Germany
relation head of state
type common name
action filter_type
action find
entity Confederate States of America
relation head of state
type common name
['Germany', 'head of state', {'concept': 'common name'}] ['Confederate States of America', 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?t ) WHERE { { resource:Germany property:head_of_state ?z . ?z rdf:type ontology:common_name } UNION { resource:Confederate_States_of_America property:head_of_state ?z . ?z rdf:type ontology:common_name } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q81931
P27 P21
Q502895
USER
Which people are a citizen of Confederate States of America and have the gender as male ?
AND((c(Q502895),P27,Q81931), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q81931
relation P27
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q81931'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?f WHERE { ?f property:P27 resource:Q81931 . ?f property:P21 resource:Q6581097 . ?f rdf:type ontology:Q502895 }
male Confederate States of America
action filter_type
action intersection
action find_reverse
entity Confederate States of America
relation country of citizenship
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Confederate States of America'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?f WHERE { ?f property:country_of_citizenship resource:Confederate_States_of_America . ?f property:gender resource:male . ?f rdf:type ontology:common_name }
[]
common name
Q165557 Q7790324 Q1066440 Q19360993 Q15940821 Q6140835 Q273212
SYSTEM
Robert E. Lee, Thomas H. Taylor, Charles W. Field, Robert Ould, William Allan, James P. Simms, John C. Breckinridge
Q165557 Q7790324 Q1066440 Q19360993 Q15940821 Q6140835 Q273212
AND((c(Q502895),P27,Q81931), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q81931
relation P27
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] are a citizen of Confederate States of America and have the gender as male
{'AND': [[{'concept': 'Q502895'}, 'P27', 'Q81931'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?f WHERE { ?f property:P27 resource:Q81931 . ?f property:P21 resource:Q6581097 . ?f rdf:type ontology:Q502895 }
Robert E. Lee Thomas H. Taylor Charles W. Field Robert Ould William Allan James P. Simms John C. Breckinridge
Robert E. Lee, Thomas H. Taylor, Charles W. Field, Robert Ould, William Allan, James P. Simms and John C. Breckinridge are a citizen of Confederate States of America and have the gender as male
Robert E. Lee Thomas H. Taylor Charles W. Field Robert Ould William Allan James P. Simms John C. Breckinridge
action filter_type
action intersection
action find_reverse
entity Confederate States of America
relation country of citizenship
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'country of citizenship', 'Confederate States of America'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?f WHERE { ?f property:country_of_citizenship resource:Confederate_States_of_America . ?f property:gender resource:male . ?f rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P39
Q12737077
USER
How many occupations were the positions for which that person were appointed ?
(Q273212,P39,c(Q12737077))
['Q273212', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q273212 property:P39 ?z . ?z rdf:type ontology:Q528892 }
['John C. Breckinridge', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:John_C._Breckinridge property:position_held ?z . ?z rdf:type ontology:occupation }
[]
occupation
Quantitative|Count|Single entity type|Clarification
Q7790324
SYSTEM
Did you mean Thomas H. Taylor ?
(Q165557,P39,c(Q12737077)) (Q7790324,P39,c(Q12737077)) (Q1066440,P39,c(Q12737077)) (Q19360993,P39,c(Q12737077)) (Q15940821,P39,c(Q12737077)) (Q6140835,P39,c(Q12737077)) (Q273212,P39,c(Q12737077))
[ANSWER]
['Q165557', 'P39', {'concept': 'Q12737077'}] ['Q7790324', 'P39', {'concept': 'Q12737077'}] ['Q1066440', 'P39', {'concept': 'Q12737077'}] ['Q19360993', 'P39', {'concept': 'Q12737077'}] ['Q15940821', 'P39', {'concept': 'Q12737077'}] ['Q6140835', 'P39', {'concept': 'Q12737077'}] ['Q273212', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q273212 property:P39 ?z . ?z rdf:type ontology:Q528892 }
Did you mean Thomas H. Taylor ?
Thomas H. Taylor
['Robert E. Lee', 'position held', {'concept': 'occupation'}] ['Thomas H. Taylor', 'position held', {'concept': 'occupation'}] ['Charles W. Field', 'position held', {'concept': 'occupation'}] ['Robert Ould', 'position held', {'concept': 'occupation'}] ['William Allan', 'position held', {'concept': 'occupation'}] ['James P. Simms', 'position held', {'concept': 'occupation'}] ['John C. Breckinridge', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:John_C._Breckinridge property:position_held ?z . ?z rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant John C. Breckinridge. Could you tell me the answer for that?
(Q273212,P39,c(Q12737077))
Q273212
['Q273212', 'P39', {'concept': 'Q12737077'}]
['John C. Breckinridge', 'position held', {'concept': 'occupation'}]
[]
SYSTEM
3
Q13218630 Q13217683 Q2500100
(Q273212,P39,c(Q12737077))
[ANSWER]
['Q273212', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q273212 property:P39 ?z . ?z rdf:type ontology:Q528892 }
United States representative United States Senator Confederate States Secretary of War
3
['John C. Breckinridge', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:John_C._Breckinridge property:position_held ?z . ?z rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q183 Q24260
P47
Q20667921
USER
How many french administrative divisions do Germany or Canillo share a border with ?
(c(Q20667921),P47,Q183) (c(Q20667921),P47,Q24260)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P47
type Q20667921
action filter_type
action find_reverse
entity Q24260
relation P47
type Q20667921
[{'concept': 'Q20667921'}, 'P47', 'Q183'] [{'concept': 'Q20667921'}, 'P47', 'Q24260']
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { { ?w rdf:type ontology:Q20667921 . ?w property:P47 resource:Q24260 } UNION { ?w rdf:type ontology:Q20667921 . ?w property:P47 resource:Q183 } }
Germany Canillo
action count
action union
action filter_type
action find_reverse
entity Germany
relation shares border with
type type of french administrative division
action filter_type
action find_reverse
entity Canillo
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Germany'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Canillo']
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { { ?w rdf:type ontology:type_of_french_administrative_division . ?w property:shares_border_with resource:Canillo } UNION { ?w rdf:type ontology:type_of_french_administrative_division . ?w property:shares_border_with resource:Germany } }
[]
type of french administrative division
SYSTEM
2
Q198196 Q1072001
(c(Q20667921),P47,Q183) (c(Q20667921),P47,Q24260)
action count
action union
action filter_type
action find_reverse
entity Q183
relation P47
type Q20667921
action filter_type
action find_reverse
entity Q24260
relation P47
type Q20667921
[ANSWER]
[{'concept': 'Q20667921'}, 'P47', 'Q183'] [{'concept': 'Q20667921'}, 'P47', 'Q24260']
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { { ?w rdf:type ontology:Q20667921 . ?w property:P47 resource:Q24260 } UNION { ?w rdf:type ontology:Q20667921 . ?w property:P47 resource:Q183 } }
Porta Porté-Puymorens
2
action count
action union
action filter_type
action find_reverse
entity Germany
relation shares border with
type type of french administrative division
action filter_type
action find_reverse
entity Canillo
relation shares border with
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'shares border with', 'Germany'] [{'concept': 'type of french administrative division'}, 'shares border with', 'Canillo']
SELECT DISTINCT ( COUNT ( ?w ) AS ?q ) WHERE { { ?w rdf:type ontology:type_of_french_administrative_division . ?w property:shares_border_with resource:Canillo } UNION { ?w rdf:type ontology:type_of_french_administrative_division . ?w property:shares_border_with resource:Germany } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q183
P921
Q571
USER
Which book has Germany as its principal topic ?
(c(Q571),P921,Q183)
action filter_type
action find_reverse
entity Q183
relation P921
type Q571
[{'concept': 'Q571'}, 'P921', 'Q183']
SELECT DISTINCT ?s WHERE { ?s property:P921 resource:Q183 . ?s rdf:type ontology:Q571 }
Germany
action filter_type
action find_reverse
entity Germany
relation main subject
type book
[{'concept': 'book'}, 'main subject', 'Germany']
SELECT DISTINCT ?s WHERE { ?s property:main_subject resource:Germany . ?s rdf:type ontology:book }
[]
book
Q15291012
SYSTEM
Writers and Radio
Q15291012
(c(Q571),P921,Q183)
action filter_type
action find_reverse
entity Q183
relation P921
type Q571
In [ANSWER] has Germany as its principal topic
[{'concept': 'Q571'}, 'P921', 'Q183']
SELECT DISTINCT ?s WHERE { ?s property:P921 resource:Q183 . ?s rdf:type ontology:Q571 }
Writers and Radio
In Writers and Radio has Germany as its principal topic
Writers and Radio
action filter_type
action find_reverse
entity Germany
relation main subject
type book
[{'concept': 'book'}, 'main subject', 'Germany']
SELECT DISTINCT ?s WHERE { ?s property:main_subject resource:Germany . ?s rdf:type ontology:book }
[]