Simple Question (Direct)
Simple Question
Q1765834
P53
Q13417114
USER
What is the noble family that Princess Margarita of Bourbon-Parma belongs to ?
(Q1765834,P53,c(Q13417114))
action filter_type
action find
entity Q1765834
relation P53
type Q13417114
['Q1765834', 'P53', {'concept': 'Q13417114'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q13417114 . resource:Q1765834 property:P53 ?y }
Princess Margarita of Bourbon-Parma
action filter_type
action find
entity Princess Margarita of Bourbon-Parma
relation noble family
type noble family
['Princess Margarita of Bourbon-Parma', 'noble family', {'concept': 'noble family'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:noble_family . resource:Princess_Margarita_of_Bourbon-Parma property:noble_family ?y }
[]
noble family
Q895187
SYSTEM
House of Bourbon-Parma
Q895187
(Q1765834,P53,c(Q13417114))
action filter_type
action find
entity Q1765834
relation P53
type Q13417114
The noble family that Princess Margarita of Bourbon-Parma belongs to is the [ANSWER]
['Q1765834', 'P53', {'concept': 'Q13417114'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q13417114 . resource:Q1765834 property:P53 ?y }
House of Bourbon-Parma
The noble family that Princess Margarita of Bourbon-Parma belongs to is the House of Bourbon-Parma
House of Bourbon-Parma
action filter_type
action find
entity Princess Margarita of Bourbon-Parma
relation noble family
type noble family
['Princess Margarita of Bourbon-Parma', 'noble family', {'concept': 'noble family'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:noble_family . resource:Princess_Margarita_of_Bourbon-Parma property:noble_family ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1765834
P22
Q502895
USER
Who was the dad of that one ?
(Q895187,P22,c(Q502895))
action filter_type
action find
entity Q1765834
relation P22
type Q502895
['Q895187', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q1765834 property:P22 ?e . ?e rdf:type ontology:Q502895 }
Princess Margarita of Bourbon-Parma
action filter_type
action find
entity Princess Margarita of Bourbon-Parma
relation father
type common name
['House of Bourbon-Parma', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Princess_Margarita_of_Bourbon-Parma property:father ?e . ?e rdf:type ontology:common_name }
[]
common name
Q537914
SYSTEM
Carlos Hugo, Duke of Parma
Q537914
(Q895187,P22,c(Q502895))
action filter_type
action find
entity Q1765834
relation P22
type Q502895
The dad of that one was Prince [ANSWER]
['Q895187', 'P22', {'concept': 'Q502895'}]
SELECT DISTINCT ?e WHERE { resource:Q1765834 property:P22 ?e . ?e rdf:type ontology:Q502895 }
Carlos Hugo, Duke of Parma
The dad of that one was Prince Carlos Hugo, Duke of Parma
Carlos Hugo, Duke of Parma
action filter_type
action find
entity Princess Margarita of Bourbon-Parma
relation father
type common name
['House of Bourbon-Parma', 'father', {'concept': 'common name'}]
SELECT DISTINCT ?e WHERE { resource:Princess_Margarita_of_Bourbon-Parma property:father ?e . ?e rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q537914
P40
Q502895
USER
Who have that one as an offspring ?
(c(Q502895),P40,Q537914)
action filter_type
action find_reverse
entity Q537914
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q537914']
SELECT DISTINCT ?u WHERE { ?u property:P40 resource:Q537914 . ?u rdf:type ontology:Q502895 }
Carlos Hugo, Duke of Parma
action filter_type
action find_reverse
entity Carlos Hugo, Duke of Parma
relation child
type common name
[{'concept': 'common name'}, 'child', 'Carlos Hugo, Duke of Parma']
SELECT DISTINCT ?u WHERE { ?u property:child resource:Carlos_Hugo,_Duke_of_Parma . ?u rdf:type ontology:common_name }
[]
common name
Q2070381 Q179728
SYSTEM
Madeleine de Bourbon, Xavier of Bourbon-Parma
Q2070381 Q179728
(c(Q502895),P40,Q537914)
action filter_type
action find_reverse
entity Q537914
relation P40
type Q502895
[ANSWERS] have that one as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q537914']
SELECT DISTINCT ?u WHERE { ?u property:P40 resource:Q537914 . ?u rdf:type ontology:Q502895 }
Madeleine de Bourbon Xavier of Bourbon-Parma
Madeleine de Bourbon and Xavier of Bourbon-Parma have that one as an offspring
Madeleine de Bourbon Xavier of Bourbon-Parma
action filter_type
action find_reverse
entity Carlos Hugo, Duke of Parma
relation child
type common name
[{'concept': 'common name'}, 'child', 'Carlos Hugo, Duke of Parma']
SELECT DISTINCT ?u WHERE { ?u property:child resource:Carlos_Hugo,_Duke_of_Parma . ?u rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q179728
P7
Q502895
USER
How many people have Xavier of Bourbon-Parma as their brother ?
(Q179728,P7,c(Q502895))
action count
action filter_type
action find
entity Q179728
relation P7
type Q502895
['Q179728', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { resource:Q179728 property:P7 ?f . ?f rdf:type ontology:Q502895 }
Xavier of Bourbon-Parma
action count
action filter_type
action find
entity Xavier of Bourbon-Parma
relation brother
type common name
['Xavier of Bourbon-Parma', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { resource:Xavier_of_Bourbon-Parma property:brother ?f . ?f rdf:type ontology:common_name }
[]
common name
SYSTEM
7
Q2019455 Q658803 Q546082 Q526028 Q445045 Q2654769 Q951608
(Q179728,P7,c(Q502895))
action count
action filter_type
action find
entity Q179728
relation P7
type Q502895
[ANSWER]
['Q179728', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { resource:Q179728 property:P7 ?f . ?f rdf:type ontology:Q502895 }
Prince Gaetano of Bourbon-Parma Prince René of Bourbon-Parma Joseph, Duke of Parma Elias, Duke of Parma Prince Felix of Bourbon-Parma Henry, Duke of Parma Prince Sixtus of Bourbon-Parma
7
action count
action filter_type
action find
entity Xavier of Bourbon-Parma
relation brother
type common name
['Xavier of Bourbon-Parma', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { resource:Xavier_of_Bourbon-Parma property:brother ?f . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q179728
P26
Q502895
USER
Which person has that one as spouse ?
action filter_type
action find
entity Q179728
relation P26
type Q502895
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q179728 property:P26 ?u }
Xavier of Bourbon-Parma
action filter_type
action find
entity Xavier of Bourbon-Parma
relation spouse
type common name
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Xavier_of_Bourbon-Parma property:spouse ?u }
[]
common name
Q2070381
SYSTEM
Madeleine de Bourbon
Q2070381
action filter_type
action find
entity Q179728
relation P26
type Q502895
[ANSWER] has that one as spouse
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q502895 . resource:Q179728 property:P26 ?u }
Madeleine de Bourbon
Madeleine de Bourbon has that one as spouse
Madeleine de Bourbon
action filter_type
action find
entity Xavier of Bourbon-Parma
relation spouse
type common name
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:common_name . resource:Xavier_of_Bourbon-Parma property:spouse ?u }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q2070381 Q5662827
P25
Q502895
USER
Does Alberto Borges have that one as a mother ?
(Q5662827,P25,Q2070381)
action is_in
entity Q5662827
action find
entity Q2070381
relation P25
['Q5662827', 'P25', 'Q2070381']
ASK WHERE { resource:Q2070381 property:P25 resource:Q5662827 }
Madeleine de Bourbon Alberto Borges
action is_in
entity Alberto Borges
action find
entity Madeleine de Bourbon
relation mother
['Alberto Borges', 'mother', 'Madeleine de Bourbon']
ASK WHERE { resource:Madeleine_de_Bourbon property:mother resource:Alberto_Borges }
[]
common name
SYSTEM
NO
(Q5662827,P25,Q2070381)
action is_in
entity Q5662827
action find
entity Q2070381
relation P25
[ANSWER]
['Q5662827', 'P25', 'Q2070381']
ASK WHERE { resource:Q2070381 property:P25 resource:Q5662827 }
No
action is_in
entity Alberto Borges
action find
entity Madeleine de Bourbon
relation mother
['Alberto Borges', 'mother', 'Madeleine de Bourbon']
ASK WHERE { resource:Madeleine_de_Bourbon property:mother resource:Alberto_Borges }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P122
Q22676587 Q15617994 Q13417114
USER
How many noble families have atmost 1 monarchic systems and administrative territories as the form of government ?
(c(Q13417114),P122,c(Q22676587)|c(Q15617994))
action count
action atmost
action union
action find_tuple_counts
relation P122
type Q13417114
type Q22676587
action find_tuple_counts
relation P122
type Q13417114
type Q15617994
value 1
[{'concept': 'Q13417114'}, 'P122', [{'concept': 'Q22676587'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) ?x WHERE { VALUES ( ?k ) { ( ontology:Q15617994 ) ( ontology:Q22676587 ) } . ?l rdf:type ?k } GROUP BY ?x } . FILTER ( ?u <= 1 ) }
action count
action atmost
action union
action find_tuple_counts
relation basic form of government
type noble family
type monarchic system
action find_tuple_counts
relation basic form of government
type noble family
type designation for an administrative territorial entity
value 1
[{'concept': 'noble family'}, 'basic form of government', [{'concept': 'monarchic system'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) ?x WHERE { VALUES ( ?k ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:monarchic_system ) } . ?l rdf:type ?k } GROUP BY ?x } . FILTER ( ?u <= 1 ) }
[]
monarchic system designation for an administrative territorial entity noble family
SYSTEM
13
Q199443 Q1331421 Q140446 Q189326 Q161205 Q273874 Q1136188 Q919071 Q847420 Q207991 Q2637089 Q970799 Q1124402
(c(Q13417114),P122,c(Q22676587)|c(Q15617994))
action count
action atmost
action union
action find_tuple_counts
relation P122
type Q13417114
type Q22676587
action find_tuple_counts
relation P122
type Q13417114
type Q15617994
value 1
[ANSWER]
[{'concept': 'Q13417114'}, 'P122', [{'concept': 'Q22676587'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) ?x WHERE { VALUES ( ?k ) { ( ontology:Q15617994 ) ( ontology:Q22676587 ) } . ?l rdf:type ?k } GROUP BY ?x } . FILTER ( ?u <= 1 ) }
Ghurid Dynasty Sayyid dynasty Zagwe dynasty Qajar dynasty Safavid dynasty Buyid dynasty Saadi dynasty Khilji dynasty Mamluk sultanate Pahlavi dynasty Nawabs of Bengal and Murshidabad Wattasid dynasty Tughlaq dynasty
13
action count
action atmost
action union
action find_tuple_counts
relation basic form of government
type noble family
type monarchic system
action find_tuple_counts
relation basic form of government
type noble family
type designation for an administrative territorial entity
value 1
[{'concept': 'noble family'}, 'basic form of government', [{'concept': 'monarchic system'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ( COUNT ( ?x ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?u ) ?x WHERE { VALUES ( ?k ) { ( ontology:designation_for_an_administrative_territorial_entity ) ( ontology:monarchic_system ) } . ?l rdf:type ?k } GROUP BY ?x } . FILTER ( ?u <= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q537914
P1196
Q1931388
USER
What situation did Carlos Hugo, Duke of Parma die in ?
(Q537914,P1196,c(Q1931388))
action filter_type
action find
entity Q537914
relation P1196
type Q1931388
['Q537914', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?t WHERE { resource:Q537914 property:P1196 ?t . ?t rdf:type ontology:Q1931388 }
Carlos Hugo, Duke of Parma
action filter_type
action find
entity Carlos Hugo, Duke of Parma
relation manner of death
type cause of death
['Carlos Hugo, Duke of Parma', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?t WHERE { resource:Carlos_Hugo,_Duke_of_Parma property:manner_of_death ?t . ?t rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
(Q537914,P1196,c(Q1931388))
action filter_type
action find
entity Q537914
relation P1196
type Q1931388
Carlos Hugo , Duke of Parma died in his [ANSWER]
['Q537914', 'P1196', {'concept': 'Q1931388'}]
SELECT DISTINCT ?t WHERE { resource:Q537914 property:P1196 ?t . ?t rdf:type ontology:Q1931388 }
natural causes
Carlos Hugo , Duke of Parma died in his natural causes
natural causes
action filter_type
action find
entity Carlos Hugo, Duke of Parma
relation manner of death
type cause of death
['Carlos Hugo, Duke of Parma', 'manner of death', {'concept': 'cause of death'}]
SELECT DISTINCT ?t WHERE { resource:Carlos_Hugo,_Duke_of_Parma property:manner_of_death ?t . ?t rdf:type ontology:cause_of_death }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q11560808 Q537914
P1196
Q1931388
USER
Or Gen Shimizu?
OR((Q537914,P1196,c(Q1931388)), (Q11560808,P1196,c(Q1931388)))
action filter_type
action union
action find
entity Q537914
relation P1196
action find
entity Q11560808
relation P1196
type Q1931388
{'OR': [['Q537914', 'P1196', {'concept': 'Q1931388'}], ['Q11560808', 'P1196', {'concept': 'Q1931388'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q11560808 property:P1196 ?k } UNION { resource:Q537914 property:P1196 ?k } } . ?k rdf:type ontology:Q1931388 }
Gen Shimizu Carlos Hugo, Duke of Parma
action filter_type
action union
action find
entity Carlos Hugo, Duke of Parma
relation manner of death
action find
entity Gen Shimizu
relation manner of death
type cause of death
{'OR': [['Carlos Hugo, Duke of Parma', 'manner of death', {'concept': 'cause of death'}], ['Gen Shimizu', 'manner of death', {'concept': 'cause of death'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Gen_Shimizu property:manner_of_death ?k } UNION { resource:Carlos_Hugo,_Duke_of_Parma property:manner_of_death ?k } } . ?k rdf:type ontology:cause_of_death }
[]
cause of death
Q3739104
SYSTEM
natural causes
Q3739104
OR((Q537914,P1196,c(Q1931388)), (Q11560808,P1196,c(Q1931388)))
action filter_type
action union
action find
entity Q537914
relation P1196
action find
entity Q11560808
relation P1196
type Q1931388
[ANSWER]
{'OR': [['Q537914', 'P1196', {'concept': 'Q1931388'}], ['Q11560808', 'P1196', {'concept': 'Q1931388'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Q11560808 property:P1196 ?k } UNION { resource:Q537914 property:P1196 ?k } } . ?k rdf:type ontology:Q1931388 }
natural causes
natural causes
action filter_type
action union
action find
entity Carlos Hugo, Duke of Parma
relation manner of death
action find
entity Gen Shimizu
relation manner of death
type cause of death
{'OR': [['Carlos Hugo, Duke of Parma', 'manner of death', {'concept': 'cause of death'}], ['Gen Shimizu', 'manner of death', {'concept': 'cause of death'}]]}
SELECT DISTINCT ?k WHERE { { { resource:Gen_Shimizu property:manner_of_death ?k } UNION { resource:Carlos_Hugo,_Duke_of_Parma property:manner_of_death ?k } } . ?k rdf:type ontology:cause_of_death }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q537914
P1412
Q34770
USER
Which language is Carlos Hugo, Duke of Parma capable of writing ?
(Q537914,P1412,c(Q34770))
action filter_type
action find
entity Q537914
relation P1412
type Q34770
['Q537914', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q34770 . resource:Q537914 property:P1412 ?t }
Carlos Hugo, Duke of Parma
action filter_type
action find
entity Carlos Hugo, Duke of Parma
relation languages spoken, written or signed
type language
['Carlos Hugo, Duke of Parma', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:language . resource:Carlos_Hugo,_Duke_of_Parma property:languages_spoken,_written_or_signed ?t }
[]
language
Q1321
SYSTEM
Spanish
Q1321
(Q537914,P1412,c(Q34770))
action filter_type
action find
entity Q537914
relation P1412
type Q34770
[ANSWER] is Carlos Hugo, Duke of Parma capable of writing
['Q537914', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q34770 . resource:Q537914 property:P1412 ?t }
Spanish
Spanish is Carlos Hugo, Duke of Parma capable of writing
Spanish
action filter_type
action find
entity Carlos Hugo, Duke of Parma
relation languages spoken, written or signed
type language
['Carlos Hugo, Duke of Parma', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:language . resource:Carlos_Hugo,_Duke_of_Parma property:languages_spoken,_written_or_signed ?t }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q537914
P7
Q502895
USER
Who has Carlos Hugo, Duke of Parma as their sibling ?
(c(Q502895),P7,Q537914)
action filter_type
action find
entity Q537914
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q537914']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . resource:Q537914 property:P7 ?z }
Carlos Hugo, Duke of Parma
action filter_type
action find
entity Carlos Hugo, Duke of Parma
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Carlos Hugo, Duke of Parma']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . resource:Carlos_Hugo,_Duke_of_Parma property:brother ?z }
[]
common name
Q704668
SYSTEM
Prince Sixtus Henry of Bourbon-Parma
Q704668
(c(Q502895),P7,Q537914)
action filter_type
action find
entity Q537914
relation P7
type Q502895
[ANSWER] has Carlos Hugo, Duke of Parma as their sibling
[{'concept': 'Q502895'}, 'P7', 'Q537914']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . resource:Q537914 property:P7 ?z }
Prince Sixtus Henry of Bourbon-Parma
Prince Sixtus Henry of Bourbon-Parma has Carlos Hugo, Duke of Parma as their sibling
Prince Sixtus Henry of Bourbon-Parma
action filter_type
action find
entity Carlos Hugo, Duke of Parma
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Carlos Hugo, Duke of Parma']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . resource:Carlos_Hugo,_Duke_of_Parma property:brother ?z }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q704668 Q205150
P102
Q7210356
USER
Is that person affiliated with National Front ?
(Q704668,P102,Q205150)
action is_in
entity Q205150
action find
entity Q704668
relation P102
['Q704668', 'P102', 'Q205150']
ASK WHERE { resource:Q704668 property:P102 resource:Q205150 }
Prince Sixtus Henry of Bourbon-Parma National Front
action is_in
entity National Front
action find
entity Prince Sixtus Henry of Bourbon-Parma
relation member of political party
['Prince Sixtus Henry of Bourbon-Parma', 'member of political party', 'National Front']
ASK WHERE { resource:Prince_Sixtus_Henry_of_Bourbon-Parma property:member_of_political_party resource:National_Front }
[]
political organization
SYSTEM
YES
(Q704668,P102,Q205150)
action is_in
entity Q205150
action find
entity Q704668
relation P102
[ANSWER]
['Q704668', 'P102', 'Q205150']
ASK WHERE { resource:Q704668 property:P102 resource:Q205150 }
Yes
action is_in
entity National Front
action find
entity Prince Sixtus Henry of Bourbon-Parma
relation member of political party
['Prince Sixtus Henry of Bourbon-Parma', 'member of political party', 'National Front']
ASK WHERE { resource:Prince_Sixtus_Henry_of_Bourbon-Parma property:member_of_political_party resource:National_Front }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments do atmost 7307 people know to play ?
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 7307
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { FILTER ( ?r <= 7307 ) . { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?r ) WHERE { ?w property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?w rdf:type ontology:Q502895 } GROUP BY ?n } }
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 7307
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { FILTER ( ?r <= 7307 ) . { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?r ) WHERE { ?w property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?w rdf:type ontology:common_name } GROUP BY ?n } }
[]
musical instrument common name
SYSTEM
65
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 Q8355 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 7307
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { FILTER ( ?r <= 7307 ) . { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?r ) WHERE { ?w property:P1303 ?n . ?n rdf:type ontology:Q34379 . ?w rdf:type ontology:Q502895 } GROUP BY ?n } }
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 violin cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
65
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 7307
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?z ) WHERE { FILTER ( ?r <= 7307 ) . { SELECT DISTINCT ?n ( COUNT ( ?w ) AS ?r ) WHERE { ?w property:instrument ?n . ?n rdf:type ontology:musical_instrument . ?w rdf:type ontology:common_name } GROUP BY ?n } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q13478831
P1533
Q82799
USER
Which name is equal to Lloyd ?
(Q13478831,P1533,c(Q82799))
action filter_type
action find
entity Q13478831
relation P1533
type Q82799
['Q13478831', 'P1533', {'concept': 'Q82799'}]
SELECT DISTINCT ?g WHERE { resource:Q13478831 property:P1533 ?g . ?g rdf:type ontology:Q82799 }
Lloyd
action filter_type
action find
entity Lloyd
relation family name identical to this first name
type name
['Lloyd', 'family name identical to this first name', {'concept': 'name'}]
SELECT DISTINCT ?g WHERE { resource:Lloyd property:family_name_identical_to_this_first_name ?g . ?g rdf:type ontology:name }
[]
name
Q1287630
SYSTEM
Lloyd
Q1287630
(Q13478831,P1533,c(Q82799))
action filter_type
action find
entity Q13478831
relation P1533
type Q82799
Is [ANSWER] is equal to [ANSWER]
['Q13478831', 'P1533', {'concept': 'Q82799'}]
SELECT DISTINCT ?g WHERE { resource:Q13478831 property:P1533 ?g . ?g rdf:type ontology:Q82799 }
Lloyd
Is Lloyd is equal to Lloyd
Lloyd
action filter_type
action find
entity Lloyd
relation family name identical to this first name
type name
['Lloyd', 'family name identical to this first name', {'concept': 'name'}]
SELECT DISTINCT ?g WHERE { resource:Lloyd property:family_name_identical_to_this_first_name ?g . ?g rdf:type ontology:name }
[]