Simple Question (Direct)
Simple Question
Q22988679
P681
Q20011319
USER
Which is the cell component of penicillin-binding protein 1B PA4700 ?
(Q22988679,P681,c(Q20011319))
action filter_type
action find
entity Q22988679
relation P681
type Q20011319
['Q22988679', 'P681', {'concept': 'Q20011319'}]
SELECT DISTINCT ?b WHERE { resource:Q22988679 property:P681 ?b . ?b rdf:type ontology:Q20011319 }
penicillin-binding protein 1B PA4700
action filter_type
action find
entity penicillin-binding protein 1B PA4700
relation cell component
type part of a plant
['penicillin-binding protein 1B PA4700', 'cell component', {'concept': 'part of a plant'}]
SELECT DISTINCT ?b WHERE { resource:penicillin-binding_protein_1B_PA4700 property:cell_component ?b . ?b rdf:type ontology:part_of_a_plant }
[]
part of a plant
Q21761111
SYSTEM
peptidoglycan-based cell wall
Q21761111
(Q22988679,P681,c(Q20011319))
action filter_type
action find
entity Q22988679
relation P681
type Q20011319
The [ANSWER] is the cell component of penicillin-binding protein 1B PA4700
['Q22988679', 'P681', {'concept': 'Q20011319'}]
SELECT DISTINCT ?b WHERE { resource:Q22988679 property:P681 ?b . ?b rdf:type ontology:Q20011319 }
peptidoglycan-based cell wall
The peptidoglycan-based cell wall is the cell component of penicillin-binding protein 1B PA4700
peptidoglycan-based cell wall
action filter_type
action find
entity penicillin-binding protein 1B PA4700
relation cell component
type part of a plant
['penicillin-binding protein 1B PA4700', 'cell component', {'concept': 'part of a plant'}]
SELECT DISTINCT ?b WHERE { resource:penicillin-binding_protein_1B_PA4700 property:cell_component ?b . ?b rdf:type ontology:part_of_a_plant }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q22988679
P703
Q16521
USER
Where is penicillin-binding protein 1B PA4700 found ?
(Q22988679,P703,c(Q16521))
action filter_type
action find
entity Q22988679
relation P703
type Q16521
['Q22988679', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?r WHERE { resource:Q22988679 property:P703 ?r . ?r rdf:type ontology:Q16521 }
penicillin-binding protein 1B PA4700
action filter_type
action find
entity penicillin-binding protein 1B PA4700
relation found in taxon
type taxon
['penicillin-binding protein 1B PA4700', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?r WHERE { resource:penicillin-binding_protein_1B_PA4700 property:found_in_taxon ?r . ?r rdf:type ontology:taxon }
[]
taxon
Q21065234
SYSTEM
Pseudomonas aeruginosa PAO1
Q21065234
(Q22988679,P703,c(Q16521))
action filter_type
action find
entity Q22988679
relation P703
type Q16521
Penicillin-binding protein 1B PA 4700 is found in [ANSWER]
['Q22988679', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?r WHERE { resource:Q22988679 property:P703 ?r . ?r rdf:type ontology:Q16521 }
Pseudomonas aeruginosa PAO1
Penicillin-binding protein 1B PA 4700 is found in Pseudomonas aeruginosa PAO1
Pseudomonas aeruginosa PAO1
action filter_type
action find
entity penicillin-binding protein 1B PA4700
relation found in taxon
type taxon
['penicillin-binding protein 1B PA4700', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?r WHERE { resource:penicillin-binding_protein_1B_PA4700 property:found_in_taxon ?r . ?r rdf:type ontology:taxon }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q31431
P180
Q16521 Q2342494 Q18783400
USER
Which taxons are depicted in greater number of collectables and genres of sculpture than parrot ?
(c(Q2342494)|c(Q18783400),P180,c(Q16521))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q16521
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q16521
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q31431
relation P180
type Q2342494
type Q18783400
[[{'concept': 'Q2342494'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ?x WHERE { FILTER ( ?o > ?i ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { ?h property:P180 resource:Q31431 . { { ?h rdf:type ontology:Q2342494 } UNION { ?h rdf:type ontology:Q18783400 } } } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) ?x WHERE { VALUES ( ?v ) { ( ontology:Q2342494 ) ( ontology:Q18783400 ) } . ?a rdf:type ?v } GROUP BY ?x } }
parrot
action greater
action union
action find_reverse_tuple_counts
relation depicts
type taxon
type collectable
action find_reverse_tuple_counts
relation depicts
type taxon
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity parrot
relation depicts
type collectable
type genre of sculpture
[[{'concept': 'collectable'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ?x WHERE { FILTER ( ?o > ?i ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { ?h property:depicts resource:parrot . { { ?h rdf:type ontology:collectable } UNION { ?h rdf:type ontology:genre_of_sculpture } } } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) ?x WHERE { VALUES ( ?v ) { ( ontology:collectable ) ( ontology:genre_of_sculpture ) } . ?a rdf:type ?v } GROUP BY ?x } }
[]
taxon collectable genre of sculpture
Q10872 Q23390 Q140
SYSTEM
Archaea, deer, lion
Q10872 Q36341 Q25403 Q201701 Q2934 Q2984138 Q23390 Q140
(c(Q2342494)|c(Q18783400),P180,c(Q16521))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q16521
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q16521
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q31431
relation P180
type Q2342494
type Q18783400
[ANSWERS] are depicted in greater number of collectables and genres of sculpture than parrot
[[{'concept': 'Q2342494'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ?x WHERE { FILTER ( ?o > ?i ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { ?h property:P180 resource:Q31431 . { { ?h rdf:type ontology:Q2342494 } UNION { ?h rdf:type ontology:Q18783400 } } } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) ?x WHERE { VALUES ( ?v ) { ( ontology:Q2342494 ) ( ontology:Q18783400 ) } . ?a rdf:type ?v } GROUP BY ?x } }
Archaea brown bear Fagus pufferfish goat pigeon deer lion
Archaea, deer and lion are depicted in greater number of collectables and genres of sculpture than parrot
Archaea deer lion
action greater
action union
action find_reverse_tuple_counts
relation depicts
type taxon
type collectable
action find_reverse_tuple_counts
relation depicts
type taxon
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity parrot
relation depicts
type collectable
type genre of sculpture
[[{'concept': 'collectable'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ?x WHERE { FILTER ( ?o > ?i ) . { SELECT DISTINCT ( COUNT ( ?h ) AS ?i ) WHERE { ?h property:depicts resource:parrot . { { ?h rdf:type ontology:collectable } UNION { ?h rdf:type ontology:genre_of_sculpture } } } } . { SELECT DISTINCT ( COUNT ( ?a ) AS ?o ) ?x WHERE { VALUES ( ?v ) { ( ontology:collectable ) ( ontology:genre_of_sculpture ) } . ?a rdf:type ?v } GROUP BY ?x } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q130918
P180
Q16521 Q2342494 Q18783400
USER
And also tell me about Dahlia?
(c(Q2342494)|c(Q18783400),P180,c(Q16521))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q16521
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q16521
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q130918
relation P180
type Q2342494
type Q18783400
[[{'concept': 'Q2342494'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?e ) WHERE { { ?n rdf:type ontology:Q16521 . ?l rdf:type ontology:Q2342494 . ?l property:P180 ?n } UNION { ?l property:P180 ?n . ?n rdf:type ontology:Q16521 . ?l rdf:type ontology:Q18783400 } } GROUP BY ?n } . FILTER ( ?e > ?y ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { { ?b rdf:type ontology:Q2342494 } UNION { ?b rdf:type ontology:Q18783400 } } . ?b property:P180 resource:Q130918 } } }
Dahlia
action greater
action union
action find_reverse_tuple_counts
relation depicts
type taxon
type collectable
action find_reverse_tuple_counts
relation depicts
type taxon
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity Dahlia
relation depicts
type collectable
type genre of sculpture
[[{'concept': 'collectable'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?e ) WHERE { { ?n rdf:type ontology:taxon . ?l rdf:type ontology:collectable . ?l property:depicts ?n } UNION { ?l property:depicts ?n . ?n rdf:type ontology:taxon . ?l rdf:type ontology:genre_of_sculpture } } GROUP BY ?n } . FILTER ( ?e > ?y ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { { ?b rdf:type ontology:collectable } UNION { ?b rdf:type ontology:genre_of_sculpture } } . ?b property:depicts resource:Dahlia } } }
[]
taxon collectable genre of sculpture
Q10872 Q23390 Q140
SYSTEM
Archaea, deer, lion
Q10872 Q36341 Q25403 Q201701 Q2934 Q2984138 Q23390 Q140
(c(Q2342494)|c(Q18783400),P180,c(Q16521))
action greater
action union
action find_reverse_tuple_counts
relation P180
type Q16521
type Q2342494
action find_reverse_tuple_counts
relation P180
type Q16521
type Q18783400
action count
action filter_multi_types
action find_reverse
entity Q130918
relation P180
type Q2342494
type Q18783400
[ANSWERS]
[[{'concept': 'Q2342494'}, {'concept': 'Q18783400'}], 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?e ) WHERE { { ?n rdf:type ontology:Q16521 . ?l rdf:type ontology:Q2342494 . ?l property:P180 ?n } UNION { ?l property:P180 ?n . ?n rdf:type ontology:Q16521 . ?l rdf:type ontology:Q18783400 } } GROUP BY ?n } . FILTER ( ?e > ?y ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { { ?b rdf:type ontology:Q2342494 } UNION { ?b rdf:type ontology:Q18783400 } } . ?b property:P180 resource:Q130918 } } }
Archaea brown bear Fagus pufferfish goat pigeon deer lion
Archaea deer lion
action greater
action union
action find_reverse_tuple_counts
relation depicts
type taxon
type collectable
action find_reverse_tuple_counts
relation depicts
type taxon
type genre of sculpture
action count
action filter_multi_types
action find_reverse
entity Dahlia
relation depicts
type collectable
type genre of sculpture
[[{'concept': 'collectable'}, {'concept': 'genre of sculpture'}], 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ?n WHERE { { SELECT DISTINCT ?n ( COUNT ( ?l ) AS ?e ) WHERE { { ?n rdf:type ontology:taxon . ?l rdf:type ontology:collectable . ?l property:depicts ?n } UNION { ?l property:depicts ?n . ?n rdf:type ontology:taxon . ?l rdf:type ontology:genre_of_sculpture } } GROUP BY ?n } . FILTER ( ?e > ?y ) . { SELECT DISTINCT ( COUNT ( ?b ) AS ?y ) WHERE { { { ?b rdf:type ontology:collectable } UNION { ?b rdf:type ontology:genre_of_sculpture } } . ?b property:depicts resource:Dahlia } } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23390
P1990
Q178706
USER
Which institution has kept the species named deer ?
(c(Q178706),P1990,Q23390)
action filter_type
action find_reverse
entity Q23390
relation P1990
type Q178706
[{'concept': 'Q178706'}, 'P1990', 'Q23390']
SELECT DISTINCT ?c WHERE { ?c property:P1990 resource:Q23390 . ?c rdf:type ontology:Q178706 }
deer
action filter_type
action find_reverse
entity deer
relation species kept
type institution
[{'concept': 'institution'}, 'species kept', 'deer']
SELECT DISTINCT ?c WHERE { ?c property:species_kept resource:deer . ?c rdf:type ontology:institution }
[]
institution
Q901214
SYSTEM
Queens Zoo
Q901214
(c(Q178706),P1990,Q23390)
action filter_type
action find_reverse
entity Q23390
relation P1990
type Q178706
[ANSWER] has kept the species named deer
[{'concept': 'Q178706'}, 'P1990', 'Q23390']
SELECT DISTINCT ?c WHERE { ?c property:P1990 resource:Q23390 . ?c rdf:type ontology:Q178706 }
Queens Zoo
Queens Zoo has kept the species named deer
Queens Zoo
action filter_type
action find_reverse
entity deer
relation species kept
type institution
[{'concept': 'institution'}, 'species kept', 'deer']
SELECT DISTINCT ?c WHERE { ?c property:species_kept resource:deer . ?c rdf:type ontology:institution }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q140
P20
Q502895
USER
Which person expired at lion ?
(c(Q502895),P20,Q140)
action filter_type
action find_reverse
entity Q140
relation P20
type Q502895
[{'concept': 'Q502895'}, 'P20', 'Q140']
SELECT DISTINCT ?o WHERE { ?o property:P20 resource:Q140 . ?o rdf:type ontology:Q502895 }
lion
action filter_type
action find_reverse
entity lion
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'lion']
SELECT DISTINCT ?o WHERE { ?o property:place_of_death resource:lion . ?o rdf:type ontology:common_name }
[]
common name
Q21006232
SYSTEM
Marcelino de la Parra
Q21006232
(c(Q502895),P20,Q140)
action filter_type
action find_reverse
entity Q140
relation P20
type Q502895
[ANSWER] expired at lion
[{'concept': 'Q502895'}, 'P20', 'Q140']
SELECT DISTINCT ?o WHERE { ?o property:P20 resource:Q140 . ?o rdf:type ontology:Q502895 }
Marcelino de la Parra
Marcelino de la Parra expired at lion
Marcelino de la Parra
action filter_type
action find_reverse
entity lion
relation place of death
type common name
[{'concept': 'common name'}, 'place of death', 'lion']
SELECT DISTINCT ?o WHERE { ?o property:place_of_death resource:lion . ?o rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21006232
P19
Q1048835
USER
Which political territory was that person born at ?
(Q21006232,P19,c(Q1048835))
action filter_type
action find
entity Q21006232
relation P19
type Q1048835
['Q21006232', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q21006232 property:P19 ?c . ?c rdf:type ontology:Q1048835 }
Marcelino de la Parra
action filter_type
action find
entity Marcelino de la Parra
relation place of birth
type political territorial entity
['Marcelino de la Parra', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Marcelino_de_la_Parra property:place_of_birth ?c . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q60979
SYSTEM
La Robla
Q60979
(Q21006232,P19,c(Q1048835))
action filter_type
action find
entity Q21006232
relation P19
type Q1048835
That person was born in [ANSWER]
['Q21006232', 'P19', {'concept': 'Q1048835'}]
SELECT DISTINCT ?c WHERE { resource:Q21006232 property:P19 ?c . ?c rdf:type ontology:Q1048835 }
La Robla
That person was born in La Robla
La Robla
action filter_type
action find
entity Marcelino de la Parra
relation place of birth
type political territorial entity
['Marcelino de la Parra', 'place of birth', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Marcelino_de_la_Parra property:place_of_birth ?c . ?c rdf:type ontology:political_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q60979
P47
Q1048835
USER
Which political territories do that one share a border with ?
(c(Q1048835),P47,Q60979)
action filter_type
action find
entity Q60979
relation P47
type Q1048835
[{'concept': 'Q1048835'}, 'P47', 'Q60979']
SELECT DISTINCT ?c WHERE { resource:Q60979 property:P47 ?c . ?c rdf:type ontology:Q1048835 }
La Robla
action filter_type
action find
entity La Robla
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'La Robla']
SELECT DISTINCT ?c WHERE { resource:La_Robla property:shares_border_with ?c . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
Q137157 Q80143 Q1605928
SYSTEM
Garrafe de Torío, Matallana de Torío, La Pola de Gordón
Q1605928 Q137157 Q80143 Q137207 Q137167
(c(Q1048835),P47,Q60979)
action filter_type
action find
entity Q60979
relation P47
type Q1048835
[ANSWERS] that one share a border with
[{'concept': 'Q1048835'}, 'P47', 'Q60979']
SELECT DISTINCT ?c WHERE { resource:Q60979 property:P47 ?c . ?c rdf:type ontology:Q1048835 }
La Pola de Gordón Garrafe de Torío Matallana de Torío Carrocera Cuadros
Garrafe de Torío, Matallana de Torío and La Pola de Gordón that one share a border with
Garrafe de Torío Matallana de Torío La Pola de Gordón
action filter_type
action find
entity La Robla
relation shares border with
type political territorial entity
[{'concept': 'political territorial entity'}, 'shares border with', 'La Robla']
SELECT DISTINCT ?c WHERE { resource:La_Robla property:shares_border_with ?c . ?c rdf:type ontology:political_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q137157
P1001
Q12737077
USER
Which occupation presides the jurisdiction over that political territory ?
(c(Q12737077),P1001,Q137157)
action filter_type
action find_reverse
entity Q137157
relation P1001
type Q12737077
[{'concept': 'Q12737077'}, 'P1001', 'Q137157']
SELECT DISTINCT ?g WHERE { ?g property:P1001 resource:Q137157 . ?g rdf:type ontology:Q12737077 }
Garrafe de Torío
action filter_type
action find_reverse
entity Garrafe de Torío
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Garrafe de Torío']
SELECT DISTINCT ?g WHERE { ?g property:applies_to_jurisdiction resource:Garrafe_de_Torío . ?g rdf:type ontology:occupation }
[]
occupation
Clarification for simple ques.
Q80143
SYSTEM
Did you mean Matallana de Torío ?
Q137157 Q80143 Q1605928
(c(Q12737077),P1001,Q137157) (c(Q12737077),P1001,Q80143) (c(Q12737077),P1001,Q1605928)
[ANSWER]
[{'concept': 'Q12737077'}, 'P1001', 'Q137157'] [{'concept': 'Q12737077'}, 'P1001', 'Q80143'] [{'concept': 'Q12737077'}, 'P1001', 'Q1605928']
SELECT DISTINCT ?g WHERE { ?g property:P1001 resource:Q137157 . ?g rdf:type ontology:Q12737077 }
Garrafe de Torío Matallana de Torío La Pola de Gordón
Did you mean Matallana de Torío ?
Matallana de Torío
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Garrafe de Torío'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'Matallana de Torío'] [{'concept': 'occupation'}, 'applies to jurisdiction', 'La Pola de Gordón']
SELECT DISTINCT ?g WHERE { ?g property:applies_to_jurisdiction resource:Garrafe_de_Torío . ?g rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
USER
No, I meant Garrafe de Torío. Could you tell me the answer for that?
(c(Q12737077),P1001,Q137157)
Q137157
[{'concept': 'Q12737077'}, 'P1001', 'Q137157']
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Garrafe de Torío']
[]
Q26690978
SYSTEM
mayor of Garrafe de Torío
Q26690978
(c(Q12737077),P1001,Q137157)
action filter_type
action find_reverse
entity Q137157
relation P1001
type Q12737077
The [ANSWER] presides the jurisdiction over that political territory
[{'concept': 'Q12737077'}, 'P1001', 'Q137157']
SELECT DISTINCT ?g WHERE { ?g property:P1001 resource:Q137157 . ?g rdf:type ontology:Q12737077 }
mayor of Garrafe de Torío
The mayor of Garrafe de Torío presides the jurisdiction over that political territory
mayor of Garrafe de Torío
action filter_type
action find_reverse
entity Garrafe de Torío
relation applies to jurisdiction
type occupation
[{'concept': 'occupation'}, 'applies to jurisdiction', 'Garrafe de Torío']
SELECT DISTINCT ?g WHERE { ?g property:applies_to_jurisdiction resource:Garrafe_de_Torío . ?g rdf:type ontology:occupation }
[]