Simple Question (Direct)
Simple Question
Q5132864
P241
Q781132
USER
Which military branch is Clifford B. Hicks affiliated to ?
(Q5132864,P241,c(Q781132))
action filter_type
action find
entity Q5132864
relation P241
type Q781132
['Q5132864', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?j WHERE { resource:Q5132864 property:P241 ?j . ?j rdf:type ontology:Q781132 }
Clifford B. Hicks
action filter_type
action find
entity Clifford B. Hicks
relation military branch
type military branch
['Clifford B. Hicks', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?j WHERE { resource:Clifford_B._Hicks property:military_branch ?j . ?j rdf:type ontology:military_branch }
[]
military branch
Q11218
SYSTEM
United States Marine Corps
Q11218
(Q5132864,P241,c(Q781132))
action filter_type
action find
entity Q5132864
relation P241
type Q781132
The [ANSWER] is Clifford B. Hicks affiliated to
['Q5132864', 'P241', {'concept': 'Q781132'}]
SELECT DISTINCT ?j WHERE { resource:Q5132864 property:P241 ?j . ?j rdf:type ontology:Q781132 }
United States Marine Corps
The United States Marine Corps is Clifford B. Hicks affiliated to
United States Marine Corps
action filter_type
action find
entity Clifford B. Hicks
relation military branch
type military branch
['Clifford B. Hicks', 'military branch', {'concept': 'military branch'}]
SELECT DISTINCT ?j WHERE { resource:Clifford_B._Hicks property:military_branch ?j . ?j rdf:type ontology:military_branch }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5132864
P166
Q618779
USER
What was received by Clifford B. Hicks ?
(Q5132864,P166,c(Q618779))
action filter_type
action find
entity Q5132864
relation P166
type Q618779
['Q5132864', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q618779 . resource:Q5132864 property:P166 ?t }
Clifford B. Hicks
action filter_type
action find
entity Clifford B. Hicks
relation award received
type award
['Clifford B. Hicks', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:award . resource:Clifford_B._Hicks property:award_received ?t }
[]
award
Q852071
SYSTEM
Silver Star
Q852071
(Q5132864,P166,c(Q618779))
action filter_type
action find
entity Q5132864
relation P166
type Q618779
[ANSWER] was received by Clifford B. Hicks
['Q5132864', 'P166', {'concept': 'Q618779'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:Q618779 . resource:Q5132864 property:P166 ?t }
Silver Star
Silver Star was received by Clifford B. Hicks
Silver Star
action filter_type
action find
entity Clifford B. Hicks
relation award received
type award
['Clifford B. Hicks', 'award received', {'concept': 'award'}]
SELECT DISTINCT ?t WHERE { ?t rdf:type ontology:award . resource:Clifford_B._Hicks property:award_received ?t }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1411
Q618779 Q502895 Q838948
USER
Which awards were max number of people and works of art nominated for ?
(c(Q502895)|c(Q838948),P1411,c(Q618779))
action argmax
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
[[{'concept': 'Q502895'}, {'concept': 'Q838948'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?y ) { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?k ) WHERE { ?b rdf:type ?s . VALUES ( ?s ) { ( ontology:Q838948 ) ( ontology:Q502895 ) } } GROUP BY ?q } } . { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?c ) WHERE { { ?u property:P1411 ?a . ?a rdf:type ontology:Q618779 . ?u rdf:type ontology:Q502895 } UNION { ?u property:P1411 ?a . ?a rdf:type ontology:Q618779 . ?u rdf:type ontology:Q838948 } } GROUP BY ?a } . FILTER ( ?c = ?y ) }
action argmax
action union
action find_reverse_tuple_counts
relation nominated for
type award
type common name
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
[[{'concept': 'common name'}, {'concept': 'work of art'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?y ) { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?k ) WHERE { ?b rdf:type ?s . VALUES ( ?s ) { ( ontology:work_of_art ) ( ontology:common_name ) } } GROUP BY ?q } } . { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?c ) WHERE { { ?u property:nominated_for ?a . ?a rdf:type ontology:award . ?u rdf:type ontology:common_name } UNION { ?u property:nominated_for ?a . ?a rdf:type ontology:award . ?u rdf:type ontology:work_of_art } } GROUP BY ?a } . FILTER ( ?c = ?y ) }
[]
award common name work of art
Q37922
SYSTEM
Nobel Prize in Literature
Q37922
(c(Q502895)|c(Q838948),P1411,c(Q618779))
action argmax
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
Max number of people and works of art were nominated for the [ANSWER]
[[{'concept': 'Q502895'}, {'concept': 'Q838948'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?y ) { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?k ) WHERE { ?b rdf:type ?s . VALUES ( ?s ) { ( ontology:Q838948 ) ( ontology:Q502895 ) } } GROUP BY ?q } } . { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?c ) WHERE { { ?u property:P1411 ?a . ?a rdf:type ontology:Q618779 . ?u rdf:type ontology:Q502895 } UNION { ?u property:P1411 ?a . ?a rdf:type ontology:Q618779 . ?u rdf:type ontology:Q838948 } } GROUP BY ?a } . FILTER ( ?c = ?y ) }
Nobel Prize in Literature
Max number of people and works of art were nominated for the Nobel Prize in Literature
Nobel Prize in Literature
action argmax
action union
action find_reverse_tuple_counts
relation nominated for
type award
type common name
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
[[{'concept': 'common name'}, {'concept': 'work of art'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ( MAX ( ?k ) AS ?y ) { SELECT DISTINCT ?q ( COUNT ( ?b ) AS ?k ) WHERE { ?b rdf:type ?s . VALUES ( ?s ) { ( ontology:work_of_art ) ( ontology:common_name ) } } GROUP BY ?q } } . { SELECT DISTINCT ?a ( COUNT ( ?u ) AS ?c ) WHERE { { ?u property:nominated_for ?a . ?a rdf:type ontology:award . ?u rdf:type ontology:common_name } UNION { ?u property:nominated_for ?a . ?a rdf:type ontology:award . ?u rdf:type ontology:work_of_art } } GROUP BY ?a } . FILTER ( ?c = ?y ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P1411
Q618779 Q838948 Q502895
USER
Which awards were max number of works of art or people a recipient of ?
(c(Q838948)|c(Q502895),P1411,c(Q618779))
action argmax
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
[[{'concept': 'Q838948'}, {'concept': 'Q502895'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) ?t WHERE { ?d rdf:type ?z . VALUES ( ?z ) { ( ontology:Q838948 ) ( ontology:Q502895 ) } } GROUP BY ?t } . FILTER ( ?j = ?l ) . { SELECT DISTINCT ( MAX ( ?x ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) ?o WHERE { { ?a property:P1411 ?o . ?a rdf:type ontology:Q838948 . ?o rdf:type ontology:Q618779 } UNION { ?a property:P1411 ?o . ?o rdf:type ontology:Q618779 . ?a rdf:type ontology:Q502895 } } GROUP BY ?o } } }
action argmax
action union
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
action find_reverse_tuple_counts
relation nominated for
type award
type common name
[[{'concept': 'work of art'}, {'concept': 'common name'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) ?t WHERE { ?d rdf:type ?z . VALUES ( ?z ) { ( ontology:work_of_art ) ( ontology:common_name ) } } GROUP BY ?t } . FILTER ( ?j = ?l ) . { SELECT DISTINCT ( MAX ( ?x ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) ?o WHERE { { ?a property:nominated_for ?o . ?a rdf:type ontology:work_of_art . ?o rdf:type ontology:award } UNION { ?a property:nominated_for ?o . ?o rdf:type ontology:award . ?a rdf:type ontology:common_name } } GROUP BY ?o } } }
[]
award work of art common name
Q37922
SYSTEM
Nobel Prize in Literature
Q37922
(c(Q838948)|c(Q502895),P1411,c(Q618779))
action argmax
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
[ANSWER] was max number of works of art or people a recipient of
[[{'concept': 'Q838948'}, {'concept': 'Q502895'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) ?t WHERE { ?d rdf:type ?z . VALUES ( ?z ) { ( ontology:Q838948 ) ( ontology:Q502895 ) } } GROUP BY ?t } . FILTER ( ?j = ?l ) . { SELECT DISTINCT ( MAX ( ?x ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) ?o WHERE { { ?a property:P1411 ?o . ?a rdf:type ontology:Q838948 . ?o rdf:type ontology:Q618779 } UNION { ?a property:P1411 ?o . ?o rdf:type ontology:Q618779 . ?a rdf:type ontology:Q502895 } } GROUP BY ?o } } }
Nobel Prize in Literature
Nobel Prize in Literature was max number of works of art or people a recipient of
Nobel Prize in Literature
action argmax
action union
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
action find_reverse_tuple_counts
relation nominated for
type award
type common name
[[{'concept': 'work of art'}, {'concept': 'common name'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?j ) ?t WHERE { ?d rdf:type ?z . VALUES ( ?z ) { ( ontology:work_of_art ) ( ontology:common_name ) } } GROUP BY ?t } . FILTER ( ?j = ?l ) . { SELECT DISTINCT ( MAX ( ?x ) AS ?l ) { SELECT DISTINCT ( COUNT ( ?a ) AS ?x ) ?o WHERE { { ?a property:nominated_for ?o . ?a rdf:type ontology:work_of_art . ?o rdf:type ontology:award } UNION { ?a property:nominated_for ?o . ?o rdf:type ontology:award . ?a rdf:type ontology:common_name } } GROUP BY ?o } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P1346
Q502895
USER
How many people won that award ?
(Q37922,P1346,c(Q502895))
action count
action filter_type
action find
entity Q37922
relation P1346
type Q502895
['Q37922', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { resource:Q37922 property:P1346 ?d . ?d rdf:type ontology:Q502895 }
action count
action filter_type
action find
entity Nobel Prize in Literature
relation winner
type common name
['Nobel Prize in Literature', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { resource:Nobel_Prize_in_Literature property:winner ?d . ?d rdf:type ontology:common_name }
[]
common name
SYSTEM
5
Q121180 Q225554 Q159552 Q47561 Q131487
(Q37922,P1346,c(Q502895))
action count
action filter_type
action find
entity Q37922
relation P1346
type Q502895
[ANSWER]
['Q37922', 'P1346', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { resource:Q37922 property:P1346 ?d . ?d rdf:type ontology:Q502895 }
Władysław Reymont Henrik Pontoppidan Johannes V. Jensen Ivo Andrić Karl Adolph Gjellerup
5
action count
action filter_type
action find
entity Nobel Prize in Literature
relation winner
type common name
['Nobel Prize in Literature', 'winner', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { resource:Nobel_Prize_in_Literature property:winner ?d . ?d rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P1411
Q618779 Q838948 Q502895
USER
How many awards were approximately 95 works of art or people a recipient of ?
(c(Q838948)|c(Q502895),P1411,c(Q618779))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
value 95
[[{'concept': 'Q838948'}, {'concept': 'Q502895'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?r ) WHERE { { ?f rdf:type ontology:Q838948 . ?b rdf:type ontology:Q618779 . ?f property:P1411 ?b } UNION { ?f property:P1411 ?b . ?f rdf:type ontology:Q502895 . ?b rdf:type ontology:Q618779 } } GROUP BY ?b } . FILTER ( ?r = 95 ) }
action count
action approx
action union
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
action find_reverse_tuple_counts
relation nominated for
type award
type common name
value 95
[[{'concept': 'work of art'}, {'concept': 'common name'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?r ) WHERE { { ?f rdf:type ontology:work_of_art . ?b rdf:type ontology:award . ?f property:nominated_for ?b } UNION { ?f property:nominated_for ?b . ?f rdf:type ontology:common_name . ?b rdf:type ontology:award } } GROUP BY ?b } . FILTER ( ?r = 95 ) }
[]
award work of art common name
SYSTEM
101
Q622813 Q1780634 Q24241 Q904528 Q2529789 Q1459443 Q1681198 Q1086189 Q5280675 Q266012 Q900378 Q1238714 Q160082 Q26084288 Q655056 Q7821796 Q2295011 Q989447 Q989449 Q2925701 Q4896642 Q24204611 Q1441582 Q5305719 Q23091 Q2442442 Q580574 Q900414 Q1967719 Q8038458 Q1320315 Q945887 Q922396 Q900385 Q2544859 Q2544851 Q900369 Q19859744 Q1260789 Q5593832 Q900494 Q641316 Q645595 Q610903 Q3405409 Q900424 Q989439 Q989438 Q1421666 Q24204609 Q1026417 Q225085 Q5305703 Q5305701 Q29597 Q4377021 Q4896724 Q898527 Q2295041 Q943106 Q1043985 Q1659572 Q8038461 Q971363 Q4790397 Q1341487 Q602299 Q518675 Q13449461 Q26079956 Q430035 Q2110156 Q1285970 Q1535145 Q832120 Q8035703 Q24204631 Q24204630 Q24204635 Q24204634 Q4896697 Q1441539 Q545970 Q2294693 Q16985679 Q2530270 Q16275104 Q24137 Q900447 Q989453 Q5569374 Q1170507 Q936683 Q1170500 Q3993187 Q977915 Q1441572 Q1265782 Q947090 Q84000 Q3019369
(c(Q838948)|c(Q502895),P1411,c(Q618779))
action count
action approx
action union
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q838948
action find_reverse_tuple_counts
relation P1411
type Q618779
type Q502895
value 95
[ANSWER]
[[{'concept': 'Q838948'}, {'concept': 'Q502895'}], 'P1411', {'concept': 'Q618779'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?r ) WHERE { { ?f rdf:type ontology:Q838948 . ?b rdf:type ontology:Q618779 . ?f property:P1411 ?b } UNION { ?f property:P1411 ?b . ?f rdf:type ontology:Q502895 . ?b rdf:type ontology:Q618779 } } GROUP BY ?b } . FILTER ( ?r = 95 ) }
Newbery Medal Golden Raspberry Award for Worst Picture César Award for Best Actress Grammy Award for Album of the Year Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Comedy Series Grammy Award for Best R&B Song James Tiptree, Jr. Award Nebula Award for Best Novella Directors Guild of America Award for Outstanding Directing – Feature Film Nebula Award for Best Novel César Award for Best Sound Golden Raspberry Award for Worst Director Man Booker Prize Tony Award for Best Sound Design of a Musical César Award for Best First Feature Film Tony Award for Best Lighting Design Independent Spirit Award for Best Foreign Film Primetime Emmy Award for Outstanding Lead Actress in a Miniseries or a Movie Primetime Emmy Award for Outstanding Supporting Actress in a Miniseries or a Movie British Academy Television Award for Best Actor Best Female Athlete ESPY Award Tony Award for Best Scenic Design in a Musical American Music Award for Favorite Country Female Artist Drama Desk Award for Outstanding Musical César Award for Best Music Written for a Film Tony Award for Best Conductor and Musical Director Neustadt International Prize for Literature César Award for Best Foreign Film National Society of Film Critics Award for Best Supporting Actress Writers Guild of America Award for Best Adapted Screenplay Screen Actors Guild Award for Outstanding Performance by a Female Actor in a Supporting Role Primetime Emmy Award for Outstanding Supporting Actor in a Miniseries or a Movie Broadcast Film Critics Association Award for Best Cast César Award for Best Costume Design Independent Spirit Award for Best Male Lead Independent Spirit Award for Best Female Lead César Award for Best Writing Favorite Country Single Screen Actors Guild Award for Outstanding Performance by a Male Actor in a Supporting Role Grammy Award for Best Male Country Vocal Performance César Award for Best Actor Golden Raspberry Award for Worst Supporting Actor César Award for Best Film Nebula Award for Best Short Story World Fantasy Award for Best Novella César Award for Best Supporting Actor Primetime Emmy Award for Outstanding Lead Actor in a Drama Series Primetime Emmy Award for Outstanding Drama Series Golden Raspberry Award for Worst Screenplay Tony Award for Best Scenic Design in a Play Caldecott Medal César Award for Best Cinematography Drama Desk Award for Outstanding Actress in a Musical Drama Desk Award for Outstanding Actor in a Play César Award for Most Promising Actress Primetime Emmy Award for Individual Performance in a Variety or Music Program Best Male Athlete ESPY Award World Fantasy Award for Best Novel Independent Spirit Award for Best Director Best NBA Player ESPY Award Carnegie Medal NAACP Image Award for Outstanding Actress in a Motion Picture Writers Guild of America Award for Best Original Screenplay Guardian Children's Fiction Prize Ariel Award for Best Actress Philip K. Dick Award Golden Raspberry Award for Worst Actor Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture Tony Award for Best Scenic Design Tony Award for Best Sound Design of a Play Astrid Lindgren Memorial Award Primetime Emmy Award for Outstanding Comedy Series Primetime Emmy Award for Outstanding Supporting Actor in a Comedy Series Golden Raspberry Award for Worst Screen Couple/Ensemble César Award for Best Adaptation World Fantasy Award for Best Anthology Tony Award for Best Costume Design in a Musical Tony Award for Best Costume Design in a Play Tony Award for Best Lighting Design in a Musical Tony Award for Best Lighting Design in a Play Best Jockey ESPY Award American Music Award for Favorite Country Album César Award for Best Original Screenplay Independent Spirit Award for Best Supporting Male Tony Award for Best Director Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Drama Series Best Female Tennis Player ESPY Award César Award for Best Director César Award for Best Editing Primetime Emmy Award for Outstanding Lead Actor in a Miniseries or a Movie Producers Guild of America Award for Best Theatrical Motion Picture Independent Spirit Award for Best Screenplay Nebula Award for Best Novelette Independent Spirit Award for Best First Feature Tony Award for Best Costume Design Golden Raspberry Award for Worst Supporting Actress Favorite Country Male Artist Primetime Emmy Award for Outstanding Writing for a Variety, Music or Comedy Program Grammy Award for Best Male Pop Vocal Performance César Award for Best Supporting Actress Daytime Emmy Award for Outstanding Children's Animated Program
101
action count
action approx
action union
action find_reverse_tuple_counts
relation nominated for
type award
type work of art
action find_reverse_tuple_counts
relation nominated for
type award
type common name
value 95
[[{'concept': 'work of art'}, {'concept': 'common name'}], 'nominated for', {'concept': 'award'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?e ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?f ) AS ?r ) WHERE { { ?f rdf:type ontology:work_of_art . ?b rdf:type ontology:award . ?f property:nominated_for ?b } UNION { ?f property:nominated_for ?b . ?f rdf:type ontology:common_name . ?b rdf:type ontology:award } } GROUP BY ?b } . FILTER ( ?r = 95 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1546449 Q11218
P121
Q11436
USER
Which aircrafts are managed by United States Marine Corps or Hellenic Army ?
OR((Q11218,P121,c(Q11436)), (Q1546449,P121,c(Q11436)))
action filter_type
action union
action find
entity Q11218
relation P121
action find
entity Q1546449
relation P121
type Q11436
{'OR': [['Q11218', 'P121', {'concept': 'Q11436'}], ['Q1546449', 'P121', {'concept': 'Q11436'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q11218 property:P121 ?g } UNION { resource:Q1546449 property:P121 ?g } } . ?g rdf:type ontology:Q11436 }
Hellenic Army United States Marine Corps
action filter_type
action union
action find
entity United States Marine Corps
relation item operated
action find
entity Hellenic Army
relation item operated
type aircraft
{'OR': [['United States Marine Corps', 'item operated', {'concept': 'aircraft'}], ['Hellenic Army', 'item operated', {'concept': 'aircraft'}]]}
SELECT DISTINCT ?g WHERE { { { resource:United_States_Marine_Corps property:item_operated ?g } UNION { resource:Hellenic_Army property:item_operated ?g } } . ?g rdf:type ontology:aircraft }
[]
aircraft
Q11436
SYSTEM
aircraft
Q11436
OR((Q11218,P121,c(Q11436)), (Q1546449,P121,c(Q11436)))
action filter_type
action union
action find
entity Q11218
relation P121
action find
entity Q1546449
relation P121
type Q11436
[ANSWER] is managed by United States Marine Corps or Hellenic Army
{'OR': [['Q11218', 'P121', {'concept': 'Q11436'}], ['Q1546449', 'P121', {'concept': 'Q11436'}]]}
SELECT DISTINCT ?g WHERE { { { resource:Q11218 property:P121 ?g } UNION { resource:Q1546449 property:P121 ?g } } . ?g rdf:type ontology:Q11436 }
aircraft
Aircraft is managed by United States Marine Corps or Hellenic Army
aircraft
action filter_type
action union
action find
entity United States Marine Corps
relation item operated
action find
entity Hellenic Army
relation item operated
type aircraft
{'OR': [['United States Marine Corps', 'item operated', {'concept': 'aircraft'}], ['Hellenic Army', 'item operated', {'concept': 'aircraft'}]]}
SELECT DISTINCT ?g WHERE { { { resource:United_States_Marine_Corps property:item_operated ?g } UNION { resource:Hellenic_Army property:item_operated ?g } } . ?g rdf:type ontology:aircraft }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q11436 Q21071256
P121
Q1875621
USER
Does Royal Norwegian Air Force fleet operate that aircraft ?
(Q21071256,P121,Q11436)
action is_in
entity Q11436
action find
entity Q21071256
relation P121
['Q21071256', 'P121', 'Q11436']
ASK WHERE { resource:Q21071256 property:P121 resource:Q11436 }
aircraft Royal Norwegian Air Force fleet
action is_in
entity aircraft
action find
entity Royal Norwegian Air Force fleet
relation item operated
['Royal Norwegian Air Force fleet', 'item operated', 'aircraft']
ASK WHERE { resource:Royal_Norwegian_Air_Force_fleet property:item_operated resource:aircraft }
[]
aircraft class
SYSTEM
YES
(Q21071256,P121,Q11436)
action is_in
entity Q11436
action find
entity Q21071256
relation P121
[ANSWER]
['Q21071256', 'P121', 'Q11436']
ASK WHERE { resource:Q21071256 property:P121 resource:Q11436 }
Yes
action is_in
entity aircraft
action find
entity Royal Norwegian Air Force fleet
relation item operated
['Royal Norwegian Air Force fleet', 'item operated', 'aircraft']
ASK WHERE { resource:Royal_Norwegian_Air_Force_fleet property:item_operated resource:aircraft }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11218
P921
Q15416
USER
Which television program has United States Marine Corps as its principal topic ?
(c(Q15416),P921,Q11218)
action filter_type
action find_reverse
entity Q11218
relation P921
type Q15416
[{'concept': 'Q15416'}, 'P921', 'Q11218']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15416 . ?e property:P921 resource:Q11218 }
United States Marine Corps
action filter_type
action find_reverse
entity United States Marine Corps
relation main subject
type television program
[{'concept': 'television program'}, 'main subject', 'United States Marine Corps']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:television_program . ?e property:main_subject resource:United_States_Marine_Corps }
[]
television program
Q598499
SYSTEM
The Pacific
Q598499
(c(Q15416),P921,Q11218)
action filter_type
action find_reverse
entity Q11218
relation P921
type Q15416
[ANSWER] has United States Marine Corps as its principal topic
[{'concept': 'Q15416'}, 'P921', 'Q11218']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q15416 . ?e property:P921 resource:Q11218 }
The Pacific
The Pacific has United States Marine Corps as its principal topic
The Pacific
action filter_type
action find_reverse
entity United States Marine Corps
relation main subject
type television program
[{'concept': 'television program'}, 'main subject', 'United States Marine Corps']
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:television_program . ?e property:main_subject resource:United_States_Marine_Corps }
[]