Simple Question (Direct)
Simple Question
Q21130460
P129
Q79529
USER
Which chemical substance does Methionine aminopeptidase 2 interact with ?
(Q21130460,P129,c(Q79529))
action filter_type
action find
entity Q21130460
relation P129
type Q79529
['Q21130460', 'P129', {'concept': 'Q79529'}]
SELECT DISTINCT ?r WHERE { resource:Q21130460 property:P129 ?r . ?r rdf:type ontology:Q79529 }
Methionine aminopeptidase 2
action filter_type
action find
entity Methionine aminopeptidase 2
relation physically interacts with
type chemical substance
['Methionine aminopeptidase 2', 'physically interacts with', {'concept': 'chemical substance'}]
SELECT DISTINCT ?r WHERE { resource:Methionine_aminopeptidase_2 property:physically_interacts_with ?r . ?r rdf:type ontology:chemical_substance }
[]
chemical substance
Q4884554
SYSTEM
beloranib
Q4884554
(Q21130460,P129,c(Q79529))
action filter_type
action find
entity Q21130460
relation P129
type Q79529
Methionine aminopeptidase 2 interacts with [ANSWER]
['Q21130460', 'P129', {'concept': 'Q79529'}]
SELECT DISTINCT ?r WHERE { resource:Q21130460 property:P129 ?r . ?r rdf:type ontology:Q79529 }
beloranib
Methionine aminopeptidase 2 interacts with beloranib
beloranib
action filter_type
action find
entity Methionine aminopeptidase 2
relation physically interacts with
type chemical substance
['Methionine aminopeptidase 2', 'physically interacts with', {'concept': 'chemical substance'}]
SELECT DISTINCT ?r WHERE { resource:Methionine_aminopeptidase_2 property:physically_interacts_with ?r . ?r rdf:type ontology:chemical_substance }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21130460
P703
Q16521
USER
Where is Methionine aminopeptidase 2 found ?
(Q21130460,P703,c(Q16521))
action filter_type
action find
entity Q21130460
relation P703
type Q16521
['Q21130460', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?q WHERE { resource:Q21130460 property:P703 ?q . ?q rdf:type ontology:Q16521 }
Methionine aminopeptidase 2
action filter_type
action find
entity Methionine aminopeptidase 2
relation found in taxon
type taxon
['Methionine aminopeptidase 2', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?q WHERE { resource:Methionine_aminopeptidase_2 property:found_in_taxon ?q . ?q rdf:type ontology:taxon }
[]
taxon
Q15978631
SYSTEM
Homo sapiens
Q15978631
(Q21130460,P703,c(Q16521))
action filter_type
action find
entity Q21130460
relation P703
type Q16521
Methionine aminopeptidase 2 is found in [ANSWER]
['Q21130460', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?q WHERE { resource:Q21130460 property:P703 ?q . ?q rdf:type ontology:Q16521 }
Homo sapiens
Methionine aminopeptidase 2 is found in Homo sapiens
Homo sapiens
action filter_type
action find
entity Methionine aminopeptidase 2
relation found in taxon
type taxon
['Methionine aminopeptidase 2', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?q WHERE { resource:Methionine_aminopeptidase_2 property:found_in_taxon ?q . ?q rdf:type ontology:taxon }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q21130460
P702
Q863908
USER
How many nucleic acid sequences encode Methionine aminopeptidase 2 ?
(Q21130460,P702,c(Q863908))
action count
action filter_type
action find
entity Q21130460
relation P702
type Q863908
['Q21130460', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { resource:Q21130460 property:P702 ?y . ?y rdf:type ontology:Q863908 }
Methionine aminopeptidase 2
action count
action filter_type
action find
entity Methionine aminopeptidase 2
relation encoded by
type nucleic acid sequence
['Methionine aminopeptidase 2', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { resource:Methionine_aminopeptidase_2 property:encoded_by ?y . ?y rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
SYSTEM
1
Q18036007
(Q21130460,P702,c(Q863908))
action count
action filter_type
action find
entity Q21130460
relation P702
type Q863908
[ANSWER]
['Q21130460', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { resource:Q21130460 property:P702 ?y . ?y rdf:type ontology:Q863908 }
METAP2
1
action count
action filter_type
action find
entity Methionine aminopeptidase 2
relation encoded by
type nucleic acid sequence
['Methionine aminopeptidase 2', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ( COUNT ( ?y ) AS ?w ) WHERE { resource:Methionine_aminopeptidase_2 property:encoded_by ?y . ?y rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21130460
P702
Q863908
USER
Which gene encodes that nutrient ?
action filter_type
action find
entity Q21130460
relation P702
type Q863908
SELECT DISTINCT ?s WHERE { resource:Q21130460 property:P702 ?s . ?s rdf:type ontology:Q863908 }
Methionine aminopeptidase 2
action filter_type
action find
entity Methionine aminopeptidase 2
relation encoded by
type nucleic acid sequence
SELECT DISTINCT ?s WHERE { resource:Methionine_aminopeptidase_2 property:encoded_by ?s . ?s rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18036007
SYSTEM
METAP2
Q18036007
action filter_type
action find
entity Q21130460
relation P702
type Q863908
[ANSWER] encodes that nutrient
SELECT DISTINCT ?s WHERE { resource:Q21130460 property:P702 ?s . ?s rdf:type ontology:Q863908 }
METAP2
METAP2 encodes that nutrient
METAP2
action filter_type
action find
entity Methionine aminopeptidase 2
relation encoded by
type nucleic acid sequence
SELECT DISTINCT ?s WHERE { resource:Methionine_aminopeptidase_2 property:encoded_by ?s . ?s rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21130460
P688
Q863908
USER
Which nucleic acid sequence encodes Methionine aminopeptidase 2 ?
(c(Q863908),P688,Q21130460)
action filter_type
action find_reverse
entity Q21130460
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q21130460']
SELECT DISTINCT ?o WHERE { ?o property:P688 resource:Q21130460 . ?o rdf:type ontology:Q863908 }
Methionine aminopeptidase 2
action filter_type
action find_reverse
entity Methionine aminopeptidase 2
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Methionine aminopeptidase 2']
SELECT DISTINCT ?o WHERE { ?o property:encodes resource:Methionine_aminopeptidase_2 . ?o rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q18036007
SYSTEM
METAP2
Q18036007
(c(Q863908),P688,Q21130460)
action filter_type
action find_reverse
entity Q21130460
relation P688
type Q863908
[ANSWER] encodes Methionine aminopeptidase 2
[{'concept': 'Q863908'}, 'P688', 'Q21130460']
SELECT DISTINCT ?o WHERE { ?o property:P688 resource:Q21130460 . ?o rdf:type ontology:Q863908 }
METAP2
METAP2 encodes Methionine aminopeptidase 2
METAP2
action filter_type
action find_reverse
entity Methionine aminopeptidase 2
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'Methionine aminopeptidase 2']
SELECT DISTINCT ?o WHERE { ?o property:encodes resource:Methionine_aminopeptidase_2 . ?o rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21130460
P680
Q44424
USER
Which the chemical bond that represents the molecular function of Methionine aminopeptidase 2 ?
(Q21130460,P680,c(Q44424))
action filter_type
action find
entity Q21130460
relation P680
type Q44424
['Q21130460', 'P680', {'concept': 'Q44424'}]
SELECT DISTINCT ?a WHERE { resource:Q21130460 property:P680 ?a . ?a rdf:type ontology:Q44424 }
Methionine aminopeptidase 2
action filter_type
action find
entity Methionine aminopeptidase 2
relation molecular function
type chemical bond
['Methionine aminopeptidase 2', 'molecular function', {'concept': 'chemical bond'}]
SELECT DISTINCT ?a WHERE { resource:Methionine_aminopeptidase_2 property:molecular_function ?a . ?a rdf:type ontology:chemical_bond }
[]
chemical bond
Q13667380
SYSTEM
metal ion binding
Q13667380
(Q21130460,P680,c(Q44424))
action filter_type
action find
entity Q21130460
relation P680
type Q44424
Represents of [ANSWER]
['Q21130460', 'P680', {'concept': 'Q44424'}]
SELECT DISTINCT ?a WHERE { resource:Q21130460 property:P680 ?a . ?a rdf:type ontology:Q44424 }
metal ion binding
Represents of metal ion binding
metal ion binding
action filter_type
action find
entity Methionine aminopeptidase 2
relation molecular function
type chemical bond
['Methionine aminopeptidase 2', 'molecular function', {'concept': 'chemical bond'}]
SELECT DISTINCT ?a WHERE { resource:Methionine_aminopeptidase_2 property:molecular_function ?a . ?a rdf:type ontology:chemical_bond }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q13667380 Q23532561
P680
Q181394
USER
Does ribonuclease Z    CD630_25390 have the molecular function that chemical bond ?
(Q23532561,P680,Q13667380)
action is_in
entity Q13667380
action find
entity Q23532561
relation P680
['Q23532561', 'P680', 'Q13667380']
ASK WHERE { resource:Q23532561 property:P680 resource:Q13667380 }
metal ion binding ribonuclease Z    CD630_25390
action is_in
entity metal ion binding
action find
entity ribonuclease Z    CD630_25390
relation molecular function
['ribonuclease Z    CD630_25390', 'molecular function', 'metal ion binding']
ASK WHERE { resource:ribonuclease_Z____CD630_25390 property:molecular_function resource:metal_ion_binding }
[]
nutrient
SYSTEM
YES
(Q23532561,P680,Q13667380)
action is_in
entity Q13667380
action find
entity Q23532561
relation P680
[ANSWER]
['Q23532561', 'P680', 'Q13667380']
ASK WHERE { resource:Q23532561 property:P680 resource:Q13667380 }
Yes
action is_in
entity metal ion binding
action find
entity ribonuclease Z    CD630_25390
relation molecular function
['ribonuclease Z    CD630_25390', 'molecular function', 'metal ion binding']
ASK WHERE { resource:ribonuclease_Z____CD630_25390 property:molecular_function resource:metal_ion_binding }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q18036007 Q23509947
P688
Q181394
USER
Does METAP2 encode hypothetical protein    BC3470 ?
(Q18036007,P688,Q23509947)
action is_in
entity Q23509947
action find
entity Q18036007
relation P688
['Q18036007', 'P688', 'Q23509947']
ASK WHERE { resource:Q18036007 property:P688 resource:Q23509947 }
METAP2 hypothetical protein    BC3470
action is_in
entity hypothetical protein    BC3470
action find
entity METAP2
relation encodes
['METAP2', 'encodes', 'hypothetical protein    BC3470']
ASK WHERE { resource:METAP2 property:encodes resource:hypothetical_protein____BC3470 }
[]
nutrient
SYSTEM
NO
(Q18036007,P688,Q23509947)
action is_in
entity Q23509947
action find
entity Q18036007
relation P688
[ANSWER]
['Q18036007', 'P688', 'Q23509947']
ASK WHERE { resource:Q18036007 property:P688 resource:Q23509947 }
No
action is_in
entity hypothetical protein    BC3470
action find
entity METAP2
relation encodes
['METAP2', 'encodes', 'hypothetical protein    BC3470']
ASK WHERE { resource:METAP2 property:encodes resource:hypothetical_protein____BC3470 }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q722
P138
Q1190554 Q15617994 Q79529
USER
Which chemical substances have greater number of events or administrative territories as their toponym than vanadium ?
(c(Q79529),P138,c(Q1190554)|c(Q15617994))
action greater
action union
action find_tuple_counts
relation P138
type Q79529
type Q1190554
action find_tuple_counts
relation P138
type Q79529
type Q15617994
action count
action filter_multi_types
action find
entity Q722
relation P138
type Q1190554
type Q15617994
[{'concept': 'Q79529'}, 'P138', [{'concept': 'Q1190554'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?s ) WHERE { VALUES ( ?x ) { ( ontology:Q1190554 ) ( ontology:Q15617994 ) } . ?f rdf:type ?x } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { { ?q rdf:type ?g . VALUES ( ?g ) { ( ontology:Q1190554 ) ( ontology:Q15617994 ) } } . resource:Q722 property:P138 ?q } } . FILTER ( ?s > ?a ) }
vanadium
action greater
action union
action find_tuple_counts
relation named after
type chemical substance
type event
action find_tuple_counts
relation named after
type chemical substance
type designation for an administrative territorial entity
action count
action filter_multi_types
action find
entity vanadium
relation named after
type event
type designation for an administrative territorial entity
[{'concept': 'chemical substance'}, 'named after', [{'concept': 'event'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?s ) WHERE { VALUES ( ?x ) { ( ontology:event ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?f rdf:type ?x } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { { ?q rdf:type ?g . VALUES ( ?g ) { ( ontology:event ) ( ontology:designation_for_an_administrative_territorial_entity ) } } . resource:vanadium property:named_after ?q } } . FILTER ( ?s > ?a ) }
[]
event designation for an administrative territorial entity chemical substance
Q1297015 Q3667576 Q979
SYSTEM
100122 Alpes Maritimes, chiavennite, polonium
Q114391 Q3667576 Q1297015 Q979 Q671 Q1128
(c(Q79529),P138,c(Q1190554)|c(Q15617994))
action greater
action union
action find_tuple_counts
relation P138
type Q79529
type Q1190554
action find_tuple_counts
relation P138
type Q79529
type Q15617994
action count
action filter_multi_types
action find
entity Q722
relation P138
type Q1190554
type Q15617994
[ANSWERS] have greater number of events or administrative territories as their toponym than vanadium
[{'concept': 'Q79529'}, 'P138', [{'concept': 'Q1190554'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?s ) WHERE { VALUES ( ?x ) { ( ontology:Q1190554 ) ( ontology:Q15617994 ) } . ?f rdf:type ?x } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { { ?q rdf:type ?g . VALUES ( ?g ) { ( ontology:Q1190554 ) ( ontology:Q15617994 ) } } . resource:Q722 property:P138 ?q } } . FILTER ( ?s > ?a ) }
Congo red chiavennite 100122 Alpes Maritimes polonium francium radium
100122 Alpes Maritimes, chiavennite and polonium have greater number of events or administrative territories as their toponym than vanadium
100122 Alpes Maritimes chiavennite polonium
action greater
action union
action find_tuple_counts
relation named after
type chemical substance
type event
action find_tuple_counts
relation named after
type chemical substance
type designation for an administrative territorial entity
action count
action filter_multi_types
action find
entity vanadium
relation named after
type event
type designation for an administrative territorial entity
[{'concept': 'chemical substance'}, 'named after', [{'concept': 'event'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?c WHERE { { SELECT DISTINCT ?c ( COUNT ( ?f ) AS ?s ) WHERE { VALUES ( ?x ) { ( ontology:event ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?f rdf:type ?x } GROUP BY ?c } . { SELECT DISTINCT ( COUNT ( ?q ) AS ?a ) WHERE { { ?q rdf:type ?g . VALUES ( ?g ) { ( ontology:event ) ( ontology:designation_for_an_administrative_territorial_entity ) } } . resource:vanadium property:named_after ?q } } . FILTER ( ?s > ?a ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q737
P138
Q1190554 Q15617994 Q79529
USER
And what about rhenium?
(c(Q79529),P138,c(Q1190554)|c(Q15617994))
action greater
action union
action find_tuple_counts
relation P138
type Q79529
type Q1190554
action find_tuple_counts
relation P138
type Q79529
type Q15617994
action count
action filter_multi_types
action find
entity Q737
relation P138
type Q1190554
type Q15617994
[{'concept': 'Q79529'}, 'P138', [{'concept': 'Q1190554'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) ?f WHERE { VALUES ( ?t ) { ( ontology:Q1190554 ) ( ontology:Q15617994 ) } . ?o rdf:type ?t } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { resource:Q737 property:P138 ?h . { { ?h rdf:type ontology:Q1190554 } UNION { ?h rdf:type ontology:Q15617994 } } } } . FILTER ( ?w > ?b ) }
rhenium
action greater
action union
action find_tuple_counts
relation named after
type chemical substance
type event
action find_tuple_counts
relation named after
type chemical substance
type designation for an administrative territorial entity
action count
action filter_multi_types
action find
entity rhenium
relation named after
type event
type designation for an administrative territorial entity
[{'concept': 'chemical substance'}, 'named after', [{'concept': 'event'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) ?f WHERE { VALUES ( ?t ) { ( ontology:event ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?o rdf:type ?t } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { resource:rhenium property:named_after ?h . { { ?h rdf:type ontology:event } UNION { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?w > ?b ) }
[]
event designation for an administrative territorial entity chemical substance
Q1297015 Q3667576 Q979
SYSTEM
100122 Alpes Maritimes, chiavennite, polonium
Q114391 Q3667576 Q1297015 Q979 Q671 Q1128
(c(Q79529),P138,c(Q1190554)|c(Q15617994))
action greater
action union
action find_tuple_counts
relation P138
type Q79529
type Q1190554
action find_tuple_counts
relation P138
type Q79529
type Q15617994
action count
action filter_multi_types
action find
entity Q737
relation P138
type Q1190554
type Q15617994
[ANSWERS]
[{'concept': 'Q79529'}, 'P138', [{'concept': 'Q1190554'}, {'concept': 'Q15617994'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) ?f WHERE { VALUES ( ?t ) { ( ontology:Q1190554 ) ( ontology:Q15617994 ) } . ?o rdf:type ?t } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { resource:Q737 property:P138 ?h . { { ?h rdf:type ontology:Q1190554 } UNION { ?h rdf:type ontology:Q15617994 } } } } . FILTER ( ?w > ?b ) }
Congo red chiavennite 100122 Alpes Maritimes polonium francium radium
100122 Alpes Maritimes chiavennite polonium
action greater
action union
action find_tuple_counts
relation named after
type chemical substance
type event
action find_tuple_counts
relation named after
type chemical substance
type designation for an administrative territorial entity
action count
action filter_multi_types
action find
entity rhenium
relation named after
type event
type designation for an administrative territorial entity
[{'concept': 'chemical substance'}, 'named after', [{'concept': 'event'}, {'concept': 'designation for an administrative territorial entity'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) ?f WHERE { VALUES ( ?t ) { ( ontology:event ) ( ontology:designation_for_an_administrative_territorial_entity ) } . ?o rdf:type ?t } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { resource:rhenium property:named_after ?h . { { ?h rdf:type ontology:event } UNION { ?h rdf:type ontology:designation_for_an_administrative_territorial_entity } } } } . FILTER ( ?w > ?b ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q7501733 Q737
P138 P177
Q355304
USER
Which watercourses are rhenium named after or are crossed over by Short Bridge ?
OR((Q737,P138,c(Q355304)), (Q7501733,P177,c(Q355304)))
action filter_type
action union
action find
entity Q737
relation P138
action find
entity Q7501733
relation P177
type Q355304
{'OR': [['Q737', 'P138', {'concept': 'Q355304'}], ['Q7501733', 'P177', {'concept': 'Q355304'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q737 property:P138 ?b } UNION { resource:Q7501733 property:P177 ?b } } . ?b rdf:type ontology:Q355304 }
Short Bridge rhenium
action filter_type
action union
action find
entity rhenium
relation named after
action find
entity Short Bridge
relation crosses
type watercourse
{'OR': [['rhenium', 'named after', {'concept': 'watercourse'}], ['Short Bridge', 'crosses', {'concept': 'watercourse'}]]}
SELECT DISTINCT ?b WHERE { { { resource:rhenium property:named_after ?b } UNION { resource:Short_Bridge property:crosses ?b } } . ?b rdf:type ontology:watercourse }
[]
watercourse
Q584 Q930423
SYSTEM
Rhine, South Santiam River
Q584 Q930423
OR((Q737,P138,c(Q355304)), (Q7501733,P177,c(Q355304)))
action filter_type
action union
action find
entity Q737
relation P138
action find
entity Q7501733
relation P177
type Q355304
Rhenium are named crossed over the [ANSWERS]
{'OR': [['Q737', 'P138', {'concept': 'Q355304'}], ['Q7501733', 'P177', {'concept': 'Q355304'}]]}
SELECT DISTINCT ?b WHERE { { { resource:Q737 property:P138 ?b } UNION { resource:Q7501733 property:P177 ?b } } . ?b rdf:type ontology:Q355304 }
Rhine South Santiam River
Rhenium are named crossed over the Rhine and South Santiam River
Rhine South Santiam River
action filter_type
action union
action find
entity rhenium
relation named after
action find
entity Short Bridge
relation crosses
type watercourse
{'OR': [['rhenium', 'named after', {'concept': 'watercourse'}], ['Short Bridge', 'crosses', {'concept': 'watercourse'}]]}
SELECT DISTINCT ?b WHERE { { { resource:rhenium property:named_after ?b } UNION { resource:Short_Bridge property:crosses ?b } } . ?b rdf:type ontology:watercourse }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q4161647 Q3667576
P138 P17
Q15617994
USER
Which administrative territories are namesakes of chiavennite or are Dim Dam situated in ?
OR((Q3667576,P138,c(Q15617994)), (Q4161647,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3667576
relation P138
action find
entity Q4161647
relation P17
type Q15617994
{'OR': [['Q3667576', 'P138', {'concept': 'Q15617994'}], ['Q4161647', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q4161647 property:P17 ?o } UNION { resource:Q3667576 property:P138 ?o } } . ?o rdf:type ontology:Q15617994 }
Dim Dam chiavennite
action filter_type
action union
action find
entity chiavennite
relation named after
action find
entity Dim Dam
relation country
type designation for an administrative territorial entity
{'OR': [['chiavennite', 'named after', {'concept': 'designation for an administrative territorial entity'}], ['Dim Dam', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Dim_Dam property:country ?o } UNION { resource:chiavennite property:named_after ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q40131 Q43
SYSTEM
Chiavenna, Turkey
Q40131 Q43
OR((Q3667576,P138,c(Q15617994)), (Q4161647,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3667576
relation P138
action find
entity Q4161647
relation P17
type Q15617994
[ANSWERS] are namesakes of chiavennite or are Dim Dam situated in
{'OR': [['Q3667576', 'P138', {'concept': 'Q15617994'}], ['Q4161647', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Q4161647 property:P17 ?o } UNION { resource:Q3667576 property:P138 ?o } } . ?o rdf:type ontology:Q15617994 }
Chiavenna Turkey
Chiavenna and Turkey are namesakes of chiavennite or are Dim Dam situated in
Chiavenna Turkey
action filter_type
action union
action find
entity chiavennite
relation named after
action find
entity Dim Dam
relation country
type designation for an administrative territorial entity
{'OR': [['chiavennite', 'named after', {'concept': 'designation for an administrative territorial entity'}], ['Dim Dam', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?o WHERE { { { resource:Dim_Dam property:country ?o } UNION { resource:chiavennite property:named_after ?o } } . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q43
P127
Q483110
USER
Which stadia are owned by that administrative territory ?
(c(Q483110),P127,Q43)
action filter_type
action find_reverse
entity Q43
relation P127
type Q483110
[{'concept': 'Q483110'}, 'P127', 'Q43']
SELECT DISTINCT ?q WHERE { ?q property:P127 resource:Q43 . ?q rdf:type ontology:Q483110 }
Turkey
action filter_type
action find_reverse
entity Turkey
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'Turkey']
SELECT DISTINCT ?q WHERE { ?q property:owned_by resource:Turkey . ?q rdf:type ontology:stadium }
[]
stadium
Clarification for simple ques.
Q40131
SYSTEM
Did you mean Chiavenna ?
Q40131 Q43
(c(Q483110),P127,Q40131) (c(Q483110),P127,Q43)
[ANSWER]
[{'concept': 'Q483110'}, 'P127', 'Q40131'] [{'concept': 'Q483110'}, 'P127', 'Q43']
SELECT DISTINCT ?q WHERE { ?q property:P127 resource:Q43 . ?q rdf:type ontology:Q483110 }
Chiavenna Turkey
Did you mean Chiavenna ?
Chiavenna
[{'concept': 'stadium'}, 'owned by', 'Chiavenna'] [{'concept': 'stadium'}, 'owned by', 'Turkey']
SELECT DISTINCT ?q WHERE { ?q property:owned_by resource:Turkey . ?q rdf:type ontology:stadium }
[]
Simple Question (Coreferenced)
USER
No, I meant Turkey. Could you tell me the answer for that?
(c(Q483110),P127,Q43)
Q43
[{'concept': 'Q483110'}, 'P127', 'Q43']
[{'concept': 'stadium'}, 'owned by', 'Turkey']
[]
Q221122 Q556417
SYSTEM
Atatürk Olympic Stadium, Ankara 19 Mayıs Stadium
Q221122 Q556417
(c(Q483110),P127,Q43)
action filter_type
action find_reverse
entity Q43
relation P127
type Q483110
[ANSWERS] are owned by that administrative territory
[{'concept': 'Q483110'}, 'P127', 'Q43']
SELECT DISTINCT ?q WHERE { ?q property:P127 resource:Q43 . ?q rdf:type ontology:Q483110 }
Atatürk Olympic Stadium Ankara 19 Mayıs Stadium
Atatürk Olympic Stadium and Ankara 19 Mayıs Stadium are owned by that administrative territory
Atatürk Olympic Stadium Ankara 19 Mayıs Stadium
action filter_type
action find_reverse
entity Turkey
relation owned by
type stadium
[{'concept': 'stadium'}, 'owned by', 'Turkey']
SELECT DISTINCT ?q WHERE { ?q property:owned_by resource:Turkey . ?q rdf:type ontology:stadium }
[]