Simple Question (Direct)
Simple Question
Q6370848
P106
Q12737077
USER
What is the job of Karin Immergut ?
(Q6370848,P106,c(Q12737077))
action filter_type
action find
entity Q6370848
relation P106
type Q12737077
['Q6370848', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12737077 . resource:Q6370848 property:P106 ?c }
Karin Immergut
action filter_type
action find
entity Karin Immergut
relation occupation
type occupation
['Karin Immergut', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:occupation . resource:Karin_Immergut property:occupation ?c }
[]
occupation
Q16533
SYSTEM
judge
Q16533
(Q6370848,P106,c(Q12737077))
action filter_type
action find
entity Q6370848
relation P106
type Q12737077
The job of Karin Immergut is a [ANSWER]
['Q6370848', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12737077 . resource:Q6370848 property:P106 ?c }
judge
The job of Karin Immergut is a judge
judge
action filter_type
action find
entity Karin Immergut
relation occupation
type occupation
['Karin Immergut', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:occupation . resource:Karin_Immergut property:occupation ?c }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q16533
P425
Q179805
USER
Which political philosophy is associated with the field of occupation that one ?
(Q16533,P425,c(Q179805))
action filter_type
action find
entity Q16533
relation P425
type Q179805
['Q16533', 'P425', {'concept': 'Q179805'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q179805 . resource:Q16533 property:P425 ?m }
judge
action filter_type
action find
entity judge
relation field of this occupation
type political philosophy
['judge', 'field of this occupation', {'concept': 'political philosophy'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:political_philosophy . resource:judge property:field_of_this_occupation ?m }
[]
political philosophy
Q105985
SYSTEM
judiciary
Q105985
(Q16533,P425,c(Q179805))
action filter_type
action find
entity Q16533
relation P425
type Q179805
[ANSWER] is associated with the field of occupation that one
['Q16533', 'P425', {'concept': 'Q179805'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q179805 . resource:Q16533 property:P425 ?m }
judiciary
Judiciary is associated with the field of occupation that one
judiciary
action filter_type
action find
entity judge
relation field of this occupation
type political philosophy
['judge', 'field of this occupation', {'concept': 'political philosophy'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:political_philosophy . resource:judge property:field_of_this_occupation ?m }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q105985 Q6138807
P101
Q502895
USER
Does Víctor Moreno have his/her area as that political philosophy ?
(Q6138807,P101,Q105985)
action is_in
entity Q6138807
action find
entity Q105985
relation P101
['Q6138807', 'P101', 'Q105985']
ASK WHERE { resource:Q105985 property:P101 resource:Q6138807 }
judiciary Víctor Moreno
action is_in
entity Víctor Moreno
action find
entity judiciary
relation field of work
['Víctor Moreno', 'field of work', 'judiciary']
ASK WHERE { resource:judiciary property:field_of_work resource:Víctor_Moreno }
[]
common name
SYSTEM
NO
(Q6138807,P101,Q105985)
action is_in
entity Q6138807
action find
entity Q105985
relation P101
[ANSWER]
['Q6138807', 'P101', 'Q105985']
ASK WHERE { resource:Q105985 property:P101 resource:Q6138807 }
No
action is_in
entity Víctor Moreno
action find
entity judiciary
relation field of work
['Víctor Moreno', 'field of work', 'judiciary']
ASK WHERE { resource:judiciary property:field_of_work resource:Víctor_Moreno }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q6370848 Q1925720 Q2013221
P19
Q56061
USER
Does Karin Immergut have birthplace at Sabula and Runhall ?
(Q6370848,P19,Q1925720) (Q6370848,P19,Q2013221)
action is_in
entity Q6370848
action intersection
action find_reverse
entity Q1925720
relation P19
action find_reverse
entity Q2013221
relation P19
['Q6370848', 'P19', 'Q1925720'] ['Q6370848', 'P19', 'Q2013221']
ASK WHERE { resource:Q6370848 property:P19 resource:Q2013221 . resource:Q6370848 property:P19 resource:Q1925720 }
Karin Immergut Sabula Runhall
action is_in
entity Karin Immergut
action intersection
action find_reverse
entity Sabula
relation place of birth
action find_reverse
entity Runhall
relation place of birth
['Karin Immergut', 'place of birth', 'Sabula'] ['Karin Immergut', 'place of birth', 'Runhall']
ASK WHERE { resource:Karin_Immergut property:place_of_birth resource:Runhall . resource:Karin_Immergut property:place_of_birth resource:Sabula }
[]
administrative territorial entity
SYSTEM
NO
(Q6370848,P19,Q1925720) (Q6370848,P19,Q2013221)
action is_in
entity Q6370848
action intersection
action find_reverse
entity Q1925720
relation P19
action find_reverse
entity Q2013221
relation P19
[ANSWER]
['Q6370848', 'P19', 'Q1925720'] ['Q6370848', 'P19', 'Q2013221']
ASK WHERE { resource:Q6370848 property:P19 resource:Q2013221 . resource:Q6370848 property:P19 resource:Q1925720 }
No
action is_in
entity Karin Immergut
action intersection
action find_reverse
entity Sabula
relation place of birth
action find_reverse
entity Runhall
relation place of birth
['Karin Immergut', 'place of birth', 'Sabula'] ['Karin Immergut', 'place of birth', 'Runhall']
ASK WHERE { resource:Karin_Immergut property:place_of_birth resource:Runhall . resource:Karin_Immergut property:place_of_birth resource:Sabula }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q105985 Q445485
P425
Q12737077
USER
How many occupations do judiciary or Maroon belong to ?
(c(Q12737077),P425,Q105985) (c(Q12737077),P425,Q445485)
action count
action union
action filter_type
action find_reverse
entity Q105985
relation P425
type Q12737077
action filter_type
action find_reverse
entity Q445485
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', 'Q105985'] [{'concept': 'Q12737077'}, 'P425', 'Q445485']
SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { { ?g property:P425 resource:Q105985 . ?g rdf:type ontology:Q12737077 } UNION { ?g property:P425 resource:Q445485 . ?g rdf:type ontology:Q12737077 } }
judiciary Maroon
action count
action union
action filter_type
action find_reverse
entity judiciary
relation field of this occupation
type occupation
action filter_type
action find_reverse
entity Maroon
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'judiciary'] [{'concept': 'occupation'}, 'field of this occupation', 'Maroon']
SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { { ?g property:field_of_this_occupation resource:judiciary . ?g rdf:type ontology:occupation } UNION { ?g property:field_of_this_occupation resource:Maroon . ?g rdf:type ontology:occupation } }
[]
occupation
SYSTEM
4
Q16533 Q22893595 Q15056889 Q4594605
(c(Q12737077),P425,Q105985) (c(Q12737077),P425,Q445485)
action count
action union
action filter_type
action find_reverse
entity Q105985
relation P425
type Q12737077
action filter_type
action find_reverse
entity Q445485
relation P425
type Q12737077
[ANSWER]
[{'concept': 'Q12737077'}, 'P425', 'Q105985'] [{'concept': 'Q12737077'}, 'P425', 'Q445485']
SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { { ?g property:P425 resource:Q105985 . ?g rdf:type ontology:Q12737077 } UNION { ?g property:P425 resource:Q445485 . ?g rdf:type ontology:Q12737077 } }
judge maroon slave in-house lawyer magistrate
4
action count
action union
action filter_type
action find_reverse
entity judiciary
relation field of this occupation
type occupation
action filter_type
action find_reverse
entity Maroon
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'judiciary'] [{'concept': 'occupation'}, 'field of this occupation', 'Maroon']
SELECT DISTINCT ( COUNT ( ?g ) AS ?m ) WHERE { { ?g property:field_of_this_occupation resource:judiciary . ?g rdf:type ontology:occupation } UNION { ?g property:field_of_this_occupation resource:Maroon . ?g rdf:type ontology:occupation } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q17638008 Q15709879
USER
Which occupations are demonstrated in around 1 game equipment or artwork series ?
(c(Q17638008)|c(Q15709879),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
value 1
[[{'concept': 'Q17638008'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?i ) AS ?q ) WHERE { { ?i property:P180 ?w . ?i rdf:type ontology:Q17638008 . ?w rdf:type ontology:Q12737077 } UNION { ?w rdf:type ontology:Q12737077 . ?i rdf:type ontology:Q15709879 . ?i property:P180 ?w } } GROUP BY ?w } . FILTER ( ?q = 1 ) }
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
value 1
[[{'concept': 'game equipment'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?i ) AS ?q ) WHERE { { ?i property:depicts ?w . ?i rdf:type ontology:game_equipment . ?w rdf:type ontology:occupation } UNION { ?w rdf:type ontology:occupation . ?i rdf:type ontology:artwork_series . ?i property:depicts ?w } } GROUP BY ?w } . FILTER ( ?q = 1 ) }
[]
occupation game equipment artwork series
Q47064 Q805221 Q12059906
SYSTEM
military personnel, ballet dancer, herder
Q47064 Q805221 Q12059906 Q622630 Q39631
(c(Q17638008)|c(Q15709879),P180,c(Q12737077))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q17638008
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q15709879
value 1
The [ANSWERS] are demonstrated in around 1 game equipment or artwork series
[[{'concept': 'Q17638008'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?i ) AS ?q ) WHERE { { ?i property:P180 ?w . ?i rdf:type ontology:Q17638008 . ?w rdf:type ontology:Q12737077 } UNION { ?w rdf:type ontology:Q12737077 . ?i rdf:type ontology:Q15709879 . ?i property:P180 ?w } } GROUP BY ?w } . FILTER ( ?q = 1 ) }
military personnel ballet dancer herder odalisque physician
The military personnel, ballet dancer and herder are demonstrated in around 1 game equipment or artwork series
military personnel ballet dancer herder
action approx
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type game equipment
action find_reverse_tuple_counts
relation depicts
type occupation
type artwork series
value 1
[[{'concept': 'game equipment'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { { SELECT DISTINCT ?w ( COUNT ( ?i ) AS ?q ) WHERE { { ?i property:depicts ?w . ?i rdf:type ontology:game_equipment . ?w rdf:type ontology:occupation } UNION { ?w rdf:type ontology:occupation . ?i rdf:type ontology:artwork_series . ?i property:depicts ?w } } GROUP BY ?w } . FILTER ( ?q = 1 ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q47064 Q805221 Q12059906
P180
Q15709879
USER
Which artwork series depict military personnel, ballet dancer and herder ?
(c(Q15709879),P180,Q47064) (c(Q15709879),P180,Q805221) (c(Q15709879),P180,Q12059906)
action union
action filter_type
action find_reverse
entity Q47064
relation P180
type Q15709879
action filter_type
action find_reverse
entity Q805221
relation P180
type Q15709879
action filter_type
action find_reverse
entity Q12059906
relation P180
type Q15709879
[{'concept': 'Q15709879'}, 'P180', 'Q47064'] [{'concept': 'Q15709879'}, 'P180', 'Q805221'] [{'concept': 'Q15709879'}, 'P180', 'Q12059906']
SELECT DISTINCT ?h WHERE { ?h property:P180 ?z . VALUES ( ?z ) { ( resource:Q47064 ) ( resource:Q805221 ) } }
military personnel ballet dancer herder
action union
action filter_type
action find_reverse
entity military personnel
relation depicts
type artwork series
action filter_type
action find_reverse
entity ballet dancer
relation depicts
type artwork series
action filter_type
action find_reverse
entity herder
relation depicts
type artwork series
[{'concept': 'artwork series'}, 'depicts', 'military personnel'] [{'concept': 'artwork series'}, 'depicts', 'ballet dancer'] [{'concept': 'artwork series'}, 'depicts', 'herder']
SELECT DISTINCT ?h WHERE { ?h property:depicts ?z . VALUES ( ?z ) { ( resource:military_personnel ) ( resource:ballet_dancer ) } }
[]
artwork series
Q7729430 Q2734209 Q2273452
SYSTEM
The Death of General Warren at the Battle of Bunker's Hill, June 17, 1775, Little Dancer of Fourteen Years, The Judgment of Paris
Q7729430 Q2734209 Q2273452
(c(Q15709879),P180,Q47064) (c(Q15709879),P180,Q805221) (c(Q15709879),P180,Q12059906)
action union
action filter_type
action find_reverse
entity Q47064
relation P180
type Q15709879
action filter_type
action find_reverse
entity Q805221
relation P180
type Q15709879
action filter_type
action find_reverse
entity Q12059906
relation P180
type Q15709879
[ANSWERS] series depict military personnel, ballet dancer and herder
[{'concept': 'Q15709879'}, 'P180', 'Q47064'] [{'concept': 'Q15709879'}, 'P180', 'Q805221'] [{'concept': 'Q15709879'}, 'P180', 'Q12059906']
SELECT DISTINCT ?h WHERE { ?h property:P180 ?z . VALUES ( ?z ) { ( resource:Q47064 ) ( resource:Q805221 ) } }
The Death of General Warren at the Battle of Bunker's Hill, June 17, 1775 Little Dancer of Fourteen Years The Judgment of Paris
The Death of General Warren at the Battle of Bunker's Hill, June 17, 1775, Little Dancer of Fourteen Years and The Judgment of Paris series depict military personnel, ballet dancer and herder
The Death of General Warren at the Battle of Bunker's Hill, June 17, 1775 Little Dancer of Fourteen Years The Judgment of Paris
action union
action filter_type
action find_reverse
entity military personnel
relation depicts
type artwork series
action filter_type
action find_reverse
entity ballet dancer
relation depicts
type artwork series
action filter_type
action find_reverse
entity herder
relation depicts
type artwork series
[{'concept': 'artwork series'}, 'depicts', 'military personnel'] [{'concept': 'artwork series'}, 'depicts', 'ballet dancer'] [{'concept': 'artwork series'}, 'depicts', 'herder']
SELECT DISTINCT ?h WHERE { ?h property:depicts ?z . VALUES ( ?z ) { ( resource:military_personnel ) ( resource:ballet_dancer ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q7729430 Q2734209 Q2273452
P180
Q12737077
USER
Which occupations are depicted in The Death of General Warren at the Battle of Bunker's Hill, June 17, 1775, Little Dancer of Fourteen Years and The Judgment of Paris ?
(Q7729430,P180,c(Q12737077)) (Q2734209,P180,c(Q12737077)) (Q2273452,P180,c(Q12737077))
action union
action filter_type
action find
entity Q7729430
relation P180
type Q12737077
action filter_type
action find
entity Q2734209
relation P180
type Q12737077
action filter_type
action find
entity Q2273452
relation P180
type Q12737077
['Q7729430', 'P180', {'concept': 'Q12737077'}] ['Q2734209', 'P180', {'concept': 'Q12737077'}] ['Q2273452', 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { ?e property:P180 ?q . VALUES ( ?e ) { ( resource:Q7729430 ) ( resource:Q2734209 ) } }
The Death of General Warren at the Battle of Bunker's Hill, June 17, 1775 Little Dancer of Fourteen Years The Judgment of Paris
action union
action filter_type
action find
entity The Death of General Warren at the Battle of Bunker's Hill, June 17, 1775
relation depicts
type occupation
action filter_type
action find
entity Little Dancer of Fourteen Years
relation depicts
type occupation
action filter_type
action find
entity The Judgment of Paris
relation depicts
type occupation
["The Death of General Warren at the Battle of Bunker's Hill, June 17, 1775", 'depicts', {'concept': 'occupation'}] ['Little Dancer of Fourteen Years', 'depicts', {'concept': 'occupation'}] ['The Judgment of Paris', 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { ?e property:depicts ?q . VALUES ( ?e ) { ( resource:The_Death_of_General_Warren_at_the_Battle_of_Bunker's_Hill,_June_17,_1775 ) ( resource:Little_Dancer_of_Fourteen_Years ) } }
[]
occupation
Q47064 Q805221 Q12059906
SYSTEM
military personnel, ballet dancer, herder
Q47064 Q805221 Q12059906
(Q7729430,P180,c(Q12737077)) (Q2734209,P180,c(Q12737077)) (Q2273452,P180,c(Q12737077))
action union
action filter_type
action find
entity Q7729430
relation P180
type Q12737077
action filter_type
action find
entity Q2734209
relation P180
type Q12737077
action filter_type
action find
entity Q2273452
relation P180
type Q12737077
[ANSWERS] are depicted in The Death of General Warren at the Battle of Bunker's Hill, June 17, 1775, Little Dancer of Fourteen Years and The Judgment of Paris
['Q7729430', 'P180', {'concept': 'Q12737077'}] ['Q2734209', 'P180', {'concept': 'Q12737077'}] ['Q2273452', 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?q WHERE { ?e property:P180 ?q . VALUES ( ?e ) { ( resource:Q7729430 ) ( resource:Q2734209 ) } }
military personnel ballet dancer herder
Military personnel, ballet dancer and herder are depicted in The Death of General Warren at the Battle of Bunker's Hill, June 17, 1775, Little Dancer of Fourteen Years and The Judgment of Paris
military personnel ballet dancer herder
action union
action filter_type
action find
entity The Death of General Warren at the Battle of Bunker's Hill, June 17, 1775
relation depicts
type occupation
action filter_type
action find
entity Little Dancer of Fourteen Years
relation depicts
type occupation
action filter_type
action find
entity The Judgment of Paris
relation depicts
type occupation
["The Death of General Warren at the Battle of Bunker's Hill, June 17, 1775", 'depicts', {'concept': 'occupation'}] ['Little Dancer of Fourteen Years', 'depicts', {'concept': 'occupation'}] ['The Judgment of Paris', 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?q WHERE { ?e property:depicts ?q . VALUES ( ?e ) { ( resource:The_Death_of_General_Warren_at_the_Battle_of_Bunker's_Hill,_June_17,_1775 ) ( resource:Little_Dancer_of_Fourteen_Years ) } }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q47064 Q805221 Q12059906
P180
Q838948
USER
Which works of art depict military personnel, ballet dancer and herder ?
(c(Q838948),P180,Q47064) (c(Q838948),P180,Q805221) (c(Q838948),P180,Q12059906)
action union
action filter_type
action find_reverse
entity Q47064
relation P180
type Q838948
action filter_type
action find_reverse
entity Q805221
relation P180
type Q838948
action filter_type
action find_reverse
entity Q12059906
relation P180
type Q838948
[{'concept': 'Q838948'}, 'P180', 'Q47064'] [{'concept': 'Q838948'}, 'P180', 'Q805221'] [{'concept': 'Q838948'}, 'P180', 'Q12059906']
SELECT DISTINCT ?a WHERE { { ?a rdf:type ontology:Q838948 . ?a property:P180 resource:Q47064 } UNION { ?a property:P180 resource:Q805221 . ?a rdf:type ontology:Q838948 } }
military personnel ballet dancer herder
action union
action filter_type
action find_reverse
entity military personnel
relation depicts
type work of art
action filter_type
action find_reverse
entity ballet dancer
relation depicts
type work of art
action filter_type
action find_reverse
entity herder
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'military personnel'] [{'concept': 'work of art'}, 'depicts', 'ballet dancer'] [{'concept': 'work of art'}, 'depicts', 'herder']
SELECT DISTINCT ?a WHERE { { ?a rdf:type ontology:work_of_art . ?a property:depicts resource:military_personnel } UNION { ?a property:depicts resource:ballet_dancer . ?a rdf:type ontology:work_of_art } }
[]
work of art
Q15123181 Q2897072 Q16303545
SYSTEM
Proserpina sarcophagus, Shepherd with Flute, Chasseur à pied
Q16303545 Q1136305 Q6544400 Q7971889 Q16864946 Q3752885 Q19358256 Q2897072 Q15123181
(c(Q838948),P180,Q47064) (c(Q838948),P180,Q805221) (c(Q838948),P180,Q12059906)
action union
action filter_type
action find_reverse
entity Q47064
relation P180
type Q838948
action filter_type
action find_reverse
entity Q805221
relation P180
type Q838948
action filter_type
action find_reverse
entity Q12059906
relation P180
type Q838948
[ANSWERS] depict military personnel, ballet dancer and herder
[{'concept': 'Q838948'}, 'P180', 'Q47064'] [{'concept': 'Q838948'}, 'P180', 'Q805221'] [{'concept': 'Q838948'}, 'P180', 'Q12059906']
SELECT DISTINCT ?a WHERE { { ?a rdf:type ontology:Q838948 . ?a property:P180 resource:Q47064 } UNION { ?a property:P180 resource:Q805221 . ?a rdf:type ontology:Q838948 } }
Chasseur à pied Doryphoros Lieutenant General George Washington Washington Grays Monument Doryphoros from Pompeii Mars of Todi Anna Pavlova Shepherd with Flute Proserpina sarcophagus
Proserpina sarcophagus, Shepherd with Flute and Chasseur à pied depict military personnel, ballet dancer and herder
Proserpina sarcophagus Shepherd with Flute Chasseur à pied
action union
action filter_type
action find_reverse
entity military personnel
relation depicts
type work of art
action filter_type
action find_reverse
entity ballet dancer
relation depicts
type work of art
action filter_type
action find_reverse
entity herder
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'military personnel'] [{'concept': 'work of art'}, 'depicts', 'ballet dancer'] [{'concept': 'work of art'}, 'depicts', 'herder']
SELECT DISTINCT ?a WHERE { { ?a rdf:type ontology:work_of_art . ?a property:depicts resource:military_personnel } UNION { ?a property:depicts resource:ballet_dancer . ?a rdf:type ontology:work_of_art } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q15123181
P17
Q1048835
USER
Which political territory is that work of art situated in ?
(Q15123181,P17,c(Q1048835))
action filter_type
action find
entity Q15123181
relation P17
type Q1048835
['Q15123181', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { resource:Q15123181 property:P17 ?t . ?t rdf:type ontology:Q1048835 }
Proserpina sarcophagus
action filter_type
action find
entity Proserpina sarcophagus
relation country
type political territorial entity
['Proserpina sarcophagus', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Proserpina_sarcophagus property:country ?t . ?t rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Clarification for simple ques.
Q15123181
SYSTEM
Did you mean Proserpina sarcophagus ?
Q15123181 Q2897072 Q16303545
(Q15123181,P17,c(Q1048835)) (Q2897072,P17,c(Q1048835)) (Q16303545,P17,c(Q1048835))
[ANSWER]
['Q15123181', 'P17', {'concept': 'Q1048835'}] ['Q2897072', 'P17', {'concept': 'Q1048835'}] ['Q16303545', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { resource:Q15123181 property:P17 ?t . ?t rdf:type ontology:Q1048835 }
Proserpina sarcophagus Shepherd with Flute Chasseur à pied
Did you mean Proserpina sarcophagus ?
Proserpina sarcophagus
['Proserpina sarcophagus', 'country', {'concept': 'political territorial entity'}] ['Shepherd with Flute', 'country', {'concept': 'political territorial entity'}] ['Chasseur à pied', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Proserpina_sarcophagus property:country ?t . ?t rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
USER
Yes
(Q15123181,P17,c(Q1048835))
['Q15123181', 'P17', {'concept': 'Q1048835'}]
['Proserpina sarcophagus', 'country', {'concept': 'political territorial entity'}]
[]
Q183
SYSTEM
Germany
Q183
(Q15123181,P17,c(Q1048835))
action filter_type
action find
entity Q15123181
relation P17
type Q1048835
That work of art is situated in [ANSWER]
['Q15123181', 'P17', {'concept': 'Q1048835'}]
SELECT DISTINCT ?t WHERE { resource:Q15123181 property:P17 ?t . ?t rdf:type ontology:Q1048835 }
Germany
That work of art is situated in Germany
Germany
action filter_type
action find
entity Proserpina sarcophagus
relation country
type political territorial entity
['Proserpina sarcophagus', 'country', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Proserpina_sarcophagus property:country ?t . ?t rdf:type ontology:political_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P195
Q43229 Q33506 Q15709879
USER
How many artwork series are preserved in exactly 4 organizations or museums ?
(c(Q15709879),P195,c(Q43229)|c(Q33506))
action count
action equal
action union
action find_tuple_counts
relation P195
type Q15709879
type Q43229
action find_tuple_counts
relation P195
type Q15709879
type Q33506
value 4
[{'concept': 'Q15709879'}, 'P195', [{'concept': 'Q43229'}, {'concept': 'Q33506'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?n ) WHERE { { ?l rdf:type ontology:Q43229 . ?b rdf:type ontology:Q15709879 . ?b property:P195 ?l } UNION { ?b property:P195 ?l . ?b rdf:type ontology:Q15709879 . ?l rdf:type ontology:Q33506 } } GROUP BY ?b } . FILTER ( ?n = 4 ) }
action count
action equal
action union
action find_tuple_counts
relation collection
type artwork series
type organization
action find_tuple_counts
relation collection
type artwork series
type museum
value 4
[{'concept': 'artwork series'}, 'collection', [{'concept': 'organization'}, {'concept': 'museum'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?n ) WHERE { { ?l rdf:type ontology:organization . ?b rdf:type ontology:artwork_series . ?b property:collection ?l } UNION { ?b property:collection ?l . ?b rdf:type ontology:artwork_series . ?l rdf:type ontology:museum } } GROUP BY ?b } . FILTER ( ?n = 4 ) }
[]
organization museum artwork series
SYSTEM
2
Q5826309 Q26831186
(c(Q15709879),P195,c(Q43229)|c(Q33506))
action count
action equal
action union
action find_tuple_counts
relation P195
type Q15709879
type Q43229
action find_tuple_counts
relation P195
type Q15709879
type Q33506
value 4
[ANSWER]
[{'concept': 'Q15709879'}, 'P195', [{'concept': 'Q43229'}, {'concept': 'Q33506'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?n ) WHERE { { ?l rdf:type ontology:Q43229 . ?b rdf:type ontology:Q15709879 . ?b property:P195 ?l } UNION { ?b property:P195 ?l . ?b rdf:type ontology:Q15709879 . ?l rdf:type ontology:Q33506 } } GROUP BY ?b } . FILTER ( ?n = 4 ) }
Sudden Shower over Shin-Ōhashi bridge and Atake Mercury Passing Before the Sun
2
action count
action equal
action union
action find_tuple_counts
relation collection
type artwork series
type organization
action find_tuple_counts
relation collection
type artwork series
type museum
value 4
[{'concept': 'artwork series'}, 'collection', [{'concept': 'organization'}, {'concept': 'museum'}]]
SELECT DISTINCT ( COUNT ( ?b ) AS ?k ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?l ) AS ?n ) WHERE { { ?l rdf:type ontology:organization . ?b rdf:type ontology:artwork_series . ?b property:collection ?l } UNION { ?b property:collection ?l . ?b rdf:type ontology:artwork_series . ?l rdf:type ontology:museum } } GROUP BY ?b } . FILTER ( ?n = 4 ) }
[]