Simple Question (Direct)
Simple Question
Q3704358
P1441
Q15416
USER
Where is Deborah Fiderer shown in ?
(Q3704358,P1441,c(Q15416))
action filter_type
action find
entity Q3704358
relation P1441
type Q15416
['Q3704358', 'P1441', {'concept': 'Q15416'}]
SELECT DISTINCT ?y WHERE { resource:Q3704358 property:P1441 ?y . ?y rdf:type ontology:Q15416 }
Deborah Fiderer
action filter_type
action find
entity Deborah Fiderer
relation present in work
type television program
['Deborah Fiderer', 'present in work', {'concept': 'television program'}]
SELECT DISTINCT ?y WHERE { resource:Deborah_Fiderer property:present_in_work ?y . ?y rdf:type ontology:television_program }
[]
television program
Q3577037
SYSTEM
The West Wing
Q3577037
(Q3704358,P1441,c(Q15416))
action filter_type
action find
entity Q3704358
relation P1441
type Q15416
Deborah Fiderer is shown in [ANSWER] in
['Q3704358', 'P1441', {'concept': 'Q15416'}]
SELECT DISTINCT ?y WHERE { resource:Q3704358 property:P1441 ?y . ?y rdf:type ontology:Q15416 }
The West Wing
Deborah Fiderer is shown in The West Wing in
The West Wing
action filter_type
action find
entity Deborah Fiderer
relation present in work
type television program
['Deborah Fiderer', 'present in work', {'concept': 'television program'}]
SELECT DISTINCT ?y WHERE { resource:Deborah_Fiderer property:present_in_work ?y . ?y rdf:type ontology:television_program }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3577037
P800
Q502895
USER
Who has that television program as their notable work ?
(c(Q502895),P800,Q3577037)
action filter_type
action find_reverse
entity Q3577037
relation P800
type Q502895
[{'concept': 'Q502895'}, 'P800', 'Q3577037']
SELECT DISTINCT ?l WHERE { ?l property:P800 resource:Q3577037 . ?l rdf:type ontology:Q502895 }
The West Wing
action filter_type
action find_reverse
entity The West Wing
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'The West Wing']
SELECT DISTINCT ?l WHERE { ?l property:notable_work resource:The_West_Wing . ?l rdf:type ontology:common_name }
[]
common name
Q4133060
SYSTEM
Rick Cleveland
Q4133060
(c(Q502895),P800,Q3577037)
action filter_type
action find_reverse
entity Q3577037
relation P800
type Q502895
[ANSWER] has that television program as their notable work
[{'concept': 'Q502895'}, 'P800', 'Q3577037']
SELECT DISTINCT ?l WHERE { ?l property:P800 resource:Q3577037 . ?l rdf:type ontology:Q502895 }
Rick Cleveland
Rick Cleveland has that television program as their notable work
Rick Cleveland
action filter_type
action find_reverse
entity The West Wing
relation notable work
type common name
[{'concept': 'common name'}, 'notable work', 'The West Wing']
SELECT DISTINCT ?l WHERE { ?l property:notable_work resource:The_West_Wing . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3577037
P361
Q15416
USER
Which television programs are a portion of that one ?
(c(Q15416),P361,Q4133060)
action filter_type
action find_reverse
entity Q3577037
relation P361
type Q15416
[{'concept': 'Q15416'}, 'P361', 'Q4133060']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15416 . ?b property:P361 resource:Q3577037 }
The West Wing
action filter_type
action find_reverse
entity The West Wing
relation part of
type television program
[{'concept': 'television program'}, 'part of', 'Rick Cleveland']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:television_program . ?b property:part_of resource:The_West_Wing }
[]
television program
Q3730544 Q3730543 Q3730545
SYSTEM
seventh season of The West Wing, sixth season of The West Wing, third season of The West Wing
Q3730545 Q3730544 Q3730543 Q3730542 Q3730540 Q3730536 Q3730539
(c(Q15416),P361,Q4133060)
action filter_type
action find_reverse
entity Q3577037
relation P361
type Q15416
[ANSWERS] are a portion of that one
[{'concept': 'Q15416'}, 'P361', 'Q4133060']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q15416 . ?b property:P361 resource:Q3577037 }
third season of The West Wing seventh season of The West Wing sixth season of The West Wing second season of The West Wing fifth season of The West Wing first season of The West Wing fourth season of The West Wing
Seventh season of The West Wing, sixth season of The West Wing and third season of The West Wing are a portion of that one
seventh season of The West Wing sixth season of The West Wing third season of The West Wing
action filter_type
action find_reverse
entity The West Wing
relation part of
type television program
[{'concept': 'television program'}, 'part of', 'Rick Cleveland']
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:television_program . ?b property:part_of resource:The_West_Wing }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q1860 Q3730545
P361 P364
Q15416
USER
Which television programs are a component of third season of The West Wing and were originally created in English language ?
AND((c(Q15416),P361,Q3730545), (c(Q15416),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q3730545
relation P361
action find_reverse
entity Q1860
relation P364
type Q15416
{'AND': [[{'concept': 'Q15416'}, 'P361', 'Q3730545'], [{'concept': 'Q15416'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?e WHERE { ?e property:P361 resource:Q3730545 . ?e property:P364 resource:Q1860 . ?e rdf:type ontology:Q15416 }
English third season of The West Wing
action filter_type
action intersection
action find_reverse
entity third season of The West Wing
relation part of
action find_reverse
entity English
relation original language of work
type television program
{'AND': [[{'concept': 'television program'}, 'part of', 'third season of The West Wing'], [{'concept': 'television program'}, 'original language of work', 'English']]}
SELECT DISTINCT ?e WHERE { ?e property:part_of resource:third_season_of_The_West_Wing . ?e property:original_language_of_work resource:English . ?e rdf:type ontology:television_program }
[]
television program
Q5920647
SYSTEM
Isaac and Ishmael
Q5920647
AND((c(Q15416),P361,Q3730545), (c(Q15416),P364,Q1860))
action filter_type
action intersection
action find_reverse
entity Q3730545
relation P361
action find_reverse
entity Q1860
relation P364
type Q15416
[ANSWER] is a component of third season of The West Wing and were originally created in English language
{'AND': [[{'concept': 'Q15416'}, 'P361', 'Q3730545'], [{'concept': 'Q15416'}, 'P364', 'Q1860']]}
SELECT DISTINCT ?e WHERE { ?e property:P361 resource:Q3730545 . ?e property:P364 resource:Q1860 . ?e rdf:type ontology:Q15416 }
Isaac and Ishmael
Isaac and Ishmael is a component of third season of The West Wing and were originally created in English language
Isaac and Ishmael
action filter_type
action intersection
action find_reverse
entity third season of The West Wing
relation part of
action find_reverse
entity English
relation original language of work
type television program
{'AND': [[{'concept': 'television program'}, 'part of', 'third season of The West Wing'], [{'concept': 'television program'}, 'original language of work', 'English']]}
SELECT DISTINCT ?e WHERE { ?e property:part_of resource:third_season_of_The_West_Wing . ?e property:original_language_of_work resource:English . ?e rdf:type ontology:television_program }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5920647
P86
Q502895
USER
Which person composed that television program ?
(Q5920647,P86,c(Q502895))
action filter_type
action find
entity Q5920647
relation P86
type Q502895
['Q5920647', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q5920647 property:P86 ?r }
Isaac and Ishmael
action filter_type
action find
entity Isaac and Ishmael
relation composer
type common name
['Isaac and Ishmael', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:Isaac_and_Ishmael property:composer ?r }
[]
common name
Q921216
SYSTEM
W. G. Snuffy Walden
Q921216
(Q5920647,P86,c(Q502895))
action filter_type
action find
entity Q5920647
relation P86
type Q502895
[ANSWER] composed that television program
['Q5920647', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q502895 . resource:Q5920647 property:P86 ?r }
W. G. Snuffy Walden
W. G. Snuffy Walden composed that television program
W. G. Snuffy Walden
action filter_type
action find
entity Isaac and Ishmael
relation composer
type common name
['Isaac and Ishmael', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:common_name . resource:Isaac_and_Ishmael property:composer ?r }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q921216
P735
Q378408
USER
What is the name that person is known by ?
(Q921216,P735,c(Q378408))
action filter_type
action find
entity Q921216
relation P735
type Q378408
['Q921216', 'P735', {'concept': 'Q378408'}]
SELECT DISTINCT ?g WHERE { resource:Q921216 property:P735 ?g . ?g rdf:type ontology:Q378408 }
W. G. Snuffy Walden
action filter_type
action find
entity W. G. Snuffy Walden
relation given name
type initial
['W. G. Snuffy Walden', 'given name', {'concept': 'initial'}]
SELECT DISTINCT ?g WHERE { resource:W._G._Snuffy_Walden property:given_name ?g . ?g rdf:type ontology:initial }
[]
initial
Q19803523
SYSTEM
W.
Q19803523
(Q921216,P735,c(Q378408))
action filter_type
action find
entity Q921216
relation P735
type Q378408
The name that person is known by is a [ANSWER]
['Q921216', 'P735', {'concept': 'Q378408'}]
SELECT DISTINCT ?g WHERE { resource:Q921216 property:P735 ?g . ?g rdf:type ontology:Q378408 }
W.
The name that person is known by is a W.
W.
action filter_type
action find
entity W. G. Snuffy Walden
relation given name
type initial
['W. G. Snuffy Walden', 'given name', {'concept': 'initial'}]
SELECT DISTINCT ?g WHERE { resource:W._G._Snuffy_Walden property:given_name ?g . ?g rdf:type ontology:initial }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q921216
P1346
Q618779
USER
Where was W. G. Snuffy Walden decalred as a victor ?
(c(Q618779),P1346,Q921216)
action filter_type
action find_reverse
entity Q921216
relation P1346
type Q618779
[{'concept': 'Q618779'}, 'P1346', 'Q921216']
SELECT DISTINCT ?m WHERE { ?m property:P1346 resource:Q921216 . ?m rdf:type ontology:Q618779 }
W. G. Snuffy Walden
action filter_type
action find_reverse
entity W. G. Snuffy Walden
relation winner
type award
[{'concept': 'award'}, 'winner', 'W. G. Snuffy Walden']
SELECT DISTINCT ?m WHERE { ?m property:winner resource:W._G._Snuffy_Walden . ?m rdf:type ontology:award }
[]
award
Q7243507
SYSTEM
Primetime Emmy Award for Outstanding Main Title Theme Music
Q7243507
(c(Q618779),P1346,Q921216)
action filter_type
action find_reverse
entity Q921216
relation P1346
type Q618779
W. G. Snuffy Walden was decalred for [ANSWER] as a victor
[{'concept': 'Q618779'}, 'P1346', 'Q921216']
SELECT DISTINCT ?m WHERE { ?m property:P1346 resource:Q921216 . ?m rdf:type ontology:Q618779 }
Primetime Emmy Award for Outstanding Main Title Theme Music
W. G. Snuffy Walden was decalred for Primetime Emmy Award for Outstanding Main Title Theme Music as a victor
Primetime Emmy Award for Outstanding Main Title Theme Music
action filter_type
action find_reverse
entity W. G. Snuffy Walden
relation winner
type award
[{'concept': 'award'}, 'winner', 'W. G. Snuffy Walden']
SELECT DISTINCT ?m WHERE { ?m property:winner resource:W._G._Snuffy_Walden . ?m rdf:type ontology:award }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q3730544
P161
Q502895
USER
How many people are in seventh season of The West Wing ?
(Q3730544,P161,c(Q502895))
action count
action filter_type
action find
entity Q3730544
relation P161
type Q502895
['Q3730544', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { resource:Q3730544 property:P161 ?b . ?b rdf:type ontology:Q502895 }
seventh season of The West Wing
action count
action filter_type
action find
entity seventh season of The West Wing
relation cast member
type common name
['seventh season of The West Wing', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { resource:seventh_season_of_The_West_Wing property:cast_member ?b . ?b rdf:type ontology:common_name }
[]
common name
SYSTEM
13
Q229487 Q310394 Q184572 Q355209 Q73416 Q60422 Q352748 Q242650 Q1117390 Q231811 Q458664 Q352180 Q114447
(Q3730544,P161,c(Q502895))
action count
action filter_type
action find
entity Q3730544
relation P161
type Q502895
[ANSWER]
['Q3730544', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { resource:Q3730544 property:P161 ?b . ?b rdf:type ontology:Q502895 }
Allison Janney Alan Alda Martin Sheen Richard Schiff Jimmy Smits Joshua Malina John Spencer Mary McCormack Stockard Channing Kristin Chenoweth Dulé Hill Bradley Whitford Janel Moloney
13
action count
action filter_type
action find
entity seventh season of The West Wing
relation cast member
type common name
['seventh season of The West Wing', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { resource:seventh_season_of_The_West_Wing property:cast_member ?b . ?b rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q227461
P161
Q502895
USER
And also tell me about Too Hot to Handle?
(Q227461,P161,c(Q502895))
action count
action filter_type
action find
entity Q227461
relation P161
type Q502895
['Q227461', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { resource:Q227461 property:P161 ?d . ?d rdf:type ontology:Q502895 }
Too Hot to Handle
action count
action filter_type
action find
entity Too Hot to Handle
relation cast member
type common name
['Too Hot to Handle', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { resource:Too_Hot_to_Handle property:cast_member ?d . ?d rdf:type ontology:common_name }
[]
common name
SYSTEM
16
Q3569077 Q3116367 Q224356 Q352701 Q77570 Q445018 Q1308174 Q726919 Q1158727 Q1804811 Q381638 Q105941 Q1395617 Q350640 Q71243 Q405036
(Q227461,P161,c(Q502895))
action count
action filter_type
action find
entity Q227461
relation P161
type Q502895
[ANSWER]
['Q227461', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { resource:Q227461 property:P161 ?d . ?d rdf:type ontology:Q502895 }
Willie Fung Gregory Gaye Virginia Weidler Richard Loo Al Shean Marjorie Main James Flavin Walter Connolly Henry Kolker Lane Chandler Chrispin Martin Myrna Loy Leo Carrillo Walter Pidgeon Clark Gable Aileen Pringle
16
action count
action filter_type
action find
entity Too Hot to Handle
relation cast member
type common name
['Too Hot to Handle', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { resource:Too_Hot_to_Handle property:cast_member ?d . ?d rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q400117
Q502895
USER
And also tell me about Getaway?
(Q400117,P161,c(Q502895))
action count
action filter_type
action find
entity Q400117
relation P161
type Q502895
['Q400117', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { resource:Q400117 property:P161 ?t . ?t rdf:type ontology:Q502895 }
Getaway
action count
action filter_type
action find
entity Getaway
relation cast member
type common name
['Getaway', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { resource:Getaway property:cast_member ?t . ?t rdf:type ontology:common_name }
[]
common name
SYSTEM
6
(Q400117,P161,c(Q502895))
action count
action filter_type
action find
entity Q400117
relation P161
type Q502895
[ANSWER]
['Q400117', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { resource:Q400117 property:P161 ?t . ?t rdf:type ontology:Q502895 }
6
action count
action filter_type
action find
entity Getaway
relation cast member
type common name
['Getaway', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?b ) WHERE { resource:Getaway property:cast_member ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3730544
P921
Q40231
USER
What topic was discussed in seventh season of The West Wing ?
(Q3730544,P921,c(Q40231))
action filter_type
action find
entity Q3730544
relation P921
type Q40231
['Q3730544', 'P921', {'concept': 'Q40231'}]
SELECT DISTINCT ?n WHERE { resource:Q3730544 property:P921 ?n . ?n rdf:type ontology:Q40231 }
seventh season of The West Wing
action filter_type
action find
entity seventh season of The West Wing
relation main subject
type election
['seventh season of The West Wing', 'main subject', {'concept': 'election'}]
SELECT DISTINCT ?n WHERE { resource:seventh_season_of_The_West_Wing property:main_subject ?n . ?n rdf:type ontology:election }
[]
election
Q47566
SYSTEM
United States presidential election
Q47566
(Q3730544,P921,c(Q40231))
action filter_type
action find
entity Q3730544
relation P921
type Q40231
[ANSWER] was discussed in seventh season of The West Wing
['Q3730544', 'P921', {'concept': 'Q40231'}]
SELECT DISTINCT ?n WHERE { resource:Q3730544 property:P921 ?n . ?n rdf:type ontology:Q40231 }
United States presidential election
United States presidential election was discussed in seventh season of The West Wing
United States presidential election
action filter_type
action find
entity seventh season of The West Wing
relation main subject
type election
['seventh season of The West Wing', 'main subject', {'concept': 'election'}]
SELECT DISTINCT ?n WHERE { resource:seventh_season_of_The_West_Wing property:main_subject ?n . ?n rdf:type ontology:election }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q22998378
Q40231
USER
And what about Election Day Part II?
(Q22998378,P921,c(Q40231))
action filter_type
action find
entity Q22998378
relation P921
type Q40231
['Q22998378', 'P921', {'concept': 'Q40231'}]
SELECT DISTINCT ?m WHERE { resource:Q22998378 property:P921 ?m . ?m rdf:type ontology:Q40231 }
Election Day Part II
action filter_type
action find
entity Election Day Part II
relation main subject
type election
['Election Day Part II', 'main subject', {'concept': 'election'}]
SELECT DISTINCT ?m WHERE { resource:Election_Day_Part_II property:main_subject ?m . ?m rdf:type ontology:election }
[]
election
Q47566
SYSTEM
United States presidential election
Q47566
(Q22998378,P921,c(Q40231))
action filter_type
action find
entity Q22998378
relation P921
type Q40231
[ANSWER]
['Q22998378', 'P921', {'concept': 'Q40231'}]
SELECT DISTINCT ?m WHERE { resource:Q22998378 property:P921 ?m . ?m rdf:type ontology:Q40231 }
United States presidential election
United States presidential election
action filter_type
action find
entity Election Day Part II
relation main subject
type election
['Election Day Part II', 'main subject', {'concept': 'election'}]
SELECT DISTINCT ?m WHERE { resource:Election_Day_Part_II property:main_subject ?m . ?m rdf:type ontology:election }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q22998378
P161
Q502895
USER
How many people starred in Election Day Part II ?
(Q22998378,P161,c(Q502895))
action count
action filter_type
action find
entity Q22998378
relation P161
type Q502895
['Q22998378', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { resource:Q22998378 property:P161 ?d . ?d rdf:type ontology:Q502895 }
Election Day Part II
action count
action filter_type
action find
entity Election Day Part II
relation cast member
type common name
['Election Day Part II', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { resource:Election_Day_Part_II property:cast_member ?d . ?d rdf:type ontology:common_name }
[]
common name
SYSTEM
28
Q229487 Q449965 Q231811 Q24076517 Q114447 Q7152642 Q24036638 Q13410152 Q382036 Q236300 Q23000934 Q40143 Q23000714 Q184572 Q73416 Q60422 Q352748 Q2635096 Q310394 Q2356564 Q24076563 Q1847082 Q464320 Q2283881 Q242650 Q442951 Q352180 Q24076643
(Q22998378,P161,c(Q502895))
action count
action filter_type
action find
entity Q22998378
relation P161
type Q502895
[ANSWER]
['Q22998378', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { resource:Q22998378 property:P161 ?d . ?d rdf:type ontology:Q502895 }
Allison Janney Renée Estevez Kristin Chenoweth Shawn Michael Patrick Janel Moloney Paul Moyer Karis Campbell NiCole Robinson Ron Silver Teri Polo Penny Griego Janeane Garofalo Ivan Allen Martin Sheen Jimmy Smits Joshua Malina John Spencer Melinda McGraw Alan Alda Diana-Maria Riva Michael Bofshever John Aylward Stephen Root Matthew Del Negro Mary McCormack Patricia Richardson Bradley Whitford Mike Kersey
28
action count
action filter_type
action find
entity Election Day Part II
relation cast member
type common name
['Election Day Part II', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?q ) WHERE { resource:Election_Day_Part_II property:cast_member ?d . ?d rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q2312518
Q502895
USER
And also tell me about Traffic Jam?
(Q2312518,P161,c(Q502895))
action count
action filter_type
action find
entity Q2312518
relation P161
type Q502895
['Q2312518', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { resource:Q2312518 property:P161 ?v . ?v rdf:type ontology:Q502895 }
Traffic Jam
action count
action filter_type
action find
entity Traffic Jam
relation cast member
type common name
['Traffic Jam', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { resource:Traffic_Jam property:cast_member ?v . ?v rdf:type ontology:common_name }
[]
common name
SYSTEM
21
(Q2312518,P161,c(Q502895))
action count
action filter_type
action find
entity Q2312518
relation P161
type Q502895
[ANSWER]
['Q2312518', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { resource:Q2312518 property:P161 ?v . ?v rdf:type ontology:Q502895 }
21
action count
action filter_type
action find
entity Traffic Jam
relation cast member
type common name
['Traffic Jam', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?w ) WHERE { resource:Traffic_Jam property:cast_member ?v . ?v rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q5920647 Q4407757
P138
Q502895
USER
How many people are Isaac and Ishmael or Saint Petersburg Suvorov Military School named after ?
(Q5920647,P138,c(Q502895)) (Q4407757,P138,c(Q502895))
action count
action union
action filter_type
action find
entity Q5920647
relation P138
type Q502895
action filter_type
action find
entity Q4407757
relation P138
type Q502895
['Q5920647', 'P138', {'concept': 'Q502895'}] ['Q4407757', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { ?u property:P138 ?n . VALUES ( ?u ) { ( resource:Q4407757 ) ( resource:Q5920647 ) } }
Isaac and Ishmael Saint Petersburg Suvorov Military School
action count
action union
action filter_type
action find
entity Isaac and Ishmael
relation named after
type common name
action filter_type
action find
entity Saint Petersburg Suvorov Military School
relation named after
type common name
['Isaac and Ishmael', 'named after', {'concept': 'common name'}] ['Saint Petersburg Suvorov Military School', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { ?u property:named_after ?n . VALUES ( ?u ) { ( resource:Saint_Petersburg_Suvorov_Military_School ) ( resource:Isaac_and_Ishmael ) } }
[]
common name
SYSTEM
2
Q154232 Q671872
(Q5920647,P138,c(Q502895)) (Q4407757,P138,c(Q502895))
action count
action union
action filter_type
action find
entity Q5920647
relation P138
type Q502895
action filter_type
action find
entity Q4407757
relation P138
type Q502895
[ANSWER]
['Q5920647', 'P138', {'concept': 'Q502895'}] ['Q4407757', 'P138', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { ?u property:P138 ?n . VALUES ( ?u ) { ( resource:Q4407757 ) ( resource:Q5920647 ) } }
Alexander Suvorov Isaac
2
action count
action union
action filter_type
action find
entity Isaac and Ishmael
relation named after
type common name
action filter_type
action find
entity Saint Petersburg Suvorov Military School
relation named after
type common name
['Isaac and Ishmael', 'named after', {'concept': 'common name'}] ['Saint Petersburg Suvorov Military School', 'named after', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?r ) WHERE { ?u property:named_after ?n . VALUES ( ?u ) { ( resource:Saint_Petersburg_Suvorov_Military_School ) ( resource:Isaac_and_Ishmael ) } }
[]