Simple Question (Direct)
Simple Question
Q2526534
P102
Q7210356
USER
Which party is Vincent Boreing affiliated with ?
(Q2526534,P102,c(Q7210356))
action filter_type
action find
entity Q2526534
relation P102
type Q7210356
['Q2526534', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?u WHERE { resource:Q2526534 property:P102 ?u . ?u rdf:type ontology:Q7210356 }
Vincent Boreing
action filter_type
action find
entity Vincent Boreing
relation member of political party
type political organization
['Vincent Boreing', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?u WHERE { resource:Vincent_Boreing property:member_of_political_party ?u . ?u rdf:type ontology:political_organization }
[]
political organization
Q29468
SYSTEM
Republican Party
Q29468
(Q2526534,P102,c(Q7210356))
action filter_type
action find
entity Q2526534
relation P102
type Q7210356
Vincent Boreing is affiliated with [ANSWER]
['Q2526534', 'P102', {'concept': 'Q7210356'}]
SELECT DISTINCT ?u WHERE { resource:Q2526534 property:P102 ?u . ?u rdf:type ontology:Q7210356 }
Republican Party
Vincent Boreing is affiliated with Republican Party
Republican Party
action filter_type
action find
entity Vincent Boreing
relation member of political party
type political organization
['Vincent Boreing', 'member of political party', {'concept': 'political organization'}]
SELECT DISTINCT ?u WHERE { resource:Vincent_Boreing property:member_of_political_party ?u . ?u rdf:type ontology:political_organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q29468
P463
Q502895
USER
Which person has a membership of that political organization ?
(c(Q502895),P463,Q29468)
action filter_type
action find_reverse
entity Q29468
relation P463
type Q502895
[{'concept': 'Q502895'}, 'P463', 'Q29468']
SELECT DISTINCT ?c WHERE { ?c property:P463 resource:Q29468 . ?c rdf:type ontology:Q502895 }
Republican Party
action filter_type
action find_reverse
entity Republican Party
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'Republican Party']
SELECT DISTINCT ?c WHERE { ?c property:member_of resource:Republican_Party . ?c rdf:type ontology:common_name }
[]
common name
Q2522486
SYSTEM
Victor Murdock
Q2522486
(c(Q502895),P463,Q29468)
action filter_type
action find_reverse
entity Q29468
relation P463
type Q502895
[ANSWER] has a membership of that political organization
[{'concept': 'Q502895'}, 'P463', 'Q29468']
SELECT DISTINCT ?c WHERE { ?c property:P463 resource:Q29468 . ?c rdf:type ontology:Q502895 }
Victor Murdock
Victor Murdock has a membership of that political organization
Victor Murdock
action filter_type
action find_reverse
entity Republican Party
relation member of
type common name
[{'concept': 'common name'}, 'member of', 'Republican Party']
SELECT DISTINCT ?c WHERE { ?c property:member_of resource:Republican_Party . ?c rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q16155191
P1303
Q34379 Q502895
USER
Which musical instruments can around the same number of people perform with as Saraswati veena ?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q16155191
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?m ) AS ?h ) WHERE { ?m property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?m rdf:type ontology:Q502895 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { resource:Q16155191 property:P1303 ?k . ?k rdf:type ontology:Q34379 } } . FILTER ( ?h = ?g ) }
Saraswati veena
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Saraswati veena
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?m ) AS ?h ) WHERE { ?m property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?m rdf:type ontology:common_name } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { resource:Saraswati_veena property:instrument ?k . ?k rdf:type ontology:musical_instrument } } . FILTER ( ?h = ?g ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
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 approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q16155191
relation P1303
type Q34379
[ANSWERS] can around the same number of people perform with as Saraswati veena
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?m ) AS ?h ) WHERE { ?m property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?m rdf:type ontology:Q502895 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { resource:Q16155191 property:P1303 ?k . ?k rdf:type ontology:Q34379 } } . FILTER ( ?h = ?g ) }
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
Davul, harpsichord and Wurlitzer electric piano can around the same number of people perform with as Saraswati veena
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Saraswati veena
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?m ) AS ?h ) WHERE { ?m property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?m rdf:type ontology:common_name } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { resource:Saraswati_veena property:instrument ?k . ?k rdf:type ontology:musical_instrument } } . FILTER ( ?h = ?g ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q626035
P1303
Q34379 Q502895
USER
And also tell me about glockenspiel?
(c(Q502895),P1303,c(Q34379))
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q626035
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?f ) AS ?u ) WHERE { ?f property:P1303 ?x . ?x rdf:type ontology:Q34379 . ?f rdf:type ontology:Q502895 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { resource:Q626035 property:P1303 ?w . ?w rdf:type ontology:Q34379 } } . FILTER ( ?u = ?s ) }
glockenspiel
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity glockenspiel
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?f ) AS ?u ) WHERE { ?f property:instrument ?x . ?x rdf:type ontology:musical_instrument . ?f rdf:type ontology:common_name } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { resource:glockenspiel property:instrument ?w . ?w rdf:type ontology:musical_instrument } } . FILTER ( ?u = ?s ) }
[]
musical instrument common name
Q1178361 Q81982 Q1759986
SYSTEM
davul, harpsichord, Wurlitzer electric piano
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 approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q626035
relation P1303
type Q34379
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?f ) AS ?u ) WHERE { ?f property:P1303 ?x . ?x rdf:type ontology:Q34379 . ?f rdf:type ontology:Q502895 } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { resource:Q626035 property:P1303 ?w . ?w rdf:type ontology:Q34379 } } . FILTER ( ?u = ?s ) }
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
davul harpsichord Wurlitzer electric piano
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity glockenspiel
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?x WHERE { { SELECT DISTINCT ?x ( COUNT ( ?f ) AS ?u ) WHERE { ?f property:instrument ?x . ?x rdf:type ontology:musical_instrument . ?f rdf:type ontology:common_name } GROUP BY ?x } . { SELECT DISTINCT ( COUNT ( ?w ) AS ?s ) WHERE { resource:glockenspiel property:instrument ?w . ?w rdf:type ontology:musical_instrument } } . FILTER ( ?u = ?s ) }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P870
Q34379 Q9748
USER
Which musical instruments were used in the composition of approximately the same number of concertoes as that musical instrument ?
(c(Q9748),P870,c(Q34379))
[{'concept': 'Q9748'}, 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { ?z property:Q617028 ?y . ?z rdf:type ontology:Q9748 . ?y rdf:type ontology:Q34379 }
[{'concept': 'concerto'}, 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { ?z property:instrumentation ?y . ?z rdf:type ontology:concerto . ?y rdf:type ontology:musical_instrument }
[]
musical instrument concerto
Comparative|More/Less|Single entity type|Clarification
Q1759986
SYSTEM
Did you mean Wurlitzer electric piano ?
(c(Q9748),P870,c(Q34379))
[ANSWER]
[{'concept': 'Q9748'}, 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { ?z property:Q617028 ?y . ?z rdf:type ontology:Q9748 . ?y rdf:type ontology:Q34379 }
Did you mean Wurlitzer electric piano ?
Wurlitzer electric piano
[{'concept': 'concerto'}, 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { ?z property:instrumentation ?y . ?z rdf:type ontology:concerto . ?y rdf:type ontology:musical_instrument }
[]
Comparative Reasoning (All)
USER
No, I meant harpsichord. Could you tell me the answer for that?
(c(Q9748),P870,c(Q34379))
Q81982
[{'concept': 'Q9748'}, 'P870', {'concept': 'Q34379'}]
[{'concept': 'concerto'}, 'instrumentation', {'concept': 'musical instrument'}]
[]
Q521151 Q81982 Q80284
SYSTEM
baryton, harpsichord, viola
Q80284 Q8371 Q213461 Q46185 Q845193 Q190172 Q189737 Q626035 Q593995 Q521151 Q8338 Q320341 Q1444 Q39777 Q11404 Q206987 Q81982
(c(Q9748),P870,c(Q34379))
[ANSWERS] were used in the composition of approximately the same number of concertoes as that musical instrument
[{'concept': 'Q9748'}, 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ?y WHERE { ?z property:Q617028 ?y . ?z rdf:type ontology:Q9748 . ?y rdf:type ontology:Q34379 }
viola cello harmonium bass guitar xylorimba cymbal timpani glockenspiel player piano baryton trumpet celesta organ maraca drum vibraphone harpsichord
Baryton, harpsichord and viola were used in the composition of approximately the same number of concertoes as that musical instrument
baryton harpsichord viola
[{'concept': 'concerto'}, 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ?y WHERE { ?z property:instrumentation ?y . ?z rdf:type ontology:concerto . ?y rdf:type ontology:musical_instrument }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q669370
P1303
Q34379 Q502895
USER
Which musical instruments can more number of people perform with than gusle ?
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q669370
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?n ) WHERE { ?a property:P1303 ?j . ?j rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:Q669370 property:P1303 ?r . ?r rdf:type ontology:Q34379 } } . FILTER ( ?n > ?e ) }
gusle
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity gusle
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?n ) WHERE { ?a property:instrument ?j . ?j rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:gusle property:instrument ?r . ?r rdf:type ontology:musical_instrument } } . FILTER ( ?n > ?e ) }
[]
musical instrument common name
Q5994 Q81982 Q862501
SYSTEM
piano, harpsichord, ondes Martenot
Q80284 Q46185 Q201129 Q424017 Q80019 Q2563510 Q5994 Q3574843 Q81982 Q182718 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q862501 Q213100 Q537750 Q626035 Q742180 Q1300012 Q1444 Q220971 Q128309 Q726306 Q483994 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q669370
relation P1303
type Q34379
[ANSWERS] can more number of people perform with than gusle
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?n ) WHERE { ?a property:P1303 ?j . ?j rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:Q669370 property:P1303 ?r . ?r rdf:type ontology:Q34379 } } . FILTER ( ?n > ?e ) }
viola bass guitar lyre acoustic bass guitar double bass steel-string acoustic guitar piano tonbak harpsichord Nyckelharpa vibraphone timpani trumpet cello violin harmonium upright piano ondes Martenot tabla Djembe glockenspiel viola d'amore toy piano organ marimba drum kit erhu Kazoo electronic keyboard drum
Piano, harpsichord and ondes Martenot can more number of people perform with than gusle
piano harpsichord ondes Martenot
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity gusle
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?a ) AS ?n ) WHERE { ?a property:instrument ?j . ?j rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name } GROUP BY ?j } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?e ) WHERE { resource:gusle property:instrument ?r . ?r rdf:type ontology:musical_instrument } } . FILTER ( ?n > ?e ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P180
Q34379 Q386724
USER
How many works demonstrate around 2 musical instruments ?
(c(Q386724),P180,c(Q34379))
action count
action approx
action find_tuple_counts
relation P180
type Q386724
type Q34379
value 2
[{'concept': 'Q386724'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?h ) WHERE { ?z property:P180 ?a . ?z rdf:type ontology:Q386724 . ?a rdf:type ontology:Q34379 } GROUP BY ?z } . FILTER ( ?h = 2 ) }
action count
action approx
action find_tuple_counts
relation depicts
type work
type musical instrument
value 2
[{'concept': 'work'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?h ) WHERE { ?z property:depicts ?a . ?z rdf:type ontology:work . ?a rdf:type ontology:musical_instrument } GROUP BY ?z } . FILTER ( ?h = 2 ) }
[]
musical instrument work
SYSTEM
1
Q2901063
(c(Q386724),P180,c(Q34379))
action count
action approx
action find_tuple_counts
relation P180
type Q386724
type Q34379
value 2
[ANSWER]
[{'concept': 'Q386724'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?h ) WHERE { ?z property:P180 ?a . ?z rdf:type ontology:Q386724 . ?a rdf:type ontology:Q34379 } GROUP BY ?z } . FILTER ( ?h = 2 ) }
Borghese Vase
1
action count
action approx
action find_tuple_counts
relation depicts
type work
type musical instrument
value 2
[{'concept': 'work'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { SELECT DISTINCT ?z ( COUNT ( ?a ) AS ?h ) WHERE { ?z property:depicts ?a . ?z rdf:type ontology:work . ?a rdf:type ontology:musical_instrument } GROUP BY ?z } . FILTER ( ?h = 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2526534
P106
Q12737077
USER
What are the professions of Vincent Boreing ?
(Q2526534,P106,c(Q12737077))
action filter_type
action find
entity Q2526534
relation P106
type Q12737077
['Q2526534', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q12737077 . resource:Q2526534 property:P106 ?g }
Vincent Boreing
action filter_type
action find
entity Vincent Boreing
relation occupation
type occupation
['Vincent Boreing', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:occupation . resource:Vincent_Boreing property:occupation ?g }
[]
occupation
Q16533 Q82955
SYSTEM
judge, politician
Q16533 Q82955
(Q2526534,P106,c(Q12737077))
action filter_type
action find
entity Q2526534
relation P106
type Q12737077
The professions of Vincent Boreing are [ANSWERS]
['Q2526534', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q12737077 . resource:Q2526534 property:P106 ?g }
judge politician
The professions of Vincent Boreing are judge and politician
judge politician
action filter_type
action find
entity Vincent Boreing
relation occupation
type occupation
['Vincent Boreing', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:occupation . resource:Vincent_Boreing property:occupation ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q16533
P425
Q179805
USER
Which political philosophy has judge as thier associated field of occupation ?
(Q16533,P425,c(Q179805))
action filter_type
action find
entity Q16533
relation P425
type Q179805
['Q16533', 'P425', {'concept': 'Q179805'}]
SELECT DISTINCT ?k WHERE { resource:Q16533 property:P425 ?k . ?k rdf:type ontology:Q179805 }
judge
action filter_type
action find
entity judge
relation field of this occupation
type political philosophy
['judge', 'field of this occupation', {'concept': 'political philosophy'}]
SELECT DISTINCT ?k WHERE { resource:judge property:field_of_this_occupation ?k . ?k rdf:type ontology:political_philosophy }
[]
political philosophy
Q105985
SYSTEM
judiciary
Q105985
(Q16533,P425,c(Q179805))
action filter_type
action find
entity Q16533
relation P425
type Q179805
The [ANSWER] has judge as thier associated field of occupation
['Q16533', 'P425', {'concept': 'Q179805'}]
SELECT DISTINCT ?k WHERE { resource:Q16533 property:P425 ?k . ?k rdf:type ontology:Q179805 }
judiciary
The judiciary has judge as thier associated field of occupation
judiciary
action filter_type
action find
entity judge
relation field of this occupation
type political philosophy
['judge', 'field of this occupation', {'concept': 'political philosophy'}]
SELECT DISTINCT ?k WHERE { resource:judge property:field_of_this_occupation ?k . ?k rdf:type ontology:political_philosophy }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q105985 Q11433064
P101
Q502895
USER
Does Yusuke Omae work in the domain of that political philosophy ?
(Q11433064,P101,Q105985)
action is_in
entity Q11433064
action find
entity Q105985
relation P101
['Q11433064', 'P101', 'Q105985']
ASK WHERE { resource:Q105985 property:P101 resource:Q11433064 }
judiciary Yusuke Omae
action is_in
entity Yusuke Omae
action find
entity judiciary
relation field of work
['Yusuke Omae', 'field of work', 'judiciary']
ASK WHERE { resource:judiciary property:field_of_work resource:Yusuke_Omae }
[]
common name
SYSTEM
NO
(Q11433064,P101,Q105985)
action is_in
entity Q11433064
action find
entity Q105985
relation P101
[ANSWER]
['Q11433064', 'P101', 'Q105985']
ASK WHERE { resource:Q105985 property:P101 resource:Q11433064 }
No
action is_in
entity Yusuke Omae
action find
entity judiciary
relation field of work
['Yusuke Omae', 'field of work', 'judiciary']
ASK WHERE { resource:judiciary property:field_of_work resource:Yusuke_Omae }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q105985
P361
Q895526
USER
What is a component of that political philosophy ?
action filter_type
action find_reverse
entity Q105985
relation P361
type Q895526
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q895526 . ?q property:P361 resource:Q105985 }
judiciary
action filter_type
action find_reverse
entity judiciary
relation part of
type authority organ
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:authority_organ . ?q property:part_of resource:judiciary }
[]
authority organ
Q2984911
SYSTEM
Council of State
Q2984911
action filter_type
action find_reverse
entity Q105985
relation P361
type Q895526
A component of that political philosophy is the [ANSWER]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q895526 . ?q property:P361 resource:Q105985 }
Council of State
A component of that political philosophy is the Council of State
Council of State
action filter_type
action find_reverse
entity judiciary
relation part of
type authority organ
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:authority_organ . ?q property:part_of resource:judiciary }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P361
Q11204 Q874405 Q895526
USER
How many authority organs are a component of more number of legislatures or social groups than that authority organ ?
(c(Q895526),P361,c(Q11204)|c(Q874405))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q895526
type Q11204
action find_tuple_counts
relation P361
type Q895526
type Q874405
action count
action filter_multi_types
action find
entity Q2984911
relation P361
type Q11204
type Q874405
[{'concept': 'Q895526'}, 'P361', [{'concept': 'Q11204'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) ?u WHERE { VALUES ( ?s ) { ( ontology:Q11204 ) ( ontology:Q874405 ) } . ?j rdf:type ?s } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { resource:Q2984911 property:P361 ?a . { { ?a rdf:type ontology:Q11204 } UNION { ?a rdf:type ontology:Q874405 } } } } . FILTER ( ?q > ?b ) }
action count
action greater
action union
action find_tuple_counts
relation part of
type authority organ
type legislature
action find_tuple_counts
relation part of
type authority organ
type social group
action count
action filter_multi_types
action find
entity Council of State
relation part of
type legislature
type social group
[{'concept': 'authority organ'}, 'part of', [{'concept': 'legislature'}, {'concept': 'social group'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) ?u WHERE { VALUES ( ?s ) { ( ontology:legislature ) ( ontology:social_group ) } . ?j rdf:type ?s } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { resource:Council_of_State property:part_of ?a . { { ?a rdf:type ontology:legislature } UNION { ?a rdf:type ontology:social_group } } } } . FILTER ( ?q > ?b ) }
[]
legislature social group authority organ
SYSTEM
5
Q1191489 Q23700899 Q9134365 Q20711037 Q1125991
(c(Q895526),P361,c(Q11204)|c(Q874405))
action count
action greater
action union
action find_tuple_counts
relation P361
type Q895526
type Q11204
action find_tuple_counts
relation P361
type Q895526
type Q874405
action count
action filter_multi_types
action find
entity Q2984911
relation P361
type Q11204
type Q874405
[ANSWER]
[{'concept': 'Q895526'}, 'P361', [{'concept': 'Q11204'}, {'concept': 'Q874405'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) ?u WHERE { VALUES ( ?s ) { ( ontology:Q11204 ) ( ontology:Q874405 ) } . ?j rdf:type ?s } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { resource:Q2984911 property:P361 ?a . { { ?a rdf:type ontology:Q11204 } UNION { ?a rdf:type ontology:Q874405 } } } } . FILTER ( ?q > ?b ) }
Department of the Prime Minister and Cabinet Commissary General of Musters Monarch of the United Kingdom South Dakota Legislative Research Council Congressional Budget Office
5
action count
action greater
action union
action find_tuple_counts
relation part of
type authority organ
type legislature
action find_tuple_counts
relation part of
type authority organ
type social group
action count
action filter_multi_types
action find
entity Council of State
relation part of
type legislature
type social group
[{'concept': 'authority organ'}, 'part of', [{'concept': 'legislature'}, {'concept': 'social group'}]]
SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?j ) AS ?q ) ?u WHERE { VALUES ( ?s ) { ( ontology:legislature ) ( ontology:social_group ) } . ?j rdf:type ?s } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?b ) WHERE { resource:Council_of_State property:part_of ?a . { { ?a rdf:type ontology:legislature } UNION { ?a rdf:type ontology:social_group } } } } . FILTER ( ?q > ?b ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2984911
P17
Q15617994
USER
Which administrative territory does Council of State belong to ?
(Q2984911,P17,c(Q15617994))
action filter_type
action find
entity Q2984911
relation P17
type Q15617994
['Q2984911', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q2984911 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Council of State
action filter_type
action find
entity Council of State
relation country
type designation for an administrative territorial entity
['Council of State', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Council_of_State property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q41
SYSTEM
Greece
Q41
(Q2984911,P17,c(Q15617994))
action filter_type
action find
entity Q2984911
relation P17
type Q15617994
Council of State belongs to the [ANSWER]
['Q2984911', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?j WHERE { resource:Q2984911 property:P17 ?j . ?j rdf:type ontology:Q15617994 }
Greece
Council of State belongs to the Greece
Greece
action filter_type
action find
entity Council of State
relation country
type designation for an administrative territorial entity
['Council of State', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?j WHERE { resource:Council_of_State property:country ?j . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q41
P112
Q43229
USER
Which organization was established by that administrative territory ?
(c(Q43229),P112,Q41)
action filter_type
action find_reverse
entity Q41
relation P112
type Q43229
[{'concept': 'Q43229'}, 'P112', 'Q41']
SELECT DISTINCT ?h WHERE { ?h property:P112 resource:Q41 . ?h rdf:type ontology:Q43229 }
Greece
action filter_type
action find_reverse
entity Greece
relation founder
type organization
[{'concept': 'organization'}, 'founder', 'Greece']
SELECT DISTINCT ?h WHERE { ?h property:founder resource:Greece . ?h rdf:type ontology:organization }
[]
organization
Q7809
SYSTEM
United Nations Educational, Scientific and Cultural Organization
Q7809
(c(Q43229),P112,Q41)
action filter_type
action find_reverse
entity Q41
relation P112
type Q43229
[ANSWER] was established by that administrative territory
[{'concept': 'Q43229'}, 'P112', 'Q41']
SELECT DISTINCT ?h WHERE { ?h property:P112 resource:Q41 . ?h rdf:type ontology:Q43229 }
United Nations Educational, Scientific and Cultural Organization
United Nations Educational, Scientific and Cultural Organization was established by that administrative territory
United Nations Educational, Scientific and Cultural Organization
action filter_type
action find_reverse
entity Greece
relation founder
type organization
[{'concept': 'organization'}, 'founder', 'Greece']
SELECT DISTINCT ?h WHERE { ?h property:founder resource:Greece . ?h rdf:type ontology:organization }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q1145143 Q1759986
P19 P17
Q15617994
USER
Which administrative territories are Wurlitzer electric piano situated in or were Guido Maria Kretschmer born in ?
OR((Q1759986,P17,c(Q15617994)), (Q1145143,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q1759986
relation P17
action find
entity Q1145143
relation P19
type Q15617994
{'OR': [['Q1759986', 'P17', {'concept': 'Q15617994'}], ['Q1145143', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q1145143 property:P19 ?p } UNION { resource:Q1759986 property:P17 ?p } } . ?p rdf:type ontology:Q15617994 }
Guido Maria Kretschmer Wurlitzer electric piano
action filter_type
action union
action find
entity Wurlitzer electric piano
relation country
action find
entity Guido Maria Kretschmer
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Wurlitzer electric piano', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Guido Maria Kretschmer', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Guido_Maria_Kretschmer property:place_of_birth ?p } UNION { resource:Wurlitzer_electric_piano property:country ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q2742
SYSTEM
United States of America, Münster
Q30 Q2742
OR((Q1759986,P17,c(Q15617994)), (Q1145143,P19,c(Q15617994)))
action filter_type
action union
action find
entity Q1759986
relation P17
action find
entity Q1145143
relation P19
type Q15617994
Wurlitzer electric piano are situated born in [ANSWERS]
{'OR': [['Q1759986', 'P17', {'concept': 'Q15617994'}], ['Q1145143', 'P19', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Q1145143 property:P19 ?p } UNION { resource:Q1759986 property:P17 ?p } } . ?p rdf:type ontology:Q15617994 }
United States of America Münster
Wurlitzer electric piano are situated born in United States of America and Münster
United States of America Münster
action filter_type
action union
action find
entity Wurlitzer electric piano
relation country
action find
entity Guido Maria Kretschmer
relation place of birth
type designation for an administrative territorial entity
{'OR': [['Wurlitzer electric piano', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Guido Maria Kretschmer', 'place of birth', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?p WHERE { { { resource:Guido_Maria_Kretschmer property:place_of_birth ?p } UNION { resource:Wurlitzer_electric_piano property:country ?p } } . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]