Simple Question (Direct)
Simple Question
Q510846
P410
Q56019
USER
Which is the military rank held by Angelo Iachino ?
(Q510846,P410,c(Q56019))
action filter_type
action find
entity Q510846
relation P410
type Q56019
['Q510846', 'P410', {'concept': 'Q56019'}]
SELECT DISTINCT ?k WHERE { resource:Q510846 property:P410 ?k . ?k rdf:type ontology:Q56019 }
Angelo Iachino
action filter_type
action find
entity Angelo Iachino
relation military rank
type military rank
['Angelo Iachino', 'military rank', {'concept': 'military rank'}]
SELECT DISTINCT ?k WHERE { resource:Angelo_Iachino property:military_rank ?k . ?k rdf:type ontology:military_rank }
[]
military rank
Q132851
SYSTEM
admiral
Q132851
(Q510846,P410,c(Q56019))
action filter_type
action find
entity Q510846
relation P410
type Q56019
[ANSWER] is the military rank held by Angelo Iachino
['Q510846', 'P410', {'concept': 'Q56019'}]
SELECT DISTINCT ?k WHERE { resource:Q510846 property:P410 ?k . ?k rdf:type ontology:Q56019 }
admiral
Admiral is the military rank held by Angelo Iachino
admiral
action filter_type
action find
entity Angelo Iachino
relation military rank
type military rank
['Angelo Iachino', 'military rank', {'concept': 'military rank'}]
SELECT DISTINCT ?k WHERE { resource:Angelo_Iachino property:military_rank ?k . ?k rdf:type ontology:military_rank }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q132851
P106
Q502895
USER
Which people have career as that military rank ?
(c(Q502895),P106,Q132851)
action filter_type
action find_reverse
entity Q132851
relation P106
type Q502895
[{'concept': 'Q502895'}, 'P106', 'Q132851']
SELECT DISTINCT ?m WHERE { ?m property:P106 resource:Q132851 . ?m rdf:type ontology:Q502895 }
admiral
action filter_type
action find_reverse
entity admiral
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'admiral']
SELECT DISTINCT ?m WHERE { ?m property:occupation resource:admiral . ?m rdf:type ontology:common_name }
[]
common name
Q201670 Q3313682 Q2658032
SYSTEM
Paul Watson, Mikhail Golitsyn, Ove Gjedde
Q201670 Q4122120 Q2658032 Q592036 Q3313682 Q375687 Q20723605 Q1073852
(c(Q502895),P106,Q132851)
action filter_type
action find_reverse
entity Q132851
relation P106
type Q502895
[ANSWERS] have career as that military rank
[{'concept': 'Q502895'}, 'P106', 'Q132851']
SELECT DISTINCT ?m WHERE { ?m property:P106 resource:Q132851 . ?m rdf:type ontology:Q502895 }
Paul Watson Stanislav Brovet Ove Gjedde Hugues Quiéret Mikhail Golitsyn Bülend Ulusu Andrea Pisani Theophiliscus
Paul Watson, Mikhail Golitsyn and Ove Gjedde have career as that military rank
Paul Watson Mikhail Golitsyn Ove Gjedde
action filter_type
action find_reverse
entity admiral
relation occupation
type common name
[{'concept': 'common name'}, 'occupation', 'admiral']
SELECT DISTINCT ?m WHERE { ?m property:occupation resource:admiral . ?m rdf:type ontology:common_name }
[]
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 atleast 2700 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2700
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?v ) WHERE { ?i property:P1303 ?c . ?c rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 } GROUP BY ?c } . FILTER ( ?v >= 2700 ) }
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2700
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?v ) WHERE { ?i property:instrument ?c . ?c rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name } GROUP BY ?c } . FILTER ( ?v >= 2700 ) }
[]
musical instrument common name
SYSTEM
2
Q5994 Q8355
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2700
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?v ) WHERE { ?i property:P1303 ?c . ?c rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 } GROUP BY ?c } . FILTER ( ?v >= 2700 ) }
piano violin
2
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2700
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?b ) WHERE { { SELECT DISTINCT ?c ( COUNT ( ?i ) AS ?v ) WHERE { ?i property:instrument ?c . ?c rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name } GROUP BY ?c } . FILTER ( ?v >= 2700 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3313682
P40
Q502895
USER
Who has Mikhail Golitsyn as an offspring ?
(c(Q502895),P40,Q3313682)
action filter_type
action find_reverse
entity Q3313682
relation P40
type Q502895
[{'concept': 'Q502895'}, 'P40', 'Q3313682']
SELECT DISTINCT ?w WHERE { ?w property:P40 resource:Q3313682 . ?w rdf:type ontology:Q502895 }
Mikhail Golitsyn
action filter_type
action find_reverse
entity Mikhail Golitsyn
relation child
type common name
[{'concept': 'common name'}, 'child', 'Mikhail Golitsyn']
SELECT DISTINCT ?w WHERE { ?w property:child resource:Mikhail_Golitsyn . ?w rdf:type ontology:common_name }
[]
common name
Q4141576
SYSTEM
Mikhail Andreyevich Golitsyn
Q4141576
(c(Q502895),P40,Q3313682)
action filter_type
action find_reverse
entity Q3313682
relation P40
type Q502895
[ANSWER] has Mikhail Golitsyn as an offspring
[{'concept': 'Q502895'}, 'P40', 'Q3313682']
SELECT DISTINCT ?w WHERE { ?w property:P40 resource:Q3313682 . ?w rdf:type ontology:Q502895 }
Mikhail Andreyevich Golitsyn
Mikhail Andreyevich Golitsyn has Mikhail Golitsyn as an offspring
Mikhail Andreyevich Golitsyn
action filter_type
action find_reverse
entity Mikhail Golitsyn
relation child
type common name
[{'concept': 'common name'}, 'child', 'Mikhail Golitsyn']
SELECT DISTINCT ?w WHERE { ?w property:child resource:Mikhail_Golitsyn . ?w rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3313682
P21
Q290
USER
Which sex does Mikhail Golitsyn belong to ?
(Q3313682,P21,c(Q290))
action filter_type
action find
entity Q3313682
relation P21
type Q290
['Q3313682', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q3313682 property:P21 ?l . ?l rdf:type ontology:Q290 }
Mikhail Golitsyn
action filter_type
action find
entity Mikhail Golitsyn
relation gender
type sex
['Mikhail Golitsyn', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Mikhail_Golitsyn property:gender ?l . ?l rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3313682,P21,c(Q290))
action filter_type
action find
entity Q3313682
relation P21
type Q290
Mikhail Golitsyn belongs to [ANSWER]
['Q3313682', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?l WHERE { resource:Q3313682 property:P21 ?l . ?l rdf:type ontology:Q290 }
male
Mikhail Golitsyn belongs to male
male
action filter_type
action find
entity Mikhail Golitsyn
relation gender
type sex
['Mikhail Golitsyn', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?l WHERE { resource:Mikhail_Golitsyn property:gender ?l . ?l rdf:type ontology:sex }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3750532
Q290
USER
And what about Francesco Renzi?
(Q3750532,P21,c(Q290))
action filter_type
action find
entity Q3750532
relation P21
type Q290
['Q3750532', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q3750532 property:P21 ?d . ?d rdf:type ontology:Q290 }
Francesco Renzi
action filter_type
action find
entity Francesco Renzi
relation gender
type sex
['Francesco Renzi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Francesco_Renzi property:gender ?d . ?d rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q3750532,P21,c(Q290))
action filter_type
action find
entity Q3750532
relation P21
type Q290
[ANSWER]
['Q3750532', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?d WHERE { resource:Q3750532 property:P21 ?d . ?d rdf:type ontology:Q290 }
male
male
action filter_type
action find
entity Francesco Renzi
relation gender
type sex
['Francesco Renzi', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?d WHERE { resource:Francesco_Renzi property:gender ?d . ?d rdf:type ontology:sex }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P138
Q11173 Q7946
USER
How many chemical compounds or minerals come from that sex ?
(c(Q11173),P138,Q6581097) (c(Q7946),P138,Q6581097) (c(Q11173),P138,Q6581097) (c(Q7946),P138,Q6581097)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q11173
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q7946
[{'concept': 'Q11173'}, 'P138', 'Q6581097'] [{'concept': 'Q7946'}, 'P138', 'Q6581097'] [{'concept': 'Q11173'}, 'P138', 'Q6581097'] [{'concept': 'Q7946'}, 'P138', 'Q6581097']
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { { ?y property:P138 resource:Q6581097 . ?y rdf:type ontology:Q11173 } UNION { ?y property:P138 resource:Q6581097 . ?y rdf:type ontology:Q7946 } }
action count
action union
action filter_type
action find_reverse
entity male
relation named after
type chemical compound
action filter_type
action find_reverse
entity male
relation named after
type mineral
[{'concept': 'chemical compound'}, 'named after', 'male'] [{'concept': 'mineral'}, 'named after', 'male'] [{'concept': 'chemical compound'}, 'named after', 'male'] [{'concept': 'mineral'}, 'named after', 'male']
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { { ?y property:named_after resource:male . ?y rdf:type ontology:chemical_compound } UNION { ?y property:named_after resource:male . ?y rdf:type ontology:mineral } }
[]
chemical compound mineral
SYSTEM
8
Q19861020 Q18375263 Q19862060 Q19861231 Q19861203 Q4006570 Q3565842 Q19833301
(c(Q11173),P138,Q6581097) (c(Q7946),P138,Q6581097) (c(Q11173),P138,Q6581097) (c(Q7946),P138,Q6581097)
action count
action union
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q11173
action filter_type
action find_reverse
entity Q6581097
relation P138
type Q7946
[ANSWER]
[{'concept': 'Q11173'}, 'P138', 'Q6581097'] [{'concept': 'Q7946'}, 'P138', 'Q6581097'] [{'concept': 'Q11173'}, 'P138', 'Q6581097'] [{'concept': 'Q7946'}, 'P138', 'Q6581097']
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { { ?y property:P138 resource:Q6581097 . ?y rdf:type ontology:Q11173 } UNION { ?y property:P138 resource:Q6581097 . ?y rdf:type ontology:Q7946 } }
mendeleevite-(Ce) billwiseite witzkeite reynoldsite postite urusovite zirkelite carlosbarbosaite
8
action count
action union
action filter_type
action find_reverse
entity male
relation named after
type chemical compound
action filter_type
action find_reverse
entity male
relation named after
type mineral
[{'concept': 'chemical compound'}, 'named after', 'male'] [{'concept': 'mineral'}, 'named after', 'male'] [{'concept': 'chemical compound'}, 'named after', 'male'] [{'concept': 'mineral'}, 'named after', 'male']
SELECT DISTINCT ( COUNT ( ?y ) AS ?r ) WHERE { { ?y property:named_after resource:male . ?y rdf:type ontology:chemical_compound } UNION { ?y property:named_after resource:male . ?y rdf:type ontology:mineral } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q201670
P135
Q49773
USER
Which social movement was Paul Watson linked with ?
(Q201670,P135,c(Q49773))
action filter_type
action find
entity Q201670
relation P135
type Q49773
['Q201670', 'P135', {'concept': 'Q49773'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q49773 . resource:Q201670 property:P135 ?a }
Paul Watson
action filter_type
action find
entity Paul Watson
relation movement
type social movement
['Paul Watson', 'movement', {'concept': 'social movement'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:social_movement . resource:Paul_Watson property:movement ?a }
[]
social movement
Q8189417
SYSTEM
environmental movement
Q8189417
(Q201670,P135,c(Q49773))
action filter_type
action find
entity Q201670
relation P135
type Q49773
Paul Watson was linked to [ANSWER]
['Q201670', 'P135', {'concept': 'Q49773'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q49773 . resource:Q201670 property:P135 ?a }
environmental movement
Paul Watson was linked to environmental movement
environmental movement
action filter_type
action find
entity Paul Watson
relation movement
type social movement
['Paul Watson', 'movement', {'concept': 'social movement'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:social_movement . resource:Paul_Watson property:movement ?a }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3313682
P53
Q8436
USER
How many families do Mikhail Golitsyn belong to ?
(Q3313682,P53,c(Q8436))
action count
action filter_type
action find
entity Q3313682
relation P53
type Q8436
['Q3313682', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { resource:Q3313682 property:P53 ?y . ?y rdf:type ontology:Q8436 }
Mikhail Golitsyn
action count
action filter_type
action find
entity Mikhail Golitsyn
relation noble family
type family
['Mikhail Golitsyn', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { resource:Mikhail_Golitsyn property:noble_family ?y . ?y rdf:type ontology:family }
[]
family
SYSTEM
1
Q387559
(Q3313682,P53,c(Q8436))
action count
action filter_type
action find
entity Q3313682
relation P53
type Q8436
[ANSWER]
['Q3313682', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { resource:Q3313682 property:P53 ?y . ?y rdf:type ontology:Q8436 }
Galitzine
1
action count
action filter_type
action find
entity Mikhail Golitsyn
relation noble family
type family
['Mikhail Golitsyn', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) WHERE { resource:Mikhail_Golitsyn property:noble_family ?y . ?y rdf:type ontology:family }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q12632874
P53
Q8436
USER
And how about Elio Saraca?
(Q12632874,P53,c(Q8436))
action count
action filter_type
action find
entity Q12632874
relation P53
type Q8436
['Q12632874', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { resource:Q12632874 property:P53 ?u . ?u rdf:type ontology:Q8436 }
Elio Saraca
action count
action filter_type
action find
entity Elio Saraca
relation noble family
type family
['Elio Saraca', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { resource:Elio_Saraca property:noble_family ?u . ?u rdf:type ontology:family }
[]
family
SYSTEM
1
Q3950298
(Q12632874,P53,c(Q8436))
action count
action filter_type
action find
entity Q12632874
relation P53
type Q8436
[ANSWER]
['Q12632874', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { resource:Q12632874 property:P53 ?u . ?u rdf:type ontology:Q8436 }
Saraca
1
action count
action filter_type
action find
entity Elio Saraca
relation noble family
type family
['Elio Saraca', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ( COUNT ( ?u ) AS ?w ) WHERE { resource:Elio_Saraca property:noble_family ?u . ?u rdf:type ontology:family }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q2587652
Q8436
USER
And how about Konstanty Czartoryski?
(Q2587652,P53,c(Q8436))
action count
action filter_type
action find
entity Q2587652
relation P53
type Q8436
['Q2587652', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { resource:Q2587652 property:P53 ?a . ?a rdf:type ontology:Q8436 }
Konstanty Czartoryski
action count
action filter_type
action find
entity Konstanty Czartoryski
relation noble family
type family
['Konstanty Czartoryski', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { resource:Konstanty_Czartoryski property:noble_family ?a . ?a rdf:type ontology:family }
[]
family
SYSTEM
1
(Q2587652,P53,c(Q8436))
action count
action filter_type
action find
entity Q2587652
relation P53
type Q8436
[ANSWER]
['Q2587652', 'P53', {'concept': 'Q8436'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { resource:Q2587652 property:P53 ?a . ?a rdf:type ontology:Q8436 }
1
action count
action filter_type
action find
entity Konstanty Czartoryski
relation noble family
type family
['Konstanty Czartoryski', 'noble family', {'concept': 'family'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) WHERE { resource:Konstanty_Czartoryski property:noble_family ?a . ?a rdf:type ontology:family }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q816793
P1303
Q34379 Q502895
USER
Which musical instruments are played by greater number of people than Bendir ?
(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 Q816793
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { resource:Q816793 property:P1303 ?w . ?w rdf:type ontology:Q34379 } } . FILTER ( ?v > ?m ) . { SELECT DISTINCT ?f ( COUNT ( ?g ) AS ?v ) WHERE { ?f rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 . ?g property:P1303 ?f } GROUP BY ?f } }
Bendir
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Bendir
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { resource:Bendir property:instrument ?w . ?w rdf:type ontology:musical_instrument } } . FILTER ( ?v > ?m ) . { SELECT DISTINCT ?f ( COUNT ( ?g ) AS ?v ) WHERE { ?f rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name . ?g property:instrument ?f } GROUP BY ?f } }
[]
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 Q816793
relation P1303
type Q34379
[ANSWERS] are played by greater number of people than Bendir
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { resource:Q816793 property:P1303 ?w . ?w rdf:type ontology:Q34379 } } . FILTER ( ?v > ?m ) . { SELECT DISTINCT ?f ( COUNT ( ?g ) AS ?v ) WHERE { ?f rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 . ?g property:P1303 ?f } GROUP BY ?f } }
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 are played by greater number of people than Bendir
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 Bendir
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?m ) WHERE { resource:Bendir property:instrument ?w . ?w rdf:type ontology:musical_instrument } } . FILTER ( ?v > ?m ) . { SELECT DISTINCT ?f ( COUNT ( ?g ) AS ?v ) WHERE { ?f rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name . ?g property:instrument ?f } GROUP BY ?f } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q2587652 Q7904281
P22
Q502895
USER
How many people have Konstanty Czartoryski or Wassilko von Serecki as a father ?
(c(Q502895),P22,Q2587652) (c(Q502895),P22,Q7904281)
action count
action union
action filter_type
action find_reverse
entity Q2587652
relation P22
type Q502895
action filter_type
action find_reverse
entity Q7904281
relation P22
type Q502895
[{'concept': 'Q502895'}, 'P22', 'Q2587652'] [{'concept': 'Q502895'}, 'P22', 'Q7904281']
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { { ?p property:P22 resource:Q7904281 . ?p rdf:type ontology:Q502895 } UNION { ?p rdf:type ontology:Q502895 . ?p property:P22 resource:Q2587652 } }
Konstanty Czartoryski Wassilko von Serecki
action count
action union
action filter_type
action find_reverse
entity Konstanty Czartoryski
relation father
type common name
action filter_type
action find_reverse
entity Wassilko von Serecki
relation father
type common name
[{'concept': 'common name'}, 'father', 'Konstanty Czartoryski'] [{'concept': 'common name'}, 'father', 'Wassilko von Serecki']
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { { ?p property:father resource:Wassilko_von_Serecki . ?p rdf:type ontology:common_name } UNION { ?p rdf:type ontology:common_name . ?p property:father resource:Konstanty_Czartoryski } }
[]
common name
SYSTEM
2
Q3278585 Q1703585
(c(Q502895),P22,Q2587652) (c(Q502895),P22,Q7904281)
action count
action union
action filter_type
action find_reverse
entity Q2587652
relation P22
type Q502895
action filter_type
action find_reverse
entity Q7904281
relation P22
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P22', 'Q2587652'] [{'concept': 'Q502895'}, 'P22', 'Q7904281']
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { { ?p property:P22 resource:Q7904281 . ?p rdf:type ontology:Q502895 } UNION { ?p rdf:type ontology:Q502895 . ?p property:P22 resource:Q2587652 } }
Wasyl Czartoryski Jordaki Wassilko von Serecki
2
action count
action union
action filter_type
action find_reverse
entity Konstanty Czartoryski
relation father
type common name
action filter_type
action find_reverse
entity Wassilko von Serecki
relation father
type common name
[{'concept': 'common name'}, 'father', 'Konstanty Czartoryski'] [{'concept': 'common name'}, 'father', 'Wassilko von Serecki']
SELECT DISTINCT ( COUNT ( ?p ) AS ?e ) WHERE { { ?p property:father resource:Wassilko_von_Serecki . ?p rdf:type ontology:common_name } UNION { ?p rdf:type ontology:common_name . ?p property:father resource:Konstanty_Czartoryski } }
[]