Simple Question (Direct)
Simple Question
Q720915
P21
Q290
USER
Which sex does Alfredo Nobre da Costa have ?
(Q720915,P21,c(Q290))
action filter_type
action find
entity Q720915
relation P21
type Q290
['Q720915', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q290 . resource:Q720915 property:P21 ?h }
Alfredo Nobre da Costa
action filter_type
action find
entity Alfredo Nobre da Costa
relation gender
type sex
['Alfredo Nobre da Costa', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:sex . resource:Alfredo_Nobre_da_Costa property:gender ?h }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q720915,P21,c(Q290))
action filter_type
action find
entity Q720915
relation P21
type Q290
Alfredo Nobre da Costa has a [ANSWER]
['Q720915', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q290 . resource:Q720915 property:P21 ?h }
male
Alfredo Nobre da Costa has a male
male
action filter_type
action find
entity Alfredo Nobre da Costa
relation gender
type sex
['Alfredo Nobre da Costa', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:sex . resource:Alfredo_Nobre_da_Costa property:gender ?h }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q720915
P20
Q56061
USER
Which administrative territory is the place of death of Alfredo Nobre da Costa ?
(Q720915,P20,c(Q56061))
action filter_type
action find
entity Q720915
relation P20
type Q56061
['Q720915', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q720915 property:P20 ?p . ?p rdf:type ontology:Q56061 }
Alfredo Nobre da Costa
action filter_type
action find
entity Alfredo Nobre da Costa
relation place of death
type administrative territorial entity
['Alfredo Nobre da Costa', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Alfredo_Nobre_da_Costa property:place_of_death ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q597
SYSTEM
Lisbon
Q597
(Q720915,P20,c(Q56061))
action filter_type
action find
entity Q720915
relation P20
type Q56061
[ANSWER] is the place of death of Alfredo Nobre da Costa
['Q720915', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?p WHERE { resource:Q720915 property:P20 ?p . ?p rdf:type ontology:Q56061 }
Lisbon
Lisbon is the place of death of Alfredo Nobre da Costa
Lisbon
action filter_type
action find
entity Alfredo Nobre da Costa
relation place of death
type administrative territorial entity
['Alfredo Nobre da Costa', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?p WHERE { resource:Alfredo_Nobre_da_Costa property:place_of_death ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q597
P1071
Q2235308
USER
Which ship type has that administrative territory as its final place of assembly ?
(c(Q2235308),P1071,Q597)
action filter_type
action find_reverse
entity Q597
relation P1071
type Q2235308
[{'concept': 'Q2235308'}, 'P1071', 'Q597']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q2235308 . ?k property:P1071 resource:Q597 }
Lisbon
action filter_type
action find_reverse
entity Lisbon
relation location of final assembly
type ship type
[{'concept': 'ship type'}, 'location of final assembly', 'Lisbon']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:ship_type . ?k property:location_of_final_assembly resource:Lisbon }
[]
ship type
Q7232601
SYSTEM
Portuguese-class naval trawler
Q7232601
(c(Q2235308),P1071,Q597)
action filter_type
action find_reverse
entity Q597
relation P1071
type Q2235308
[ANSWER] has that administrative territory as its final place of assembly
[{'concept': 'Q2235308'}, 'P1071', 'Q597']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q2235308 . ?k property:P1071 resource:Q597 }
Portuguese-class naval trawler
Portuguese-class naval trawler has that administrative territory as its final place of assembly
Portuguese-class naval trawler
action filter_type
action find_reverse
entity Lisbon
relation location of final assembly
type ship type
[{'concept': 'ship type'}, 'location of final assembly', 'Lisbon']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:ship_type . ?k property:location_of_final_assembly resource:Lisbon }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q7232601 Q10898447
P137
Q781132
USER
Is Byeolgigun the facility operator of that ship type ?
(Q7232601,P137,Q10898447)
action is_in
entity Q10898447
action find
entity Q7232601
relation P137
['Q7232601', 'P137', 'Q10898447']
ASK WHERE { resource:Q7232601 property:P137 resource:Q10898447 }
Portuguese-class naval trawler Byeolgigun
action is_in
entity Byeolgigun
action find
entity Portuguese-class naval trawler
relation operator
['Portuguese-class naval trawler', 'operator', 'Byeolgigun']
ASK WHERE { resource:Portuguese-class_naval_trawler property:operator resource:Byeolgigun }
[]
military branch
SYSTEM
NO
(Q7232601,P137,Q10898447)
action is_in
entity Q10898447
action find
entity Q7232601
relation P137
[ANSWER]
['Q7232601', 'P137', 'Q10898447']
ASK WHERE { resource:Q7232601 property:P137 resource:Q10898447 }
No
action is_in
entity Byeolgigun
action find
entity Portuguese-class naval trawler
relation operator
['Portuguese-class naval trawler', 'operator', 'Byeolgigun']
ASK WHERE { resource:Portuguese-class_naval_trawler property:operator resource:Byeolgigun }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q597
P206
Q355304
USER
Which watercourse is situated in the neighbourhood of Lisbon ?
(Q597,P206,c(Q355304))
action filter_type
action find
entity Q597
relation P206
type Q355304
['Q597', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?x WHERE { resource:Q597 property:P206 ?x . ?x rdf:type ontology:Q355304 }
Lisbon
action filter_type
action find
entity Lisbon
relation located next to body of water
type watercourse
['Lisbon', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?x WHERE { resource:Lisbon property:located_next_to_body_of_water ?x . ?x rdf:type ontology:watercourse }
[]
watercourse
Q14294
SYSTEM
Tagus
Q14294
(Q597,P206,c(Q355304))
action filter_type
action find
entity Q597
relation P206
type Q355304
[ANSWER] is situated in the neighbourhood of Lisbon
['Q597', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?x WHERE { resource:Q597 property:P206 ?x . ?x rdf:type ontology:Q355304 }
Tagus
Tagus is situated in the neighbourhood of Lisbon
Tagus
action filter_type
action find
entity Lisbon
relation located next to body of water
type watercourse
['Lisbon', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?x WHERE { resource:Lisbon property:located_next_to_body_of_water ?x . ?x rdf:type ontology:watercourse }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3054892
Q355304
USER
And also tell me about Bennefraye stone rows?
(Q3054892,P206,c(Q355304))
action filter_type
action find
entity Q3054892
relation P206
type Q355304
['Q3054892', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?u WHERE { resource:Q3054892 property:P206 ?u . ?u rdf:type ontology:Q355304 }
Bennefraye stone rows
action filter_type
action find
entity Bennefraye stone rows
relation located next to body of water
type watercourse
['Bennefraye stone rows', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?u WHERE { resource:Bennefraye_stone_rows property:located_next_to_body_of_water ?u . ?u rdf:type ontology:watercourse }
[]
watercourse
Q1349493
SYSTEM
Erdre
Q1349493
(Q3054892,P206,c(Q355304))
action filter_type
action find
entity Q3054892
relation P206
type Q355304
[ANSWER]
['Q3054892', 'P206', {'concept': 'Q355304'}]
SELECT DISTINCT ?u WHERE { resource:Q3054892 property:P206 ?u . ?u rdf:type ontology:Q355304 }
Erdre
Erdre
action filter_type
action find
entity Bennefraye stone rows
relation located next to body of water
type watercourse
['Bennefraye stone rows', 'located next to body of water', {'concept': 'watercourse'}]
SELECT DISTINCT ?u WHERE { resource:Bennefraye_stone_rows property:located_next_to_body_of_water ?u . ?u rdf:type ontology:watercourse }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3432449 Q3054892
P17
Q15617994
USER
Which administrative territories are Bennefraye stone rows or Ibirapuitã Chico River present in ?
OR((Q3054892,P17,c(Q15617994)), (Q3432449,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3054892
relation P17
action find
entity Q3432449
relation P17
type Q15617994
{'OR': [['Q3054892', 'P17', {'concept': 'Q15617994'}], ['Q3432449', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q3054892 property:P17 ?y } UNION { resource:Q3432449 property:P17 ?y } } . ?y rdf:type ontology:Q15617994 }
Ibirapuitã Chico River Bennefraye stone rows
action filter_type
action union
action find
entity Bennefraye stone rows
relation country
action find
entity Ibirapuitã Chico River
relation country
type designation for an administrative territorial entity
{'OR': [['Bennefraye stone rows', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Ibirapuitã Chico River', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Bennefraye_stone_rows property:country ?y } UNION { resource:Ibirapuitã_Chico_River property:country ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q155
SYSTEM
France, Brazil
Q142 Q155
OR((Q3054892,P17,c(Q15617994)), (Q3432449,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3054892
relation P17
action find
entity Q3432449
relation P17
type Q15617994
[ANSWERS] are Bennefraye stone rows or Ibirapuitã Chico River present in
{'OR': [['Q3054892', 'P17', {'concept': 'Q15617994'}], ['Q3432449', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Q3054892 property:P17 ?y } UNION { resource:Q3432449 property:P17 ?y } } . ?y rdf:type ontology:Q15617994 }
France Brazil
France and Brazil are Bennefraye stone rows or Ibirapuitã Chico River present in
France Brazil
action filter_type
action union
action find
entity Bennefraye stone rows
relation country
action find
entity Ibirapuitã Chico River
relation country
type designation for an administrative territorial entity
{'OR': [['Bennefraye stone rows', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Ibirapuitã Chico River', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { { resource:Bennefraye_stone_rows property:country ?y } UNION { resource:Ibirapuitã_Chico_River property:country ?y } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2031291 Q2088357
USER
Which administrative territories did more number of releases and musical ensembles originate than that administrative territory ?
(c(Q2031291)|c(Q2088357),P495,c(Q15617994))
[[{'concept': 'Q2031291'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2088357 }
[[{'concept': 'release'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:musical_ensemble }
[]
designation for an administrative territorial entity release musical ensemble
Comparative|More/Less|Mult. entity type|Clarification
Q155
SYSTEM
Did you mean Brazil ?
(c(Q2031291)|c(Q2088357),P495,c(Q15617994))
[ANSWER]
[[{'concept': 'Q2031291'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2088357 }
Did you mean Brazil ?
Brazil
[[{'concept': 'release'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:musical_ensemble }
[]
Comparative Reasoning (All)
USER
Yes
(c(Q2031291)|c(Q2088357),P495,c(Q15617994))
[[{'concept': 'Q2031291'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
[[{'concept': 'release'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
Q38 Q30 Q55
SYSTEM
Italy, United States of America, Netherlands
Q142 Q55 Q145 Q33 Q31 Q30 Q34 Q38 Q20 Q17 Q29
(c(Q2031291)|c(Q2088357),P495,c(Q15617994))
[ANSWERS] more number of releases and musical ensembles originated than that administrative territory
[[{'concept': 'Q2031291'}, {'concept': 'Q2088357'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?y WHERE { { { ?z property:P495 ?y } UNION { ?x property:P495 ?y } } . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 . ?x rdf:type ontology:Q2088357 }
France Netherlands United Kingdom Finland Belgium United States of America Sweden Italy Norway Japan Spain
Italy, United States of America and Netherlands more number of releases and musical ensembles originated than that administrative territory
Italy United States of America Netherlands
[[{'concept': 'release'}, {'concept': 'musical ensemble'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { { { ?z property:country_of_origin ?y } UNION { ?x property:country_of_origin ?y } } . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity . ?x rdf:type ontology:musical_ensemble }
[]