Simple Question (Direct)
Simple Question
Q5531194
P106
Q12737077
USER
What does Gene Ellenson do for a living ?
(Q5531194,P106,c(Q12737077))
action filter_type
action find
entity Q5531194
relation P106
type Q12737077
['Q5531194', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q5531194 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Gene Ellenson
action filter_type
action find
entity Gene Ellenson
relation occupation
type occupation
['Gene Ellenson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Gene_Ellenson property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q19204627
SYSTEM
American football player
Q19204627
(Q5531194,P106,c(Q12737077))
action filter_type
action find
entity Q5531194
relation P106
type Q12737077
Gene Ellenson does an [ANSWER] for a living
['Q5531194', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q5531194 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
American football player
Gene Ellenson does an American football player for a living
American football player
action filter_type
action find
entity Gene Ellenson
relation occupation
type occupation
['Gene Ellenson', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Gene_Ellenson property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5531194
P607
Q198
USER
Which war did that person take part in ?
(Q19204627,P607,c(Q198))
action filter_type
action find
entity Q5531194
relation P607
type Q198
['Q19204627', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?n WHERE { resource:Q5531194 property:P607 ?n . ?n rdf:type ontology:Q198 }
Gene Ellenson
action filter_type
action find
entity Gene Ellenson
relation conflict
type war
['American football player', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?n WHERE { resource:Gene_Ellenson property:conflict ?n . ?n rdf:type ontology:war }
[]
war
Q362
SYSTEM
World War II
Q362
(Q19204627,P607,c(Q198))
action filter_type
action find
entity Q5531194
relation P607
type Q198
That person took part in [ANSWER]
['Q19204627', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?n WHERE { resource:Q5531194 property:P607 ?n . ?n rdf:type ontology:Q198 }
World War II
That person took part in World War II
World War II
action filter_type
action find
entity Gene Ellenson
relation conflict
type war
['American football player', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?n WHERE { resource:Gene_Ellenson property:conflict ?n . ?n rdf:type ontology:war }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Indirect
P361
Q198 Q618779 Q180684
USER
How many wars are around the same number of awards or conflicts a part of as that war ?
(c(Q618779)|c(Q180684),P361,c(Q198))
action count
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q198
type Q618779
action find_reverse_tuple_counts
relation P361
type Q198
type Q180684
action count
action filter_multi_types
action find_reverse
entity Q362
relation P361
type Q618779
type Q180684
[[{'concept': 'Q618779'}, {'concept': 'Q180684'}], 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { ?a property:P361 resource:Q362 . { VALUES ( ?d ) { ( ontology:Q618779 ) ( ontology:Q180684 ) } . ?a rdf:type ?d } } } . FILTER ( ?r = ?t ) . { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?r ) WHERE { { ?z property:P361 ?c . ?c rdf:type ontology:Q198 . ?z rdf:type ontology:Q618779 } UNION { ?z property:P361 ?c . ?z rdf:type ontology:Q180684 . ?c rdf:type ontology:Q198 } } GROUP BY ?c } }
action count
action approx
action union
action find_reverse_tuple_counts
relation part of
type war
type award
action find_reverse_tuple_counts
relation part of
type war
type conflict
action count
action filter_multi_types
action find_reverse
entity World War II
relation part of
type award
type conflict
[[{'concept': 'award'}, {'concept': 'conflict'}], 'part of', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { ?a property:part_of resource:World_War_II . { VALUES ( ?d ) { ( ontology:award ) ( ontology:conflict ) } . ?a rdf:type ?d } } } . FILTER ( ?r = ?t ) . { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?r ) WHERE { { ?z property:part_of ?c . ?c rdf:type ontology:war . ?z rdf:type ontology:award } UNION { ?z property:part_of ?c . ?z rdf:type ontology:conflict . ?c rdf:type ontology:war } } GROUP BY ?c } }
[]
war award conflict
SYSTEM
1
Q362
(c(Q618779)|c(Q180684),P361,c(Q198))
action count
action approx
action union
action find_reverse_tuple_counts
relation P361
type Q198
type Q618779
action find_reverse_tuple_counts
relation P361
type Q198
type Q180684
action count
action filter_multi_types
action find_reverse
entity Q362
relation P361
type Q618779
type Q180684
[ANSWER]
[[{'concept': 'Q618779'}, {'concept': 'Q180684'}], 'P361', {'concept': 'Q198'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { ?a property:P361 resource:Q362 . { VALUES ( ?d ) { ( ontology:Q618779 ) ( ontology:Q180684 ) } . ?a rdf:type ?d } } } . FILTER ( ?r = ?t ) . { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?r ) WHERE { { ?z property:P361 ?c . ?c rdf:type ontology:Q198 . ?z rdf:type ontology:Q618779 } UNION { ?z property:P361 ?c . ?z rdf:type ontology:Q180684 . ?c rdf:type ontology:Q198 } } GROUP BY ?c } }
World War II
1
action count
action approx
action union
action find_reverse_tuple_counts
relation part of
type war
type award
action find_reverse_tuple_counts
relation part of
type war
type conflict
action count
action filter_multi_types
action find_reverse
entity World War II
relation part of
type award
type conflict
[[{'concept': 'award'}, {'concept': 'conflict'}], 'part of', {'concept': 'war'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?h ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?t ) WHERE { ?a property:part_of resource:World_War_II . { VALUES ( ?d ) { ( ontology:award ) ( ontology:conflict ) } . ?a rdf:type ?d } } } . FILTER ( ?r = ?t ) . { SELECT DISTINCT ?c ( COUNT ( ?z ) AS ?r ) WHERE { { ?z property:part_of ?c . ?c rdf:type ontology:war . ?z rdf:type ontology:award } UNION { ?z property:part_of ?c . ?z rdf:type ontology:conflict . ?c rdf:type ontology:war } } GROUP BY ?c } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
Which people are the names of person who are the patron saints of exactly 2 occupations ?
(c(Q12737077),P417,c(Q502895))
action equal
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 2
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?k ) WHERE { ?s property:P417 ?c . ?s rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q502895 } GROUP BY ?c } . FILTER ( ?k = 2 ) }
action equal
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 2
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?k ) WHERE { ?s property:patron_saint ?c . ?s rdf:type ontology:occupation . ?c rdf:type ontology:common_name } GROUP BY ?c } . FILTER ( ?k = 2 ) }
[]
common name occupation
Q166876 Q229190 Q44248
SYSTEM
Isidore of Seville, Catherine of Siena, Jerome
Q229190 Q328804 Q166876 Q170547 Q183240 Q196653 Q44265 Q744884 Q151967 Q44248
(c(Q12737077),P417,c(Q502895))
action equal
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 2
[ANSWERS] are the names of person who are the patron saints of exactly 2 occupations
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?k ) WHERE { ?s property:P417 ?c . ?s rdf:type ontology:Q12737077 . ?c rdf:type ontology:Q502895 } GROUP BY ?c } . FILTER ( ?k = 2 ) }
Catherine of Siena John the Evangelist Isidore of Seville Anthony the Great Saint Lucy Saint Veronica Benedict of Nursia Zita Saint Blaise Jerome
Isidore of Seville, Catherine of Siena and Jerome are the names of person who are the patron saints of exactly 2 occupations
Isidore of Seville Catherine of Siena Jerome
action equal
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 2
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?s ) AS ?k ) WHERE { ?s property:patron_saint ?c . ?s rdf:type ontology:occupation . ?c rdf:type ontology:common_name } GROUP BY ?c } . FILTER ( ?k = 2 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can atleast 2592 people perform with ?
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2592
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?k ) WHERE { ?t rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 . ?g property:P1303 ?t } GROUP BY ?t } . FILTER ( ?k >= 2592 ) }
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2592
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?k ) WHERE { ?t rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name . ?g property:instrument ?t } GROUP BY ?t } . FILTER ( ?k >= 2592 ) }
[]
musical instrument common name
Q5994 Q8355
SYSTEM
piano, violin
Q5994 Q8355
(c(Q502895),P1303,c(Q34379))
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 2592
[ANSWERS] can atleast 2592 people perform with
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?k ) WHERE { ?t rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 . ?g property:P1303 ?t } GROUP BY ?t } . FILTER ( ?k >= 2592 ) }
piano violin
Piano and violin can atleast 2592 people perform with
piano violin
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 2592
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?g ) AS ?k ) WHERE { ?t rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name . ?g property:instrument ?t } GROUP BY ?t } . FILTER ( ?k >= 2592 ) }
[]
Clarification
Simple Question|Single Entity|Indirect
Q8355
P870
Q9748
USER
Who employs that musical instrument as a musical instrument ?
(c(Q9748),P870,Q8355)
action filter_type
action find_reverse
entity Q8355
relation P870
type Q9748
[{'concept': 'Q9748'}, 'P870', 'Q8355']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q9748 . ?t property:P870 resource:Q8355 }
violin
action filter_type
action find_reverse
entity violin
relation instrumentation
type concerto
[{'concept': 'concerto'}, 'instrumentation', 'violin']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:concerto . ?t property:instrumentation resource:violin }
[]
concerto
Clarification for simple ques.
Q8355
SYSTEM
Did you mean violin ?
Q5994 Q8355
(c(Q9748),P870,Q5994) (c(Q9748),P870,Q8355)
[ANSWER]
[{'concept': 'Q9748'}, 'P870', 'Q5994'] [{'concept': 'Q9748'}, 'P870', 'Q8355']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q9748 . ?t property:P870 resource:Q8355 }
piano violin
Did you mean violin ?
violin
[{'concept': 'concerto'}, 'instrumentation', 'piano'] [{'concept': 'concerto'}, 'instrumentation', 'violin']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:concerto . ?t property:instrumentation resource:violin }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q9748),P870,Q8355)
[{'concept': 'Q9748'}, 'P870', 'Q8355']
[{'concept': 'concerto'}, 'instrumentation', 'violin']
[]
Q1107548 Q1069847 Q2807391
SYSTEM
Rondo in C for Violin and Orchestra, Violin Concerto in E major, 12 Concerti a cinque
Q1156068 Q1829917 Q657298 Q2245194 Q1071972 Q2807391 Q503397 Q1179594 Q2410502 Q2525229 Q210617 Q1069847 Q7933348 Q7933349 Q18612215 Q7933342 Q7933343 Q7933340 Q25609 Q7933346 Q7933344 Q73586 Q2991743 Q1094801 Q790999 Q2800235 Q16825535 Q1279651 Q714799 Q1279714 Q1468572 Q259068 Q3788854 Q1501118 Q1130458 Q16827672 Q2203866 Q7933358 Q7933355 Q7933354 Q7933357 Q7933353 Q7933352 Q1471765 Q1695532 Q1172526 Q1948731 Q2441147 Q1141036 Q7933338 Q11351845 Q7773431 Q787378 Q1076860 Q736174 Q12016 Q3066537 Q372907 Q925576 Q7079101 Q16960448 Q7645243 Q2489998 Q163689 Q426917 Q163686 Q2991911 Q3788626 Q1900106 Q18395426 Q1780312 Q210620 Q19898160 Q19898161 Q2991905 Q2991907 Q2991906 Q2991903 Q17031192 Q1107551 Q11901785 Q2991869 Q1179575 Q2991885 Q544205 Q2991888 Q2991889 Q1521015 Q2804023 Q1107548 Q223554 Q2991876 Q2991895 Q1085532 Q4388472 Q7933364 Q1179589 Q2803810 Q7933360 Q25786 Q7933362 Q1179581 Q2620450 Q2539786 Q5158583
(c(Q9748),P870,Q8355)
action filter_type
action find_reverse
entity Q8355
relation P870
type Q9748
[ANSWERS] employ that musical instrument as a musical instrument
[{'concept': 'Q9748'}, 'P870', 'Q8355']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q9748 . ?t property:P870 resource:Q8355 }
Violin Concerto Violin Concerto No. 1 Violin Concerto Butterfly Lovers' Violin Concerto Symphonie espagnole 12 Concerti a cinque Adélaïde Concerto Violin Concerto No. 5 Violin Concerto No. 1 Violin Concerto No. 2 Violin Concerto No. 2 Violin Concerto in E major Violin Concerto No. 1 Violin Concerto No. 1 4 Concertos for 4 Violins Violin Concerto Violin Concerto Violin Concerto Violin Concerto Violin Concerto Violin Concerto Violin Concerto Concerto funèbre Concerto for Two Violins Violin Concerto No. 2 Violin Concerto Capriccio for Violin and Orchestra Violin Concerto Violin Concerto No. 1 Introduction and Rondo Capriccioso Violin Concerto Violin Concerto No. 2 Violin Concerto No. 3 Violin Concerto La stravaganza Concierto Barroco Polyptyque Violin Concerto No. 3 Violin Concerto No. 2 Violin Concerto No. 1 Violin Concerto No. 2 Violin Concerto No. 2 Violin Concerto No. 2 Violin Concerto violin concerto La Cetra Violin Concerto No. 4 Violin Concerto No. 1 Violin Concerto No. 3 Violin Concerto Violin Concerto The Wandering of a Little Soul Violin Concerto Scottish Fantasy Violin Concerto The Four Seasons Carmen Fantasy Violin Concerto Adagio in E for Violin and Orchestra Offertorium Violin Concerto Sur le même accord Concerto for Violin, Piano, and Orchestra Violin Concerto No. 1 (Bruch) Violin Concerto No. 1 Violin Romance No. 1 (Beethoven) Violin Concerto No. 2 Violin Concerto No. 5 Violin Concerto Violin Concerto Twelve Concertos, Op. 7 Violin Romance No. 2 Violin Concerto Violin Concerto Violin Concerto No. 1 Violin Concerto No. 2 Violin Concerto No. 2 Violin Concerto No. 1 Violin Concerto Rondo in B-flat for Violin and Orchestra Violin concerto No. 4 (Merikanto) L'arbre des songes Violin Concerto No. 6 Violin Concerto Violin Concerto No. 3 Violin Concerto No. 1 Concerto for violon n° 1 by John Williams L'estro Armonico Enchanted Garden Rondo in C for Violin and Orchestra Violin Concerto No. 3 Violin Concerto Violin Concerto No. 1 (Saint-Saëns) Violin Concerto in A minor Zigeunerweisen Violin Concerto No. 5 Violin Concerto No. 4 Violin Concerto Violin Concerto No. 4 Violin Concerto Violin Concerto in A major Violin Concerto No. 7 Il cimento dell'armonia e dell'inventione Fire and Blood Concerto for Violin and Strings
Rondo in C for Violin and Orchestra, Violin Concerto in E major and 12 Concerti a cinque employ that musical instrument as a musical instrument
Rondo in C for Violin and Orchestra Violin Concerto in E major 12 Concerti a cinque
action filter_type
action find_reverse
entity violin
relation instrumentation
type concerto
[{'concept': 'concerto'}, 'instrumentation', 'violin']
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:concerto . ?t property:instrumentation resource:violin }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1107548
P870
Q2088357 Q34379
USER
How many musical ensembles and musical instruments were used in the composition of Rondo in C for Violin and Orchestra ?
(Q1107548,P870,c(Q2088357)) (Q1107548,P870,c(Q34379))
action count
action union
action filter_type
action find
entity Q1107548
relation P870
type Q2088357
action filter_type
action find
entity Q1107548
relation P870
type Q34379
['Q1107548', 'P870', {'concept': 'Q2088357'}] ['Q1107548', 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { ?l rdf:type ?b . VALUES ( ?b ) { ( ontology:Q34379 ) ( ontology:Q2088357 ) } }
Rondo in C for Violin and Orchestra
action count
action union
action filter_type
action find
entity Rondo in C for Violin and Orchestra
relation instrumentation
type musical ensemble
action filter_type
action find
entity Rondo in C for Violin and Orchestra
relation instrumentation
type musical instrument
['Rondo in C for Violin and Orchestra', 'instrumentation', {'concept': 'musical ensemble'}] ['Rondo in C for Violin and Orchestra', 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { ?l rdf:type ?b . VALUES ( ?b ) { ( ontology:musical_instrument ) ( ontology:musical_ensemble ) } }
[]
musical ensemble musical instrument
SYSTEM
1 musical ensembles and 1 musical instruments
Q8355 Q1090674
(Q1107548,P870,c(Q2088357)) (Q1107548,P870,c(Q34379))
action count
action union
action filter_type
action find
entity Q1107548
relation P870
type Q2088357
action filter_type
action find
entity Q1107548
relation P870
type Q34379
[ANSWER]
['Q1107548', 'P870', {'concept': 'Q2088357'}] ['Q1107548', 'P870', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { ?l rdf:type ?b . VALUES ( ?b ) { ( ontology:Q34379 ) ( ontology:Q2088357 ) } }
violin string orchestra
1 musical ensembles and 1 musical instruments
action count
action union
action filter_type
action find
entity Rondo in C for Violin and Orchestra
relation instrumentation
type musical ensemble
action filter_type
action find
entity Rondo in C for Violin and Orchestra
relation instrumentation
type musical instrument
['Rondo in C for Violin and Orchestra', 'instrumentation', {'concept': 'musical ensemble'}] ['Rondo in C for Violin and Orchestra', 'instrumentation', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?y ) WHERE { ?l rdf:type ?b . VALUES ( ?b ) { ( ontology:musical_instrument ) ( ontology:musical_ensemble ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q1107548 Q134200
P86
Q502895
USER
How many people composed Rondo in C for Violin and Orchestra or Mouk ?
(Q1107548,P86,c(Q502895)) (Q134200,P86,c(Q502895))
action count
action union
action filter_type
action find
entity Q1107548
relation P86
type Q502895
action filter_type
action find
entity Q134200
relation P86
type Q502895
['Q1107548', 'P86', {'concept': 'Q502895'}] ['Q134200', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { VALUES ( ?n ) { ( resource:Q1107548 ) ( resource:Q134200 ) } . ?n property:P86 ?w }
Rondo in C for Violin and Orchestra Mouk
action count
action union
action filter_type
action find
entity Rondo in C for Violin and Orchestra
relation composer
type common name
action filter_type
action find
entity Mouk
relation composer
type common name
['Rondo in C for Violin and Orchestra', 'composer', {'concept': 'common name'}] ['Mouk', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { VALUES ( ?n ) { ( resource:Rondo_in_C_for_Violin_and_Orchestra ) ( resource:Mouk ) } . ?n property:composer ?w }
[]
common name
SYSTEM
2
Q3298559 Q254
(Q1107548,P86,c(Q502895)) (Q134200,P86,c(Q502895))
action count
action union
action filter_type
action find
entity Q1107548
relation P86
type Q502895
action filter_type
action find
entity Q134200
relation P86
type Q502895
[ANSWER]
['Q1107548', 'P86', {'concept': 'Q502895'}] ['Q134200', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { VALUES ( ?n ) { ( resource:Q1107548 ) ( resource:Q134200 ) } . ?n property:P86 ?w }
Mathias Duplessy Wolfgang Amadeus Mozart
2
action count
action union
action filter_type
action find
entity Rondo in C for Violin and Orchestra
relation composer
type common name
action filter_type
action find
entity Mouk
relation composer
type common name
['Rondo in C for Violin and Orchestra', 'composer', {'concept': 'common name'}] ['Mouk', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?o ) WHERE { VALUES ( ?n ) { ( resource:Rondo_in_C_for_Violin_and_Orchestra ) ( resource:Mouk ) } . ?n property:composer ?w }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q166876
P7
Q502895
USER
Which people had Isidore of Seville as brother ?
(c(Q502895),P7,Q166876)
action filter_type
action find_reverse
entity Q166876
relation P7
type Q502895
[{'concept': 'Q502895'}, 'P7', 'Q166876']
SELECT DISTINCT ?x WHERE { ?x property:P7 resource:Q166876 . ?x rdf:type ontology:Q502895 }
Isidore of Seville
action filter_type
action find_reverse
entity Isidore of Seville
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Isidore of Seville']
SELECT DISTINCT ?x WHERE { ?x property:brother resource:Isidore_of_Seville . ?x rdf:type ontology:common_name }
[]
common name
Q577125 Q2626436 Q2616176
SYSTEM
Leander of Seville, Saint Florentina, Fulgentius of Cartagena
Q577125 Q2626436 Q2616176
(c(Q502895),P7,Q166876)
action filter_type
action find_reverse
entity Q166876
relation P7
type Q502895
[ANSWERS] had Isidore of Seville as brother
[{'concept': 'Q502895'}, 'P7', 'Q166876']
SELECT DISTINCT ?x WHERE { ?x property:P7 resource:Q166876 . ?x rdf:type ontology:Q502895 }
Leander of Seville Saint Florentina Fulgentius of Cartagena
Leander of Seville, Saint Florentina and Fulgentius of Cartagena had Isidore of Seville as brother
Leander of Seville Saint Florentina Fulgentius of Cartagena
action filter_type
action find_reverse
entity Isidore of Seville
relation brother
type common name
[{'concept': 'common name'}, 'brother', 'Isidore of Seville']
SELECT DISTINCT ?x WHERE { ?x property:brother resource:Isidore_of_Seville . ?x rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q166876
P674
Q223393
USER
Which literary genre is Isidore of Seville a character of ?
(c(Q223393),P674,Q166876)
action filter_type
action find_reverse
entity Q166876
relation P674
type Q223393
[{'concept': 'Q223393'}, 'P674', 'Q166876']
SELECT DISTINCT ?s WHERE { ?s property:P674 resource:Q166876 . ?s rdf:type ontology:Q223393 }
Isidore of Seville
action filter_type
action find_reverse
entity Isidore of Seville
relation characters
type literary genre
[{'concept': 'literary genre'}, 'characters', 'Isidore of Seville']
SELECT DISTINCT ?s WHERE { ?s property:characters resource:Isidore_of_Seville . ?s rdf:type ontology:literary_genre }
[]
literary genre
Q40185
SYSTEM
The Divine Comedy
Q40185
(c(Q223393),P674,Q166876)
action filter_type
action find_reverse
entity Q166876
relation P674
type Q223393
In [ANSWER] is Isidore of Seville a character of
[{'concept': 'Q223393'}, 'P674', 'Q166876']
SELECT DISTINCT ?s WHERE { ?s property:P674 resource:Q166876 . ?s rdf:type ontology:Q223393 }
The Divine Comedy
In The Divine Comedy is Isidore of Seville a character of
The Divine Comedy
action filter_type
action find_reverse
entity Isidore of Seville
relation characters
type literary genre
[{'concept': 'literary genre'}, 'characters', 'Isidore of Seville']
SELECT DISTINCT ?s WHERE { ?s property:characters resource:Isidore_of_Seville . ?s rdf:type ontology:literary_genre }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q40185
P1441
Q15619164
USER
Which abstract being is seen in that literary genre ?
(c(Q15619164),P1441,Q40185)
action filter_type
action find_reverse
entity Q40185
relation P1441
type Q15619164
[{'concept': 'Q15619164'}, 'P1441', 'Q40185']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15619164 . ?h property:P1441 resource:Q40185 }
The Divine Comedy
action filter_type
action find_reverse
entity The Divine Comedy
relation present in work
type abstract being
[{'concept': 'abstract being'}, 'present in work', 'The Divine Comedy']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:abstract_being . ?h property:present_in_work resource:The_Divine_Comedy }
[]
abstract being
Q4859462
SYSTEM
Barbariccia
Q4859462
(c(Q15619164),P1441,Q40185)
action filter_type
action find_reverse
entity Q40185
relation P1441
type Q15619164
[ANSWER] is seen in that literary genre
[{'concept': 'Q15619164'}, 'P1441', 'Q40185']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q15619164 . ?h property:P1441 resource:Q40185 }
Barbariccia
Barbariccia is seen in that literary genre
Barbariccia
action filter_type
action find_reverse
entity The Divine Comedy
relation present in work
type abstract being
[{'concept': 'abstract being'}, 'present in work', 'The Divine Comedy']
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:abstract_being . ?h property:present_in_work resource:The_Divine_Comedy }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19513790 Q166876
P276 P20
Q56061
USER
Which administrative territories did the demise of Isidore of Seville occur or can Seendstraat be found ?
OR((Q166876,P20,c(Q56061)), (Q19513790,P276,c(Q56061)))
action filter_type
action union
action find
entity Q166876
relation P20
action find
entity Q19513790
relation P276
type Q56061
{'OR': [['Q166876', 'P20', {'concept': 'Q56061'}], ['Q19513790', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q166876 property:P20 ?z } UNION { resource:Q19513790 property:P276 ?z } } . ?z rdf:type ontology:Q56061 }
Seendstraat Isidore of Seville
action filter_type
action union
action find
entity Isidore of Seville
relation place of death
action find
entity Seendstraat
relation location
type administrative territorial entity
{'OR': [['Isidore of Seville', 'place of death', {'concept': 'administrative territorial entity'}], ['Seendstraat', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Isidore_of_Seville property:place_of_death ?z } UNION { resource:Seendstraat property:location ?z } } . ?z rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q8717 Q2781496
SYSTEM
Seville, Sleen
Q8717 Q2781496
OR((Q166876,P20,c(Q56061)), (Q19513790,P276,c(Q56061)))
action filter_type
action union
action find
entity Q166876
relation P20
action find
entity Q19513790
relation P276
type Q56061
The demise of Isidore of Seville occurred between [ANSWERS]
{'OR': [['Q166876', 'P20', {'concept': 'Q56061'}], ['Q19513790', 'P276', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Q166876 property:P20 ?z } UNION { resource:Q19513790 property:P276 ?z } } . ?z rdf:type ontology:Q56061 }
Seville Sleen
The demise of Isidore of Seville occurred between Seville and Sleen
Seville Sleen
action filter_type
action union
action find
entity Isidore of Seville
relation place of death
action find
entity Seendstraat
relation location
type administrative territorial entity
{'OR': [['Isidore of Seville', 'place of death', {'concept': 'administrative territorial entity'}], ['Seendstraat', 'location', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?z WHERE { { { resource:Isidore_of_Seville property:place_of_death ?z } UNION { resource:Seendstraat property:location ?z } } . ?z rdf:type ontology:administrative_territorial_entity }
[]