Simple Question (Direct)
Simple Question
Q444969
P509
Q2057971
USER
What was the cause of death of Aleksey Koltsov ?
(Q444969,P509,c(Q2057971))
action filter_type
action find
entity Q444969
relation P509
type Q2057971
['Q444969', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q2057971 . resource:Q444969 property:P509 ?i }
Aleksey Koltsov
action filter_type
action find
entity Aleksey Koltsov
relation cause of death
type health problem
['Aleksey Koltsov', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:health_problem . resource:Aleksey_Koltsov property:cause_of_death ?i }
[]
health problem
Q12204
SYSTEM
tuberculosis
Q12204
(Q444969,P509,c(Q2057971))
action filter_type
action find
entity Q444969
relation P509
type Q2057971
The cause of death of Aleksey Koltsov was of [ANSWER]
['Q444969', 'P509', {'concept': 'Q2057971'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q2057971 . resource:Q444969 property:P509 ?i }
tuberculosis
The cause of death of Aleksey Koltsov was of tuberculosis
tuberculosis
action filter_type
action find
entity Aleksey Koltsov
relation cause of death
type health problem
['Aleksey Koltsov', 'cause of death', {'concept': 'health problem'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:health_problem . resource:Aleksey_Koltsov property:cause_of_death ?i }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q12204
P180
Q15709879
USER
Which artwork series expressess that health problem ?
(c(Q15709879),P180,Q12204)
action filter_type
action find_reverse
entity Q12204
relation P180
type Q15709879
[{'concept': 'Q15709879'}, 'P180', 'Q12204']
SELECT DISTINCT ?c WHERE { ?c property:P180 resource:Q12204 . ?c rdf:type ontology:Q15709879 }
tuberculosis
action filter_type
action find_reverse
entity tuberculosis
relation depicts
type artwork series
[{'concept': 'artwork series'}, 'depicts', 'tuberculosis']
SELECT DISTINCT ?c WHERE { ?c property:depicts resource:tuberculosis . ?c rdf:type ontology:artwork_series }
[]
artwork series
Q2267579
SYSTEM
The Sick Child
Q2267579
(c(Q15709879),P180,Q12204)
action filter_type
action find_reverse
entity Q12204
relation P180
type Q15709879
[ANSWER] expressess that health problem
[{'concept': 'Q15709879'}, 'P180', 'Q12204']
SELECT DISTINCT ?c WHERE { ?c property:P180 resource:Q12204 . ?c rdf:type ontology:Q15709879 }
The Sick Child
The Sick Child expressess that health problem
The Sick Child
action filter_type
action find_reverse
entity tuberculosis
relation depicts
type artwork series
[{'concept': 'artwork series'}, 'depicts', 'tuberculosis']
SELECT DISTINCT ?c WHERE { ?c property:depicts resource:tuberculosis . ?c rdf:type ontology:artwork_series }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2267579
P186
Q214609
USER
Which materials are used to manufacture that artwork series ?
(Q2267579,P186,c(Q214609))
action filter_type
action find
entity Q2267579
relation P186
type Q214609
['Q2267579', 'P186', {'concept': 'Q214609'}]
SELECT DISTINCT ?x WHERE { resource:Q2267579 property:P186 ?x . ?x rdf:type ontology:Q214609 }
The Sick Child
action filter_type
action find
entity The Sick Child
relation material used
type material
['The Sick Child', 'material used', {'concept': 'material'}]
SELECT DISTINCT ?x WHERE { resource:The_Sick_Child property:material_used ?x . ?x rdf:type ontology:material }
[]
material
Q296955 Q4259259
SYSTEM
oil paint, canvas
Q296955 Q4259259
(Q2267579,P186,c(Q214609))
action filter_type
action find
entity Q2267579
relation P186
type Q214609
The [ANSWERS] are used to manufacture that artwork series
['Q2267579', 'P186', {'concept': 'Q214609'}]
SELECT DISTINCT ?x WHERE { resource:Q2267579 property:P186 ?x . ?x rdf:type ontology:Q214609 }
oil paint canvas
The oil paint and canvas are used to manufacture that artwork series
oil paint canvas
action filter_type
action find
entity The Sick Child
relation material used
type material
['The Sick Child', 'material used', {'concept': 'material'}]
SELECT DISTINCT ?x WHERE { resource:The_Sick_Child property:material_used ?x . ?x rdf:type ontology:material }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q17145739
P186
Q838948
USER
Are Nightmare of 1934 made from those materials ?
(Q17145739,P186,Q296955) (Q17145739,P186,Q4259259)
action is_in
entity prev_answer
action find
entity Q17145739
relation P186
['Q17145739', 'P186', 'Q296955'] ['Q17145739', 'P186', 'Q4259259']
ASK WHERE { resource:Q17145739 property:P186 ?a . VALUES ( ?a ) { ( resource:Q296955 ) ( resource:Q4259259 ) } }
Nightmare of 1934
action is_in
entity prev_answer
action find
entity Nightmare of 1934
relation material used
['Nightmare of 1934', 'material used', 'oil paint'] ['Nightmare of 1934', 'material used', 'canvas']
ASK WHERE { resource:Nightmare_of_1934 property:material_used ?a . VALUES ( ?a ) { ( resource:oil_paint ) ( resource:canvas ) } }
[]
work of art
SYSTEM
YES
(Q17145739,P186,Q296955) (Q17145739,P186,Q4259259)
action is_in
entity prev_answer
action find
entity Q17145739
relation P186
[ANSWER]
['Q17145739', 'P186', 'Q296955'] ['Q17145739', 'P186', 'Q4259259']
ASK WHERE { resource:Q17145739 property:P186 ?a . VALUES ( ?a ) { ( resource:Q296955 ) ( resource:Q4259259 ) } }
Yes
action is_in
entity prev_answer
action find
entity Nightmare of 1934
relation material used
['Nightmare of 1934', 'material used', 'oil paint'] ['Nightmare of 1934', 'material used', 'canvas']
ASK WHERE { resource:Nightmare_of_1934 property:material_used ?a . VALUES ( ?a ) { ( resource:oil_paint ) ( resource:canvas ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q444969 Q12172179 Q12680569
P19
Q56061
USER
Was Aleksey Koltsov born at Șovoaia and Žeberiai ?
(Q444969,P19,Q12172179) (Q444969,P19,Q12680569)
action is_in
entity Q444969
action intersection
action find_reverse
entity Q12172179
relation P19
action find_reverse
entity Q12680569
relation P19
['Q444969', 'P19', 'Q12172179'] ['Q444969', 'P19', 'Q12680569']
ASK WHERE { resource:Q444969 property:P19 resource:Q12172179 . resource:Q444969 property:P19 resource:Q12680569 }
Aleksey Koltsov Șovoaia Žeberiai
action is_in
entity Aleksey Koltsov
action intersection
action find_reverse
entity Șovoaia
relation place of birth
action find_reverse
entity Žeberiai
relation place of birth
['Aleksey Koltsov', 'place of birth', 'Șovoaia'] ['Aleksey Koltsov', 'place of birth', 'Žeberiai']
ASK WHERE { resource:Aleksey_Koltsov property:place_of_birth resource:Șovoaia . resource:Aleksey_Koltsov property:place_of_birth resource:Žeberiai }
[]
administrative territorial entity
SYSTEM
NO
(Q444969,P19,Q12172179) (Q444969,P19,Q12680569)
action is_in
entity Q444969
action intersection
action find_reverse
entity Q12172179
relation P19
action find_reverse
entity Q12680569
relation P19
[ANSWER]
['Q444969', 'P19', 'Q12172179'] ['Q444969', 'P19', 'Q12680569']
ASK WHERE { resource:Q444969 property:P19 resource:Q12172179 . resource:Q444969 property:P19 resource:Q12680569 }
No
action is_in
entity Aleksey Koltsov
action intersection
action find_reverse
entity Șovoaia
relation place of birth
action find_reverse
entity Žeberiai
relation place of birth
['Aleksey Koltsov', 'place of birth', 'Șovoaia'] ['Aleksey Koltsov', 'place of birth', 'Žeberiai']
ASK WHERE { resource:Aleksey_Koltsov property:place_of_birth resource:Șovoaia . resource:Aleksey_Koltsov property:place_of_birth resource:Žeberiai }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P186
Q214609 Q234460
USER
Which texts are made from approximately 1 material ?
(c(Q234460),P186,c(Q214609))
action approx
action find_tuple_counts
relation P186
type Q234460
type Q214609
value 1
[{'concept': 'Q234460'}, 'P186', {'concept': 'Q214609'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?u ) WHERE { ?b property:P186 ?h . ?b rdf:type ontology:Q234460 . ?h rdf:type ontology:Q214609 } GROUP BY ?b } . FILTER ( ?u = 1 ) }
action approx
action find_tuple_counts
relation material used
type text
type material
value 1
[{'concept': 'text'}, 'material used', {'concept': 'material'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?u ) WHERE { ?b property:material_used ?h . ?b rdf:type ontology:text . ?h rdf:type ontology:material } GROUP BY ?b } . FILTER ( ?u = 1 ) }
[]
material text
Q22947273 Q22947617 Q632114
SYSTEM
Miscellany, Alexandria Codex of Sofia, Codex Mariendalensis
Q13130679 Q632114 Q22947273 Q22947617 Q395968 Q245239
(c(Q234460),P186,c(Q214609))
action approx
action find_tuple_counts
relation P186
type Q234460
type Q214609
value 1
[ANSWERS] are made from approximately 1 material
[{'concept': 'Q234460'}, 'P186', {'concept': 'Q214609'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?u ) WHERE { ?b property:P186 ?h . ?b rdf:type ontology:Q234460 . ?h rdf:type ontology:Q214609 } GROUP BY ?b } . FILTER ( ?u = 1 ) }
The Chronicle of the Princes Codex Mariendalensis Miscellany Alexandria Codex of Sofia Liber Linteus Zwölfprophetenrolle vom Nachal Chever
Miscellany, Alexandria Codex of Sofia and Codex Mariendalensis are made from approximately 1 material
Miscellany Alexandria Codex of Sofia Codex Mariendalensis
action approx
action find_tuple_counts
relation material used
type text
type material
value 1
[{'concept': 'text'}, 'material used', {'concept': 'material'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?h ) AS ?u ) WHERE { ?b property:material_used ?h . ?b rdf:type ontology:text . ?h rdf:type ontology:material } GROUP BY ?b } . FILTER ( ?u = 1 ) }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P186
Q8063 Q234460
USER
Which rocks are used to construct exactly 1 text ?
(c(Q234460),P186,c(Q8063))
action equal
action find_reverse_tuple_counts
relation P186
type Q8063
type Q234460
value 1
[{'concept': 'Q234460'}, 'P186', {'concept': 'Q8063'}]
SELECT DISTINCT ?x WHERE { FILTER ( ?w = 1 ) . { SELECT DISTINCT ?x ( COUNT ( ?n ) AS ?w ) WHERE { ?n property:P186 ?x . ?x rdf:type ontology:Q8063 . ?n rdf:type ontology:Q234460 } GROUP BY ?x } }
action equal
action find_reverse_tuple_counts
relation material used
type rock
type text
value 1
[{'concept': 'text'}, 'material used', {'concept': 'rock'}]
SELECT DISTINCT ?x WHERE { FILTER ( ?w = 1 ) . { SELECT DISTINCT ?x ( COUNT ( ?n ) AS ?w ) WHERE { ?n property:material_used ?x . ?x rdf:type ontology:rock . ?n rdf:type ontology:text } GROUP BY ?x } }
[]
rock text
Q43338 Q207079 Q23757
SYSTEM
basalt, slate, limestone
Q43338 Q207079 Q23757
(c(Q234460),P186,c(Q8063))
action equal
action find_reverse_tuple_counts
relation P186
type Q8063
type Q234460
value 1
[ANSWERS] are used to construct exactly 1 text
[{'concept': 'Q234460'}, 'P186', {'concept': 'Q8063'}]
SELECT DISTINCT ?x WHERE { FILTER ( ?w = 1 ) . { SELECT DISTINCT ?x ( COUNT ( ?n ) AS ?w ) WHERE { ?n property:P186 ?x . ?x rdf:type ontology:Q8063 . ?n rdf:type ontology:Q234460 } GROUP BY ?x } }
basalt slate limestone
Basalt, slate and limestone are used to construct exactly 1 text
basalt slate limestone
action equal
action find_reverse_tuple_counts
relation material used
type rock
type text
value 1
[{'concept': 'text'}, 'material used', {'concept': 'rock'}]
SELECT DISTINCT ?x WHERE { FILTER ( ?w = 1 ) . { SELECT DISTINCT ?x ( COUNT ( ?n ) AS ?w ) WHERE { ?n property:material_used ?x . ?x rdf:type ontology:rock . ?n rdf:type ontology:text } GROUP BY ?x } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q23757
P921
Q732577
USER
Which publications were mainly based on that rock ?
(c(Q732577),P921,Q23757)
action filter_type
action find_reverse
entity Q23757
relation P921
type Q732577
[{'concept': 'Q732577'}, 'P921', 'Q23757']
SELECT DISTINCT ?f WHERE { ?f property:P921 resource:Q23757 . ?f rdf:type ontology:Q732577 }
limestone
action filter_type
action find_reverse
entity limestone
relation main subject
type publication
[{'concept': 'publication'}, 'main subject', 'limestone']
SELECT DISTINCT ?f WHERE { ?f property:main_subject resource:limestone . ?f rdf:type ontology:publication }
[]
publication
Clarification for simple ques.
Q23757
SYSTEM
Did you mean limestone ?
Q43338 Q207079 Q23757
(c(Q732577),P921,Q43338) (c(Q732577),P921,Q207079) (c(Q732577),P921,Q23757)
[ANSWER]
[{'concept': 'Q732577'}, 'P921', 'Q43338'] [{'concept': 'Q732577'}, 'P921', 'Q207079'] [{'concept': 'Q732577'}, 'P921', 'Q23757']
SELECT DISTINCT ?f WHERE { ?f property:P921 resource:Q23757 . ?f rdf:type ontology:Q732577 }
basalt slate limestone
Did you mean limestone ?
limestone
[{'concept': 'publication'}, 'main subject', 'basalt'] [{'concept': 'publication'}, 'main subject', 'slate'] [{'concept': 'publication'}, 'main subject', 'limestone']
SELECT DISTINCT ?f WHERE { ?f property:main_subject resource:limestone . ?f rdf:type ontology:publication }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q732577),P921,Q23757)
[{'concept': 'Q732577'}, 'P921', 'Q23757']
[{'concept': 'publication'}, 'main subject', 'limestone']
[]
Q26350963 Q26326338 Q24176283
SYSTEM
HHE determination report no. HHE-76-56-458, Herbert Malarky Roofing Co., Portland, Oregon, Pseudo-Tumoral Lung Formations from Silica Free Dusts, HHE determination report no. HHE-76-54-436, Certain-Teed Products, Inc., Richmond, California
Q26350963 Q26326338 Q24176283 Q26349665
(c(Q732577),P921,Q23757)
action filter_type
action find_reverse
entity Q23757
relation P921
type Q732577
[ANSWERS]
[{'concept': 'Q732577'}, 'P921', 'Q23757']
SELECT DISTINCT ?f WHERE { ?f property:P921 resource:Q23757 . ?f rdf:type ontology:Q732577 }
HHE determination report no. HHE-76-56-458, Herbert Malarky Roofing Co., Portland, Oregon Pseudo-Tumoral Lung Formations from Silica Free Dusts HHE determination report no. HHE-76-54-436, Certain-Teed Products, Inc., Richmond, California Indepth survey report: Macawber Engineering, Inc., Maryville, Tennessee, report no. CT-144-21a
HHE determination report no. HHE-76-56-458, Herbert Malarky Roofing Co., Portland, Oregon, Pseudo-Tumoral Lung Formations from Silica Free Dusts and HHE determination report no. HHE-76-54-436, Certain-Teed Products, Inc., Richmond, California were mainly based on that rock
HHE determination report no. HHE-76-56-458, Herbert Malarky Roofing Co., Portland, Oregon Pseudo-Tumoral Lung Formations from Silica Free Dusts HHE determination report no. HHE-76-54-436, Certain-Teed Products, Inc., Richmond, California
action filter_type
action find_reverse
entity limestone
relation main subject
type publication
[{'concept': 'publication'}, 'main subject', 'limestone']
SELECT DISTINCT ?f WHERE { ?f property:main_subject resource:limestone . ?f rdf:type ontology:publication }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q26350963
P859
Q895526
USER
Which authority organ is the sponsor of HHE determination report no. HHE-76-56-458, Herbert Malarky Roofing Co., Portland, Oregon ?
(Q26350963,P859,c(Q895526))
action filter_type
action find
entity Q26350963
relation P859
type Q895526
['Q26350963', 'P859', {'concept': 'Q895526'}]
SELECT DISTINCT ?n WHERE { resource:Q26350963 property:P859 ?n . ?n rdf:type ontology:Q895526 }
HHE determination report no. HHE-76-56-458, Herbert Malarky Roofing Co., Portland, Oregon
action filter_type
action find
entity HHE determination report no. HHE-76-56-458, Herbert Malarky Roofing Co., Portland, Oregon
relation sponsor
type authority organ
['HHE determination report no. HHE-76-56-458, Herbert Malarky Roofing Co., Portland, Oregon', 'sponsor', {'concept': 'authority organ'}]
SELECT DISTINCT ?n WHERE { resource:HHE_determination_report_no._HHE-76-56-458,_Herbert_Malarky_Roofing_Co.,_Portland,_Oregon property:sponsor ?n . ?n rdf:type ontology:authority_organ }
[]
authority organ
Q60346
SYSTEM
National Institute for Occupational Safety and Health
Q60346
(Q26350963,P859,c(Q895526))
action filter_type
action find
entity Q26350963
relation P859
type Q895526
[ANSWER] is the sponsor of HHE determination report no. HHE-76-56-458, Herbert Malarky Roofing Co., Portland, Oregon
['Q26350963', 'P859', {'concept': 'Q895526'}]
SELECT DISTINCT ?n WHERE { resource:Q26350963 property:P859 ?n . ?n rdf:type ontology:Q895526 }
National Institute for Occupational Safety and Health
National Institute for Occupational Safety and Health is the sponsor of HHE determination report no. HHE-76-56-458, Herbert Malarky Roofing Co., Portland, Oregon
National Institute for Occupational Safety and Health
action filter_type
action find
entity HHE determination report no. HHE-76-56-458, Herbert Malarky Roofing Co., Portland, Oregon
relation sponsor
type authority organ
['HHE determination report no. HHE-76-56-458, Herbert Malarky Roofing Co., Portland, Oregon', 'sponsor', {'concept': 'authority organ'}]
SELECT DISTINCT ?n WHERE { resource:HHE_determination_report_no._HHE-76-56-458,_Herbert_Malarky_Roofing_Co.,_Portland,_Oregon property:sponsor ?n . ?n rdf:type ontology:authority_organ }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q26376858 Q26350963
P859
Q895526
USER
Or Alkali Metals as Hydrogenation Catalysts for Aromatic Molecules?
OR((Q26350963,P859,c(Q895526)), (Q26376858,P859,c(Q895526)))
action filter_type
action union
action find
entity Q26350963
relation P859
action find
entity Q26376858
relation P859
type Q895526
{'OR': [['Q26350963', 'P859', {'concept': 'Q895526'}], ['Q26376858', 'P859', {'concept': 'Q895526'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q26350963 property:P859 ?l } UNION { resource:Q26376858 property:P859 ?l } } . ?l rdf:type ontology:Q895526 }
Alkali Metals as Hydrogenation Catalysts for Aromatic Molecules HHE determination report no. HHE-76-56-458, Herbert Malarky Roofing Co., Portland, Oregon
action filter_type
action union
action find
entity HHE determination report no. HHE-76-56-458, Herbert Malarky Roofing Co., Portland, Oregon
relation sponsor
action find
entity Alkali Metals as Hydrogenation Catalysts for Aromatic Molecules
relation sponsor
type authority organ
{'OR': [['HHE determination report no. HHE-76-56-458, Herbert Malarky Roofing Co., Portland, Oregon', 'sponsor', {'concept': 'authority organ'}], ['Alkali Metals as Hydrogenation Catalysts for Aromatic Molecules', 'sponsor', {'concept': 'authority organ'}]]}
SELECT DISTINCT ?l WHERE { { { resource:HHE_determination_report_no._HHE-76-56-458,_Herbert_Malarky_Roofing_Co.,_Portland,_Oregon property:sponsor ?l } UNION { resource:Alkali_Metals_as_Hydrogenation_Catalysts_for_Aromatic_Molecules property:sponsor ?l } } . ?l rdf:type ontology:authority_organ }
[]
authority organ
Q60346
SYSTEM
National Institute for Occupational Safety and Health
Q60346
OR((Q26350963,P859,c(Q895526)), (Q26376858,P859,c(Q895526)))
action filter_type
action union
action find
entity Q26350963
relation P859
action find
entity Q26376858
relation P859
type Q895526
[ANSWER]
{'OR': [['Q26350963', 'P859', {'concept': 'Q895526'}], ['Q26376858', 'P859', {'concept': 'Q895526'}]]}
SELECT DISTINCT ?l WHERE { { { resource:Q26350963 property:P859 ?l } UNION { resource:Q26376858 property:P859 ?l } } . ?l rdf:type ontology:Q895526 }
National Institute for Occupational Safety and Health
National Institute for Occupational Safety and Health
action filter_type
action union
action find
entity HHE determination report no. HHE-76-56-458, Herbert Malarky Roofing Co., Portland, Oregon
relation sponsor
action find
entity Alkali Metals as Hydrogenation Catalysts for Aromatic Molecules
relation sponsor
type authority organ
{'OR': [['HHE determination report no. HHE-76-56-458, Herbert Malarky Roofing Co., Portland, Oregon', 'sponsor', {'concept': 'authority organ'}], ['Alkali Metals as Hydrogenation Catalysts for Aromatic Molecules', 'sponsor', {'concept': 'authority organ'}]]}
SELECT DISTINCT ?l WHERE { { { resource:HHE_determination_report_no._HHE-76-56-458,_Herbert_Malarky_Roofing_Co.,_Portland,_Oregon property:sponsor ?l } UNION { resource:Alkali_Metals_as_Hydrogenation_Catalysts_for_Aromatic_Molecules property:sponsor ?l } } . ?l rdf:type ontology:authority_organ }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P127
Q895526 Q41176
USER
How many buildings are under posessision of around 2 authority organs ?
(c(Q41176),P127,c(Q895526))
action count
action approx
action find_tuple_counts
relation P127
type Q41176
type Q895526
value 2
[{'concept': 'Q41176'}, 'P127', {'concept': 'Q895526'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?h ) WHERE { ?n property:P127 ?d . ?n rdf:type ontology:Q41176 . ?d rdf:type ontology:Q895526 } GROUP BY ?n } . FILTER ( ?h = 2 ) }
action count
action approx
action find_tuple_counts
relation owned by
type building
type authority organ
value 2
[{'concept': 'building'}, 'owned by', {'concept': 'authority organ'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?h ) WHERE { ?n property:owned_by ?d . ?n rdf:type ontology:building . ?d rdf:type ontology:authority_organ } GROUP BY ?n } . FILTER ( ?h = 2 ) }
[]
authority organ building
SYSTEM
1
Q798666
(c(Q41176),P127,c(Q895526))
action count
action approx
action find_tuple_counts
relation P127
type Q41176
type Q895526
value 2
[ANSWER]
[{'concept': 'Q41176'}, 'P127', {'concept': 'Q895526'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?h ) WHERE { ?n property:P127 ?d . ?n rdf:type ontology:Q41176 . ?d rdf:type ontology:Q895526 } GROUP BY ?n } . FILTER ( ?h = 2 ) }
Esselte building
1
action count
action approx
action find_tuple_counts
relation owned by
type building
type authority organ
value 2
[{'concept': 'building'}, 'owned by', {'concept': 'authority organ'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?t ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?d ) AS ?h ) WHERE { ?n property:owned_by ?d . ?n rdf:type ontology:building . ?d rdf:type ontology:authority_organ } GROUP BY ?n } . FILTER ( ?h = 2 ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q18573418 Q17145739
P186
Q214609
USER
Which materials are used to manufacture Nightmare of 1934 or A Fox Family ?
OR((Q17145739,P186,c(Q214609)), (Q18573418,P186,c(Q214609)))
action filter_type
action union
action find
entity Q17145739
relation P186
action find
entity Q18573418
relation P186
type Q214609
{'OR': [['Q17145739', 'P186', {'concept': 'Q214609'}], ['Q18573418', 'P186', {'concept': 'Q214609'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q17145739 property:P186 ?q } UNION { resource:Q18573418 property:P186 ?q } } . ?q rdf:type ontology:Q214609 }
A Fox Family Nightmare of 1934
action filter_type
action union
action find
entity Nightmare of 1934
relation material used
action find
entity A Fox Family
relation material used
type material
{'OR': [['Nightmare of 1934', 'material used', {'concept': 'material'}], ['A Fox Family', 'material used', {'concept': 'material'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Nightmare_of_1934 property:material_used ?q } UNION { resource:A_Fox_Family property:material_used ?q } } . ?q rdf:type ontology:material }
[]
material
Q296955 Q4259259
SYSTEM
oil paint, canvas
Q296955 Q4259259
OR((Q17145739,P186,c(Q214609)), (Q18573418,P186,c(Q214609)))
action filter_type
action union
action find
entity Q17145739
relation P186
action find
entity Q18573418
relation P186
type Q214609
The [ANSWERS] are used to manufacture Nightmare of 1934 or A Fox Family
{'OR': [['Q17145739', 'P186', {'concept': 'Q214609'}], ['Q18573418', 'P186', {'concept': 'Q214609'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Q17145739 property:P186 ?q } UNION { resource:Q18573418 property:P186 ?q } } . ?q rdf:type ontology:Q214609 }
oil paint canvas
The oil paint and canvas are used to manufacture Nightmare of 1934 or A Fox Family
oil paint canvas
action filter_type
action union
action find
entity Nightmare of 1934
relation material used
action find
entity A Fox Family
relation material used
type material
{'OR': [['Nightmare of 1934', 'material used', {'concept': 'material'}], ['A Fox Family', 'material used', {'concept': 'material'}]]}
SELECT DISTINCT ?q WHERE { { { resource:Nightmare_of_1934 property:material_used ?q } UNION { resource:A_Fox_Family property:material_used ?q } } . ?q rdf:type ontology:material }
[]