Simple Question (Direct)
Simple Question
Q235674
P25
Q502895
USER
Which person was the mother of Princess Maria Antonia of the Two Sicilies ?
(Q235674,P25,c(Q502895))
action filter_type
action find
entity Q235674
relation P25
type Q502895
['Q235674', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . resource:Q235674 property:P25 ?o }
Princess Maria Antonia of the Two Sicilies
action filter_type
action find
entity Princess Maria Antonia of the Two Sicilies
relation mother
type common name
['Princess Maria Antonia of the Two Sicilies', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . resource:Princess_Maria_Antonia_of_the_Two_Sicilies property:mother ?o }
[]
common name
Q233196
SYSTEM
Maria Isabella of Spain
Q233196
(Q235674,P25,c(Q502895))
action filter_type
action find
entity Q235674
relation P25
type Q502895
[ANSWER] was the mother of Princess Maria Antonia of the Two Sicilies
['Q235674', 'P25', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:Q502895 . resource:Q235674 property:P25 ?o }
Maria Isabella of Spain
Maria Isabella of Spain was the mother of Princess Maria Antonia of the Two Sicilies
Maria Isabella of Spain
action filter_type
action find
entity Princess Maria Antonia of the Two Sicilies
relation mother
type common name
['Princess Maria Antonia of the Two Sicilies', 'mother', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { ?o rdf:type ontology:common_name . resource:Princess_Maria_Antonia_of_the_Two_Sicilies property:mother ?o }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q235674
P9
Q502895
USER
Which people have Princess Maria Antonia of the Two Sicilies as their sibling ?
(c(Q502895),P9,Q235674)
action filter_type
action find_reverse
entity Q235674
relation P9
type Q502895
[{'concept': 'Q502895'}, 'P9', 'Q235674']
SELECT DISTINCT ?a WHERE { ?a property:P9 resource:Q235674 . ?a rdf:type ontology:Q502895 }
Princess Maria Antonia of the Two Sicilies
action filter_type
action find_reverse
entity Princess Maria Antonia of the Two Sicilies
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Princess Maria Antonia of the Two Sicilies']
SELECT DISTINCT ?a WHERE { ?a property:sister resource:Princess_Maria_Antonia_of_the_Two_Sicilies . ?a rdf:type ontology:common_name }
[]
common name
Q332717 Q237742 Q209353
SYSTEM
Ferdinand II of the Two Sicilies, Princess Luisa Carlotta of Naples and Sicily, Teresa Cristina of the Two Sicilies
Q237742 Q2608613 Q2720659 Q2626281 Q332717 Q942153 Q209353 Q234931 Q3847110 Q1748721
(c(Q502895),P9,Q235674)
action filter_type
action find_reverse
entity Q235674
relation P9
type Q502895
[ANSWERS] have Princess Maria Antonia of the Two Sicilies as their sibling
[{'concept': 'Q502895'}, 'P9', 'Q235674']
SELECT DISTINCT ?a WHERE { ?a property:P9 resource:Q235674 . ?a rdf:type ontology:Q502895 }
Princess Luisa Carlotta of Naples and Sicily Prince Leopold, Count of Syracuse Prince Louis, Count of Aquila Princess Maria Carolina of Bourbon-Two Sicilies Ferdinand II of the Two Sicilies Prince Francis, Count of Trapani Teresa Cristina of the Two Sicilies Princess Caroline of Naples and Sicily Princess Maria Amalia of Bourbon-Two Sicilies Charles Ferdinand, Prince of Capua
Ferdinand II of the Two Sicilies, Princess Luisa Carlotta of Naples and Sicily and Teresa Cristina of the Two Sicilies have Princess Maria Antonia of the Two Sicilies as their sibling
Ferdinand II of the Two Sicilies Princess Luisa Carlotta of Naples and Sicily Teresa Cristina of the Two Sicilies
action filter_type
action find_reverse
entity Princess Maria Antonia of the Two Sicilies
relation sister
type common name
[{'concept': 'common name'}, 'sister', 'Princess Maria Antonia of the Two Sicilies']
SELECT DISTINCT ?a WHERE { ?a property:sister resource:Princess_Maria_Antonia_of_the_Two_Sicilies . ?a rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q233196
P26
Q502895
USER
Which person has Maria Isabella of Spain as spouse ?
(c(Q502895),P26,Q233196)
action filter_type
action find
entity Q233196
relation P26
type Q502895
[{'concept': 'Q502895'}, 'P26', 'Q233196']
SELECT DISTINCT ?o WHERE { resource:Q233196 property:P26 ?o . ?o rdf:type ontology:Q502895 }
Maria Isabella of Spain
action filter_type
action find
entity Maria Isabella of Spain
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Maria Isabella of Spain']
SELECT DISTINCT ?o WHERE { resource:Maria_Isabella_of_Spain property:spouse ?o . ?o rdf:type ontology:common_name }
[]
common name
Q312305
SYSTEM
Francis I of the Two Sicilies
Q312305
(c(Q502895),P26,Q233196)
action filter_type
action find
entity Q233196
relation P26
type Q502895
[ANSWER] has Maria Isabella of Spain as spouse
[{'concept': 'Q502895'}, 'P26', 'Q233196']
SELECT DISTINCT ?o WHERE { resource:Q233196 property:P26 ?o . ?o rdf:type ontology:Q502895 }
Francis I of the Two Sicilies
Francis I of the Two Sicilies has Maria Isabella of Spain as spouse
Francis I of the Two Sicilies
action filter_type
action find
entity Maria Isabella of Spain
relation spouse
type common name
[{'concept': 'common name'}, 'spouse', 'Maria Isabella of Spain']
SELECT DISTINCT ?o WHERE { resource:Maria_Isabella_of_Spain property:spouse ?o . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q312305
P20
Q56061
USER
Which administrative territory is the place of death of that person ?
(Q312305,P20,c(Q56061))
action filter_type
action find
entity Q312305
relation P20
type Q56061
['Q312305', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q56061 . resource:Q312305 property:P20 ?n }
Francis I of the Two Sicilies
action filter_type
action find
entity Francis I of the Two Sicilies
relation place of death
type administrative territorial entity
['Francis I of the Two Sicilies', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:administrative_territorial_entity . resource:Francis_I_of_the_Two_Sicilies property:place_of_death ?n }
[]
administrative territorial entity
Q2634
SYSTEM
Naples
Q2634
(Q312305,P20,c(Q56061))
action filter_type
action find
entity Q312305
relation P20
type Q56061
[ANSWER] is the place of death of that person
['Q312305', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:Q56061 . resource:Q312305 property:P20 ?n }
Naples
Naples is the place of death of that person
Naples
action filter_type
action find
entity Francis I of the Two Sicilies
relation place of death
type administrative territorial entity
['Francis I of the Two Sicilies', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?n WHERE { ?n rdf:type ontology:administrative_territorial_entity . resource:Francis_I_of_the_Two_Sicilies property:place_of_death ?n }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q312305
P40
Q502895
USER
Which people have Francis I of the Two Sicilies as a child ?
(c(Q502895),P40,Q312305)
action filter_type
action find_reverse
entity Q312305
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q312305']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . ?y property:P40 resource:Q312305 }
Francis I of the Two Sicilies
action filter_type
action find_reverse
entity Francis I of the Two Sicilies
relation child
type common name
[{'concept': 'common name'}, 'child', 'Francis I of the Two Sicilies']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . ?y property:child resource:Francis_I_of_the_Two_Sicilies }
[]
common name
Q312325 Q158229
SYSTEM
Ferdinand I of the Two Sicilies, Maria Carolina of Austria
Q312325 Q158229
(c(Q502895),P40,Q312305)
action filter_type
action find_reverse
entity Q312305
relation P40
type Q502895
[ANSWERS] have Francis I of the Two Sicilies as a child
[{'concept': 'Q502895'}, 'P40', 'Q312305']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . ?y property:P40 resource:Q312305 }
Ferdinand I of the Two Sicilies Maria Carolina of Austria
Ferdinand I of the Two Sicilies and Maria Carolina of Austria have Francis I of the Two Sicilies as a child
Ferdinand I of the Two Sicilies Maria Carolina of Austria
action filter_type
action find_reverse
entity Francis I of the Two Sicilies
relation child
type common name
[{'concept': 'common name'}, 'child', 'Francis I of the Two Sicilies']
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . ?y property:child resource:Francis_I_of_the_Two_Sicilies }
[]
Clarification
Simple Question|Single Entity|Indirect
Q312325
P19
Q56061
USER
Where was that person born ?
(Q312325,P19,c(Q56061))
action filter_type
action find
entity Q312325
relation P19
type Q56061
['Q312325', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q312325 property:P19 ?x . ?x rdf:type ontology:Q56061 }
Ferdinand I of the Two Sicilies
action filter_type
action find
entity Ferdinand I of the Two Sicilies
relation place of birth
type administrative territorial entity
['Ferdinand I of the Two Sicilies', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Ferdinand_I_of_the_Two_Sicilies property:place_of_birth ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Clarification for simple ques.
Q312325
SYSTEM
Did you mean Ferdinand I of the Two Sicilies ?
Q312325 Q158229
(Q312325,P19,c(Q56061)) (Q158229,P19,c(Q56061))
[ANSWER]
['Q312325', 'P19', {'concept': 'Q56061'}] ['Q158229', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q312325 property:P19 ?x . ?x rdf:type ontology:Q56061 }
Ferdinand I of the Two Sicilies Maria Carolina of Austria
Did you mean Ferdinand I of the Two Sicilies ?
Ferdinand I of the Two Sicilies
['Ferdinand I of the Two Sicilies', 'place of birth', {'concept': 'administrative territorial entity'}] ['Maria Carolina of Austria', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Ferdinand_I_of_the_Two_Sicilies property:place_of_birth ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q312325,P19,c(Q56061))
['Q312325', 'P19', {'concept': 'Q56061'}]
['Ferdinand I of the Two Sicilies', 'place of birth', {'concept': 'administrative territorial entity'}]
[]
Q2634
SYSTEM
Naples
Q2634
(Q312325,P19,c(Q56061))
action filter_type
action find
entity Q312325
relation P19
type Q56061
That person was born in [ANSWER]
['Q312325', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q312325 property:P19 ?x . ?x rdf:type ontology:Q56061 }
Naples
That person was born in Naples
Naples
action filter_type
action find
entity Ferdinand I of the Two Sicilies
relation place of birth
type administrative territorial entity
['Ferdinand I of the Two Sicilies', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Ferdinand_I_of_the_Two_Sicilies property:place_of_birth ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2634
P1376
Q15617994
USER
Which administrative territory has that administrative territory has its center of administration ?
(Q2634,P1376,c(Q15617994))
action filter_type
action find
entity Q2634
relation P1376
type Q15617994
['Q2634', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q2634 property:P1376 ?f . ?f rdf:type ontology:Q15617994 }
Naples
action filter_type
action find
entity Naples
relation capital of
type designation for an administrative territorial entity
['Naples', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Naples property:capital_of ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q1438
SYSTEM
Campania
Q1438
(Q2634,P1376,c(Q15617994))
action filter_type
action find
entity Q2634
relation P1376
type Q15617994
The [ANSWER] has that administrative territory has its center of administration
['Q2634', 'P1376', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { resource:Q2634 property:P1376 ?f . ?f rdf:type ontology:Q15617994 }
Campania
The Campania has that administrative territory has its center of administration
Campania
action filter_type
action find
entity Naples
relation capital of
type designation for an administrative territorial entity
['Naples', 'capital of', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { resource:Naples property:capital_of ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P47
Q15617994
USER
How many administrative territories share the border with that administrative territory ?
(Q1438,P47,c(Q15617994))
action count
action filter_type
action find
entity Q1438
relation P47
type Q15617994
['Q1438', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { resource:Q1438 property:P47 ?l . ?l rdf:type ontology:Q15617994 }
action count
action filter_type
action find
entity Campania
relation shares border with
type designation for an administrative territorial entity
['Campania', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { resource:Campania property:shares_border_with ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
4
Q1443 Q1282 Q1447 Q1452
(Q1438,P47,c(Q15617994))
action count
action filter_type
action find
entity Q1438
relation P47
type Q15617994
[ANSWER]
['Q1438', 'P47', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { resource:Q1438 property:P47 ?l . ?l rdf:type ontology:Q15617994 }
Molise Lazio Apulia Basilicata
4
action count
action filter_type
action find
entity Campania
relation shares border with
type designation for an administrative territorial entity
['Campania', 'shares border with', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?o ) WHERE { resource:Campania property:shares_border_with ?l . ?l rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q312325
P140
Q879146
USER
Which Christian denomination is the religion of Ferdinand I of the Two Sicilies ?
(Q312325,P140,c(Q879146))
action filter_type
action find
entity Q312325
relation P140
type Q879146
['Q312325', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?v WHERE { resource:Q312325 property:P140 ?v . ?v rdf:type ontology:Q879146 }
Ferdinand I of the Two Sicilies
action filter_type
action find
entity Ferdinand I of the Two Sicilies
relation religion
type Christian denomination
['Ferdinand I of the Two Sicilies', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?v WHERE { resource:Ferdinand_I_of_the_Two_Sicilies property:religion ?v . ?v rdf:type ontology:Christian_denomination }
[]
Christian denomination
Q9592
SYSTEM
Roman Catholic Church
Q9592
(Q312325,P140,c(Q879146))
action filter_type
action find
entity Q312325
relation P140
type Q879146
[ANSWER] is the religion of Ferdinand I of the Two Sicilies
['Q312325', 'P140', {'concept': 'Q879146'}]
SELECT DISTINCT ?v WHERE { resource:Q312325 property:P140 ?v . ?v rdf:type ontology:Q879146 }
Roman Catholic Church
Roman Catholic Church is the religion of Ferdinand I of the Two Sicilies
Roman Catholic Church
action filter_type
action find
entity Ferdinand I of the Two Sicilies
relation religion
type Christian denomination
['Ferdinand I of the Two Sicilies', 'religion', {'concept': 'Christian denomination'}]
SELECT DISTINCT ?v WHERE { resource:Ferdinand_I_of_the_Two_Sicilies property:religion ?v . ?v rdf:type ontology:Christian_denomination }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q312325
P7
Q502895
USER
Who have that one as their brother ?
(Q9592,P7,c(Q502895))
action filter_type
action find
entity Q312325
relation P7
type Q502895
['Q9592', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q312325 property:P7 ?l . ?l rdf:type ontology:Q502895 }
Ferdinand I of the Two Sicilies
action filter_type
action find
entity Ferdinand I of the Two Sicilies
relation brother
type common name
['Roman Catholic Church', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Ferdinand_I_of_the_Two_Sicilies property:brother ?l . ?l rdf:type ontology:common_name }
[]
common name
Q183226 Q2325634 Q1406351
SYSTEM
Charles IV of Spain, Infante Gabriel of Spain, Infante Philip, Duke of Calabria
Q1406351 Q183226 Q2213967 Q2325634 Q2630473
(Q9592,P7,c(Q502895))
action filter_type
action find
entity Q312325
relation P7
type Q502895
[ANSWERS]
['Q9592', 'P7', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q312325 property:P7 ?l . ?l rdf:type ontology:Q502895 }
Infante Philip, Duke of Calabria Charles IV of Spain Frans van Spanje Infante Gabriel of Spain Infante Antonio Pascual of Spain
Charles IV of Spain, Infante Gabriel of Spain and Infante Philip, Duke of Calabria have that one as their brother
Charles IV of Spain Infante Gabriel of Spain Infante Philip, Duke of Calabria
action filter_type
action find
entity Ferdinand I of the Two Sicilies
relation brother
type common name
['Roman Catholic Church', 'brother', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Ferdinand_I_of_the_Two_Sicilies property:brother ?l . ?l rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1438 Q8445
P180
Q11060274
USER
How many prints express Campania or marriage ?
(c(Q11060274),P180,Q1438) (c(Q11060274),P180,Q8445)
action count
action union
action filter_type
action find_reverse
entity Q1438
relation P180
type Q11060274
action filter_type
action find_reverse
entity Q8445
relation P180
type Q11060274
[{'concept': 'Q11060274'}, 'P180', 'Q1438'] [{'concept': 'Q11060274'}, 'P180', 'Q8445']
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { ?i property:P180 ?q . VALUES ( ?q ) { ( resource:Q1438 ) ( resource:Q8445 ) } }
Campania marriage
action count
action union
action filter_type
action find_reverse
entity Campania
relation depicts
type print
action filter_type
action find_reverse
entity marriage
relation depicts
type print
[{'concept': 'print'}, 'depicts', 'Campania'] [{'concept': 'print'}, 'depicts', 'marriage']
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { ?i property:depicts ?q . VALUES ( ?q ) { ( resource:Campania ) ( resource:marriage ) } }
[]
print
SYSTEM
2
Q18339684 Q18338565
(c(Q11060274),P180,Q1438) (c(Q11060274),P180,Q8445)
action count
action union
action filter_type
action find_reverse
entity Q1438
relation P180
type Q11060274
action filter_type
action find_reverse
entity Q8445
relation P180
type Q11060274
[ANSWER]
[{'concept': 'Q11060274'}, 'P180', 'Q1438'] [{'concept': 'Q11060274'}, 'P180', 'Q8445']
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { ?i property:P180 ?q . VALUES ( ?q ) { ( resource:Q1438 ) ( resource:Q8445 ) } }
The Vienna double wedding Marriage of the Virgin
2
action count
action union
action filter_type
action find_reverse
entity Campania
relation depicts
type print
action filter_type
action find_reverse
entity marriage
relation depicts
type print
[{'concept': 'print'}, 'depicts', 'Campania'] [{'concept': 'print'}, 'depicts', 'marriage']
SELECT DISTINCT ( COUNT ( ?i ) AS ?m ) WHERE { ?i property:depicts ?q . VALUES ( ?q ) { ( resource:Campania ) ( resource:marriage ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can atmost 4255 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action atmost
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 4255
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { FILTER ( ?p <= 4255 ) . { SELECT DISTINCT ?v ( COUNT ( ?x ) AS ?p ) WHERE { ?x property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 } GROUP BY ?v } }
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 4255
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { FILTER ( ?p <= 4255 ) . { SELECT DISTINCT ?v ( COUNT ( ?x ) AS ?p ) WHERE { ?x property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name } GROUP BY ?v } }
[]
musical instrument common name
SYSTEM
64
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 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 4255
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { FILTER ( ?p <= 4255 ) . { SELECT DISTINCT ?v ( COUNT ( ?x ) AS ?p ) WHERE { ?x property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?x rdf:type ontology:Q502895 } GROUP BY ?v } }
viola bass guitar lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet trumpet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano 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
64
action count
action atmost
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 4255
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?r ) WHERE { FILTER ( ?p <= 4255 ) . { SELECT DISTINCT ?v ( COUNT ( ?x ) AS ?p ) WHERE { ?x property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?x rdf:type ontology:common_name } GROUP BY ?v } }
[]