Simple Question (Direct)
Simple Question
Q5498569
P241
Q781132
USER
Which military branch is Frederick Ponsonby, 1st Baron Sysonby associated with ?
(Q5498569,P241,c(Q781132))
action filter_type
action find
entity Q5498569
relation P241
type Q781132
['Q5498569', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?o WHERE { resource:Q5498569 property:P241 ?o . ?o rdf:type ontology:Q781132 }
Frederick Ponsonby, 1st Baron Sysonby
action filter_type
action find
entity Frederick Ponsonby, 1st Baron Sysonby
relation military branch
type military branch
['Frederick Ponsonby, 1st Baron Sysonby', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?o WHERE { resource:Frederick_Ponsonby,_1st_Baron_Sysonby property:military_branch ?o . ?o rdf:type ontology:military_branch }
[]
military branch
Q222595
SYSTEM
British Army
Q222595
(Q5498569,P241,c(Q781132))
action filter_type
action find
entity Q5498569
relation P241
type Q781132
The [ANSWER] is Frederick Ponsonby, 1st Baron Sysonby associated with
['Q5498569', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?o WHERE { resource:Q5498569 property:P241 ?o . ?o rdf:type ontology:Q781132 }
British Army
The British Army is Frederick Ponsonby, 1st Baron Sysonby associated with
British Army
action filter_type
action find
entity Frederick Ponsonby, 1st Baron Sysonby
relation military branch
type military branch
['Frederick Ponsonby, 1st Baron Sysonby', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?o WHERE { resource:Frederick_Ponsonby,_1st_Baron_Sysonby property:military_branch ?o . ?o rdf:type ontology:military_branch }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q222595
P138
Q502895
USER
Which person is the origin of that military branch ?
(Q222595,P138,c(Q502895))
action filter_type
action find
entity Q222595
relation P138
type Q502895
['Q222595', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q222595 property:P138 ?t . ?t rdf:type ontology:Q502895 }
British Army
action filter_type
action find
entity British Army
relation named after
type common name
['British Army', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:British_Army property:named_after ?t . ?t rdf:type ontology:common_name }
[]
common name
Q9682
SYSTEM
Elizabeth II
Q9682
(Q222595,P138,c(Q502895))
action filter_type
action find
entity Q222595
relation P138
type Q502895
[ANSWER] is the origin of that military branch
['Q222595', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q222595 property:P138 ?t . ?t rdf:type ontology:Q502895 }
Elizabeth II
Elizabeth II is the origin of that military branch
Elizabeth II
action filter_type
action find
entity British Army
relation named after
type common name
['British Army', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:British_Army property:named_after ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9682
P9
Q502895
USER
Whose sister is that one ?
(c(Q502895),P9,Q9682)
action filter_type
action find
entity Q9682
relation P9
type Q502895
[{'concept': 'Q502895'}, 'P9', 'Q9682']
SELECT DISTINCT ?v WHERE { resource:Q9682 property:P9 ?v . ?v rdf:type ontology:Q502895 }
Elizabeth II
action filter_type
action find
entity Elizabeth II
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Elizabeth II']
SELECT DISTINCT ?v WHERE { resource:Elizabeth_II property:sister ?v . ?v rdf:type ontology:common_name }
[]
common name
Q153815
SYSTEM
Princess Margaret, Countess of Snowdon
Q153815
(c(Q502895),P9,Q9682)
action filter_type
action find
entity Q9682
relation P9
type Q502895
[ANSWER] is that one
[{'concept': 'Q502895'}, 'P9', 'Q9682']
SELECT DISTINCT ?v WHERE { resource:Q9682 property:P9 ?v . ?v rdf:type ontology:Q502895 }
Princess Margaret, Countess of Snowdon
Princess Margaret, Countess of Snowdon is that one
Princess Margaret, Countess of Snowdon
action filter_type
action find
entity Elizabeth II
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Elizabeth II']
SELECT DISTINCT ?v WHERE { resource:Elizabeth_II property:sister ?v . ?v rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q153815
P26
Q502895
USER
Which person is married to that one ?
(Q153815,P26,c(Q502895))
action filter_type
action find
entity Q153815
relation P26
type Q502895
['Q153815', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q153815 property:P26 ?d . ?d rdf:type ontology:Q502895 }
Princess Margaret, Countess of Snowdon
action filter_type
action find
entity Princess Margaret, Countess of Snowdon
relation spouse
type common name
['Princess Margaret, Countess of Snowdon', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Princess_Margaret,_Countess_of_Snowdon property:spouse ?d . ?d rdf:type ontology:common_name }
[]
common name
Q335260
SYSTEM
Antony Armstrong-Jones, 1st Earl of Snowdon
Q335260
(Q153815,P26,c(Q502895))
action filter_type
action find
entity Q153815
relation P26
type Q502895
[ANSWER] is married to that one
['Q153815', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q153815 property:P26 ?d . ?d rdf:type ontology:Q502895 }
Antony Armstrong-Jones, 1st Earl of Snowdon
Antony Armstrong-Jones, 1st Earl of Snowdon is married to that one
Antony Armstrong-Jones, 1st Earl of Snowdon
action filter_type
action find
entity Princess Margaret, Countess of Snowdon
relation spouse
type common name
['Princess Margaret, Countess of Snowdon', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Princess_Margaret,_Countess_of_Snowdon property:spouse ?d . ?d rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments do atleast 1219 people know to play ?
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1219
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?g >= 1219 ) . { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?g ) WHERE { ?v rdf:type ontology:Q502895 . ?b rdf:type ontology:Q34379 . ?v property:P1303 ?b } GROUP BY ?b } }
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1219
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?g >= 1219 ) . { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?g ) WHERE { ?v rdf:type ontology:common_name . ?b rdf:type ontology:musical_instrument . ?v property:instrument ?b } GROUP BY ?b } }
[]
musical instrument common name
Q5994 Q46185 Q8338
SYSTEM
piano, bass guitar, trumpet
Q46185 Q5994 Q8338 Q8355 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1219
Atleast 1219 people know about [ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?g >= 1219 ) . { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?g ) WHERE { ?v rdf:type ontology:Q502895 . ?b rdf:type ontology:Q34379 . ?v property:P1303 ?b } GROUP BY ?b } }
bass guitar piano trumpet violin organ drum kit
Atleast 1219 people know about piano, bass guitar and trumpet
piano bass guitar trumpet
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1219
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?b WHERE { FILTER ( ?g >= 1219 ) . { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?g ) WHERE { ?v rdf:type ontology:common_name . ?b rdf:type ontology:musical_instrument . ?v property:instrument ?b } GROUP BY ?b } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q744831
P1303
Q34379 Q502895
USER
Which musical instruments can approximately the same number of people perform with as Mridangam ?
(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 Q744831
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?f ) WHERE { ?n property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { resource:Q744831 property:P1303 ?t . ?t rdf:type ontology:Q34379 } } . FILTER ( ?f = ?b ) }
Mridangam
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Mridangam
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?f ) WHERE { ?n property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { resource:Mridangam property:instrument ?t . ?t rdf:type ontology:musical_instrument } } . FILTER ( ?f = ?b ) }
[]
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 Q744831
relation P1303
type Q34379
[ANSWERS] can approximately the same number of people perform with as Mridangam
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?f ) WHERE { ?n property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?n rdf:type ontology:Q502895 } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { resource:Q744831 property:P1303 ?t . ?t rdf:type ontology:Q34379 } } . FILTER ( ?f = ?b ) }
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 approximately the same number of people perform with as Mridangam
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 Mridangam
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ?s ( COUNT ( ?n ) AS ?f ) WHERE { ?n property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?n rdf:type ontology:common_name } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { resource:Mridangam property:instrument ?t . ?t rdf:type ontology:musical_instrument } } . FILTER ( ?f = ?b ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type|Incomplete
Q713298
P1303
Q34379 Q502895
USER
And also tell me about geomungo?
(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 Q713298
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { resource:Q713298 property:P1303 ?l . ?l rdf:type ontology:Q34379 } } . FILTER ( ?v = ?t ) . { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?v ) WHERE { ?q property:P1303 ?u . ?u rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 } GROUP BY ?u } }
geomungo
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity geomungo
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { resource:geomungo property:instrument ?l . ?l rdf:type ontology:musical_instrument } } . FILTER ( ?v = ?t ) . { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?v ) WHERE { ?q property:instrument ?u . ?u rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name } GROUP BY ?u } }
[]
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 Q713298
relation P1303
type Q34379
[ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { resource:Q713298 property:P1303 ?l . ?l rdf:type ontology:Q34379 } } . FILTER ( ?v = ?t ) . { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?v ) WHERE { ?q property:P1303 ?u . ?u rdf:type ontology:Q34379 . ?q rdf:type ontology:Q502895 } GROUP BY ?u } }
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 geomungo
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?t ) WHERE { resource:geomungo property:instrument ?l . ?l rdf:type ontology:musical_instrument } } . FILTER ( ?v = ?t ) . { SELECT DISTINCT ?u ( COUNT ( ?q ) AS ?v ) WHERE { ?q property:instrument ?u . ?u rdf:type ontology:musical_instrument . ?q rdf:type ontology:common_name } GROUP BY ?u } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q153815
P40
Q502895
USER
Whose child are Princess Margaret, Countess of Snowdon ?
(c(Q502895),P40,Q153815)
action filter_type
action find_reverse
entity Q153815
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q153815']
SELECT DISTINCT ?y WHERE { ?y property:P40 resource:Q153815 . ?y rdf:type ontology:Q502895 }
Princess Margaret, Countess of Snowdon
action filter_type
action find_reverse
entity Princess Margaret, Countess of Snowdon
relation child
type common name
[{'concept': 'common name'}, 'child', 'Princess Margaret, Countess of Snowdon']
SELECT DISTINCT ?y WHERE { ?y property:child resource:Princess_Margaret,_Countess_of_Snowdon . ?y rdf:type ontology:common_name }
[]
common name
Q10633 Q280856
SYSTEM
Queen Elizabeth The Queen Mother, George VI
Q10633 Q280856
(c(Q502895),P40,Q153815)
action filter_type
action find_reverse
entity Q153815
relation P40
type Q502895
The [ANSWERS] are Princess Margaret, Countess of Snowdon
[{'concept': 'Q502895'}, 'P40', 'Q153815']
SELECT DISTINCT ?y WHERE { ?y property:P40 resource:Q153815 . ?y rdf:type ontology:Q502895 }
Queen Elizabeth The Queen Mother George VI
The Queen Elizabeth The Queen Mother and George VI are Princess Margaret, Countess of Snowdon
Queen Elizabeth The Queen Mother George VI
action filter_type
action find_reverse
entity Princess Margaret, Countess of Snowdon
relation child
type common name
[{'concept': 'common name'}, 'child', 'Princess Margaret, Countess of Snowdon']
SELECT DISTINCT ?y WHERE { ?y property:child resource:Princess_Margaret,_Countess_of_Snowdon . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q10633 Q280856
P180
Q838948
USER
Which works of art depict Queen Elizabeth The Queen Mother and George VI ?
(c(Q838948),P180,Q10633) (c(Q838948),P180,Q280856)
action union
action filter_type
action find_reverse
entity Q10633
relation P180
type Q838948
action filter_type
action find_reverse
entity Q280856
relation P180
type Q838948
[{'concept': 'Q838948'}, 'P180', 'Q10633'] [{'concept': 'Q838948'}, 'P180', 'Q280856']
SELECT DISTINCT ?b WHERE { { ?b property:P180 resource:Q10633 . ?b rdf:type ontology:Q838948 } UNION { ?b rdf:type ontology:Q838948 . ?b property:P180 resource:Q280856 } }
Queen Elizabeth The Queen Mother George VI
action union
action filter_type
action find_reverse
entity Queen Elizabeth The Queen Mother
relation depicts
type work of art
action filter_type
action find_reverse
entity George VI
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'Queen Elizabeth The Queen Mother'] [{'concept': 'work of art'}, 'depicts', 'George VI']
SELECT DISTINCT ?b WHERE { { ?b property:depicts resource:Queen_Elizabeth_The_Queen_Mother . ?b rdf:type ontology:work_of_art } UNION { ?b rdf:type ontology:work_of_art . ?b property:depicts resource:George_VI } }
[]
work of art
Q18577910
SYSTEM
George VI and Queen Elizabeth Memorial
Q18577910
(c(Q838948),P180,Q10633) (c(Q838948),P180,Q280856)
action union
action filter_type
action find_reverse
entity Q10633
relation P180
type Q838948
action filter_type
action find_reverse
entity Q280856
relation P180
type Q838948
Elizabeth [ANSWER] depict Queen Elizabeth The Queen Mother and George VI
[{'concept': 'Q838948'}, 'P180', 'Q10633'] [{'concept': 'Q838948'}, 'P180', 'Q280856']
SELECT DISTINCT ?b WHERE { { ?b property:P180 resource:Q10633 . ?b rdf:type ontology:Q838948 } UNION { ?b rdf:type ontology:Q838948 . ?b property:P180 resource:Q280856 } }
George VI and Queen Elizabeth Memorial
Elizabeth George VI and Queen Elizabeth Memorial depict Queen Elizabeth The Queen Mother and George VI
George VI and Queen Elizabeth Memorial
action union
action filter_type
action find_reverse
entity Queen Elizabeth The Queen Mother
relation depicts
type work of art
action filter_type
action find_reverse
entity George VI
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'Queen Elizabeth The Queen Mother'] [{'concept': 'work of art'}, 'depicts', 'George VI']
SELECT DISTINCT ?b WHERE { { ?b property:depicts resource:Queen_Elizabeth_The_Queen_Mother . ?b rdf:type ontology:work_of_art } UNION { ?b rdf:type ontology:work_of_art . ?b property:depicts resource:George_VI } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q81982
P425
Q12737077
USER
What has harpsichord as thier associated field of occupation ?
(Q81982,P425,c(Q12737077))
action filter_type
action find
entity Q81982
relation P425
type Q12737077
['Q81982', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q81982 property:P425 ?i . ?i rdf:type ontology:Q12737077 }
harpsichord
action filter_type
action find
entity harpsichord
relation field of this occupation
type occupation
['harpsichord', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:harpsichord property:field_of_this_occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q5371902
SYSTEM
harpsichordist
Q5371902
(Q81982,P425,c(Q12737077))
action filter_type
action find
entity Q81982
relation P425
type Q12737077
T [ANSWER] has harpsichord as thier associated field of occupation
['Q81982', 'P425', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q81982 property:P425 ?i . ?i rdf:type ontology:Q12737077 }
harpsichordist
T harpsichordist has harpsichord as thier associated field of occupation
harpsichordist
action filter_type
action find
entity harpsichord
relation field of this occupation
type occupation
['harpsichord', 'field of this occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:harpsichord property:field_of_this_occupation ?i . ?i rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581072 Q713298
P21 P1303
Q502895
USER
Which people can play geomungo and have female as the sex ?
AND((c(Q502895),P1303,Q713298), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q713298
relation P1303
action find_reverse
entity Q6581072
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P1303', 'Q713298'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?y WHERE { ?y property:P21 resource:Q6581072 . ?y property:P1303 resource:Q713298 . ?y rdf:type ontology:Q502895 }
female geomungo
action filter_type
action intersection
action find_reverse
entity geomungo
relation instrument
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'instrument', 'geomungo'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?y WHERE { ?y property:gender resource:female . ?y property:instrument resource:geomungo . ?y rdf:type ontology:common_name }
[]
common name
Q6408893
SYSTEM
Kim Jin-hi
Q6408893
AND((c(Q502895),P1303,Q713298), (c(Q502895),P21,Q6581072))
action filter_type
action intersection
action find_reverse
entity Q713298
relation P1303
action find_reverse
entity Q6581072
relation P21
type Q502895
[ANSWER] can play geomungo and have female as the sex
{'AND': [[{'concept': 'Q502895'}, 'P1303', 'Q713298'], [{'concept': 'Q502895'}, 'P21', 'Q6581072']]}
SELECT DISTINCT ?y WHERE { ?y property:P21 resource:Q6581072 . ?y property:P1303 resource:Q713298 . ?y rdf:type ontology:Q502895 }
Kim Jin-hi
Kim Jin-hi can play geomungo and have female as the sex
Kim Jin-hi
action filter_type
action intersection
action find_reverse
entity geomungo
relation instrument
action find_reverse
entity female
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'instrument', 'geomungo'], [{'concept': 'common name'}, 'gender', 'female']]}
SELECT DISTINCT ?y WHERE { ?y property:gender resource:female . ?y property:instrument resource:geomungo . ?y rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q153815
P88
Q3947
USER
What did Princess Margaret, Countess of Snowdon commission ?
(c(Q3947),P88,Q153815)
action filter_type
action find_reverse
entity Q153815
relation P88
type Q3947
[{'concept': 'Q3947'}, 'P88', 'Q153815']
SELECT DISTINCT ?f WHERE { ?f property:P88 resource:Q153815 . ?f rdf:type ontology:Q3947 }
Princess Margaret, Countess of Snowdon
action filter_type
action find_reverse
entity Princess Margaret, Countess of Snowdon
relation commissioned by
type house
[{'concept': 'house'}, 'commissioned by', 'Princess Margaret, Countess of Snowdon']
SELECT DISTINCT ?f WHERE { ?f property:commissioned_by resource:Princess_Margaret,_Countess_of_Snowdon . ?f rdf:type ontology:house }
[]
house
Q6529644
SYSTEM
Les Jolies Eaux
Q6529644
(c(Q3947),P88,Q153815)
action filter_type
action find_reverse
entity Q153815
relation P88
type Q3947
Princess Margaret , Countess of Snowdon commissioned the [ANSWER]
[{'concept': 'Q3947'}, 'P88', 'Q153815']
SELECT DISTINCT ?f WHERE { ?f property:P88 resource:Q153815 . ?f rdf:type ontology:Q3947 }
Les Jolies Eaux
Princess Margaret , Countess of Snowdon commissioned the Les Jolies Eaux
Les Jolies Eaux
action filter_type
action find_reverse
entity Princess Margaret, Countess of Snowdon
relation commissioned by
type house
[{'concept': 'house'}, 'commissioned by', 'Princess Margaret, Countess of Snowdon']
SELECT DISTINCT ?f WHERE { ?f property:commissioned_by resource:Princess_Margaret,_Countess_of_Snowdon . ?f rdf:type ontology:house }
[]