Simple Question (Direct)
Simple Question
Q3616937
P27
Q15617994
USER
Which administrative territory does Angelo Cerica belong to ?
(Q3616937,P27,c(Q15617994))
action filter_type
action find
entity Q3616937
relation P27
type Q15617994
['Q3616937', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q3616937 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Angelo Cerica
action filter_type
action find
entity Angelo Cerica
relation country of citizenship
type designation for an administrative territorial entity
['Angelo Cerica', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Angelo_Cerica property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q3616937,P27,c(Q15617994))
action filter_type
action find
entity Q3616937
relation P27
type Q15617994
Angelo Cerica belongs to [ANSWER]
['Q3616937', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q3616937 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Italy
Angelo Cerica belongs to Italy
Italy
action filter_type
action find
entity Angelo Cerica
relation country of citizenship
type designation for an administrative territorial entity
['Angelo Cerica', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Angelo_Cerica property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3616937
P1412
Q34770
USER
Which language does that person speak in ?
(Q38,P1412,c(Q34770))
action filter_type
action find
entity Q3616937
relation P1412
type Q34770
['Q38', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { resource:Q3616937 property:P1412 ?x . ?x rdf:type ontology:Q34770 }
Angelo Cerica
action filter_type
action find
entity Angelo Cerica
relation languages spoken, written or signed
type language
['Italy', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { resource:Angelo_Cerica property:languages_spoken,_written_or_signed ?x . ?x rdf:type ontology:language }
[]
language
Q652
SYSTEM
Italian
Q652
(Q38,P1412,c(Q34770))
action filter_type
action find
entity Q3616937
relation P1412
type Q34770
That person speaks an [ANSWER]
['Q38', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?x WHERE { resource:Q3616937 property:P1412 ?x . ?x rdf:type ontology:Q34770 }
Italian
That person speaks an Italian
Italian
action filter_type
action find
entity Angelo Cerica
relation languages spoken, written or signed
type language
['Italy', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?x WHERE { resource:Angelo_Cerica property:languages_spoken,_written_or_signed ?x . ?x rdf:type ontology:language }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3616937
P39
Q12737077
USER
Which occupation was a position occupied by Angelo Cerica ?
(Q3616937,P39,c(Q12737077))
action filter_type
action find
entity Q3616937
relation P39
type Q12737077
['Q3616937', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q3616937 property:P39 ?k . ?k rdf:type ontology:Q12737077 }
Angelo Cerica
action filter_type
action find
entity Angelo Cerica
relation position held
type occupation
['Angelo Cerica', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Angelo_Cerica property:position_held ?k . ?k rdf:type ontology:occupation }
[]
occupation
Q13653224
SYSTEM
member of the Italian Senate
Q13653224
(Q3616937,P39,c(Q12737077))
action filter_type
action find
entity Q3616937
relation P39
type Q12737077
[ANSWER] was a position occupied by Angelo Cerica
['Q3616937', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q3616937 property:P39 ?k . ?k rdf:type ontology:Q12737077 }
member of the Italian Senate
Member of the Italian Senate was a position occupied by Angelo Cerica
member of the Italian Senate
action filter_type
action find
entity Angelo Cerica
relation position held
type occupation
['Angelo Cerica', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Angelo_Cerica property:position_held ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3588719
Q12737077
USER
And also tell me about Émile Riotteau?
(Q3588719,P39,c(Q12737077))
action filter_type
action find
entity Q3588719
relation P39
type Q12737077
['Q3588719', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q3588719 property:P39 ?r . ?r rdf:type ontology:Q12737077 }
Émile Riotteau
action filter_type
action find
entity Émile Riotteau
relation position held
type occupation
['Émile Riotteau', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Émile_Riotteau property:position_held ?r . ?r rdf:type ontology:occupation }
[]
occupation
Q382617 Q21032547 Q3044918
SYSTEM
maire, senator of the French Third Republic, member of the French National Assembly
Q382617 Q21032547 Q3044918
(Q3588719,P39,c(Q12737077))
action filter_type
action find
entity Q3588719
relation P39
type Q12737077
[ANSWERS]
['Q3588719', 'P39', {'concept': 'Q12737077'}]
SELECT DISTINCT ?r WHERE { resource:Q3588719 property:P39 ?r . ?r rdf:type ontology:Q12737077 }
maire senator of the French Third Republic member of the French National Assembly
maire senator of the French Third Republic member of the French National Assembly
action filter_type
action find
entity Émile Riotteau
relation position held
type occupation
['Émile Riotteau', 'position held', {'concept': 'occupation'}]
SELECT DISTINCT ?r WHERE { resource:Émile_Riotteau property:position_held ?r . ?r rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P206
Q15324 Q337567 Q15617994
USER
How many administrative territories are situated close to around 3 bodies of water or still waterss ?
(c(Q15617994),P206,c(Q15324)|c(Q337567))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action find_tuple_counts
relation P206
type Q15617994
type Q337567
value 3
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { FILTER ( ?r = 3 ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) ?s WHERE { { ?s property:P206 ?q . ?s rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q337567 } UNION { ?s property:P206 ?q . ?s rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15324 } } GROUP BY ?s } }
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type still waters
value 3
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { FILTER ( ?r = 3 ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) ?s WHERE { { ?s property:located_next_to_body_of_water ?q . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:still_waters } UNION { ?s property:located_next_to_body_of_water ?q . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:body_of_water } } GROUP BY ?s } }
[]
body of water still waters designation for an administrative territorial entity
SYSTEM
1
Q801
(c(Q15617994),P206,c(Q15324)|c(Q337567))
action count
action approx
action union
action find_tuple_counts
relation P206
type Q15617994
type Q15324
action find_tuple_counts
relation P206
type Q15617994
type Q337567
value 3
[ANSWER]
[{'concept': 'Q15617994'}, 'P206', [{'concept': 'Q15324'}, {'concept': 'Q337567'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { FILTER ( ?r = 3 ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) ?s WHERE { { ?s property:P206 ?q . ?s rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q337567 } UNION { ?s property:P206 ?q . ?s rdf:type ontology:Q15617994 . ?q rdf:type ontology:Q15324 } } GROUP BY ?s } }
Israel
1
action count
action approx
action union
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type body of water
action find_tuple_counts
relation located next to body of water
type designation for an administrative territorial entity
type still waters
value 3
[{'concept': 'designation for an administrative territorial entity'}, 'located next to body of water', [{'concept': 'body of water'}, {'concept': 'still waters'}]]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { FILTER ( ?r = 3 ) . { SELECT DISTINCT ( COUNT ( ?q ) AS ?r ) ?s WHERE { { ?s property:located_next_to_body_of_water ?q . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:still_waters } UNION { ?s property:located_next_to_body_of_water ?q . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity . ?q rdf:type ontology:body_of_water } } GROUP BY ?s } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3289428
P607
Q198
USER
Which war did Marcel Thibaud take part in ?
(Q3289428,P607,c(Q198))
action filter_type
action find
entity Q3289428
relation P607
type Q198
['Q3289428', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q198 . resource:Q3289428 property:P607 ?g }
Marcel Thibaud
action filter_type
action find
entity Marcel Thibaud
relation conflict
type war
['Marcel Thibaud', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:war . resource:Marcel_Thibaud property:conflict ?g }
[]
war
Q361
SYSTEM
World War I
Q361
(Q3289428,P607,c(Q198))
action filter_type
action find
entity Q3289428
relation P607
type Q198
Marcel Thibaud took part in [ANSWER]
['Q3289428', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:Q198 . resource:Q3289428 property:P607 ?g }
World War I
Marcel Thibaud took part in World War I
World War I
action filter_type
action find
entity Marcel Thibaud
relation conflict
type war
['Marcel Thibaud', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?g WHERE { ?g rdf:type ontology:war . resource:Marcel_Thibaud property:conflict ?g }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q13653224
P17
Q15617994
USER
Which administrative territory is member of the Italian Senate present in ?
(Q13653224,P17,c(Q15617994))
action filter_type
action find
entity Q13653224
relation P17
type Q15617994
['Q13653224', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q13653224 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
member of the Italian Senate
action filter_type
action find
entity member of the Italian Senate
relation country
type designation for an administrative territorial entity
['member of the Italian Senate', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:member_of_the_Italian_Senate property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q13653224,P17,c(Q15617994))
action filter_type
action find
entity Q13653224
relation P17
type Q15617994
[ANSWER] is member of the Italian Senate present in
['Q13653224', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q13653224 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Italy
Italy is member of the Italian Senate present in
Italy
action filter_type
action find
entity member of the Italian Senate
relation country
type designation for an administrative territorial entity
['member of the Italian Senate', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:member_of_the_Italian_Senate property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q2972652
Q15617994
USER
And also tell me about Marchovelette Cemetery and Memorial?
(Q2972652,P17,c(Q15617994))
action filter_type
action find
entity Q2972652
relation P17
type Q15617994
['Q2972652', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q2972652 property:P17 ?z }
Marchovelette Cemetery and Memorial
action filter_type
action find
entity Marchovelette Cemetery and Memorial
relation country
type designation for an administrative territorial entity
['Marchovelette Cemetery and Memorial', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Marchovelette_Cemetery_and_Memorial property:country ?z }
[]
designation for an administrative territorial entity
Q31
SYSTEM
Belgium
Q31
(Q2972652,P17,c(Q15617994))
action filter_type
action find
entity Q2972652
relation P17
type Q15617994
[ANSWER]
['Q2972652', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q15617994 . resource:Q2972652 property:P17 ?z }
Belgium
Belgium
action filter_type
action find
entity Marchovelette Cemetery and Memorial
relation country
type designation for an administrative territorial entity
['Marchovelette Cemetery and Memorial', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Marchovelette_Cemetery_and_Memorial property:country ?z }
[]