Simple Question (Direct)
Simple Question
Q16563740
P102
Q7210356
USER
Which political organization is Judith Kirton-Darling a member of ?
(Q16563740,P102,c(Q7210356))
action filter_type
action find
entity Q16563740
relation P102
type Q7210356
['Q16563740', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?u WHERE { resource:Q16563740 property:P102 ?u . ?u rdf:type ontology:Q7210356 }
Judith Kirton-Darling
action filter_type
action find
entity Judith Kirton-Darling
relation member of political party
type political organization
['Judith Kirton-Darling', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?u WHERE { resource:Judith_Kirton-Darling property:member_of_political_party ?u . ?u rdf:type ontology:political_organization }
[]
political organization
Q9630
SYSTEM
Labour Party
Q9630
(Q16563740,P102,c(Q7210356))
action filter_type
action find
entity Q16563740
relation P102
type Q7210356
[ANSWER] is Judith Kirton-Darling a member of
['Q16563740', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?u WHERE { resource:Q16563740 property:P102 ?u . ?u rdf:type ontology:Q7210356 }
Labour Party
Labour Party is Judith Kirton-Darling a member of
Labour Party
action filter_type
action find
entity Judith Kirton-Darling
relation member of political party
type political organization
['Judith Kirton-Darling', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?u WHERE { resource:Judith_Kirton-Darling property:member_of_political_party ?u . ?u rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9630
P361
Q12737077
USER
Which occupations are parts of that political organization ?
(c(Q12737077),P361,Q9630)
action filter_type
action find_reverse
entity Q9630
relation P361
type Q12737077
[{'concept': 'Q12737077'}, 'P361', 'Q9630']
SELECT DISTINCT ?w WHERE { ?w property:P361 resource:Q9630 . ?w rdf:type ontology:Q12737077 }
Labour Party
action filter_type
action find_reverse
entity Labour Party
relation part of
type occupation
[{'concept': 'occupation'}, 'part of', 'Labour Party']
SELECT DISTINCT ?w WHERE { ?w property:part_of resource:Labour_Party . ?w rdf:type ontology:occupation }
[]
occupation
Q6467390 Q3615378
SYSTEM
Labour Chief Whip, Leader of the Labour Party
Q6467390 Q3615378
(c(Q12737077),P361,Q9630)
action filter_type
action find_reverse
entity Q9630
relation P361
type Q12737077
[ANSWERS] are parts of that political organization
[{'concept': 'Q12737077'}, 'P361', 'Q9630']
SELECT DISTINCT ?w WHERE { ?w property:P361 resource:Q9630 . ?w rdf:type ontology:Q12737077 }
Labour Chief Whip Leader of the Labour Party
Labour Chief Whip and Leader of the Labour Party are parts of that political organization
Labour Chief Whip Leader of the Labour Party
action filter_type
action find_reverse
entity Labour Party
relation part of
type occupation
[{'concept': 'occupation'}, 'part of', 'Labour Party']
SELECT DISTINCT ?w WHERE { ?w property:part_of resource:Labour_Party . ?w rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q3615378
P39
Q502895
USER
Who held the position of that occupation ?
(c(Q502895),P39,Q3615378)
action filter_type
action find_reverse
entity Q3615378
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q3615378']
SELECT DISTINCT ?k WHERE { ?k property:P39 resource:Q3615378 . ?k rdf:type ontology:Q502895 }
Leader of the Labour Party
action filter_type
action find_reverse
entity Leader of the Labour Party
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Leader of the Labour Party']
SELECT DISTINCT ?k WHERE { ?k property:position_held resource:Leader_of_the_Labour_Party . ?k rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q6467390
SYSTEM
Did you mean Labour Chief Whip ?
Q6467390 Q3615378
(c(Q502895),P39,Q6467390) (c(Q502895),P39,Q3615378)
[ANSWER]
[{'concept': 'Q502895'}, 'P39', 'Q6467390'] [{'concept': 'Q502895'}, 'P39', 'Q3615378']
SELECT DISTINCT ?k WHERE { ?k property:P39 resource:Q3615378 . ?k rdf:type ontology:Q502895 }
Labour Chief Whip Leader of the Labour Party
Did you mean Labour Chief Whip ?
Labour Chief Whip
[{'concept': 'common name'}, 'position held', 'Labour Chief Whip'] [{'concept': 'common name'}, 'position held', 'Leader of the Labour Party']
SELECT DISTINCT ?k WHERE { ?k property:position_held resource:Leader_of_the_Labour_Party . ?k rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Leader of the Labour Party. Could you tell me the answer for that?
(c(Q502895),P39,Q3615378)
Q3615378
[{'concept': 'Q502895'}, 'P39', 'Q3615378']
[{'concept': 'common name'}, 'position held', 'Leader of the Labour Party']
[]
Q9576 Q129006 Q128956
SYSTEM
James Callaghan, Clement Attlee, Harold Wilson
Q216594 Q10648 Q291169 Q208665 Q332460 Q247589 Q337380 Q128956 Q9576 Q317258 Q332377 Q332419 Q129006 Q332915 Q234182 Q166646 Q9545
(c(Q502895),P39,Q3615378)
action filter_type
action find_reverse
entity Q3615378
relation P39
type Q502895
[ANSWERS] held the position of that occupation
[{'concept': 'Q502895'}, 'P39', 'Q3615378']
SELECT DISTINCT ?k WHERE { ?k property:P39 resource:Q3615378 . ?k rdf:type ontology:Q502895 }
Ed Miliband Gordon Brown Jeremy Corbyn Arthur Henderson Keir Hardie George Lansbury Hugh Gaitskell Harold Wilson James Callaghan Neil Kinnock John Smith Michael Foot Clement Attlee J. R. Clynes Harriet Harman Ramsay MacDonald Tony Blair
James Callaghan, Clement Attlee and Harold Wilson held the position of that occupation
James Callaghan Clement Attlee Harold Wilson
action filter_type
action find_reverse
entity Leader of the Labour Party
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Leader of the Labour Party']
SELECT DISTINCT ?k WHERE { ?k property:position_held resource:Leader_of_the_Labour_Party . ?k rdf:type ontology:common_name }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P106
Q151885 Q12737077
USER
How many concepts or occupations have that person as his/her as a career ?
(Q128956,P106,c(Q151885)) (Q128956,P106,c(Q12737077)) (Q9576,P106,c(Q151885)) (Q9576,P106,c(Q12737077)) (Q129006,P106,c(Q151885)) (Q129006,P106,c(Q12737077)) (Q128956,P106,c(Q151885)) (Q128956,P106,c(Q12737077))
['Q128956', 'P106', {'concept': 'Q151885'}] ['Q128956', 'P106', {'concept': 'Q12737077'}] ['Q9576', 'P106', {'concept': 'Q151885'}] ['Q9576', 'P106', {'concept': 'Q12737077'}] ['Q129006', 'P106', {'concept': 'Q151885'}] ['Q129006', 'P106', {'concept': 'Q12737077'}] ['Q128956', 'P106', {'concept': 'Q151885'}] ['Q128956', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q5662791 property:Q528892 ?z } UNION { resource:Q5662791 property:Q528892 ?y } UNION { resource:Q17172489 property:Q528892 ?z } UNION { resource:Q17172489 property:Q528892 ?y } UNION { resource:Q129006 property:Q528892 ?z } UNION { resource:Q129006 property:Q528892 ?y } UNION { resource:Q5662791 property:Q528892 ?z } UNION { resource:Q5662791 property:Q528892 ?y } } . ?z rdf:type ontology:Q151885 . ?y rdf:type ontology:Q528892 }
['Harold Wilson', 'occupation', {'concept': 'concept'}] ['Harold Wilson', 'occupation', {'concept': 'occupation'}] ['James Callaghan', 'occupation', {'concept': 'concept'}] ['James Callaghan', 'occupation', {'concept': 'occupation'}] ['Clement Attlee', 'occupation', {'concept': 'concept'}] ['Clement Attlee', 'occupation', {'concept': 'occupation'}] ['Harold Wilson', 'occupation', {'concept': 'concept'}] ['Harold Wilson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Harold_Wilson property:occupation ?z } UNION { resource:Harold_Wilson property:occupation ?y } UNION { resource:James_Callaghan property:occupation ?z } UNION { resource:James_Callaghan property:occupation ?y } UNION { resource:Clement_Attlee property:occupation ?z } UNION { resource:Clement_Attlee property:occupation ?y } UNION { resource:Harold_Wilson property:occupation ?z } UNION { resource:Harold_Wilson property:occupation ?y } } . ?z rdf:type ontology:concept . ?y rdf:type ontology:occupation }
[]
concept occupation
Quantitative|Count|Mult. entity type|Clarification
Q128956
SYSTEM
Did you mean Harold Wilson ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q5662791 property:Q528892 ?z } UNION { resource:Q5662791 property:Q528892 ?y } UNION { resource:Q17172489 property:Q528892 ?z } UNION { resource:Q17172489 property:Q528892 ?y } UNION { resource:Q129006 property:Q528892 ?z } UNION { resource:Q129006 property:Q528892 ?y } UNION { resource:Q5662791 property:Q528892 ?z } UNION { resource:Q5662791 property:Q528892 ?y } } . ?z rdf:type ontology:Q151885 . ?y rdf:type ontology:Q528892 }
Did you mean Harold Wilson ?
Harold Wilson
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Harold_Wilson property:occupation ?z } UNION { resource:Harold_Wilson property:occupation ?y } UNION { resource:James_Callaghan property:occupation ?z } UNION { resource:James_Callaghan property:occupation ?y } UNION { resource:Clement_Attlee property:occupation ?z } UNION { resource:Clement_Attlee property:occupation ?y } UNION { resource:Harold_Wilson property:occupation ?z } UNION { resource:Harold_Wilson property:occupation ?y } } . ?z rdf:type ontology:concept . ?y rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(Q128956,P106,c(Q151885)) (Q128956,P106,c(Q12737077)) (Q9576,P106,c(Q151885)) (Q9576,P106,c(Q12737077)) (Q129006,P106,c(Q151885)) (Q129006,P106,c(Q12737077)) (Q128956,P106,c(Q151885)) (Q128956,P106,c(Q12737077))
['Q128956', 'P106', {'concept': 'Q151885'}] ['Q128956', 'P106', {'concept': 'Q12737077'}] ['Q9576', 'P106', {'concept': 'Q151885'}] ['Q9576', 'P106', {'concept': 'Q12737077'}] ['Q129006', 'P106', {'concept': 'Q151885'}] ['Q129006', 'P106', {'concept': 'Q12737077'}] ['Q128956', 'P106', {'concept': 'Q151885'}] ['Q128956', 'P106', {'concept': 'Q12737077'}]
['Harold Wilson', 'occupation', {'concept': 'concept'}] ['Harold Wilson', 'occupation', {'concept': 'occupation'}] ['James Callaghan', 'occupation', {'concept': 'concept'}] ['James Callaghan', 'occupation', {'concept': 'occupation'}] ['Clement Attlee', 'occupation', {'concept': 'concept'}] ['Clement Attlee', 'occupation', {'concept': 'occupation'}] ['Harold Wilson', 'occupation', {'concept': 'concept'}] ['Harold Wilson', 'occupation', {'concept': 'occupation'}]
[]
SYSTEM
3
Q2732142 Q82955 Q860918
(Q128956,P106,c(Q151885)) (Q128956,P106,c(Q12737077)) (Q9576,P106,c(Q151885)) (Q9576,P106,c(Q12737077)) (Q129006,P106,c(Q151885)) (Q129006,P106,c(Q12737077)) (Q128956,P106,c(Q151885)) (Q128956,P106,c(Q12737077))
[ANSWER]
['Q128956', 'P106', {'concept': 'Q151885'}] ['Q128956', 'P106', {'concept': 'Q12737077'}] ['Q9576', 'P106', {'concept': 'Q151885'}] ['Q9576', 'P106', {'concept': 'Q12737077'}] ['Q129006', 'P106', {'concept': 'Q151885'}] ['Q129006', 'P106', {'concept': 'Q12737077'}] ['Q128956', 'P106', {'concept': 'Q151885'}] ['Q128956', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Q5662791 property:Q528892 ?z } UNION { resource:Q5662791 property:Q528892 ?y } UNION { resource:Q17172489 property:Q528892 ?z } UNION { resource:Q17172489 property:Q528892 ?y } UNION { resource:Q129006 property:Q528892 ?z } UNION { resource:Q129006 property:Q528892 ?y } UNION { resource:Q5662791 property:Q528892 ?z } UNION { resource:Q5662791 property:Q528892 ?y } } . ?z rdf:type ontology:Q151885 . ?y rdf:type ontology:Q528892 }
statistician politician Esperantist
3
['Harold Wilson', 'occupation', {'concept': 'concept'}] ['Harold Wilson', 'occupation', {'concept': 'occupation'}] ['James Callaghan', 'occupation', {'concept': 'concept'}] ['James Callaghan', 'occupation', {'concept': 'occupation'}] ['Clement Attlee', 'occupation', {'concept': 'concept'}] ['Clement Attlee', 'occupation', {'concept': 'occupation'}] ['Harold Wilson', 'occupation', {'concept': 'concept'}] ['Harold Wilson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { resource:Harold_Wilson property:occupation ?z } UNION { resource:Harold_Wilson property:occupation ?y } UNION { resource:James_Callaghan property:occupation ?z } UNION { resource:James_Callaghan property:occupation ?y } UNION { resource:Clement_Attlee property:occupation ?z } UNION { resource:Clement_Attlee property:occupation ?y } UNION { resource:Harold_Wilson property:occupation ?z } UNION { resource:Harold_Wilson property:occupation ?y } } . ?z rdf:type ontology:concept . ?y rdf:type ontology:occupation }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q201129
P1303
Q34379 Q502895
USER
How many musical instruments are played by around the same number of people as lyre ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q201129
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?s ) WHERE { ?q property:P1303 ?h . ?h rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { resource:Q201129 property:P1303 ?i . ?i rdf:type ontology:Q34379 } } . FILTER ( ?s = ?w ) }
lyre
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity lyre
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?s ) WHERE { ?q property:instrument ?h . ?h rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { resource:lyre property:instrument ?i . ?i rdf:type ontology:musical_instrument } } . FILTER ( ?s = ?w ) }
[]
musical instrument common name
SYSTEM
60
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q201129
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?s ) WHERE { ?q property:P1303 ?h . ?h rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { resource:Q201129 property:P1303 ?i . ?i rdf:type ontology:Q34379 } } . FILTER ( ?s = ?w ) }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
60
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity lyre
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?h ) AS ?d ) WHERE { { SELECT DISTINCT ?h ( COUNT ( ?q ) AS ?s ) WHERE { ?q property:instrument ?h . ?h rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name } GROUP BY ?h } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { resource:lyre property:instrument ?i . ?i rdf:type ontology:musical_instrument } } . FILTER ( ?s = ?w ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q1343007
P1303
Q34379 Q502895
USER
And what about electronic keyboard?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1343007
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?x ) AS ?a ) WHERE { ?x property:P1303 ?g . ?x rdf:type ontology:Q502895 . ?g rdf:type ontology:Q34379 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { ?l rdf:type ontology:Q34379 . resource:Q1343007 property:P1303 ?l } } . FILTER ( ?a = ?d ) }
electronic keyboard
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity electronic keyboard
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?x ) AS ?a ) WHERE { ?x property:instrument ?g . ?x rdf:type ontology:common_name . ?g rdf:type ontology:musical_instrument } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { ?l rdf:type ontology:musical_instrument . resource:electronic_keyboard property:instrument ?l } } . FILTER ( ?a = ?d ) }
[]
musical instrument common name
SYSTEM
62
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q1343007
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?x ) AS ?a ) WHERE { ?x property:P1303 ?g . ?x rdf:type ontology:Q502895 . ?g rdf:type ontology:Q34379 } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { ?l rdf:type ontology:Q34379 . resource:Q1343007 property:P1303 ?l } } . FILTER ( ?a = ?d ) }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
62
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity electronic keyboard
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?f ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?x ) AS ?a ) WHERE { ?x property:instrument ?g . ?x rdf:type ontology:common_name . ?g rdf:type ontology:musical_instrument } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?l ) AS ?d ) WHERE { ?l rdf:type ontology:musical_instrument . resource:electronic_keyboard property:instrument ?l } } . FILTER ( ?a = ?d ) }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q3237838
Q838948
USER
And what about Liberté, j'écris ton nom?
(Q3237838,P364,c(Q838948))
action count
action filter_type
action find
entity Q3237838
relation P364
type Q838948
['Q3237838', 'P364', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { resource:Q3237838 property:P364 ?c . ?c rdf:type ontology:Q838948 }
Liberté, j'écris ton nom
action count
action filter_type
action find
entity Liberté, j'écris ton nom
relation original language of work
type work of art
["Liberté, j'écris ton nom", 'original language of work', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { resource:Liberté,_j'écris_ton_nom property:original_language_of_work ?c . ?c rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
1
(Q3237838,P364,c(Q838948))
action count
action filter_type
action find
entity Q3237838
relation P364
type Q838948
[ANSWER]
['Q3237838', 'P364', {'concept': 'Q838948'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { resource:Q3237838 property:P364 ?c . ?c rdf:type ontology:Q838948 }
1
action count
action filter_type
action find
entity Liberté, j'écris ton nom
relation original language of work
type work of art
["Liberté, j'écris ton nom", 'original language of work', {'concept': 'work of art'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?t ) WHERE { resource:Liberté,_j'écris_ton_nom property:original_language_of_work ?c . ?c rdf:type ontology:work_of_art }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11859035
P17
Q15617994
USER
Which administrative territory is Eurajoensalmi situated in ?
(Q11859035,P17,c(Q15617994))
action filter_type
action find
entity Q11859035
relation P17
type Q15617994
['Q11859035', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q11859035 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
Eurajoensalmi
action filter_type
action find
entity Eurajoensalmi
relation country
type designation for an administrative territorial entity
['Eurajoensalmi', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Eurajoensalmi property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q33
SYSTEM
Finland
Q33
(Q11859035,P17,c(Q15617994))
action filter_type
action find
entity Q11859035
relation P17
type Q15617994
Eurajoensalmi is situated in [ANSWER]
['Q11859035', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?l WHERE { resource:Q11859035 property:P17 ?l . ?l rdf:type ontology:Q15617994 }
Finland
Eurajoensalmi is situated in Finland
Finland
action filter_type
action find
entity Eurajoensalmi
relation country
type designation for an administrative territorial entity
['Eurajoensalmi', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Eurajoensalmi property:country ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q33
P163
Q14660
USER
Which flag is associated with that administrative territory ?
(Q33,P163,c(Q14660))
action filter_type
action find
entity Q33
relation P163
type Q14660
['Q33', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q14660 . resource:Q33 property:P163 ?k }
Finland
action filter_type
action find
entity Finland
relation flag
type flag
['Finland', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:flag . resource:Finland property:flag ?k }
[]
flag
Q47891
SYSTEM
Flag of Finland
Q47891
(Q33,P163,c(Q14660))
action filter_type
action find
entity Q33
relation P163
type Q14660
Finland [ANSWER] is associated with that administrative territory
['Q33', 'P163', {'concept': 'Q14660'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q14660 . resource:Q33 property:P163 ?k }
Flag of Finland
Finland Flag of Finland is associated with that administrative territory
Flag of Finland
action filter_type
action find
entity Finland
relation flag
type flag
['Finland', 'flag', {'concept': 'flag'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:flag . resource:Finland property:flag ?k }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q33
P276
Q874405
USER
What is located at that administrative territory ?
(c(Q874405),P276,Q47891)
action filter_type
action find_reverse
entity Q33
relation P276
type Q874405
[{'concept': 'Q874405'}, 'P276', 'Q47891']
SELECT DISTINCT ?a WHERE { ?a property:P276 resource:Q33 . ?a rdf:type ontology:Q874405 }
Finland
action filter_type
action find_reverse
entity Finland
relation location
type social group
[{'concept': 'social group'}, 'location', 'Flag of Finland']
SELECT DISTINCT ?a WHERE { ?a property:location resource:Finland . ?a rdf:type ontology:social_group }
[]
social group
Q21607642
SYSTEM
Pori city board of visual arts
Q21607642
(c(Q874405),P276,Q47891)
action filter_type
action find_reverse
entity Q33
relation P276
type Q874405
[ANSWER] is located at that administrative territory
[{'concept': 'Q874405'}, 'P276', 'Q47891']
SELECT DISTINCT ?a WHERE { ?a property:P276 resource:Q33 . ?a rdf:type ontology:Q874405 }
Pori city board of visual arts
Pori city board of visual arts is located at that administrative territory
Pori city board of visual arts
action filter_type
action find_reverse
entity Finland
relation location
type social group
[{'concept': 'social group'}, 'location', 'Flag of Finland']
SELECT DISTINCT ?a WHERE { ?a property:location resource:Finland . ?a rdf:type ontology:social_group }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q33
P840
Q166142
USER
Which applications have their setting located at Finland ?
(c(Q166142),P840,Q33)
action filter_type
action find_reverse
entity Q33
relation P840
type Q166142
[{'concept': 'Q166142'}, 'P840', 'Q33']
SELECT DISTINCT ?s WHERE { ?s property:P840 resource:Q33 . ?s rdf:type ontology:Q166142 }
Finland
action filter_type
action find_reverse
entity Finland
relation narrative location
type application
[{'concept': 'application'}, 'narrative location', 'Finland']
SELECT DISTINCT ?s WHERE { ?s property:narrative_location resource:Finland . ?s rdf:type ontology:application }
[]
application
Q840776 Q672049 Q3132748
SYSTEM
Tom Clancy's EndWar, Tekken Tag Tournament 2, NHL 12
Q4017054 Q7881930 Q672049 Q3132748 Q13462549 Q3334418 Q3278817 Q2539345 Q3874948 Q16782034 Q5419651 Q4036427 Q7954910 Q7954911 Q4043974 Q906070 Q16622867 Q1255578 Q840776 Q1048197 Q579989 Q13423675 Q1804593 Q2333604 Q430080 Q20379871
(c(Q166142),P840,Q33)
action filter_type
action find_reverse
entity Q33
relation P840
type Q166142
[ANSWERS] have their setting located at Finland
[{'concept': 'Q166142'}, 'P840', 'Q33']
SELECT DISTINCT ?s WHERE { ?s property:P840 resource:Q33 . ?s rdf:type ontology:Q166142 }
WRC 2: FIA World Rally Championship UnReal World Tekken Tag Tournament 2 NHL 12 NHL 14 NHL 2005 WRC: Rally Evolved Wipeout Pulse NetKar Pro NHL 15 Excitebots: Trick Racing Combat Mission II: Barbarossa to Berlin WRC: FIA World Rally Championship Arcade WRC: FIA World Rally Championship Memento Mori Dirt 3 WRC 4 IL-2 Sturmovik: Forgotten Battles Tom Clancy's EndWar Rally Trophy NHL 13 Tekken Revolution Talvisota: Icy Hell V-Rally 2 Excite Truck NHL 16
Tom Clancy's EndWar, Tekken Tag Tournament 2 and NHL 12 have their setting located at Finland
Tom Clancy's EndWar Tekken Tag Tournament 2 NHL 12
action filter_type
action find_reverse
entity Finland
relation narrative location
type application
[{'concept': 'application'}, 'narrative location', 'Finland']
SELECT DISTINCT ?s WHERE { ?s property:narrative_location resource:Finland . ?s rdf:type ontology:application }
[]