Simple Question (Direct)
Simple Question
Q533343
P463
Q811430
USER
Which construction was Diane Johnson a member of ?
(Q533343,P463,c(Q811430))
action filter_type
action find
entity Q533343
relation P463
type Q811430
['Q533343', 'P463', {'concept': 'Q811430'}]
SELECT DISTINCT ?q WHERE { resource:Q533343 property:P463 ?q . ?q rdf:type ontology:Q811430 }
Diane Johnson
action filter_type
action find
entity Diane Johnson
relation member of
type construction
['Diane Johnson', 'member of', {'concept': 'construction'}]
SELECT DISTINCT ?q WHERE { resource:Diane_Johnson property:member_of ?q . ?q rdf:type ontology:construction }
[]
construction
Q463303
SYSTEM
American Academy of Arts and Sciences
Q463303
(Q533343,P463,c(Q811430))
action filter_type
action find
entity Q533343
relation P463
type Q811430
Diane Johnson was the [ANSWER]
['Q533343', 'P463', {'concept': 'Q811430'}]
SELECT DISTINCT ?q WHERE { resource:Q533343 property:P463 ?q . ?q rdf:type ontology:Q811430 }
American Academy of Arts and Sciences
Diane Johnson was the American Academy of Arts and Sciences
American Academy of Arts and Sciences
action filter_type
action find
entity Diane Johnson
relation member of
type construction
['Diane Johnson', 'member of', {'concept': 'construction'}]
SELECT DISTINCT ?q WHERE { resource:Diane_Johnson property:member_of ?q . ?q rdf:type ontology:construction }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q533343
P1412
Q34770
USER
Which language is spoken by that person ?
(Q463303,P1412,c(Q34770))
action filter_type
action find
entity Q533343
relation P1412
type Q34770
['Q463303', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { resource:Q533343 property:P1412 ?o . ?o rdf:type ontology:Q34770 }
Diane Johnson
action filter_type
action find
entity Diane Johnson
relation languages spoken, written or signed
type language
['American Academy of Arts and Sciences', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { resource:Diane_Johnson property:languages_spoken,_written_or_signed ?o . ?o rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q463303,P1412,c(Q34770))
action filter_type
action find
entity Q533343
relation P1412
type Q34770
Are [ANSWER] is spoken by that person
['Q463303', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?o WHERE { resource:Q533343 property:P1412 ?o . ?o rdf:type ontology:Q34770 }
English
Are English is spoken by that person
English
action filter_type
action find
entity Diane Johnson
relation languages spoken, written or signed
type language
['American Academy of Arts and Sciences', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?o WHERE { resource:Diane_Johnson property:languages_spoken,_written_or_signed ?o . ?o rdf:type ontology:language }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q533343
P58
Q838948
USER
Which work of art has that person as screenwriter ?
(c(Q838948),P58,Q1860)
action filter_type
action find_reverse
entity Q533343
relation P58
type Q838948
[{'concept': 'Q838948'}, 'P58', 'Q1860']
SELECT DISTINCT ?z WHERE { ?z property:P58 resource:Q533343 . ?z rdf:type ontology:Q838948 }
Diane Johnson
action filter_type
action find_reverse
entity Diane Johnson
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'English']
SELECT DISTINCT ?z WHERE { ?z property:screenwriter resource:Diane_Johnson . ?z rdf:type ontology:work_of_art }
[]
work of art
Q186341
SYSTEM
The Shining
Q186341
(c(Q838948),P58,Q1860)
action filter_type
action find_reverse
entity Q533343
relation P58
type Q838948
[ANSWER] has that person as screenwriter
[{'concept': 'Q838948'}, 'P58', 'Q1860']
SELECT DISTINCT ?z WHERE { ?z property:P58 resource:Q533343 . ?z rdf:type ontology:Q838948 }
The Shining
The Shining has that person as screenwriter
The Shining
action filter_type
action find_reverse
entity Diane Johnson
relation screenwriter
type work of art
[{'concept': 'work of art'}, 'screenwriter', 'English']
SELECT DISTINCT ?z WHERE { ?z property:screenwriter resource:Diane_Johnson . ?z rdf:type ontology:work_of_art }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q186341 Q235478
P161
Q502895
USER
Is Shelley Duvall in that work of art ?
(Q186341,P161,Q235478)
action is_in
entity Q235478
action find
entity Q186341
relation P161
['Q186341', 'P161', 'Q235478']
ASK WHERE { resource:Q186341 property:P161 resource:Q235478 }
The Shining Shelley Duvall
action is_in
entity Shelley Duvall
action find
entity The Shining
relation cast member
['The Shining', 'cast member', 'Shelley Duvall']
ASK WHERE { resource:The_Shining property:cast_member resource:Shelley_Duvall }
[]
common name
SYSTEM
YES
(Q186341,P161,Q235478)
action is_in
entity Q235478
action find
entity Q186341
relation P161
[ANSWER]
['Q186341', 'P161', 'Q235478']
ASK WHERE { resource:Q186341 property:P161 resource:Q235478 }
Yes
action is_in
entity Shelley Duvall
action find
entity The Shining
relation cast member
['The Shining', 'cast member', 'Shelley Duvall']
ASK WHERE { resource:The_Shining property:cast_member resource:Shelley_Duvall }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P361
Q41176 Q1047113 Q811430
USER
Which constructions are a component of exactly 1 buildings or special fields ?
(c(Q811430),P361,c(Q41176)|c(Q1047113))
action equal
action union
action find_tuple_counts
relation P361
type Q811430
type Q41176
action find_tuple_counts
relation P361
type Q811430
type Q1047113
value 1
[{'concept': 'Q811430'}, 'P361', [{'concept': 'Q41176'}, {'concept': 'Q1047113'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) ?r WHERE { { ?r property:P361 ?l . ?l rdf:type ontology:Q41176 . ?r rdf:type ontology:Q811430 } UNION { ?r rdf:type ontology:Q811430 . ?l rdf:type ontology:Q1047113 . ?r property:P361 ?l } } GROUP BY ?r } . FILTER ( ?k = 1 ) }
action equal
action union
action find_tuple_counts
relation part of
type construction
type building
action find_tuple_counts
relation part of
type construction
type special field
value 1
[{'concept': 'construction'}, 'part of', [{'concept': 'building'}, {'concept': 'special field'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) ?r WHERE { { ?r property:part_of ?l . ?l rdf:type ontology:building . ?r rdf:type ontology:construction } UNION { ?r rdf:type ontology:construction . ?l rdf:type ontology:special_field . ?r property:part_of ?l } } GROUP BY ?r } . FILTER ( ?k = 1 ) }
[]
building special field construction
Q17309954 Q23297 Q3373082
SYSTEM
Sully Wing, Lescot Wing, pavillon de l’Horloge
Q2104865 Q3373064 Q17309944 Q17309954 Q3373082 Q14619172 Q23297 Q1349587
(c(Q811430),P361,c(Q41176)|c(Q1047113))
action equal
action union
action find_tuple_counts
relation P361
type Q811430
type Q41176
action find_tuple_counts
relation P361
type Q811430
type Q1047113
value 1
[ANSWERS] are a component of exactly 1 buildings or special fields
[{'concept': 'Q811430'}, 'P361', [{'concept': 'Q41176'}, {'concept': 'Q1047113'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) ?r WHERE { { ?r property:P361 ?l . ?l rdf:type ontology:Q41176 . ?r rdf:type ontology:Q811430 } UNION { ?r rdf:type ontology:Q811430 . ?l rdf:type ontology:Q1047113 . ?r property:P361 ?l } } GROUP BY ?r } . FILTER ( ?k = 1 ) }
Porta della Carta Pavillon de Flore Richelieu wing Sully Wing pavillon de l’Horloge Denon Wing Lescot Wing earthwork
Sully Wing, Lescot Wing and pavillon de l’Horloge are a component of exactly 1 buildings or special fields
Sully Wing Lescot Wing pavillon de l’Horloge
action equal
action union
action find_tuple_counts
relation part of
type construction
type building
action find_tuple_counts
relation part of
type construction
type special field
value 1
[{'concept': 'construction'}, 'part of', [{'concept': 'building'}, {'concept': 'special field'}]]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?k ) ?r WHERE { { ?r property:part_of ?l . ?l rdf:type ontology:building . ?r rdf:type ontology:construction } UNION { ?r rdf:type ontology:construction . ?l rdf:type ontology:special_field . ?r property:part_of ?l } } GROUP BY ?r } . FILTER ( ?k = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q811430 Q3516658 Q838948
USER
Which constructions are demonstrated in atleast 1 heraldic symbols and works of art ?
(c(Q3516658)|c(Q838948),P180,c(Q811430))
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q811430
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q811430
type Q838948
value 1
[[{'concept': 'Q3516658'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q811430'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?y >= 1 ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) ?c WHERE { { ?r property:P180 ?c . ?c rdf:type ontology:Q811430 . ?r rdf:type ontology:Q838948 } UNION { ?r property:P180 ?c . ?r rdf:type ontology:Q3516658 . ?c rdf:type ontology:Q811430 } } GROUP BY ?c } }
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type construction
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type construction
type work of art
value 1
[[{'concept': 'heraldic symbol'}, {'concept': 'work of art'}], 'depicts', {'concept': 'construction'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?y >= 1 ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) ?c WHERE { { ?r property:depicts ?c . ?c rdf:type ontology:construction . ?r rdf:type ontology:work_of_art } UNION { ?r property:depicts ?c . ?r rdf:type ontology:heraldic_symbol . ?c rdf:type ontology:construction } } GROUP BY ?c } }
[]
construction heraldic symbol work of art
Q154504 Q483453 Q335261
SYSTEM
Siegfried Line, fountain, ornament
Q483453 Q154504 Q12014132 Q35509 Q12280 Q53060 Q335261 Q12518 Q48963 Q109607
(c(Q3516658)|c(Q838948),P180,c(Q811430))
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q811430
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q811430
type Q838948
value 1
[ANSWERS] are demonstrated in atleast 1 heraldic symbols and works of art
[[{'concept': 'Q3516658'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q811430'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?y >= 1 ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) ?c WHERE { { ?r property:P180 ?c . ?c rdf:type ontology:Q811430 . ?r rdf:type ontology:Q838948 } UNION { ?r property:P180 ?c . ?r rdf:type ontology:Q3516658 . ?c rdf:type ontology:Q811430 } } GROUP BY ?c } }
fountain Siegfried Line pedestal cave bridge gate ornament tower Labyrinth ruins
Siegfried Line, fountain and ornament are demonstrated in atleast 1 heraldic symbols and works of art
Siegfried Line fountain ornament
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type construction
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type construction
type work of art
value 1
[[{'concept': 'heraldic symbol'}, {'concept': 'work of art'}], 'depicts', {'concept': 'construction'}]
SELECT DISTINCT ?c WHERE { FILTER ( ?y >= 1 ) . { SELECT DISTINCT ( COUNT ( ?r ) AS ?y ) ?c WHERE { { ?r property:depicts ?c . ?c rdf:type ontology:construction . ?r rdf:type ontology:work_of_art } UNION { ?r property:depicts ?c . ?r rdf:type ontology:heraldic_symbol . ?c rdf:type ontology:construction } } GROUP BY ?c } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q23297
P84
Q502895
USER
How many people designed the architecture of Lescot Wing ?
(Q23297,P84,c(Q502895))
action count
action filter_type
action find
entity Q23297
relation P84
type Q502895
['Q23297', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { resource:Q23297 property:P84 ?l . ?l rdf:type ontology:Q502895 }
Lescot Wing
action count
action filter_type
action find
entity Lescot Wing
relation architect
type common name
['Lescot Wing', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { resource:Lescot_Wing property:architect ?l . ?l rdf:type ontology:common_name }
[]
common name
SYSTEM
1
Q381724
(Q23297,P84,c(Q502895))
action count
action filter_type
action find
entity Q23297
relation P84
type Q502895
[ANSWER]
['Q23297', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { resource:Q23297 property:P84 ?l . ?l rdf:type ontology:Q502895 }
Pierre Lescot
1
action count
action filter_type
action find
entity Lescot Wing
relation architect
type common name
['Lescot Wing', 'architect', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?l ) AS ?b ) WHERE { resource:Lescot_Wing property:architect ?l . ?l rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23297
P88
Q502895
USER
Who was that construction commissioned by ?
action filter_type
action find
entity Q23297
relation P88
type Q502895
SELECT DISTINCT ?c WHERE { resource:Q23297 property:P88 ?c . ?c rdf:type ontology:Q502895 }
Lescot Wing
action filter_type
action find
entity Lescot Wing
relation commissioned by
type common name
SELECT DISTINCT ?c WHERE { resource:Lescot_Wing property:commissioned_by ?c . ?c rdf:type ontology:common_name }
[]
common name
Q129857
SYSTEM
Francis I of France
Q129857
action filter_type
action find
entity Q23297
relation P88
type Q502895
That construction was commissioned by King [ANSWER]
SELECT DISTINCT ?c WHERE { resource:Q23297 property:P88 ?c . ?c rdf:type ontology:Q502895 }
Francis I of France
That construction was commissioned by King Francis I of France
Francis I of France
action filter_type
action find
entity Lescot Wing
relation commissioned by
type common name
SELECT DISTINCT ?c WHERE { resource:Lescot_Wing property:commissioned_by ?c . ?c rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q129857
P112
Q7743
USER
Which home was founded by that person ?
(c(Q7743),P112,Q129857)
action filter_type
action find_reverse
entity Q129857
relation P112
type Q7743
[{'concept': 'Q7743'}, 'P112', 'Q129857']
SELECT DISTINCT ?o WHERE { ?o property:P112 resource:Q129857 . ?o rdf:type ontology:Q7743 }
Francis I of France
action filter_type
action find_reverse
entity Francis I of France
relation founder
type home
[{'concept': 'home'}, 'founder', 'Francis I of France']
SELECT DISTINCT ?o WHERE { ?o property:founder resource:Francis_I_of_France . ?o rdf:type ontology:home }
[]
home
Q205367
SYSTEM
Château de Chambord
Q205367
(c(Q7743),P112,Q129857)
action filter_type
action find_reverse
entity Q129857
relation P112
type Q7743
[ANSWER] was founded by that person
[{'concept': 'Q7743'}, 'P112', 'Q129857']
SELECT DISTINCT ?o WHERE { ?o property:P112 resource:Q129857 . ?o rdf:type ontology:Q7743 }
Château de Chambord
Château de Chambord was founded by that person
Château de Chambord
action filter_type
action find_reverse
entity Francis I of France
relation founder
type home
[{'concept': 'home'}, 'founder', 'Francis I of France']
SELECT DISTINCT ?o WHERE { ?o property:founder resource:Francis_I_of_France . ?o rdf:type ontology:home }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q205367 Q629729
P17
Q15617994
USER
Does that home belong to Stocksee ?
(Q205367,P17,Q629729)
action is_in
entity Q629729
action find
entity Q205367
relation P17
['Q205367', 'P17', 'Q629729']
ASK WHERE { resource:Q205367 property:P17 resource:Q629729 }
Château de Chambord Stocksee
action is_in
entity Stocksee
action find
entity Château de Chambord
relation country
['Château de Chambord', 'country', 'Stocksee']
ASK WHERE { resource:Château_de_Chambord property:country resource:Stocksee }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q205367,P17,Q629729)
action is_in
entity Q629729
action find
entity Q205367
relation P17
[ANSWER]
['Q205367', 'P17', 'Q629729']
ASK WHERE { resource:Q205367 property:P17 resource:Q629729 }
No
action is_in
entity Stocksee
action find
entity Château de Chambord
relation country
['Château de Chambord', 'country', 'Stocksee']
ASK WHERE { resource:Château_de_Chambord property:country resource:Stocksee }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q533343 Q669506 Q553463
P27
Q15617994
USER
Is Diane Johnson a civilian of Finkenthal and Kordel ?
(Q533343,P27,Q669506) (Q533343,P27,Q553463)
action is_in
entity Q533343
action intersection
action find_reverse
entity Q669506
relation P27
action find_reverse
entity Q553463
relation P27
['Q533343', 'P27', 'Q669506'] ['Q533343', 'P27', 'Q553463']
ASK WHERE { resource:Q533343 property:P27 resource:Q669506 . resource:Q533343 property:P27 resource:Q553463 }
Diane Johnson Finkenthal Kordel
action is_in
entity Diane Johnson
action intersection
action find_reverse
entity Finkenthal
relation country of citizenship
action find_reverse
entity Kordel
relation country of citizenship
['Diane Johnson', 'country of citizenship', 'Finkenthal'] ['Diane Johnson', 'country of citizenship', 'Kordel']
ASK WHERE { resource:Diane_Johnson property:country_of_citizenship resource:Finkenthal . resource:Diane_Johnson property:country_of_citizenship resource:Kordel }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q533343,P27,Q669506) (Q533343,P27,Q553463)
action is_in
entity Q533343
action intersection
action find_reverse
entity Q669506
relation P27
action find_reverse
entity Q553463
relation P27
[ANSWER]
['Q533343', 'P27', 'Q669506'] ['Q533343', 'P27', 'Q553463']
ASK WHERE { resource:Q533343 property:P27 resource:Q669506 . resource:Q533343 property:P27 resource:Q553463 }
No
action is_in
entity Diane Johnson
action intersection
action find_reverse
entity Finkenthal
relation country of citizenship
action find_reverse
entity Kordel
relation country of citizenship
['Diane Johnson', 'country of citizenship', 'Finkenthal'] ['Diane Johnson', 'country of citizenship', 'Kordel']
ASK WHERE { resource:Diane_Johnson property:country_of_citizenship resource:Finkenthal . resource:Diane_Johnson property:country_of_citizenship resource:Kordel }
[]