Simple Question (Direct)
Simple Question
Q371725
P140
Q879146
USER
What is the religious affiliation of Gaetano Cicognani ?
(Q371725,P140,c(Q879146))
action filter_type
action find
entity Q371725
relation P140
type Q879146
['Q371725', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q879146 . resource:Q371725 property:P140 ?n }
Gaetano Cicognani
action filter_type
action find
entity Gaetano Cicognani
relation religion
type Christian denomination
['Gaetano Cicognani', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Christian_denomination . resource:Gaetano_Cicognani property:religion ?n }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q371725,P140,c(Q879146))
action filter_type
action find
entity Q371725
relation P140
type Q879146
The religious affiliation of Gaetano Cicognani is a [ANSWER]
['Q371725', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q879146 . resource:Q371725 property:P140 ?n }
Roman Catholic Church
The religious affiliation of Gaetano Cicognani is a Roman Catholic Church
Roman Catholic Church
action filter_type
action find
entity Gaetano Cicognani
relation religion
type Christian denomination
['Gaetano Cicognani', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Christian_denomination . resource:Gaetano_Cicognani property:religion ?n }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q371725
P7
Q502895
USER
Who has that one as their sibling ?
(c(Q502895),P7,Q9592)
action filter_type
action find
entity Q371725
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q9592']
SELECT DISTINCT ?q WHERE { resource:Q371725 property:P7 ?q . ?q rdf:type ontology:Q502895 }
Gaetano Cicognani
action filter_type
action find
entity Gaetano Cicognani
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Roman Catholic Church']
SELECT DISTINCT ?q WHERE { resource:Gaetano_Cicognani property:brother ?q . ?q rdf:type ontology:common_name }
[]
common name
Q472601
SYSTEM
Amleto Giovanni Cicognani
Q472601
(c(Q502895),P7,Q9592)
action filter_type
action find
entity Q371725
relation P7
type Q502895
[ANSWER] has that one as their sibling
[{'concept': 'Q502895'}, 'P7', 'Q9592']
SELECT DISTINCT ?q WHERE { resource:Q371725 property:P7 ?q . ?q rdf:type ontology:Q502895 }
Amleto Giovanni Cicognani
Amleto Giovanni Cicognani has that one as their sibling
Amleto Giovanni Cicognani
action filter_type
action find
entity Gaetano Cicognani
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Roman Catholic Church']
SELECT DISTINCT ?q WHERE { resource:Gaetano_Cicognani property:brother ?q . ?q rdf:type ontology:common_name }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q873588
P1303
Q34379 Q502895
USER
Which musical instruments can lesser number of people perform with than Jinghu ?
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q873588
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:P1303 ?i . ?i rdf:type ontology:Q34379 . ?m rdf:type ontology:Q502895 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { ?f property:P1303 resource:Q873588 . ?f rdf:type ontology:Q502895 } } . FILTER ( ?g < ?r ) }
Jinghu
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Jinghu
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:instrument ?i . ?i rdf:type ontology:musical_instrument . ?m rdf:type ontology:common_name } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { ?f property:instrument resource:Jinghu . ?f rdf:type ontology:common_name } } . FILTER ( ?g < ?r ) }
[]
musical instrument common name
Q1879664 Q748455 Q173453
SYSTEM
spoon, cajón, wind instrument
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q873588
relation P1303
type Q502895
[ANSWERS] can lesser number of people perform with than Jinghu
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:P1303 ?i . ?i rdf:type ontology:Q34379 . ?m rdf:type ontology:Q502895 } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { ?f property:P1303 resource:Q873588 . ?f rdf:type ontology:Q502895 } } . FILTER ( ?g < ?r ) }
spoon cajón wind instrument
Spoon, cajón and wind instrument can lesser number of people perform with than Jinghu
spoon cajón wind instrument
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity Jinghu
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:instrument ?i . ?i rdf:type ontology:musical_instrument . ?m rdf:type ontology:common_name } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?r ) WHERE { ?f property:instrument resource:Jinghu . ?f rdf:type ontology:common_name } } . FILTER ( ?g < ?r ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q3382191
P1303
Q34379 Q502895
USER
And what about upright piano?
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q3382191
relation P1303
type Q502895
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { ?i property:P1303 resource:Q3382191 . ?i rdf:type ontology:Q502895 } } . FILTER ( ?u < ?g ) . { SELECT DISTINCT ?k ( COUNT ( ?x ) AS ?u ) WHERE { ?x property:P1303 ?k . ?k rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 } GROUP BY ?k } }
upright piano
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity upright piano
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { ?i property:instrument resource:upright_piano . ?i rdf:type ontology:common_name } } . FILTER ( ?u < ?g ) . { SELECT DISTINCT ?k ( COUNT ( ?x ) AS ?u ) WHERE { ?x property:instrument ?k . ?k rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name } GROUP BY ?k } }
[]
musical instrument common name
Q1178361 Q1759986 Q816793
SYSTEM
davul, Wurlitzer electric piano, Bendir
Q201129 Q424017 Q890073 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q182718 Q490054 Q873588 Q593995 Q1327500 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q1024685 Q213461 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 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action less
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find_reverse
entity Q3382191
relation P1303
type Q502895
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { ?i property:P1303 resource:Q3382191 . ?i rdf:type ontology:Q502895 } } . FILTER ( ?u < ?g ) . { SELECT DISTINCT ?k ( COUNT ( ?x ) AS ?u ) WHERE { ?x property:P1303 ?k . ?k rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 } GROUP BY ?k } }
lyre acoustic bass guitar Body percussion davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar Nyckelharpa Ondioline Jinghu player piano electronic musical instrument spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cabasa harmonium 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 drum Kayamb Paraguayan harp
davul Wurlitzer electric piano Bendir
action less
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find_reverse
entity upright piano
relation instrument
type common name
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?k WHERE { { SELECT DISTINCT ( COUNT ( ?i ) AS ?g ) WHERE { ?i property:instrument resource:upright_piano . ?i rdf:type ontology:common_name } } . FILTER ( ?u < ?g ) . { SELECT DISTINCT ?k ( COUNT ( ?x ) AS ?u ) WHERE { ?x property:instrument ?k . ?k rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name } GROUP BY ?k } }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P1303
Q34379 Q502895
USER
How many musical instruments do less number of people know to play than that musical instrument ?
(c(Q502895),P1303,c(Q34379))
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P1303 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q34379 }
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:instrument ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:musical_instrument }
[]
musical instrument common name
Comparative|Count over More/Less|Single entity type|Clarification
Q1178361
SYSTEM
Did you mean davul ?
(c(Q502895),P1303,c(Q34379))
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P1303 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q34379 }
Did you mean davul ?
davul
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:instrument ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:musical_instrument }
[]
Comparative Reasoning (Count) (All)
USER
No, I meant Bendir. Could you tell me the answer for that?
(c(Q502895),P1303,c(Q34379))
Q816793
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
[]
SYSTEM
3
Q1879664 Q748455 Q173453
(c(Q502895),P1303,c(Q34379))
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:P1303 ?y . ?z rdf:type ontology:Q502895 . ?y rdf:type ontology:Q34379 }
spoon cajón wind instrument
3
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?x ) WHERE { ?z property:instrument ?y . ?z rdf:type ontology:common_name . ?y rdf:type ontology:musical_instrument }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q24788656 Q173453
P361
Q15989253
USER
What are a part of wind instrument or Adaptor protein complex AP-2, alpha subunit ?
OR((c(Q15989253),P361,Q173453), (c(Q15989253),P361,Q24788656))
action filter_type
action union
action find_reverse
entity Q173453
relation P361
action find_reverse
entity Q24788656
relation P361
type Q15989253
{'OR': [[{'concept': 'Q15989253'}, 'P361', 'Q173453'], [{'concept': 'Q15989253'}, 'P361', 'Q24788656']]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?s ) { ( resource:Q173453 ) ( resource:Q24788656 ) } . ?z property:P361 ?s } . ?z rdf:type ontology:Q15989253 }
Adaptor protein complex AP-2, alpha subunit wind instrument
action filter_type
action union
action find_reverse
entity wind instrument
relation part of
action find_reverse
entity Adaptor protein complex AP-2, alpha subunit
relation part of
type part
{'OR': [[{'concept': 'part'}, 'part of', 'wind instrument'], [{'concept': 'part'}, 'part of', 'Adaptor protein complex AP-2, alpha subunit']]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?s ) { ( resource:wind_instrument ) ( resource:Adaptor_protein_complex_AP-2,_alpha_subunit ) } . ?z property:part_of ?s } . ?z rdf:type ontology:part }
[]
part
Q24779023 Q24739502 Q26823384 Q24777687 Q24785146 Q24783823
SYSTEM
Clathrin adaptor, alpha-adaptin, appendage, Ig-like subdomain, Armadillo-like helical, mouthpiece, Clathrin/coatomer adaptor, adaptin-like, N-terminal, Clathrin adaptor, alpha-adaptin, appendage, C-terminal subdomain, Clathrin adaptor, alpha/beta/gamma-adaptin, appendage, Ig-like subdomain
Q24779023 Q24739502 Q26823384 Q24777687 Q24785146 Q24783823
OR((c(Q15989253),P361,Q173453), (c(Q15989253),P361,Q24788656))
action filter_type
action union
action find_reverse
entity Q173453
relation P361
action find_reverse
entity Q24788656
relation P361
type Q15989253
[ANSWERS]
{'OR': [[{'concept': 'Q15989253'}, 'P361', 'Q173453'], [{'concept': 'Q15989253'}, 'P361', 'Q24788656']]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?s ) { ( resource:Q173453 ) ( resource:Q24788656 ) } . ?z property:P361 ?s } . ?z rdf:type ontology:Q15989253 }
Clathrin adaptor, alpha-adaptin, appendage, Ig-like subdomain Armadillo-like helical mouthpiece Clathrin/coatomer adaptor, adaptin-like, N-terminal Clathrin adaptor, alpha-adaptin, appendage, C-terminal subdomain Clathrin adaptor, alpha/beta/gamma-adaptin, appendage, Ig-like subdomain
A part of wind instrument or Adaptor protein complex AP-2 , alpha subunit are Clathrin adaptor, alpha-adaptin, appendage, Ig-like subdomain, Armadillo-like helical, mouthpiece, Clathrin/coatomer adaptor, adaptin-like, N-terminal, Clathrin adaptor, alpha-adaptin, appendage, C-terminal subdomain and Clathrin adaptor, alpha/beta/gamma-adaptin, appendage, Ig-like subdomain
Clathrin adaptor, alpha-adaptin, appendage, Ig-like subdomain Armadillo-like helical mouthpiece Clathrin/coatomer adaptor, adaptin-like, N-terminal Clathrin adaptor, alpha-adaptin, appendage, C-terminal subdomain Clathrin adaptor, alpha/beta/gamma-adaptin, appendage, Ig-like subdomain
action filter_type
action union
action find_reverse
entity wind instrument
relation part of
action find_reverse
entity Adaptor protein complex AP-2, alpha subunit
relation part of
type part
{'OR': [[{'concept': 'part'}, 'part of', 'wind instrument'], [{'concept': 'part'}, 'part of', 'Adaptor protein complex AP-2, alpha subunit']]}
SELECT DISTINCT ?z WHERE { { VALUES ( ?s ) { ( resource:wind_instrument ) ( resource:Adaptor_protein_complex_AP-2,_alpha_subunit ) } . ?z property:part_of ?s } . ?z rdf:type ontology:part }
[]