Simple Question (Direct)
Simple Question
Q3986536
P136
Q1792379
USER
What can be considered as category for The Day of Faith ?
(Q3986536,P136,c(Q1792379))
action filter_type
action find
entity Q3986536
relation P136
type Q1792379
['Q3986536', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q1792379 . resource:Q3986536 property:P136 ?k }
The Day of Faith
action filter_type
action find
entity The Day of Faith
relation genre
type art genre
['The Day of Faith', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:art_genre . resource:The_Day_of_Faith property:genre ?k }
[]
art genre
Q130232
SYSTEM
drama film
Q130232
(Q3986536,P136,c(Q1792379))
action filter_type
action find
entity Q3986536
relation P136
type Q1792379
The [ANSWER] can be considered as category for The Day of Faith
['Q3986536', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q1792379 . resource:Q3986536 property:P136 ?k }
drama film
The drama film can be considered as category for The Day of Faith
drama film
action filter_type
action find
entity The Day of Faith
relation genre
type art genre
['The Day of Faith', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:art_genre . resource:The_Day_of_Faith property:genre ?k }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3986536
P58
Q502895
USER
Who wrote the script for The Day of Faith ?
(Q3986536,P58,c(Q502895))
action filter_type
action find
entity Q3986536
relation P58
type Q502895
['Q3986536', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . resource:Q3986536 property:P58 ?f }
The Day of Faith
action filter_type
action find
entity The Day of Faith
relation screenwriter
type common name
['The Day of Faith', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . resource:The_Day_of_Faith property:screenwriter ?f }
[]
common name
Q251303
SYSTEM
June Mathis
Q251303
(Q3986536,P58,c(Q502895))
action filter_type
action find
entity Q3986536
relation P58
type Q502895
The [ANSWER] wrote the script for The Day of Faith
['Q3986536', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . resource:Q3986536 property:P58 ?f }
June Mathis
The June Mathis wrote the script for The Day of Faith
June Mathis
action filter_type
action find
entity The Day of Faith
relation screenwriter
type common name
['The Day of Faith', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . resource:The_Day_of_Faith property:screenwriter ?f }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q205546
Q502895
USER
And how about Australia?
(Q205546,P58,c(Q502895))
action filter_type
action find
entity Q205546
relation P58
type Q502895
['Q205546', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q205546 property:P58 ?c . ?c rdf:type ontology:Q502895 }
Australia
action filter_type
action find
entity Australia
relation screenwriter
type common name
['Australia', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Australia property:screenwriter ?c . ?c rdf:type ontology:common_name }
[]
common name
Q1059668 Q382389
SYSTEM
Jean Gruault, Jacques Audiard
Q1059668 Q382389
(Q205546,P58,c(Q502895))
action filter_type
action find
entity Q205546
relation P58
type Q502895
[ANSWERS]
['Q205546', 'P58', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { resource:Q205546 property:P58 ?c . ?c rdf:type ontology:Q502895 }
Jean Gruault Jacques Audiard
Jean Gruault Jacques Audiard
action filter_type
action find
entity Australia
relation screenwriter
type common name
['Australia', 'screenwriter', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { resource:Australia property:screenwriter ?c . ?c rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P1303
Q34379 Q502895
USER
Which musical instruments can max number of people perform with ?
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?p ) { SELECT DISTINCT ?e ( COUNT ( ?a ) AS ?i ) WHERE { ?a property:P1303 ?e . ?e rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 } GROUP BY ?e } } . FILTER ( ?x = ?p ) . { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?x ) WHERE { ?c property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?c rdf:type ontology:Q502895 } GROUP BY ?w } }
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?p ) { SELECT DISTINCT ?e ( COUNT ( ?a ) AS ?i ) WHERE { ?a property:instrument ?e . ?e rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name } GROUP BY ?e } } . FILTER ( ?x = ?p ) . { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?x ) WHERE { ?c property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?c rdf:type ontology:common_name } GROUP BY ?w } }
[]
musical instrument common name
Q5994
SYSTEM
piano
Q5994
(c(Q502895),P1303,Q3623688)
action argmax
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
Max number of people can perform on [ANSWER]
[{'concept': 'Q502895'}, 'P1303', 'Q3623688']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?p ) { SELECT DISTINCT ?e ( COUNT ( ?a ) AS ?i ) WHERE { ?a property:P1303 ?e . ?e rdf:type ontology:Q34379 . ?a rdf:type ontology:Q502895 } GROUP BY ?e } } . FILTER ( ?x = ?p ) . { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?x ) WHERE { ?c property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?c rdf:type ontology:Q502895 } GROUP BY ?w } }
piano
Max number of people can perform on piano
piano
action argmax
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
[{'concept': 'common name'}, 'instrument', 'Paraguayan harp']
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ( MAX ( ?i ) AS ?p ) { SELECT DISTINCT ?e ( COUNT ( ?a ) AS ?i ) WHERE { ?a property:instrument ?e . ?e rdf:type ontology:musical_instrument . ?a rdf:type ontology:common_name } GROUP BY ?e } } . FILTER ( ?x = ?p ) . { SELECT DISTINCT ?w ( COUNT ( ?c ) AS ?x ) WHERE { ?c property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?c rdf:type ontology:common_name } GROUP BY ?w } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P180
Q34379 Q1792379
USER
Which art genres express atmost 1 musical instrument ?
(c(Q1792379),P180,c(Q34379))
action atmost
action find_tuple_counts
relation P180
type Q1792379
type Q34379
value 1
[{'concept': 'Q1792379'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?u ) WHERE { ?d property:P180 ?v . ?d rdf:type ontology:Q1792379 . ?v rdf:type ontology:Q34379 } GROUP BY ?d } . FILTER ( ?u <= 1 ) }
action atmost
action find_tuple_counts
relation depicts
type art genre
type musical instrument
value 1
[{'concept': 'art genre'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?u ) WHERE { ?d property:depicts ?v . ?d rdf:type ontology:art_genre . ?v rdf:type ontology:musical_instrument } GROUP BY ?d } . FILTER ( ?u <= 1 ) }
[]
musical instrument art genre
Q5712848 Q4668641 Q3207118
SYSTEM
Self-Portrait with Monkey, Above and Below, The Ring of Fire
Q21856809 Q26267230 Q1189907 Q22677514 Q3362398 Q2963437 Q18661427 Q22073388 Q26318263 Q4668641 Q22670282 Q2302151 Q5883078 Q3687196 Q18353841 Q22915045 Q26706171 Q26928600 Q5712848 Q3900659 Q742530 Q18688281 Q742333 Q937330 Q3374376 Q1615638 Q22677763 Q22677825 Q6944995 Q248726 Q27087718 Q3207118 Q22670323 Q26317896 Q214127 Q315569 Q1353984 Q3399515 Q158607 Q659396 Q18559971 Q18917896 Q26709687 Q22575803 Q1339864 Q2415378 Q191163 Q18579186 Q5448026 Q12303833 Q22677734 Q26668969
(c(Q1792379),P180,c(Q34379))
action atmost
action find_tuple_counts
relation P180
type Q1792379
type Q34379
value 1
[ANSWERS] express atmost 1 musical instrument
[{'concept': 'Q1792379'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?u ) WHERE { ?d property:P180 ?v . ?d rdf:type ontology:Q1792379 . ?v rdf:type ontology:Q34379 } GROUP BY ?d } . FILTER ( ?u <= 1 ) }
Selim Palmgren Portrait of a king of marksmen (presumably Jacobus Albertus de Backer) Water Lilies Market place parliament Panorama du Caire One Thousand Pictures of the Ocean (Chie no umi) Memorial of the people of Pori Henry M. Jackson Bust of Edward VII Above and Below Crying girl animal painting Hollywood novel Christ's Charge to Peter Architectural painting Zinc sculptures of the Pori town hall Sir Austen Henry Layard Existentialist literature Self-Portrait with Monkey The Miraculous Draught of Fishes idyll Portrait of A.S.Pushkin history painting kouros mythological painting submarine films Statue of Risto Ryti Maire-sculpture My Bed Venus figurine Bust Of Sir Henry Tate, Outside Tate Library, Brixton Oval The Ring of Fire JUHANA III - The king of Sweden 1568-1592 -relief Monument To John Heminge And Henry Condell In Former Churchyard Of Church Of St Mary Aldermanbury genre painting Karl Marx Monument landscape photography equestrian portrait marine art equestrian statue Rock art at Åbodsjön history sculpture Antoine Coypel Going swimming, from the theme mother and child sports film schutterstuk landscape art Petrus Franciscus Greive (1811-1872) figure painting floral painting Statue of Duke John Bust Of Sir Joseph Paxton At Crystal Palace Park
Self-Portrait with Monkey, Above and Below and The Ring of Fire express atmost 1 musical instrument
Self-Portrait with Monkey Above and Below The Ring of Fire
action atmost
action find_tuple_counts
relation depicts
type art genre
type musical instrument
value 1
[{'concept': 'art genre'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?d WHERE { { SELECT DISTINCT ?d ( COUNT ( ?v ) AS ?u ) WHERE { ?d property:depicts ?v . ?d rdf:type ontology:art_genre . ?v rdf:type ontology:musical_instrument } GROUP BY ?d } . FILTER ( ?u <= 1 ) }
[]
Clarification
Comparative|More/Less|Single entity type|Indirect
P180
Q34379 Q1792379
USER
Which art genres depict more number of musical instruments than that art genre ?
(c(Q1792379),P180,c(Q34379))
[{'concept': 'Q1792379'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?z WHERE { ?z property:P180 ?y . ?z rdf:type ontology:Q1792379 . ?y rdf:type ontology:Q34379 }
[{'concept': 'art genre'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?z WHERE { ?z property:depicts ?y . ?z rdf:type ontology:art_genre . ?y rdf:type ontology:musical_instrument }
[]
musical instrument art genre
Comparative|More/Less|Single entity type|Clarification
Q3207118
SYSTEM
Did you mean The Ring of Fire ?
(c(Q1792379),P180,c(Q34379))
[ANSWER]
[{'concept': 'Q1792379'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?z WHERE { ?z property:P180 ?y . ?z rdf:type ontology:Q1792379 . ?y rdf:type ontology:Q34379 }
Did you mean The Ring of Fire ?
The Ring of Fire
[{'concept': 'art genre'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?z WHERE { ?z property:depicts ?y . ?z rdf:type ontology:art_genre . ?y rdf:type ontology:musical_instrument }
[]
Comparative Reasoning (All)
USER
No, I meant Above and Below. Could you tell me the answer for that?
(c(Q1792379),P180,c(Q34379))
Q4668641
[{'concept': 'Q1792379'}, 'P180', {'concept': 'Q34379'}]
[{'concept': 'art genre'}, 'depicts', {'concept': 'musical instrument'}]
[]
Q18661427
SYSTEM
Memorial of the people of Pori
Q18661427
(c(Q1792379),P180,c(Q34379))
[ANSWER] depict more number of musical instruments than that art genre
[{'concept': 'Q1792379'}, 'P180', {'concept': 'Q34379'}]
SELECT DISTINCT ?z WHERE { ?z property:P180 ?y . ?z rdf:type ontology:Q1792379 . ?y rdf:type ontology:Q34379 }
Memorial of the people of Pori
Memorial of the people of Pori depict more number of musical instruments than that art genre
Memorial of the people of Pori
[{'concept': 'art genre'}, 'depicts', {'concept': 'musical instrument'}]
SELECT DISTINCT ?z WHERE { ?z property:depicts ?y . ?z rdf:type ontology:art_genre . ?y rdf:type ontology:musical_instrument }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q18661427 Q33
P17
Q15617994
USER
Is Memorial of the people of Pori located in Finland ?
(Q18661427,P17,Q33)
action is_in
entity Q33
action find
entity Q18661427
relation P17
['Q18661427', 'P17', 'Q33']
ASK WHERE { resource:Q18661427 property:P17 resource:Q33 }
Memorial of the people of Pori Finland
action is_in
entity Finland
action find
entity Memorial of the people of Pori
relation country
['Memorial of the people of Pori', 'country', 'Finland']
ASK WHERE { resource:Memorial_of_the_people_of_Pori property:country resource:Finland }
[]
designation for an administrative territorial entity
SYSTEM
YES
(Q18661427,P17,Q33)
action is_in
entity Q33
action find
entity Q18661427
relation P17
[ANSWER]
['Q18661427', 'P17', 'Q33']
ASK WHERE { resource:Q18661427 property:P17 resource:Q33 }
Yes
action is_in
entity Finland
action find
entity Memorial of the people of Pori
relation country
['Memorial of the people of Pori', 'country', 'Finland']
ASK WHERE { resource:Memorial_of_the_people_of_Pori property:country resource:Finland }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1028
Q502895 Q1792379
USER
Which people donated to atmost 1 art genre ?
(c(Q1792379),P1028,c(Q502895))
action atmost
action find_reverse_tuple_counts
relation P1028
type Q502895
type Q1792379
value 1
[{'concept': 'Q1792379'}, 'P1028', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?v ) WHERE { ?j property:P1028 ?m . ?m rdf:type ontology:Q502895 . ?j rdf:type ontology:Q1792379 } GROUP BY ?m } . FILTER ( ?v <= 1 ) }
action atmost
action find_reverse_tuple_counts
relation donated by
type common name
type art genre
value 1
[{'concept': 'art genre'}, 'donated by', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?v ) WHERE { ?j property:donated_by ?m . ?m rdf:type ontology:common_name . ?j rdf:type ontology:art_genre } GROUP BY ?m } . FILTER ( ?v <= 1 ) }
[]
common name art genre
Q22686 Q134817 Q2677
SYSTEM
Donald Trump, Abdul Hamid II, Wilhelm II
Q43720 Q3133098 Q26459473 Q2637616 Q676301 Q23016142 Q26359798 Q27450423 Q1699735 Q26459024 Q26262410 Q213963 Q222458 Q5407510 Q1461924 Q26270023 Q26208057 Q17305789 Q4785964 Q23828909 Q18718742 Q2172853 Q2677 Q18529818 Q18681578 Q52930 Q23719193 Q26155343 Q26254144 Q7240564 Q382439 Q164500 Q2667 Q51056 Q18691655 Q272476 Q18711324 Q18676928 Q26262436 Q77210 Q37134 Q26290195 Q26289878 Q23055273 Q1460119 Q2914083 Q453523 Q26262301 Q26266175 Q134817 Q984 Q15433875 Q26262414 Q18676673 Q26270295 Q22815714 Q165568 Q26154073 Q8479 Q170398 Q15525738 Q365930 Q26262395 Q27431382 Q237463 Q233198 Q16018042 Q7459175 Q62196 Q12322315 Q18674610 Q747341 Q18681522 Q150652 Q26260039 Q19754058 Q27450503 Q22925473 Q26270343 Q27230873 Q3174202 Q7183322 Q4770723 Q95946 Q452811 Q876414 Q438322 Q26262455 Q18674603 Q6968011 Q26289675 Q764443 Q26266139 Q6688106 Q11919354 Q183226 Q4233718 Q154912 Q159416 Q26313983 Q18713952 Q269412 Q26282942 Q26520314 Q26492743 Q26254109 Q26216791 Q16860467 Q9013205 Q20683951 Q26207985 Q57538 Q207384 Q43922 Q1373397 Q26254138 Q1377426 Q26218064 Q6712648 Q18711061 Q26160551 Q9439 Q2551 Q26260093 Q1348898 Q22686 Q26689742 Q22829116 Q26476068 Q1106973 Q21125090 Q26266192 Q152935 Q18691646 Q26266198 Q26415672 Q26254121 Q57986 Q2594 Q589876 Q26262463 Q5088246 Q26262467 Q5396194 Q6141615 Q7399967 Q4924916
(c(Q1792379),P1028,c(Q502895))
action atmost
action find_reverse_tuple_counts
relation P1028
type Q502895
type Q1792379
value 1
[ANSWERS] donated to atmost 1 art genre
[{'concept': 'Q1792379'}, 'P1028', {'concept': 'Q502895'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?v ) WHERE { ?j property:P1028 ?m . ?m rdf:type ontology:Q502895 . ?j rdf:type ontology:Q1792379 } GROUP BY ?m } . FILTER ( ?v <= 1 ) }
Pius IX Henry Sugimoto Mrs. Rodney Davis Dowdell Albert M. Bender John VI of Portugal Barry Toubin Bob and Bonnie Hartman Stuart P. Feld John D. Rockefeller III Revell McCallum Loren F. Taylor Wilhelm Hoegner Frederick Stanley, 16th Earl of Derby Eugene McDermott Friedrich Schiedel Mrs. Randall Hanna Frederick Baekeland Claudia DeMonte Archer Milton Huntington Walter R. Heyneman Faye Bleicher-Berger Rudolf Hanauer Wilhelm II James Chance Carolann Smurthwaite Gustav III of Sweden Mildred Anna Williams Garo Antreasian Ted G. Decker Prentis Cobb Hale Jan Zamoyski Princess Victoria Melita of Saxe-Coburg and Gotha Paul von Hindenburg Franz Joseph I of Austria Orme Lewis Countess Palatine Elisabeth Auguste of Sulzbach Margaret Miller Carl S. Dentzel Clay Lockett Otto Grotewohl Frederick William III of Prussia Arthur Keating Sam Patania Lawrence K. Miller Henner Löffler Martin Hägglund Stanisław Żółkiewski Frederick R. Pleasants Joan Teer Jacobson Abdul Hamid II Miles Franklin Peter Becker Thomas R. Taylor Bryant M. Hanley, Jr. Terry Etherton Donald D. Harrington John XXII Sally Anderson Peter the Great William I of Württemberg Gerald Murphy Hussein Kamel of Egypt David Berg Vivian Hotchkiss Eleonora Gonzaga Therese of Saxe-Hildburghausen Arthur I. Appleton Seymour H. Knox II Peter Harry Carstensen Knud Højgaard Edward Marcus Edwin Binney Robert R. Rosenbaum Wilhelm I of Germany Gregory Kondos Otto Kallir Albert P. Strietmann Percy Moore Turner Riva Yares Charles F. Olney Jan Radlica Philip Campbell Curtis A. Conger Goodyear Ferdinand Mülhens Jakub Zadzik Reinhold Klika Herbert W. Ladd Faith Holsaert Nancy Hamon Natalia Clovis Ruth Corbett Cross August Wegmann Carlos Carulo Louis S. Cates Enric Serra Auqué Charles IV of Spain anonymous Olav V of Norway Naser al-Din Shah Qajar Roger J. Welter Everett F. Drumright George V Joel Coplin Dorothy C. Walker Susan S. Small Alma A. Konigslow Margarita Berg Onofre Garí i Torrent Josep Maria Garrut i Romà Walter P. Chrysler Jr. Martin and Nancy Melzer John of Saxony Alexander I of Yugoslavia Leo XIII James H. Clark Mr. and Mrs. Arthur W. Rogers Jerzy Ossoliński Michael Berman M. H. de Young William A. Small, Jr. Jack Balas Queen Victoria Johannes Rau Dennis J. Friedman Theodore M. Davis Donald Trump Frances M. Weidman Lorenz Anderman Arthur B. Adams Baldomero Giménez Rudolf Meimberg Margaret Kirkpatrick George II of Greece Thelma Kieckhefer Dan Leach Agnes Griffen Matthew Blacharski Frederick Augustus II of Saxony Theodor Heuss Mikołaj Kamieniecki John Rein Chauncey McCormick Laurence L. Shaw Erwin S. Barrie Madanjeet Singh Saidie May Blanchette Ferry Rockefeller
Donald Trump, Abdul Hamid II and Wilhelm II donated to atmost 1 art genre
Donald Trump Abdul Hamid II Wilhelm II
action atmost
action find_reverse_tuple_counts
relation donated by
type common name
type art genre
value 1
[{'concept': 'art genre'}, 'donated by', {'concept': 'common name'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?j ) AS ?v ) WHERE { ?j property:donated_by ?m . ?m rdf:type ontology:common_name . ?j rdf:type ontology:art_genre } GROUP BY ?m } . FILTER ( ?v <= 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22686
P26
Q502895
USER
Who are the spouses of Donald Trump ?
(Q22686,P26,c(Q502895))
action filter_type
action find
entity Q22686
relation P26
type Q502895
['Q22686', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q22686 property:P26 ?r . ?r rdf:type ontology:Q502895 }
Donald Trump
action filter_type
action find
entity Donald Trump
relation spouse
type common name
['Donald Trump', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Donald_Trump property:spouse ?r . ?r rdf:type ontology:common_name }
[]
common name
Q2597050 Q242351 Q432473
SYSTEM
Marla Maples, Ivana Trump, Melania Trump
Q2597050 Q242351 Q432473
(Q22686,P26,c(Q502895))
action filter_type
action find
entity Q22686
relation P26
type Q502895
The spouses of Donald Trump are [ANSWERS]
['Q22686', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q22686 property:P26 ?r . ?r rdf:type ontology:Q502895 }
Marla Maples Ivana Trump Melania Trump
The spouses of Donald Trump are Marla Maples, Ivana Trump and Melania Trump
Marla Maples Ivana Trump Melania Trump
action filter_type
action find
entity Donald Trump
relation spouse
type common name
['Donald Trump', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Donald_Trump property:spouse ?r . ?r rdf:type ontology:common_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q20641876
Q502895
USER
And also tell me about Émilie-Élisabeth Reboul?
(Q20641876,P26,c(Q502895))
action filter_type
action find
entity Q20641876
relation P26
type Q502895
['Q20641876', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q20641876 property:P26 ?b . ?b rdf:type ontology:Q502895 }
Émilie-Élisabeth Reboul
action filter_type
action find
entity Émilie-Élisabeth Reboul
relation spouse
type common name
['Émilie-Élisabeth Reboul', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Émilie-Élisabeth_Reboul property:spouse ?b . ?b rdf:type ontology:common_name }
[]
common name
Q20641869
SYSTEM
Charles-Laurent Soyer
Q20641869
(Q20641876,P26,c(Q502895))
action filter_type
action find
entity Q20641876
relation P26
type Q502895
[ANSWER]
['Q20641876', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q20641876 property:P26 ?b . ?b rdf:type ontology:Q502895 }
Charles-Laurent Soyer
Charles-Laurent Soyer
action filter_type
action find
entity Émilie-Élisabeth Reboul
relation spouse
type common name
['Émilie-Élisabeth Reboul', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:Émilie-Élisabeth_Reboul property:spouse ?b . ?b rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q20641869 Q6259334
P26
Q502895
USER
Is John Stourton, 3rd Baron Stourton married to that one ?
(Q6259334,P26,Q20641869)
action is_in
entity Q6259334
action find
entity Q20641869
relation P26
['Q6259334', 'P26', 'Q20641869']
ASK WHERE { resource:Q20641869 property:P26 resource:Q6259334 }
Charles-Laurent Soyer John Stourton, 3rd Baron Stourton
action is_in
entity John Stourton, 3rd Baron Stourton
action find
entity Charles-Laurent Soyer
relation spouse
['John Stourton, 3rd Baron Stourton', 'spouse', 'Charles-Laurent Soyer']
ASK WHERE { resource:Charles-Laurent_Soyer property:spouse resource:John_Stourton,_3rd_Baron_Stourton }
[]
common name
SYSTEM
NO
(Q6259334,P26,Q20641869)
action is_in
entity Q6259334
action find
entity Q20641869
relation P26
[ANSWER]
['Q6259334', 'P26', 'Q20641869']
ASK WHERE { resource:Q20641869 property:P26 resource:Q6259334 }
No
action is_in
entity John Stourton, 3rd Baron Stourton
action find
entity Charles-Laurent Soyer
relation spouse
['John Stourton, 3rd Baron Stourton', 'spouse', 'Charles-Laurent Soyer']
ASK WHERE { resource:Charles-Laurent_Soyer property:spouse resource:John_Stourton,_3rd_Baron_Stourton }
[]