Simple Question (Direct)
Simple Question
Q6791713
P641
Q349
USER
What did Matti Reunamäki participate in ?
(Q6791713,P641,c(Q349))
action filter_type
action find
entity Q6791713
relation P641
type Q349
['Q6791713', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q6791713 property:P641 ?g . ?g rdf:type ontology:Q349 }
Matti Reunamäki
action filter_type
action find
entity Matti Reunamäki
relation sport
type sport
['Matti Reunamäki', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Matti_Reunamäki property:sport ?g . ?g rdf:type ontology:sport }
[]
sport
Q41466
SYSTEM
ice hockey
Q41466
(Q6791713,P641,c(Q349))
action filter_type
action find
entity Q6791713
relation P641
type Q349
Matti Reunamäki participated in [ANSWER]
['Q6791713', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?g WHERE { resource:Q6791713 property:P641 ?g . ?g rdf:type ontology:Q349 }
ice hockey
Matti Reunamäki participated in ice hockey
ice hockey
action filter_type
action find
entity Matti Reunamäki
relation sport
type sport
['Matti Reunamäki', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?g WHERE { resource:Matti_Reunamäki property:sport ?g . ?g rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6791713
P1344
Q15900616
USER
What did Matti Reunamäki participate in ?
(Q6791713,P1344,c(Q15900616))
action filter_type
action find
entity Q6791713
relation P1344
type Q15900616
['Q6791713', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15900616 . resource:Q6791713 property:P1344 ?q }
Matti Reunamäki
action filter_type
action find
entity Matti Reunamäki
relation participant of
type event sequence
['Matti Reunamäki', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:event_sequence . resource:Matti_Reunamäki property:participant_of ?q }
[]
event sequence
Q9636 Q9642
SYSTEM
1964 Winter Olympics, 1968 Winter Olympics
Q9636 Q9642
(Q6791713,P1344,c(Q15900616))
action filter_type
action find
entity Q6791713
relation P1344
type Q15900616
Matti Reunamäki participated in [ANSWERS]
['Q6791713', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q15900616 . resource:Q6791713 property:P1344 ?q }
1964 Winter Olympics 1968 Winter Olympics
Matti Reunamäki participated in 1964 Winter Olympics and 1968 Winter Olympics
1964 Winter Olympics 1968 Winter Olympics
action filter_type
action find
entity Matti Reunamäki
relation participant of
type event sequence
['Matti Reunamäki', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:event_sequence . resource:Matti_Reunamäki property:participant_of ?q }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P366
Q349 Q1875621 Q811979
USER
How many sports are the main uses of approximately 1 aircraft classes and architectural structures ?
(c(Q1875621)|c(Q811979),P366,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q1875621
action find_reverse_tuple_counts
relation P366
type Q349
type Q811979
value 1
[[{'concept': 'Q1875621'}, {'concept': 'Q811979'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) ?l WHERE { { ?a property:P366 ?l . ?l rdf:type ontology:Q349 . ?a rdf:type ontology:Q1875621 } UNION { ?a property:P366 ?l . ?a rdf:type ontology:Q811979 . ?l rdf:type ontology:Q349 } } GROUP BY ?l } . FILTER ( ?y = 1 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type aircraft class
action find_reverse_tuple_counts
relation use
type sport
type architectural structure
value 1
[[{'concept': 'aircraft class'}, {'concept': 'architectural structure'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) ?l WHERE { { ?a property:use ?l . ?l rdf:type ontology:sport . ?a rdf:type ontology:aircraft_class } UNION { ?a property:use ?l . ?a rdf:type ontology:architectural_structure . ?l rdf:type ontology:sport } } GROUP BY ?l } . FILTER ( ?y = 1 ) }
[]
sport aircraft class architectural structure
SYSTEM
6
Q5372 Q8418 Q1734 Q624161 Q1345388 Q206763
(c(Q1875621)|c(Q811979),P366,c(Q349))
action count
action approx
action union
action find_reverse_tuple_counts
relation P366
type Q349
type Q1875621
action find_reverse_tuple_counts
relation P366
type Q349
type Q811979
value 1
[ANSWER]
[[{'concept': 'Q1875621'}, {'concept': 'Q811979'}], 'P366', {'concept': 'Q349'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) ?l WHERE { { ?a property:P366 ?l . ?l rdf:type ontology:Q349 . ?a rdf:type ontology:Q1875621 } UNION { ?a property:P366 ?l . ?a rdf:type ontology:Q811979 . ?l rdf:type ontology:Q349 } } GROUP BY ?l } . FILTER ( ?y = 1 ) }
basketball handball volleyball gliding greyhound racing floorball
6
action count
action approx
action union
action find_reverse_tuple_counts
relation use
type sport
type aircraft class
action find_reverse_tuple_counts
relation use
type sport
type architectural structure
value 1
[[{'concept': 'aircraft class'}, {'concept': 'architectural structure'}], 'use', {'concept': 'sport'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?r ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?y ) ?l WHERE { { ?a property:use ?l . ?l rdf:type ontology:sport . ?a rdf:type ontology:aircraft_class } UNION { ?a property:use ?l . ?a rdf:type ontology:architectural_structure . ?l rdf:type ontology:sport } } GROUP BY ?l } . FILTER ( ?y = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments do atleast 2311 people know to play ?
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2311
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?i ) AS ?w ) WHERE { ?i property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 } GROUP BY ?d } . FILTER ( ?w >= 2311 ) }
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2311
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?i ) AS ?w ) WHERE { ?i property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name } GROUP BY ?d } . FILTER ( ?w >= 2311 ) }
[]
musical instrument common name
Q5994 Q8355 Q1444
SYSTEM
piano, violin, organ
Q5994 Q8355 Q1444
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2311
Atleast 2311 people know about [ANSWERS]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?i ) AS ?w ) WHERE { ?i property:P1303 ?d . ?d rdf:type ontology:Q34379 . ?i rdf:type ontology:Q502895 } GROUP BY ?d } . FILTER ( ?w >= 2311 ) }
piano violin organ
Atleast 2311 people know about piano, violin and organ
piano violin organ
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2311
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?i ) AS ?w ) WHERE { ?i property:instrument ?d . ?d rdf:type ontology:musical_instrument . ?i rdf:type ontology:common_name } GROUP BY ?d } . FILTER ( ?w >= 2311 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q5994 Q8355 Q1444
P870
Q838948
USER
Which works of art employs those musical instruments as musical instrument ?
(c(Q838948),P870,Q5994) (c(Q838948),P870,Q8355) (c(Q838948),P870,Q1444)
action filter_type
action find_reverse
entity prev_answer
relation P870
type Q838948
[{'concept': 'Q838948'}, 'P870', 'Q5994'] [{'concept': 'Q838948'}, 'P870', 'Q8355'] [{'concept': 'Q838948'}, 'P870', 'Q1444']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q838948 . VALUES ( ?h ) { ( resource:Q5994 ) ( resource:Q8355 ) ( resource:Q1444 ) } . ?z property:P870 ?h }
piano violin organ
action filter_type
action find_reverse
entity prev_answer
relation instrumentation
type work of art
[{'concept': 'work of art'}, 'instrumentation', 'piano'] [{'concept': 'work of art'}, 'instrumentation', 'violin'] [{'concept': 'work of art'}, 'instrumentation', 'organ']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:work_of_art . VALUES ( ?h ) { ( resource:piano ) ( resource:violin ) ( resource:organ ) } . ?z property:instrumentation ?h }
[]
work of art
Q7580019 Q2603975 Q346741
SYSTEM
Sposalizio, Twelve Variations on "Ah vous dirai-je, Maman", Adagio in G minor
Q7580019 Q5553745 Q1478502 Q166550 Q2603975 Q2673530 Q852027 Q3231600 Q2112881 Q1677377 Q2974174 Q23199364 Q848915 Q346741
(c(Q838948),P870,Q5994) (c(Q838948),P870,Q8355) (c(Q838948),P870,Q1444)
action filter_type
action find_reverse
entity prev_answer
relation P870
type Q838948
[ANSWERS] employ those musical instruments as musical instrument
[{'concept': 'Q838948'}, 'P870', 'Q5994'] [{'concept': 'Q838948'}, 'P870', 'Q8355'] [{'concept': 'Q838948'}, 'P870', 'Q1444']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q838948 . VALUES ( ?h ) { ( resource:Q5994 ) ( resource:Q8355 ) ( resource:Q1444 ) } . ?z property:P870 ?h }
Sposalizio Gesänge der Frühe Variations sérieuses Piano Concerto No. 0 Twelve Variations on "Ah vous dirai-je, Maman" Salut d'Amour impromptu Les Cloches de Genève Vox Balaenae funeral march Circus Galop In the village Double Concerto Adagio in G minor
Sposalizio, Twelve Variations on "Ah vous dirai-je, Maman" and Adagio in G minor employ those musical instruments as musical instrument
Sposalizio Twelve Variations on "Ah vous dirai-je, Maman" Adagio in G minor
action filter_type
action find_reverse
entity prev_answer
relation instrumentation
type work of art
[{'concept': 'work of art'}, 'instrumentation', 'piano'] [{'concept': 'work of art'}, 'instrumentation', 'violin'] [{'concept': 'work of art'}, 'instrumentation', 'organ']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:work_of_art . VALUES ( ?h ) { ( resource:piano ) ( resource:violin ) ( resource:organ ) } . ?z property:instrumentation ?h }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7580019
P86
Q502895
USER
Who did the compostion for that work of art ?
(Q7580019,P86,c(Q502895))
action filter_type
action find
entity Q7580019
relation P86
type Q502895
['Q7580019', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q7580019 property:P86 ?u . ?u rdf:type ontology:Q502895 }
Sposalizio
action filter_type
action find
entity Sposalizio
relation composer
type common name
['Sposalizio', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Sposalizio property:composer ?u . ?u rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q346741
SYSTEM
Did you mean Adagio in G minor ?
Q7580019 Q2603975 Q346741
(Q7580019,P86,c(Q502895)) (Q2603975,P86,c(Q502895)) (Q346741,P86,c(Q502895))
[ANSWER]
['Q7580019', 'P86', {'concept': 'Q502895'}] ['Q2603975', 'P86', {'concept': 'Q502895'}] ['Q346741', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q7580019 property:P86 ?u . ?u rdf:type ontology:Q502895 }
Sposalizio Twelve Variations on "Ah vous dirai-je, Maman" Adagio in G minor
Did you mean Adagio in G minor ?
Adagio in G minor
['Sposalizio', 'composer', {'concept': 'common name'}] ['Twelve Variations on "Ah vous dirai-je, Maman"', 'composer', {'concept': 'common name'}] ['Adagio in G minor', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Sposalizio property:composer ?u . ?u rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Sposalizio. Could you tell me the answer for that?
(Q7580019,P86,c(Q502895))
Q7580019
['Q7580019', 'P86', {'concept': 'Q502895'}]
['Sposalizio', 'composer', {'concept': 'common name'}]
[]
Q41309
SYSTEM
Franz Liszt
Q41309
(Q7580019,P86,c(Q502895))
action filter_type
action find
entity Q7580019
relation P86
type Q502895
[ANSWER] did the compostion for that work of art
['Q7580019', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?u WHERE { resource:Q7580019 property:P86 ?u . ?u rdf:type ontology:Q502895 }
Franz Liszt
Franz Liszt did the compostion for that work of art
Franz Liszt
action filter_type
action find
entity Sposalizio
relation composer
type common name
['Sposalizio', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?u WHERE { resource:Sposalizio property:composer ?u . ?u rdf:type ontology:common_name }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q527958 Q2603975
P86
Q502895
USER
Which people composed Twelve Variations on "Ah vous dirai-je, Maman" or Andy Warhol's Frankenstein ?
OR((Q2603975,P86,c(Q502895)), (Q527958,P86,c(Q502895)))
action filter_type
action union
action find
entity Q2603975
relation P86
action find
entity Q527958
relation P86
type Q502895
{'OR': [['Q2603975', 'P86', {'concept': 'Q502895'}], ['Q527958', 'P86', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q2603975 property:P86 ?l } UNION { resource:Q527958 property:P86 ?l } } . ?l rdf:type ontology:Q502895 }
Andy Warhol's Frankenstein Twelve Variations on "Ah vous dirai-je, Maman"
action filter_type
action union
action find
entity Twelve Variations on "Ah vous dirai-je, Maman"
relation composer
action find
entity Andy Warhol's Frankenstein
relation composer
type common name
{'OR': [['Twelve Variations on "Ah vous dirai-je, Maman"', 'composer', {'concept': 'common name'}], ["Andy Warhol's Frankenstein", 'composer', {'concept': 'common name'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Twelve_Variations_on_"Ah_vous_dirai-je,_Maman" property:composer ?l } UNION { resource:Andy_Warhol's_Frankenstein property:composer ?l } } . ?l rdf:type ontology:common_name }
[]
common name
Q254 Q18599329
SYSTEM
Wolfgang Amadeus Mozart, Claudio Gizzi
Q254 Q18599329
OR((Q2603975,P86,c(Q502895)), (Q527958,P86,c(Q502895)))
action filter_type
action union
action find
entity Q2603975
relation P86
action find
entity Q527958
relation P86
type Q502895
[ANSWERS] composed Twelve Variations on "Ah vous dirai-je, Maman" or Andy Warhol's Frankenstein
{'OR': [['Q2603975', 'P86', {'concept': 'Q502895'}], ['Q527958', 'P86', {'concept': 'Q502895'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q2603975 property:P86 ?l } UNION { resource:Q527958 property:P86 ?l } } . ?l rdf:type ontology:Q502895 }
Wolfgang Amadeus Mozart Claudio Gizzi
Wolfgang Amadeus Mozart and Claudio Gizzi composed Twelve Variations on "Ah vous dirai-je, Maman" or Andy Warhol's Frankenstein
Wolfgang Amadeus Mozart Claudio Gizzi
action filter_type
action union
action find
entity Twelve Variations on "Ah vous dirai-je, Maman"
relation composer
action find
entity Andy Warhol's Frankenstein
relation composer
type common name
{'OR': [['Twelve Variations on "Ah vous dirai-je, Maman"', 'composer', {'concept': 'common name'}], ["Andy Warhol's Frankenstein", 'composer', {'concept': 'common name'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Twelve_Variations_on_"Ah_vous_dirai-je,_Maman" property:composer ?l } UNION { resource:Andy_Warhol's_Frankenstein property:composer ?l } } . ?l rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q6145020
P248
Q2342494 Q4894405 Q502895
USER
How many people have been referred in lesser number of collectables or journalism genres than James Walker ?
(c(Q502895),P248,c(Q2342494)|c(Q4894405))
action count
action less
action union
action find_tuple_counts
relation P248
type Q502895
type Q2342494
action find_tuple_counts
relation P248
type Q502895
type Q4894405
action count
action filter_multi_types
action find
entity Q6145020
relation P248
type Q2342494
type Q4894405
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q2342494'}, {'concept': 'Q4894405'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { resource:Q6145020 property:P248 ?v . { { ?v rdf:type ontology:Q2342494 } UNION { ?v rdf:type ontology:Q4894405 } } } } . FILTER ( ?o < ?e ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) ?w WHERE { { ?w property:P248 ?f . ?w rdf:type ontology:Q502895 . ?f rdf:type ontology:Q2342494 } UNION { ?w property:P248 ?f . ?w rdf:type ontology:Q502895 . ?f rdf:type ontology:Q4894405 } } GROUP BY ?w } }
James Walker
action count
action less
action union
action find_tuple_counts
relation stated in
type common name
type collectable
action find_tuple_counts
relation stated in
type common name
type journalism genre
action count
action filter_multi_types
action find
entity James Walker
relation stated in
type collectable
type journalism genre
[{'concept': 'common name'}, 'stated in', [{'concept': 'collectable'}, {'concept': 'journalism genre'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { resource:James_Walker property:stated_in ?v . { { ?v rdf:type ontology:collectable } UNION { ?v rdf:type ontology:journalism_genre } } } } . FILTER ( ?o < ?e ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) ?w WHERE { { ?w property:stated_in ?f . ?w rdf:type ontology:common_name . ?f rdf:type ontology:collectable } UNION { ?w property:stated_in ?f . ?w rdf:type ontology:common_name . ?f rdf:type ontology:journalism_genre } } GROUP BY ?w } }
[]
collectable journalism genre common name
SYSTEM
365
Q16859599 Q6130307 Q6255166 Q6255164 Q5239877 Q5239876 Q5144961 Q5239879 Q16210814 Q16013737 Q7342713 Q5239896 Q5239895 Q2699786 Q18529684 Q6237327 Q6237320 Q6237323 Q8017696 Q6237329 Q5232852 Q16011002 Q17402519 Q6257923 Q6255435 Q6262994 Q6262996 Q6262991 Q15456236 Q6249889 Q6255181 Q6255184 Q15996304 Q18527481 Q16225368 Q6244753 Q861695 Q6236108 Q6262693 Q16730720 Q6236103 Q6242872 Q6260673 Q6260669 Q6260667 Q16062974 Q18546647 Q6236083 Q6236081 Q6221407 Q5240345 Q16065533 Q9069823 Q7351119 Q1626914 Q6145026 Q5606266 Q5606264 Q5606262 Q5606263 Q18546633 Q18546632 Q5606268 Q16857953 Q16849502 Q16244253 Q16026267 Q18530177 Q10978488 Q18810870 Q16195622 Q6249899 Q1879480 Q661947 Q6258326 Q6246971 Q16859464 Q18810862 Q18810864 Q16106932 Q11035229 Q8019373 Q16023331 Q8019371 Q18530179 Q18527610 Q5241202 Q6260355 Q18534216 Q18534214 Q6130319 Q6130313 Q6260650 Q6255174 Q6260652 Q6260653 Q6249871 Q6260655 Q6249873 Q6249879 Q6221412 Q7351128 Q7351124 Q7351121 Q7351123 Q16863901 Q21511610 Q3528952 Q6237337 Q1776423 Q6255426 Q6228764 Q6228766 Q6246935 Q5232850 Q5232857 Q5232854 Q18546651 Q5232859 Q18529777 Q7795179 Q6257938 Q1916387 Q18527125 Q3116279 Q8018834 Q6145023 Q11979017 Q15999511 Q18530176 Q18530175 Q18530173 Q18385557 Q6249895 Q18530178 Q16848723 Q18810866 Q16015315 Q8004402 Q8004400 Q5537303 Q18530282 Q5537308 Q11154564 Q16886405 Q18530281 Q18530280 Q3703350 Q18338285 Q6242867 Q6242862 Q704916 Q6239285 Q18531059 Q18527375 Q6236099 Q18338267 Q16031260 Q18531060 Q16066831 Q6255420 Q16059754 Q11919459 Q18527305 Q18603564 Q6262713 Q6239287 Q6130325 Q6130320 Q5606271 Q5606270 Q5606273 Q5606272 Q5606274 Q5606277 Q18546628 Q5144956 Q17626521 Q18546621 Q18559712 Q18559713 Q16071955 Q5239912 Q6221426 Q6221428 Q14950004 Q15994621 Q15994622 Q6221434 Q17423413 Q7493391 Q8020388 Q6239263 Q6237345 Q8020387 Q8020385 Q16062311 Q15461577 Q16031816 Q6255407 Q18527054 Q6257940 Q5239881 Q17308862 Q5239884 Q8019900 Q8019902 Q15995818 Q16859222 Q5240337 Q15990069 Q6265189 Q16090838 Q18534834 Q18534833 Q18534831 Q4786783 Q4096102 Q16065305 Q16228915 Q15637844 Q4679001 Q6237308 Q6237302 Q16194812 Q8017685 Q8017687 Q15485947 Q8017683 Q8017682 Q5241199 Q6241395 Q5241193 Q5241194 Q6263006 Q6263007 Q6255417 Q16105132 Q6262977 Q6262978 Q18593210 Q5537317 Q6246952 Q6246950 Q6246958 Q526328 Q5537319 Q18527381 Q6242859 Q18527209 Q16043626 Q6242044 Q18166520 Q18546505 Q18530220 Q18526878 Q5239909 Q18546619 Q18546617 Q16105467 Q6255177 Q5239906 Q5144957 Q6221432 Q6236101 Q5144950 Q5144959 Q6255170 Q5239888 Q3703375 Q5090064 Q1459540 Q16857323 Q7342708 Q5239885 Q5239886 Q5233458 Q15982602 Q5233453 Q5233457 Q14951093 Q8020399 Q6239258 Q8020394 Q8020396 Q8020390 Q6221424 Q21515457 Q17385895 Q16466630 Q16031827 Q16857661 Q6255286 Q6255179 Q6262733 Q6262982 Q6262980 Q6262984 Q18530275 Q18530276 Q18530278 Q18530279 Q15994581 Q6244744 Q6244748 Q6470045 Q2778111 Q18546659 Q18546658 Q16859187 Q18546653 Q1101329 Q18546650 Q18546656 Q18546655 Q5240358 Q26707638 Q5601513 Q16142930 Q6237318 Q17021417 Q6130341 Q5606257 Q17364116 Q4955213 Q5606258 Q16067356 Q15782600 Q18530180 Q18530181 Q16095641 Q6263011 Q10363011 Q6257915 Q6145009 Q6145005 Q6145007 Q6145001 Q5233466 Q5233469 Q333770 Q6251897 Q9311159 Q6242832 Q5537322 Q5537324 Q5537325 Q6246965 Q6246963 Q6246961 Q16066618 Q8020402 Q8019368 Q6262709 Q6262704 Q8019367 Q6262700 Q6242842 Q16225515 Q18527351 Q5241210 Q15990004 Q16065563 Q968659 Q18546195
(c(Q502895),P248,c(Q2342494)|c(Q4894405))
action count
action less
action union
action find_tuple_counts
relation P248
type Q502895
type Q2342494
action find_tuple_counts
relation P248
type Q502895
type Q4894405
action count
action filter_multi_types
action find
entity Q6145020
relation P248
type Q2342494
type Q4894405
[ANSWER]
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q2342494'}, {'concept': 'Q4894405'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { resource:Q6145020 property:P248 ?v . { { ?v rdf:type ontology:Q2342494 } UNION { ?v rdf:type ontology:Q4894405 } } } } . FILTER ( ?o < ?e ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) ?w WHERE { { ?w property:P248 ?f . ?w rdf:type ontology:Q502895 . ?f rdf:type ontology:Q2342494 } UNION { ?w property:P248 ?f . ?w rdf:type ontology:Q502895 . ?f rdf:type ontology:Q4894405 } } GROUP BY ?w } }
William Thompson James Brown John Roberts John Roberts David Smith David Smith Colin Campbell David Smith David Evans John Roberts Robert Campbell David Smith David Smith Colin Campbell David Davies John Hall John Hall John Hall William Robinson John Hall David Davies John Parker Greg Smith John Simpson John Rogers John Ward John Ward John Ward William Williams John Murphy John Roberts John Roberts John Martin Robert Williams John Rogers John Lewis William Robinson John Gray John Walker John Kennedy John Gray John Kennedy John Thompson John Thompson John Thompson James Walker John Williams John Gray John Gray John Bell David Thomas John Gray Robert Williams Robert Williams Greg Smith James Walker Greg Smith Greg Smith Greg Smith Greg Smith John Smith John Smith Greg Smith John Martin David Wilson John Martin John Rogers John Brown John Jackson John Robinson John Kennedy John Murphy Léonard Limousin John Davies John Smith John Martin John Parker John Robinson John Robinson David Evans John Carter William Thompson William Walker William Thompson John Brown John Smith David Wilson John Taylor John Ward John Taylor James Brown James Brown John Thompson John Roberts John Thompson John Thompson John Murphy John Thompson John Murphy John Murphy John Bell Robert Williams Robert Williams Robert Williams Robert Williams David Davies Dunja Lango George Brown John Hall Raud the Strong John Rogers John Davies John Davies John Martin David Davies David Davies David Davies John Williams David Davies James Brown Thomas Williams John Simpson David Smith John Jones Greg Smith William Stewart James Walker John Martin William Robinson John Brown John Brown John Brown John Walker John Murphy John Brown John Walker John Robinson David Thomas William Anderson William Anderson George Brown John Randall Clarke George Brown David Evans John Walker John Clarke John Clarke David Thomas Borja Mendia John Kennedy John Kennedy Li Ruihuan John Hill William Brown John Murray John Gray Ethan Wragge John Murphy William Brown James Walker John Rogers James Brown Epimenides John Martin William Thompson John Walker John Hill James Brown James Brown Greg Smith Greg Smith Greg Smith Greg Smith Greg Smith Greg Smith John Smith Colin Campbell Colin Campbell John Roland Phillips David Christopher Davies David Lewis Davies John Murphy David Smith John Bell John Bell John Hill John Martin John Martin John Bell James Brown Shelby Harris William Williams John Hill John Hall William Williams William Williams John Martin John Martin William Walker John Rogers John Hill John Simpson David Smith Colin Campbell David Smith William Walker William Walker John Thompson Robert Williams David Thomas John Jackson John Young John Kennedy John Davis John Davis John Davis John Bell James Brown George Brown John Wilson David Smith Adam Dunkels John Hall John Hall David Smith William Robinson William Robinson John Walker William Robinson William Robinson David Wilson John Jackson David Wilson David Wilson John Ward John Ward John Rogers John Kennedy John Ward John Ward John Davies George Brown John Martin John Martin John Martin Dairis Bertāns George Brown John Murray John Kennedy John Lewis William Thompson John Jones William Thompson John Campbell John Campbell John Evans David Smith John Phillips John Phillips John Rogers John Roberts David Smith Colin Campbell John Bell John Gray Colin Campbell Colin Campbell John Roberts David Smith David Wilson George Brown John Thompson John Evans Robert Campbell David Smith David Smith David Evans John Young David Evans David Evans John Jackson William Williams John Hill William Williams William Williams William Williams John Bell Rolando Valdès-Blain David Evans John Bell John Rogers John Hall John Robinson John Roberts John Walker John Ward John Ward John Ward John Clarke John Clarke John Clarke John Clarke John Lewis John Lewis John Lewis Lady Colin Campbell Greg Smith John Williams John Williams James Walker John Williams John Rogers John Williams John Williams John Williams David Thomas Delobel Colin Campbell John Murphy John Hall John Walker James Brown Greg Smith John Davies Brady Sallee Greg Smith John Walker John Hill John Brown John Wright Brown John Hall John Ward Risques Pereira John Simpson James Walker James Walker James Walker James Walker David Evans David Evans Victorinus John Parker Robert Williams John Kennedy George Brown George Brown George Brown John Martin John Martin John Martin John Ward William Williams William Thompson John Walker John Walker William Thompson John Walker John Kennedy John Simpson John Moore David Wilson John Gray William Thompson Carsten Tank George Smith
365
action count
action less
action union
action find_tuple_counts
relation stated in
type common name
type collectable
action find_tuple_counts
relation stated in
type common name
type journalism genre
action count
action filter_multi_types
action find
entity James Walker
relation stated in
type collectable
type journalism genre
[{'concept': 'common name'}, 'stated in', [{'concept': 'collectable'}, {'concept': 'journalism genre'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?v ) AS ?e ) WHERE { resource:James_Walker property:stated_in ?v . { { ?v rdf:type ontology:collectable } UNION { ?v rdf:type ontology:journalism_genre } } } } . FILTER ( ?o < ?e ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?o ) ?w WHERE { { ?w property:stated_in ?f . ?w rdf:type ontology:common_name . ?f rdf:type ontology:collectable } UNION { ?w property:stated_in ?f . ?w rdf:type ontology:common_name . ?f rdf:type ontology:journalism_genre } } GROUP BY ?w } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q5241196
P248
Q2342494 Q4894405 Q502895
USER
And what about David Wilson?
(c(Q502895),P248,c(Q2342494)|c(Q4894405))
action count
action less
action union
action find_tuple_counts
relation P248
type Q502895
type Q2342494
action find_tuple_counts
relation P248
type Q502895
type Q4894405
action count
action filter_multi_types
action find
entity Q5241196
relation P248
type Q2342494
type Q4894405
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q2342494'}, {'concept': 'Q4894405'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) ?h WHERE { ?w rdf:type ?e . VALUES ( ?e ) { ( ontology:Q2342494 ) ( ontology:Q4894405 ) } } GROUP BY ?h } . FILTER ( ?p < ?l ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { resource:Q5241196 property:P248 ?t . { { ?t rdf:type ontology:Q4894405 } UNION { ?t rdf:type ontology:Q2342494 } } } } }
David Wilson
action count
action less
action union
action find_tuple_counts
relation stated in
type common name
type collectable
action find_tuple_counts
relation stated in
type common name
type journalism genre
action count
action filter_multi_types
action find
entity David Wilson
relation stated in
type collectable
type journalism genre
[{'concept': 'common name'}, 'stated in', [{'concept': 'collectable'}, {'concept': 'journalism genre'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) ?h WHERE { ?w rdf:type ?e . VALUES ( ?e ) { ( ontology:collectable ) ( ontology:journalism_genre ) } } GROUP BY ?h } . FILTER ( ?p < ?l ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { resource:David_Wilson property:stated_in ?t . { { ?t rdf:type ontology:journalism_genre } UNION { ?t rdf:type ontology:collectable } } } } }
[]
collectable journalism genre common name
SYSTEM
365
Q16859599 Q6130307 Q6255166 Q6255164 Q5239877 Q5239876 Q5144961 Q5239879 Q16210814 Q16013737 Q7342713 Q5239896 Q5239895 Q2699786 Q18529684 Q6237327 Q6237320 Q6237323 Q8017696 Q6237329 Q5232852 Q16011002 Q17402519 Q6257923 Q6255435 Q6262994 Q6262996 Q6262991 Q15456236 Q6249889 Q6255181 Q6255184 Q15996304 Q18527481 Q16225368 Q6244753 Q861695 Q6236108 Q6262693 Q16730720 Q6236103 Q6242872 Q6260673 Q6260669 Q6260667 Q16062974 Q18546647 Q6236083 Q6236081 Q6221407 Q5240345 Q16065533 Q9069823 Q7351119 Q1626914 Q6145026 Q5606266 Q5606264 Q5606262 Q5606263 Q18546633 Q18546632 Q5606268 Q16857953 Q16849502 Q16244253 Q16026267 Q18530177 Q10978488 Q18810870 Q16195622 Q6249899 Q1879480 Q661947 Q6258326 Q6246971 Q16859464 Q18810862 Q18810864 Q16106932 Q11035229 Q8019373 Q16023331 Q8019371 Q18530179 Q18527610 Q5241202 Q6260355 Q18534216 Q18534214 Q6130319 Q6130313 Q6260650 Q6255174 Q6260652 Q6260653 Q6249871 Q6260655 Q6249873 Q6249879 Q6221412 Q7351128 Q7351124 Q7351121 Q7351123 Q16863901 Q21511610 Q3528952 Q6237337 Q1776423 Q6255426 Q6228764 Q6228766 Q6246935 Q5232850 Q5232857 Q5232854 Q18546651 Q5232859 Q18529777 Q7795179 Q6257938 Q1916387 Q18527125 Q3116279 Q8018834 Q6145023 Q11979017 Q15999511 Q18530176 Q18530175 Q18530173 Q18385557 Q6249895 Q18530178 Q16848723 Q18810866 Q16015315 Q8004402 Q8004400 Q5537303 Q18530282 Q5537308 Q11154564 Q16886405 Q18530281 Q18530280 Q3703350 Q18338285 Q6242867 Q6242862 Q704916 Q6239285 Q18531059 Q18527375 Q6236099 Q18338267 Q16031260 Q18531060 Q16066831 Q6255420 Q16059754 Q11919459 Q18527305 Q18603564 Q6262713 Q6239287 Q6130325 Q6130320 Q5606271 Q5606270 Q5606273 Q5606272 Q5606274 Q5606277 Q18546628 Q5144956 Q17626521 Q18546621 Q18559712 Q18559713 Q16071955 Q5239912 Q6221426 Q6221428 Q14950004 Q15994621 Q15994622 Q6221434 Q17423413 Q7493391 Q8020388 Q6239263 Q6237345 Q8020387 Q8020385 Q16062311 Q15461577 Q16031816 Q6255407 Q18527054 Q6257940 Q5239881 Q17308862 Q5239884 Q8019900 Q8019902 Q15995818 Q16859222 Q5240337 Q15990069 Q6265189 Q16090838 Q18534834 Q18534833 Q18534831 Q4786783 Q4096102 Q16065305 Q16228915 Q15637844 Q4679001 Q6237308 Q6237302 Q16194812 Q8017685 Q8017687 Q15485947 Q8017683 Q8017682 Q5241199 Q6241395 Q5241193 Q5241194 Q6263006 Q6263007 Q6255417 Q16105132 Q6262977 Q6262978 Q18593210 Q5537317 Q6246952 Q6246950 Q6246958 Q526328 Q5537319 Q18527381 Q6242859 Q18527209 Q16043626 Q6242044 Q18166520 Q18546505 Q18530220 Q18526878 Q5239909 Q18546619 Q18546617 Q16105467 Q6255177 Q5239906 Q5144957 Q6221432 Q6236101 Q5144950 Q5144959 Q6255170 Q5239888 Q3703375 Q5090064 Q1459540 Q16857323 Q7342708 Q5239885 Q5239886 Q5233458 Q15982602 Q5233453 Q5233457 Q14951093 Q8020399 Q6239258 Q8020394 Q8020396 Q8020390 Q6221424 Q21515457 Q17385895 Q16466630 Q16031827 Q16857661 Q6255286 Q6255179 Q6262733 Q6262982 Q6262980 Q6262984 Q18530275 Q18530276 Q18530278 Q18530279 Q15994581 Q6244744 Q6244748 Q6470045 Q2778111 Q18546659 Q18546658 Q16859187 Q18546653 Q1101329 Q18546650 Q18546656 Q18546655 Q5240358 Q26707638 Q5601513 Q16142930 Q6237318 Q17021417 Q6130341 Q5606257 Q17364116 Q4955213 Q5606258 Q16067356 Q15782600 Q18530180 Q18530181 Q16095641 Q6263011 Q10363011 Q6257915 Q6145009 Q6145005 Q6145007 Q6145001 Q5233466 Q5233469 Q333770 Q6251897 Q9311159 Q6242832 Q5537322 Q5537324 Q5537325 Q6246965 Q6246963 Q6246961 Q16066618 Q8020402 Q8019368 Q6262709 Q6262704 Q8019367 Q6262700 Q6242842 Q16225515 Q18527351 Q5241210 Q15990004 Q16065563 Q968659 Q18546195
(c(Q502895),P248,c(Q2342494)|c(Q4894405))
action count
action less
action union
action find_tuple_counts
relation P248
type Q502895
type Q2342494
action find_tuple_counts
relation P248
type Q502895
type Q4894405
action count
action filter_multi_types
action find
entity Q5241196
relation P248
type Q2342494
type Q4894405
[ANSWER]
[{'concept': 'Q502895'}, 'P248', [{'concept': 'Q2342494'}, {'concept': 'Q4894405'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) ?h WHERE { ?w rdf:type ?e . VALUES ( ?e ) { ( ontology:Q2342494 ) ( ontology:Q4894405 ) } } GROUP BY ?h } . FILTER ( ?p < ?l ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { resource:Q5241196 property:P248 ?t . { { ?t rdf:type ontology:Q4894405 } UNION { ?t rdf:type ontology:Q2342494 } } } } }
William Thompson James Brown John Roberts John Roberts David Smith David Smith Colin Campbell David Smith David Evans John Roberts Robert Campbell David Smith David Smith Colin Campbell David Davies John Hall John Hall John Hall William Robinson John Hall David Davies John Parker Greg Smith John Simpson John Rogers John Ward John Ward John Ward William Williams John Murphy John Roberts John Roberts John Martin Robert Williams John Rogers John Lewis William Robinson John Gray John Walker John Kennedy John Gray John Kennedy John Thompson John Thompson John Thompson James Walker John Williams John Gray John Gray John Bell David Thomas John Gray Robert Williams Robert Williams Greg Smith James Walker Greg Smith Greg Smith Greg Smith Greg Smith John Smith John Smith Greg Smith John Martin David Wilson John Martin John Rogers John Brown John Jackson John Robinson John Kennedy John Murphy Léonard Limousin John Davies John Smith John Martin John Parker John Robinson John Robinson David Evans John Carter William Thompson William Walker William Thompson John Brown John Smith David Wilson John Taylor John Ward John Taylor James Brown James Brown John Thompson John Roberts John Thompson John Thompson John Murphy John Thompson John Murphy John Murphy John Bell Robert Williams Robert Williams Robert Williams Robert Williams David Davies Dunja Lango George Brown John Hall Raud the Strong John Rogers John Davies John Davies John Martin David Davies David Davies David Davies John Williams David Davies James Brown Thomas Williams John Simpson David Smith John Jones Greg Smith William Stewart James Walker John Martin William Robinson John Brown John Brown John Brown John Walker John Murphy John Brown John Walker John Robinson David Thomas William Anderson William Anderson George Brown John Randall Clarke George Brown David Evans John Walker John Clarke John Clarke David Thomas Borja Mendia John Kennedy John Kennedy Li Ruihuan John Hill William Brown John Murray John Gray Ethan Wragge John Murphy William Brown James Walker John Rogers James Brown Epimenides John Martin William Thompson John Walker John Hill James Brown James Brown Greg Smith Greg Smith Greg Smith Greg Smith Greg Smith Greg Smith John Smith Colin Campbell Colin Campbell John Roland Phillips David Christopher Davies David Lewis Davies John Murphy David Smith John Bell John Bell John Hill John Martin John Martin John Bell James Brown Shelby Harris William Williams John Hill John Hall William Williams William Williams John Martin John Martin William Walker John Rogers John Hill John Simpson David Smith Colin Campbell David Smith William Walker William Walker John Thompson Robert Williams David Thomas John Jackson John Young John Kennedy John Davis John Davis John Davis John Bell James Brown George Brown John Wilson David Smith Adam Dunkels John Hall John Hall David Smith William Robinson William Robinson John Walker William Robinson William Robinson David Wilson John Jackson David Wilson David Wilson John Ward John Ward John Rogers John Kennedy John Ward John Ward John Davies George Brown John Martin John Martin John Martin Dairis Bertāns George Brown John Murray John Kennedy John Lewis William Thompson John Jones William Thompson John Campbell John Campbell John Evans David Smith John Phillips John Phillips John Rogers John Roberts David Smith Colin Campbell John Bell John Gray Colin Campbell Colin Campbell John Roberts David Smith David Wilson George Brown John Thompson John Evans Robert Campbell David Smith David Smith David Evans John Young David Evans David Evans John Jackson William Williams John Hill William Williams William Williams William Williams John Bell Rolando Valdès-Blain David Evans John Bell John Rogers John Hall John Robinson John Roberts John Walker John Ward John Ward John Ward John Clarke John Clarke John Clarke John Clarke John Lewis John Lewis John Lewis Lady Colin Campbell Greg Smith John Williams John Williams James Walker John Williams John Rogers John Williams John Williams John Williams David Thomas Delobel Colin Campbell John Murphy John Hall John Walker James Brown Greg Smith John Davies Brady Sallee Greg Smith John Walker John Hill John Brown John Wright Brown John Hall John Ward Risques Pereira John Simpson James Walker James Walker James Walker James Walker David Evans David Evans Victorinus John Parker Robert Williams John Kennedy George Brown George Brown George Brown John Martin John Martin John Martin John Ward William Williams William Thompson John Walker John Walker William Thompson John Walker John Kennedy John Simpson John Moore David Wilson John Gray William Thompson Carsten Tank George Smith
365
action count
action less
action union
action find_tuple_counts
relation stated in
type common name
type collectable
action find_tuple_counts
relation stated in
type common name
type journalism genre
action count
action filter_multi_types
action find
entity David Wilson
relation stated in
type collectable
type journalism genre
[{'concept': 'common name'}, 'stated in', [{'concept': 'collectable'}, {'concept': 'journalism genre'}]]
SELECT DISTINCT ( COUNT ( ?h ) AS ?u ) WHERE { { SELECT DISTINCT ( COUNT ( ?w ) AS ?p ) ?h WHERE { ?w rdf:type ?e . VALUES ( ?e ) { ( ontology:collectable ) ( ontology:journalism_genre ) } } GROUP BY ?h } . FILTER ( ?p < ?l ) . { SELECT DISTINCT ( COUNT ( ?t ) AS ?l ) WHERE { resource:David_Wilson property:stated_in ?t . { { ?t rdf:type ontology:journalism_genre } UNION { ?t rdf:type ontology:collectable } } } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q254
P175
Q15850590
USER
Who delivered the performance of Wolfgang Amadeus Mozart ?
(c(Q15850590),P175,Q254)
action filter_type
action find_reverse
entity Q254
relation P175
type Q15850590
[{'concept': 'Q15850590'}, 'P175', 'Q254']
SELECT DISTINCT ?b WHERE { ?b property:P175 resource:Q254 . ?b rdf:type ontology:Q15850590 }
Wolfgang Amadeus Mozart
action filter_type
action find_reverse
entity Wolfgang Amadeus Mozart
relation performer
type theatrical genre
[{'concept': 'theatrical genre'}, 'performer', 'Wolfgang Amadeus Mozart']
SELECT DISTINCT ?b WHERE { ?b property:performer resource:Wolfgang_Amadeus_Mozart . ?b rdf:type ontology:theatrical_genre }
[]
theatrical genre
Q201873
SYSTEM
The Marriage of Figaro
Q201873
(c(Q15850590),P175,Q254)
action filter_type
action find_reverse
entity Q254
relation P175
type Q15850590
The [ANSWER] delivered the performance of Wolfgang Amadeus Mozart
[{'concept': 'Q15850590'}, 'P175', 'Q254']
SELECT DISTINCT ?b WHERE { ?b property:P175 resource:Q254 . ?b rdf:type ontology:Q15850590 }
The Marriage of Figaro
The The Marriage of Figaro delivered the performance of Wolfgang Amadeus Mozart
The Marriage of Figaro
action filter_type
action find_reverse
entity Wolfgang Amadeus Mozart
relation performer
type theatrical genre
[{'concept': 'theatrical genre'}, 'performer', 'Wolfgang Amadeus Mozart']
SELECT DISTINCT ?b WHERE { ?b property:performer resource:Wolfgang_Amadeus_Mozart . ?b rdf:type ontology:theatrical_genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q201873
P800
Q502895
USER
Which people are accredited with being the author of the notable work that theatrical genre ?
(c(Q502895),P800,Q201873)
action filter_type
action find_reverse
entity Q201873
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q201873']
SELECT DISTINCT ?v WHERE { ?v property:P800 resource:Q201873 . ?v rdf:type ontology:Q502895 }
The Marriage of Figaro
action filter_type
action find_reverse
entity The Marriage of Figaro
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'The Marriage of Figaro']
SELECT DISTINCT ?v WHERE { ?v property:notable_work resource:The_Marriage_of_Figaro . ?v rdf:type ontology:common_name }
[]
common name
Q16888398 Q254
SYSTEM
Mary Ann Paton, Wolfgang Amadeus Mozart
Q16888398 Q254
(c(Q502895),P800,Q201873)
action filter_type
action find_reverse
entity Q201873
relation P800
type Q502895
[ANSWERS] are accredited with being the author of the notable work that theatrical genre
[{'concept': 'Q502895'}, 'P800', 'Q201873']
SELECT DISTINCT ?v WHERE { ?v property:P800 resource:Q201873 . ?v rdf:type ontology:Q502895 }
Mary Ann Paton Wolfgang Amadeus Mozart
Mary Ann Paton and Wolfgang Amadeus Mozart are accredited with being the author of the notable work that theatrical genre
Mary Ann Paton Wolfgang Amadeus Mozart
action filter_type
action find_reverse
entity The Marriage of Figaro
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'The Marriage of Figaro']
SELECT DISTINCT ?v WHERE { ?v property:notable_work resource:The_Marriage_of_Figaro . ?v rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q16888398 Q254
P921
Q191067
USER
What are Mary Ann Paton and Wolfgang Amadeus Mozart a main subject of ?
(c(Q191067),P921,Q16888398) (c(Q191067),P921,Q254)
action union
action filter_type
action find_reverse
entity Q16888398
relation P921
type Q191067
action filter_type
action find_reverse
entity Q254
relation P921
type Q191067
[{'concept': 'Q191067'}, 'P921', 'Q16888398'] [{'concept': 'Q191067'}, 'P921', 'Q254']
SELECT DISTINCT ?p WHERE { { ?p property:P921 resource:Q16888398 . ?p rdf:type ontology:Q191067 } UNION { ?p property:P921 resource:Q254 . ?p rdf:type ontology:Q191067 } }
Mary Ann Paton Wolfgang Amadeus Mozart
action union
action filter_type
action find_reverse
entity Mary Ann Paton
relation main subject
type article
action filter_type
action find_reverse
entity Wolfgang Amadeus Mozart
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Mary Ann Paton'] [{'concept': 'article'}, 'main subject', 'Wolfgang Amadeus Mozart']
SELECT DISTINCT ?p WHERE { { ?p property:main_subject resource:Mary_Ann_Paton . ?p rdf:type ontology:article } UNION { ?p property:main_subject resource:Wolfgang_Amadeus_Mozart . ?p rdf:type ontology:article } }
[]
article
Q19026897 Q21004450
SYSTEM
Paton, Mary Ann (DNB00), EB-11 / Mozart, Wolfgang Amadeus
Q19026897 Q21004450
(c(Q191067),P921,Q16888398) (c(Q191067),P921,Q254)
action union
action filter_type
action find_reverse
entity Q16888398
relation P921
type Q191067
action filter_type
action find_reverse
entity Q254
relation P921
type Q191067
[ANSWERS]
[{'concept': 'Q191067'}, 'P921', 'Q16888398'] [{'concept': 'Q191067'}, 'P921', 'Q254']
SELECT DISTINCT ?p WHERE { { ?p property:P921 resource:Q16888398 . ?p rdf:type ontology:Q191067 } UNION { ?p property:P921 resource:Q254 . ?p rdf:type ontology:Q191067 } }
Paton, Mary Ann (DNB00) EB-11 / Mozart, Wolfgang Amadeus
Mary Ann Paton and Wolfgang Amadeus Mozart a main subject of are Ann Paton, Mary Ann (DNB00) and EB-11 / Mozart, Wolfgang Amadeus
Paton, Mary Ann (DNB00) EB-11 / Mozart, Wolfgang Amadeus
action union
action filter_type
action find_reverse
entity Mary Ann Paton
relation main subject
type article
action filter_type
action find_reverse
entity Wolfgang Amadeus Mozart
relation main subject
type article
[{'concept': 'article'}, 'main subject', 'Mary Ann Paton'] [{'concept': 'article'}, 'main subject', 'Wolfgang Amadeus Mozart']
SELECT DISTINCT ?p WHERE { { ?p property:main_subject resource:Mary_Ann_Paton . ?p rdf:type ontology:article } UNION { ?p property:main_subject resource:Wolfgang_Amadeus_Mozart . ?p rdf:type ontology:article } }
[]