Simple Question (Direct)
Simple Question
Q1606064
P937
Q56061
USER
What is the location where Henri d'Attilio worked ?
(Q1606064,P937,c(Q56061))
action filter_type
action find
entity Q1606064
relation P937
type Q56061
['Q1606064', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q1606064 property:P937 ?d . ?d rdf:type ontology:Q56061 }
Henri d'Attilio
action filter_type
action find
entity Henri d'Attilio
relation work location
type administrative territorial entity
["Henri d'Attilio", 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Henri_d'Attilio property:work_location ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q1606064,P937,c(Q56061))
action filter_type
action find
entity Q1606064
relation P937
type Q56061
The location Henri d' Attilio worked is in [ANSWER]
['Q1606064', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?d WHERE { resource:Q1606064 property:P937 ?d . ?d rdf:type ontology:Q56061 }
Paris
The location Henri d' Attilio worked is in Paris
Paris
action filter_type
action find
entity Henri d'Attilio
relation work location
type administrative territorial entity
["Henri d'Attilio", 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Henri_d'Attilio property:work_location ?d . ?d rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q90
P276
Q131569
USER
What are situated at that administrative territory ?
(c(Q131569),P276,Q90)
action filter_type
action find_reverse
entity Q90
relation P276
type Q131569
[{'concept': 'Q131569'}, 'P276', 'Q90']
SELECT DISTINCT ?m WHERE { ?m property:P276 resource:Q90 . ?m rdf:type ontology:Q131569 }
Paris
action filter_type
action find_reverse
entity Paris
relation location
type treaty
[{'concept': 'treaty'}, 'location', 'Paris']
SELECT DISTINCT ?m WHERE { ?m property:location resource:Paris . ?m rdf:type ontology:treaty }
[]
treaty
Q696802 Q2722786 Q319260
SYSTEM
Paris Peace Accords, Treaty of Paris, Treaty of Paris
Q319260 Q3536851 Q1826038 Q644346 Q740724 Q177464 Q950481 Q249691 Q3536859 Q1637593 Q217450 Q233688 Q2722786 Q156211 Q322943 Q15092854 Q1963719 Q847137 Q5166251 Q696802
(c(Q131569),P276,Q90)
action filter_type
action find_reverse
entity Q90
relation P276
type Q131569
[ANSWERS] are situated at that administrative territory
[{'concept': 'Q131569'}, 'P276', 'Q90']
SELECT DISTINCT ?m WHERE { ?m property:P276 resource:Q90 . ?m rdf:type ontology:Q131569 }
Treaty of Paris Treaty of Paris Franco-Soviet Treaty of Mutual Assistance Treaty of Paris Treaty of Paris Treaty of Paris Treaty of Paris Treaty of Paris Treaty of Paris Treaty of Paris Treaty of Paris Treaty of Paris Treaty of Paris Treaty of Paris Paris Peace Treaties 1991 Paris Peace Accords Treaty of Paris Treaty of Paris Convention for the Protection of Submarine Telegraph Cables Paris Peace Accords
Paris Peace Accords, Treaty of Paris and Treaty of Paris are situated at that administrative territory
Paris Peace Accords Treaty of Paris Treaty of Paris
action filter_type
action find_reverse
entity Paris
relation location
type treaty
[{'concept': 'treaty'}, 'location', 'Paris']
SELECT DISTINCT ?m WHERE { ?m property:location resource:Paris . ?m rdf:type ontology:treaty }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q696802 Q2722786 Q319260
P276
Q56061
USER
Where can those treaties be found ?
(Q696802,P276,c(Q56061)) (Q2722786,P276,c(Q56061)) (Q319260,P276,c(Q56061))
action filter_type
action find
entity prev_answer
relation P276
type Q56061
['Q696802', 'P276', {'concept': 'Q56061'}] ['Q2722786', 'P276', {'concept': 'Q56061'}] ['Q319260', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . ?k property:P276 ?l . VALUES ( ?k ) { ( resource:Q319260 ) ( resource:Q3536851 ) ( resource:Q1826038 ) } }
Paris Peace Accords Treaty of Paris Treaty of Paris
action filter_type
action find
entity prev_answer
relation location
type administrative territorial entity
['Paris Peace Accords', 'location', {'concept': 'administrative territorial entity'}] ['Treaty of Paris', 'location', {'concept': 'administrative territorial entity'}] ['Treaty of Paris', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . ?k property:location ?l . VALUES ( ?k ) { ( resource:Treaty_of_Paris ) ( resource:Treaty_of_Paris ) ( resource:Franco-Soviet_Treaty_of_Mutual_Assistance ) } }
[]
administrative territorial entity
Q90 Q90 Q90
SYSTEM
Paris
Q90 Q90 Q90
(Q696802,P276,c(Q56061)) (Q2722786,P276,c(Q56061)) (Q319260,P276,c(Q56061))
action filter_type
action find
entity prev_answer
relation P276
type Q56061
Those treaties can be found in [ANSWER], [ANSWER] and [ANSWER]
['Q696802', 'P276', {'concept': 'Q56061'}] ['Q2722786', 'P276', {'concept': 'Q56061'}] ['Q319260', 'P276', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:Q56061 . ?k property:P276 ?l . VALUES ( ?k ) { ( resource:Q319260 ) ( resource:Q3536851 ) ( resource:Q1826038 ) } }
Paris Paris Paris
Those treaties can be found in Paris, Paris and Paris
Paris Paris Paris
action filter_type
action find
entity prev_answer
relation location
type administrative territorial entity
['Paris Peace Accords', 'location', {'concept': 'administrative territorial entity'}] ['Treaty of Paris', 'location', {'concept': 'administrative territorial entity'}] ['Treaty of Paris', 'location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { ?l rdf:type ontology:administrative_territorial_entity . ?k property:location ?l . VALUES ( ?k ) { ( resource:Treaty_of_Paris ) ( resource:Treaty_of_Paris ) ( resource:Franco-Soviet_Treaty_of_Mutual_Assistance ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q696802
P710
Q7275
USER
Who were the artist who participated in Paris Peace Accords ?
(Q696802,P710,c(Q7275))
action filter_type
action find
entity Q696802
relation P710
type Q7275
['Q696802', 'P710', {'concept': 'Q7275'}]
SELECT DISTINCT ?h WHERE { resource:Q696802 property:P710 ?h . ?h rdf:type ontology:Q7275 }
Paris Peace Accords
action filter_type
action find
entity Paris Peace Accords
relation participant
type state
['Paris Peace Accords', 'participant', {'concept': 'state'}]
SELECT DISTINCT ?h WHERE { resource:Paris_Peace_Accords property:participant ?h . ?h rdf:type ontology:state }
[]
state
Q172640 Q180573
SYSTEM
North Vietnam, South Vietnam
Q172640 Q180573
(Q696802,P710,c(Q7275))
action filter_type
action find
entity Q696802
relation P710
type Q7275
The artist participated in Paris Peace Accords were awarded [ANSWERS]
['Q696802', 'P710', {'concept': 'Q7275'}]
SELECT DISTINCT ?h WHERE { resource:Q696802 property:P710 ?h . ?h rdf:type ontology:Q7275 }
North Vietnam South Vietnam
The artist participated in Paris Peace Accords were awarded North Vietnam and South Vietnam
North Vietnam South Vietnam
action filter_type
action find
entity Paris Peace Accords
relation participant
type state
['Paris Peace Accords', 'participant', {'concept': 'state'}]
SELECT DISTINCT ?h WHERE { resource:Paris_Peace_Accords property:participant ?h . ?h rdf:type ontology:state }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q696802
P17
Q15617994
USER
Which administrative territory is Paris Peace Accords present in ?
(Q696802,P17,c(Q15617994))
action filter_type
action find
entity Q696802
relation P17
type Q15617994
['Q696802', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q696802 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
Paris Peace Accords
action filter_type
action find
entity Paris Peace Accords
relation country
type designation for an administrative territorial entity
['Paris Peace Accords', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Paris_Peace_Accords property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q696802,P17,c(Q15617994))
action filter_type
action find
entity Q696802
relation P17
type Q15617994
Which administrative territory is Paris Peace Accords present in
['Q696802', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?t WHERE { resource:Q696802 property:P17 ?t . ?t rdf:type ontology:Q15617994 }
France
Which administrative territory is Paris Peace Accords present in
France
action filter_type
action find
entity Paris Peace Accords
relation country
type designation for an administrative territorial entity
['Paris Peace Accords', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?t WHERE { resource:Paris_Peace_Accords property:country ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q142 Q3547170
P495
Q838948
USER
Does Anima nera have that administrative territory as its place of origin ?
(Q3547170,P495,Q142)
action is_in
entity Q142
action find
entity Q3547170
relation P495
['Q3547170', 'P495', 'Q142']
ASK WHERE { resource:Q3547170 property:P495 resource:Q142 }
France Anima nera
action is_in
entity France
action find
entity Anima nera
relation country of origin
['Anima nera', 'country of origin', 'France']
ASK WHERE { resource:Anima_nera property:country_of_origin resource:France }
[]
work of art
SYSTEM
YES
(Q3547170,P495,Q142)
action is_in
entity Q142
action find
entity Q3547170
relation P495
[ANSWER]
['Q3547170', 'P495', 'Q142']
ASK WHERE { resource:Q3547170 property:P495 resource:Q142 }
Yes
action is_in
entity France
action find
entity Anima nera
relation country of origin
['Anima nera', 'country of origin', 'France']
ASK WHERE { resource:Anima_nera property:country_of_origin resource:France }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q56061 Q1792379 Q3305213
USER
How many administrative territories are expressed in around 4 art genres and paintings ?
(c(Q1792379)|c(Q3305213),P180,c(Q56061))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q56061
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q56061
type Q3305213
value 4
[[{'concept': 'Q1792379'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { FILTER ( ?l = 4 ) . { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?l ) WHERE { { ?m property:P180 ?y . ?y rdf:type ontology:Q56061 . ?m rdf:type ontology:Q3305213 } UNION { ?m property:P180 ?y . ?y rdf:type ontology:Q56061 . ?m rdf:type ontology:Q1792379 } } GROUP BY ?y } }
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type art genre
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type painting
value 4
[[{'concept': 'art genre'}, {'concept': 'painting'}], 'depicts', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { FILTER ( ?l = 4 ) . { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?l ) WHERE { { ?m property:depicts ?y . ?y rdf:type ontology:administrative_territorial_entity . ?m rdf:type ontology:painting } UNION { ?m property:depicts ?y . ?y rdf:type ontology:administrative_territorial_entity . ?m rdf:type ontology:art_genre } } GROUP BY ?y } }
[]
administrative territorial entity art genre painting
SYSTEM
5
Q329967 Q220 Q54264 Q12191 Q90
(c(Q1792379)|c(Q3305213),P180,c(Q56061))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q56061
type Q1792379
action find_reverse_tuple_counts
relation P180
type Q56061
type Q3305213
value 4
[ANSWER]
[[{'concept': 'Q1792379'}, {'concept': 'Q3305213'}], 'P180', {'concept': 'Q56061'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { FILTER ( ?l = 4 ) . { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?l ) WHERE { { ?m property:P180 ?y . ?y rdf:type ontology:Q56061 . ?m rdf:type ontology:Q3305213 } UNION { ?m property:P180 ?y . ?y rdf:type ontology:Q56061 . ?m rdf:type ontology:Q1792379 } } GROUP BY ?y } }
Paestum Rome Newport Nantes Paris
5
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type art genre
action find_reverse_tuple_counts
relation depicts
type administrative territorial entity
type painting
value 4
[[{'concept': 'art genre'}, {'concept': 'painting'}], 'depicts', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?a ) WHERE { FILTER ( ?l = 4 ) . { SELECT DISTINCT ?y ( COUNT ( ?m ) AS ?l ) WHERE { { ?m property:depicts ?y . ?y rdf:type ontology:administrative_territorial_entity . ?m rdf:type ontology:painting } UNION { ?m property:depicts ?y . ?y rdf:type ontology:administrative_territorial_entity . ?m rdf:type ontology:art_genre } } GROUP BY ?y } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q180573
P140
Q874405
USER
Which social group does South Vietnam relate to ?
(Q180573,P140,c(Q874405))
action filter_type
action find
entity Q180573
relation P140
type Q874405
['Q180573', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?u WHERE { resource:Q180573 property:P140 ?u . ?u rdf:type ontology:Q874405 }
South Vietnam
action filter_type
action find
entity South Vietnam
relation religion
type social group
['South Vietnam', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?u WHERE { resource:South_Vietnam property:religion ?u . ?u rdf:type ontology:social_group }
[]
social group
Q748
SYSTEM
Buddhism
Q748
(Q180573,P140,c(Q874405))
action filter_type
action find
entity Q180573
relation P140
type Q874405
South Vietnam relates to [ANSWER]
['Q180573', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?u WHERE { resource:Q180573 property:P140 ?u . ?u rdf:type ontology:Q874405 }
Buddhism
South Vietnam relates to Buddhism
Buddhism
action filter_type
action find
entity South Vietnam
relation religion
type social group
['South Vietnam', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?u WHERE { resource:South_Vietnam property:religion ?u . ?u rdf:type ontology:social_group }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2871428
Q874405
USER
And how about Auguste Valensin?
(Q2871428,P140,c(Q874405))
action filter_type
action find
entity Q2871428
relation P140
type Q874405
['Q2871428', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q874405 . resource:Q2871428 property:P140 ?u }
Auguste Valensin
action filter_type
action find
entity Auguste Valensin
relation religion
type social group
['Auguste Valensin', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:social_group . resource:Auguste_Valensin property:religion ?u }
[]
social group
Q1841
SYSTEM
Catholicism
Q1841
(Q2871428,P140,c(Q874405))
action filter_type
action find
entity Q2871428
relation P140
type Q874405
[ANSWER]
['Q2871428', 'P140', {'concept': 'Q874405'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Q874405 . resource:Q2871428 property:P140 ?u }
Catholicism
Catholicism
action filter_type
action find
entity Auguste Valensin
relation religion
type social group
['Auguste Valensin', 'religion', {'concept': 'social group'}]
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:social_group . resource:Auguste_Valensin property:religion ?u }
[]