Simple Question (Direct)
Simple Question
Q5202502
P641
Q349
USER
Which sport was César Augusto Hermenegildo a part of ?
(Q5202502,P641,c(Q349))
action filter_type
action find
entity Q5202502
relation P641
type Q349
['Q5202502', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q349 . resource:Q5202502 property:P641 ?l }
César Augusto Hermenegildo
action filter_type
action find
entity César Augusto Hermenegildo
relation sport
type sport
['César Augusto Hermenegildo', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sport . resource:César_Augusto_Hermenegildo property:sport ?l }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q5202502,P641,c(Q349))
action filter_type
action find
entity Q5202502
relation P641
type Q349
The [ANSWER] was César Augusto Hermenegildo a part of
['Q5202502', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q349 . resource:Q5202502 property:P641 ?l }
association football
The association football was César Augusto Hermenegildo a part of
association football
action filter_type
action find
entity César Augusto Hermenegildo
relation sport
type sport
['César Augusto Hermenegildo', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:sport . resource:César_Augusto_Hermenegildo property:sport ?l }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5202502
P21
Q290
USER
Which sex does that person possess ?
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q5202502
relation P21
type Q290
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q5202502 property:P21 ?x . ?x rdf:type ontology:Q290 }
César Augusto Hermenegildo
action filter_type
action find
entity César Augusto Hermenegildo
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:César_Augusto_Hermenegildo property:gender ?x . ?x rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q2736,P21,c(Q290))
action filter_type
action find
entity Q5202502
relation P21
type Q290
That person possesses a [ANSWER]
['Q2736', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?x WHERE { resource:Q5202502 property:P21 ?x . ?x rdf:type ontology:Q290 }
male
That person possesses a male
male
action filter_type
action find
entity César Augusto Hermenegildo
relation gender
type sex
['association football', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?x WHERE { resource:César_Augusto_Hermenegildo property:gender ?x . ?x rdf:type ontology:sex }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q483994
P1303
Q34379 Q502895
USER
How many musical instruments can more number of people perform with than Kazoo ?
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q483994
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { FILTER ( ?z > ?o ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { resource:Q483994 property:P1303 ?k . ?k rdf:type ontology:Q34379 } } . { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?z ) WHERE { ?l property:P1303 ?j . ?j rdf:type ontology:Q34379 . ?l rdf:type ontology:Q502895 } GROUP BY ?j } }
Kazoo
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Kazoo
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { FILTER ( ?z > ?o ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { resource:Kazoo property:instrument ?k . ?k rdf:type ontology:musical_instrument } } . { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?z ) WHERE { ?l property:instrument ?j . ?j rdf:type ontology:musical_instrument . ?l rdf:type ontology:common_name } GROUP BY ?j } }
[]
musical instrument common name
SYSTEM
22
Q80284 Q46185 Q80019 Q2563510 Q5994 Q81982 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q213100 Q626035 Q742180 Q1444 Q220971 Q128309 Q726306 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q483994
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { FILTER ( ?z > ?o ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { resource:Q483994 property:P1303 ?k . ?k rdf:type ontology:Q34379 } } . { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?z ) WHERE { ?l property:P1303 ?j . ?j rdf:type ontology:Q34379 . ?l rdf:type ontology:Q502895 } GROUP BY ?j } }
viola bass guitar double bass steel-string acoustic guitar piano harpsichord vibraphone timpani trumpet cello violin harmonium upright piano tabla glockenspiel viola d'amore organ marimba drum kit erhu electronic keyboard drum
22
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Kazoo
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?m ) WHERE { FILTER ( ?z > ?o ) . { SELECT DISTINCT ( COUNT ( ?k ) AS ?o ) WHERE { resource:Kazoo property:instrument ?k . ?k rdf:type ontology:musical_instrument } } . { SELECT DISTINCT ?j ( COUNT ( ?l ) AS ?z ) WHERE { ?l property:instrument ?j . ?j rdf:type ontology:musical_instrument . ?l rdf:type ontology:common_name } GROUP BY ?j } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5202502
P19
Q56061
USER
Which administrative territory is the place of birth of César Augusto Hermenegildo ?
(Q5202502,P19,c(Q56061))
action filter_type
action find
entity Q5202502
relation P19
type Q56061
['Q5202502', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . resource:Q5202502 property:P19 ?f }
César Augusto Hermenegildo
action filter_type
action find
entity César Augusto Hermenegildo
relation place of birth
type administrative territorial entity
['César Augusto Hermenegildo', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:César_Augusto_Hermenegildo property:place_of_birth ?f }
[]
administrative territorial entity
Q1800695
SYSTEM
Monte Azul Paulista
Q1800695
(Q5202502,P19,c(Q56061))
action filter_type
action find
entity Q5202502
relation P19
type Q56061
[ANSWER] is the place of birth of César Augusto Hermenegildo
['Q5202502', 'P19', {'concept': 'Q56061'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q56061 . resource:Q5202502 property:P19 ?f }
Monte Azul Paulista
Monte Azul Paulista is the place of birth of César Augusto Hermenegildo
Monte Azul Paulista
action filter_type
action find
entity César Augusto Hermenegildo
relation place of birth
type administrative territorial entity
['César Augusto Hermenegildo', 'place of birth', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:administrative_territorial_entity . resource:César_Augusto_Hermenegildo property:place_of_birth ?f }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5202502
P106
Q12737077
USER
What does that person do for a living ?
(Q1800695,P106,c(Q12737077))
action filter_type
action find
entity Q5202502
relation P106
type Q12737077
['Q1800695', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q12737077 . resource:Q5202502 property:P106 ?q }
César Augusto Hermenegildo
action filter_type
action find
entity César Augusto Hermenegildo
relation occupation
type occupation
['Monte Azul Paulista', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:occupation . resource:César_Augusto_Hermenegildo property:occupation ?q }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q1800695,P106,c(Q12737077))
action filter_type
action find
entity Q5202502
relation P106
type Q12737077
Player [ANSWER] that person does for a living
['Q1800695', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q12737077 . resource:Q5202502 property:P106 ?q }
association football player
Player association football player that person does for a living
association football player
action filter_type
action find
entity César Augusto Hermenegildo
relation occupation
type occupation
['Monte Azul Paulista', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:occupation . resource:César_Augusto_Hermenegildo property:occupation ?q }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P101
Q12737077 Q43229 Q502895
USER
How many occupations are the field of work of more number of organizations or people than that occupation ?
(c(Q43229)|c(Q502895),P101,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q43229
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q937857
relation P101
type Q43229
type Q502895
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?x ) WHERE { { ?i property:P101 ?n . ?n rdf:type ontology:Q12737077 . ?i rdf:type ontology:Q43229 } UNION { ?i property:P101 ?n . ?n rdf:type ontology:Q12737077 . ?i rdf:type ontology:Q502895 } } GROUP BY ?n } . FILTER ( ?x > ?r ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { ?o property:P101 resource:Q937857 . { VALUES ( ?v ) { ( ontology:Q43229 ) ( ontology:Q502895 ) } . ?o rdf:type ?v } } } }
action count
action greater
action union
action find_reverse_tuple_counts
relation field of work
type occupation
type organization
action find_reverse_tuple_counts
relation field of work
type occupation
type common name
action count
action filter_multi_types
action find_reverse
entity association football player
relation field of work
type organization
type common name
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?x ) WHERE { { ?i property:field_of_work ?n . ?n rdf:type ontology:occupation . ?i rdf:type ontology:organization } UNION { ?i property:field_of_work ?n . ?n rdf:type ontology:occupation . ?i rdf:type ontology:common_name } } GROUP BY ?n } . FILTER ( ?x > ?r ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { ?o property:field_of_work resource:association_football_player . { VALUES ( ?v ) { ( ontology:organization ) ( ontology:common_name ) } . ?o rdf:type ?v } } } }
[]
occupation organization common name
SYSTEM
28
Q6625963 Q177220 Q39631 Q33999 Q706364 Q17156912 Q333634 Q183888 Q593644 Q81096 Q170790 Q2405480 Q1930187 Q212238 Q131524 Q1172458 Q169470 Q201788 Q483501 Q1114448 Q1028181 Q36834 Q245068 Q16009483 Q1607826 Q639669 Q11774891 Q6981670
(c(Q43229)|c(Q502895),P101,c(Q12737077))
action count
action greater
action union
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q43229
action find_reverse_tuple_counts
relation P101
type Q12737077
type Q502895
action count
action filter_multi_types
action find_reverse
entity Q937857
relation P101
type Q43229
type Q502895
[ANSWER]
[[{'concept': 'Q43229'}, {'concept': 'Q502895'}], 'P101', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?x ) WHERE { { ?i property:P101 ?n . ?n rdf:type ontology:Q12737077 . ?i rdf:type ontology:Q43229 } UNION { ?i property:P101 ?n . ?n rdf:type ontology:Q12737077 . ?i rdf:type ontology:Q502895 } } GROUP BY ?n } . FILTER ( ?x > ?r ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { ?o property:P101 resource:Q937857 . { VALUES ( ?v ) { ( ontology:Q43229 ) ( ontology:Q502895 ) } . ?o rdf:type ?v } } } }
novelist singer physician actor art director malariologist translator software developer chemist engineer mathematician voice actor journalist civil servant entrepreneur muhaddith physicist historian artist cartoonist painter composer comedian sideshow performer editor musician ice hockey player Navajo weaving
28
action count
action greater
action union
action find_reverse_tuple_counts
relation field of work
type occupation
type organization
action find_reverse_tuple_counts
relation field of work
type occupation
type common name
action count
action filter_multi_types
action find_reverse
entity association football player
relation field of work
type organization
type common name
[[{'concept': 'organization'}, {'concept': 'common name'}], 'field of work', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?w ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?i ) AS ?x ) WHERE { { ?i property:field_of_work ?n . ?n rdf:type ontology:occupation . ?i rdf:type ontology:organization } UNION { ?i property:field_of_work ?n . ?n rdf:type ontology:occupation . ?i rdf:type ontology:common_name } } GROUP BY ?n } . FILTER ( ?x > ?r ) . { SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { ?o property:field_of_work resource:association_football_player . { VALUES ( ?v ) { ( ontology:organization ) ( ontology:common_name ) } . ?o rdf:type ?v } } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q15709879 Q1792379
USER
How many occupations are depicted in atleast 1 artwork series or art genres ?
(c(Q15709879)|c(Q1792379),P180,c(Q12737077))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
value 1
[[{'concept': 'Q15709879'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { FILTER ( ?w >= 1 ) . { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?w ) WHERE { ?v rdf:type ?q . VALUES ( ?q ) { ( ontology:Q15709879 ) ( ontology:Q1792379 ) } } GROUP BY ?b } }
action count
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
value 1
[[{'concept': 'artwork series'}, {'concept': 'art genre'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { FILTER ( ?w >= 1 ) . { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?w ) WHERE { ?v rdf:type ?q . VALUES ( ?q ) { ( ontology:artwork_series ) ( ontology:art_genre ) } } GROUP BY ?b } }
[]
occupation artwork series art genre
SYSTEM
9
Q2079936 Q47064 Q805221 Q12059906 Q622630 Q4991371 Q2730732 Q838811 Q39631
(c(Q15709879)|c(Q1792379),P180,c(Q12737077))
action count
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q1792379
value 1
[ANSWER]
[[{'concept': 'Q15709879'}, {'concept': 'Q1792379'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { FILTER ( ?w >= 1 ) . { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?w ) WHERE { ?v rdf:type ?q . VALUES ( ?q ) { ( ontology:Q15709879 ) ( ontology:Q1792379 ) } } GROUP BY ?b } }
king of marksmen military personnel ballet dancer herder odalisque soldier equestrian peasant physician
9
action count
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
action find_reverse_tuple_counts
relation depicts
type occupation
type art genre
value 1
[[{'concept': 'artwork series'}, {'concept': 'art genre'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?t ) WHERE { FILTER ( ?w >= 1 ) . { SELECT DISTINCT ?b ( COUNT ( ?v ) AS ?w ) WHERE { ?v rdf:type ?q . VALUES ( ?q ) { ( ontology:artwork_series ) ( ontology:art_genre ) } } GROUP BY ?b } }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P180
Q12737077 Q2342494 Q17638008
USER
Which occupations are expressed in max number of collectables and game equipment ?
(c(Q2342494)|c(Q17638008),P180,c(Q12737077))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
[[{'concept': 'Q2342494'}, {'concept': 'Q17638008'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?o ) { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?d ) WHERE { ?w rdf:type ?t . VALUES ( ?t ) { ( ontology:Q2342494 ) ( ontology:Q17638008 ) } } GROUP BY ?y } } . { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?k ) WHERE { { ?x property:P180 ?e . ?e rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q17638008 } UNION { ?e rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q2342494 . ?x property:P180 ?e } } GROUP BY ?e } . FILTER ( ?k = ?o ) }
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
[[{'concept': 'collectable'}, {'concept': 'game equipment'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?o ) { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?d ) WHERE { ?w rdf:type ?t . VALUES ( ?t ) { ( ontology:collectable ) ( ontology:game_equipment ) } } GROUP BY ?y } } . { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?k ) WHERE { { ?x property:depicts ?e . ?e rdf:type ontology:occupation . ?x rdf:type ontology:game_equipment } UNION { ?e rdf:type ontology:occupation . ?x rdf:type ontology:collectable . ?x property:depicts ?e } } GROUP BY ?e } . FILTER ( ?k = ?o ) }
[]
occupation collectable game equipment
Q12097
SYSTEM
king
Q12097
(c(Q2342494)|c(Q17638008),P180,c(Q12737077))
action argmax
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
[ANSWER] is expressed in max number of collectables and game equipment
[[{'concept': 'Q2342494'}, {'concept': 'Q17638008'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?o ) { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?d ) WHERE { ?w rdf:type ?t . VALUES ( ?t ) { ( ontology:Q2342494 ) ( ontology:Q17638008 ) } } GROUP BY ?y } } . { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?k ) WHERE { { ?x property:P180 ?e . ?e rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q17638008 } UNION { ?e rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q2342494 . ?x property:P180 ?e } } GROUP BY ?e } . FILTER ( ?k = ?o ) }
king
King is expressed in max number of collectables and game equipment
king
action argmax
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type collectable
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
[[{'concept': 'collectable'}, {'concept': 'game equipment'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { { SELECT DISTINCT ( MAX ( ?d ) AS ?o ) { SELECT DISTINCT ?y ( COUNT ( ?w ) AS ?d ) WHERE { ?w rdf:type ?t . VALUES ( ?t ) { ( ontology:collectable ) ( ontology:game_equipment ) } } GROUP BY ?y } } . { SELECT DISTINCT ?e ( COUNT ( ?x ) AS ?k ) WHERE { { ?x property:depicts ?e . ?e rdf:type ontology:occupation . ?x rdf:type ontology:game_equipment } UNION { ?e rdf:type ontology:occupation . ?x rdf:type ontology:collectable . ?x property:depicts ?e } } GROUP BY ?e } . FILTER ( ?k = ?o ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q5202502 Q684689
P106
Q12737077
USER
How many occupations are the professions of César Augusto Hermenegildo or Beethoven Frieze ?
(Q5202502,P106,c(Q12737077)) (Q684689,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q5202502
relation P106
type Q12737077
action filter_type
action find
entity Q684689
relation P106
type Q12737077
['Q5202502', 'P106', {'concept': 'Q12737077'}] ['Q684689', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { VALUES ( ?i ) { ( resource:Q5202502 ) ( resource:Q684689 ) } . ?i property:P106 ?s }
César Augusto Hermenegildo Beethoven Frieze
action count
action union
action filter_type
action find
entity César Augusto Hermenegildo
relation occupation
type occupation
action filter_type
action find
entity Beethoven Frieze
relation occupation
type occupation
['César Augusto Hermenegildo', 'occupation', {'concept': 'occupation'}] ['Beethoven Frieze', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { VALUES ( ?i ) { ( resource:César_Augusto_Hermenegildo ) ( resource:Beethoven_Frieze ) } . ?i property:occupation ?s }
[]
occupation
SYSTEM
2
Q36834 Q937857
(Q5202502,P106,c(Q12737077)) (Q684689,P106,c(Q12737077))
action count
action union
action filter_type
action find
entity Q5202502
relation P106
type Q12737077
action filter_type
action find
entity Q684689
relation P106
type Q12737077
[ANSWER]
['Q5202502', 'P106', {'concept': 'Q12737077'}] ['Q684689', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { VALUES ( ?i ) { ( resource:Q5202502 ) ( resource:Q684689 ) } . ?i property:P106 ?s }
composer association football player
2
action count
action union
action filter_type
action find
entity César Augusto Hermenegildo
relation occupation
type occupation
action filter_type
action find
entity Beethoven Frieze
relation occupation
type occupation
['César Augusto Hermenegildo', 'occupation', {'concept': 'occupation'}] ['Beethoven Frieze', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?h ) WHERE { VALUES ( ?i ) { ( resource:César_Augusto_Hermenegildo ) ( resource:Beethoven_Frieze ) } . ?i property:occupation ?s }
[]