Simple Question (Direct)
Simple Question
Q23509927
P681
Q15989253
USER
Which is the cell component of nucleoside ABC transporter permease nupC    BC5050 ?
(Q23509927,P681,c(Q15989253))
action filter_type
action find
entity Q23509927
relation P681
type Q15989253
['Q23509927', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?g WHERE { resource:Q23509927 property:P681 ?g . ?g rdf:type ontology:Q15989253 }
nucleoside ABC transporter permease nupC    BC5050
action filter_type
action find
entity nucleoside ABC transporter permease nupC    BC5050
relation cell component
type part
['nucleoside ABC transporter permease nupC    BC5050', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?g WHERE { resource:nucleoside_ABC_transporter_permease_nupC____BC5050 property:cell_component ?g . ?g rdf:type ontology:part }
[]
part
Q14349455
SYSTEM
membrane
Q14349455
(Q23509927,P681,c(Q15989253))
action filter_type
action find
entity Q23509927
relation P681
type Q15989253
The [ANSWER] is the cell component of nucleoside ABC transporter permease nupC BC5050
['Q23509927', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?g WHERE { resource:Q23509927 property:P681 ?g . ?g rdf:type ontology:Q15989253 }
membrane
The membrane is the cell component of nucleoside ABC transporter permease nupC BC5050
membrane
action filter_type
action find
entity nucleoside ABC transporter permease nupC    BC5050
relation cell component
type part
['nucleoside ABC transporter permease nupC    BC5050', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?g WHERE { resource:nucleoside_ABC_transporter_permease_nupC____BC5050 property:cell_component ?g . ?g rdf:type ontology:part }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23509927
P688
Q863908
USER
What is the nucleic acid sequence that is encoded by nucleoside ABC transporter permease nupC    BC5050 ?
(c(Q863908),P688,Q23509927)
action filter_type
action find_reverse
entity Q23509927
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q23509927']
SELECT DISTINCT ?h WHERE { ?h property:P688 resource:Q23509927 . ?h rdf:type ontology:Q863908 }
nucleoside ABC transporter permease nupC    BC5050
action filter_type
action find_reverse
entity nucleoside ABC transporter permease nupC    BC5050
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'nucleoside ABC transporter permease nupC    BC5050']
SELECT DISTINCT ?h WHERE { ?h property:encodes resource:nucleoside_ABC_transporter_permease_nupC____BC5050 . ?h rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q23191486
SYSTEM
nucleoside ABC transporter permease nupC    BC5050
Q23191486
(c(Q863908),P688,Q23509927)
action filter_type
action find_reverse
entity Q23509927
relation P688
type Q863908
The nucleic acid sequence that is encoded by nucleoside ABC transporter permease nupC BC5050 is the nucleoside ABC transporter permease nupC BC5050
[{'concept': 'Q863908'}, 'P688', 'Q23509927']
SELECT DISTINCT ?h WHERE { ?h property:P688 resource:Q23509927 . ?h rdf:type ontology:Q863908 }
nucleoside ABC transporter permease nupC    BC5050
The nucleic acid sequence that is encoded by nucleoside ABC transporter permease nupC BC5050 is the nucleoside ABC transporter permease nupC BC5050
nucleoside ABC transporter permease nupC    BC5050
action filter_type
action find_reverse
entity nucleoside ABC transporter permease nupC    BC5050
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', 'nucleoside ABC transporter permease nupC    BC5050']
SELECT DISTINCT ?h WHERE { ?h property:encodes resource:nucleoside_ABC_transporter_permease_nupC____BC5050 . ?h rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23509927
P703
Q631147
USER
Which taxon is nucleoside ABC transporter permease nupC    BC5050 a part of ?
(Q23509927,P703,c(Q631147))
action filter_type
action find
entity Q23509927
relation P703
type Q631147
['Q23509927', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?t WHERE { resource:Q23509927 property:P703 ?t . ?t rdf:type ontology:Q631147 }
nucleoside ABC transporter permease nupC    BC5050
action filter_type
action find
entity nucleoside ABC transporter permease nupC    BC5050
relation found in taxon
type infraspecific name
['nucleoside ABC transporter permease nupC    BC5050', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?t WHERE { resource:nucleoside_ABC_transporter_permease_nupC____BC5050 property:found_in_taxon ?t . ?t rdf:type ontology:infraspecific_name }
[]
infraspecific name
Q21102970
SYSTEM
Bacillus cereus ATCC 14579
Q21102970
(Q23509927,P703,c(Q631147))
action filter_type
action find
entity Q23509927
relation P703
type Q631147
[ANSWER] is nucleoside ABC transporter permease nupC BC5050 a part of
['Q23509927', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?t WHERE { resource:Q23509927 property:P703 ?t . ?t rdf:type ontology:Q631147 }
Bacillus cereus ATCC 14579
Bacillus cereus ATCC 14579 is nucleoside ABC transporter permease nupC BC5050 a part of
Bacillus cereus ATCC 14579
action filter_type
action find
entity nucleoside ABC transporter permease nupC    BC5050
relation found in taxon
type infraspecific name
['nucleoside ABC transporter permease nupC    BC5050', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?t WHERE { resource:nucleoside_ABC_transporter_permease_nupC____BC5050 property:found_in_taxon ?t . ?t rdf:type ontology:infraspecific_name }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q23193738
Q631147
USER
And how about hypothetical protein    BC4536?
(Q23193738,P703,c(Q631147))
action filter_type
action find
entity Q23193738
relation P703
type Q631147
['Q23193738', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?n WHERE { resource:Q23193738 property:P703 ?n . ?n rdf:type ontology:Q631147 }
hypothetical protein    BC4536
action filter_type
action find
entity hypothetical protein    BC4536
relation found in taxon
type infraspecific name
['hypothetical protein    BC4536', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?n WHERE { resource:hypothetical_protein____BC4536 property:found_in_taxon ?n . ?n rdf:type ontology:infraspecific_name }
[]
infraspecific name
Q21102970
SYSTEM
Bacillus cereus ATCC 14579
Q21102970
(Q23193738,P703,c(Q631147))
action filter_type
action find
entity Q23193738
relation P703
type Q631147
[ANSWER]
['Q23193738', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?n WHERE { resource:Q23193738 property:P703 ?n . ?n rdf:type ontology:Q631147 }
Bacillus cereus ATCC 14579
Bacillus cereus ATCC 14579
action filter_type
action find
entity hypothetical protein    BC4536
relation found in taxon
type infraspecific name
['hypothetical protein    BC4536', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?n WHERE { resource:hypothetical_protein____BC4536 property:found_in_taxon ?n . ?n rdf:type ontology:infraspecific_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q21102970 Q23475197
P703
Q181394
USER
Is 3-dehydroquinate dehydratase    Caur_0393 found in that infraspecific name ?
(Q23475197,P703,Q21102970)
action is_in
entity Q23475197
action find
entity Q21102970
relation P703
['Q23475197', 'P703', 'Q21102970']
ASK WHERE { resource:Q21102970 property:P703 resource:Q23475197 }
Bacillus cereus ATCC 14579 3-dehydroquinate dehydratase    Caur_0393
action is_in
entity 3-dehydroquinate dehydratase    Caur_0393
action find
entity Bacillus cereus ATCC 14579
relation found in taxon
['3-dehydroquinate dehydratase    Caur_0393', 'found in taxon', 'Bacillus cereus ATCC 14579']
ASK WHERE { resource:Bacillus_cereus_ATCC_14579 property:found_in_taxon resource:3-dehydroquinate_dehydratase____Caur_0393 }
[]
nutrient
SYSTEM
NO
(Q23475197,P703,Q21102970)
action is_in
entity Q23475197
action find
entity Q21102970
relation P703
[ANSWER]
['Q23475197', 'P703', 'Q21102970']
ASK WHERE { resource:Q21102970 property:P703 resource:Q23475197 }
No
action is_in
entity 3-dehydroquinate dehydratase    Caur_0393
action find
entity Bacillus cereus ATCC 14579
relation found in taxon
['3-dehydroquinate dehydratase    Caur_0393', 'found in taxon', 'Bacillus cereus ATCC 14579']
ASK WHERE { resource:Bacillus_cereus_ATCC_14579 property:found_in_taxon resource:3-dehydroquinate_dehydratase____Caur_0393 }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q23191486 Q23509927
P688
Q181394
USER
Is nucleoside ABC transporter permease nupC    BC5050 an encoding of nucleoside ABC transporter permease nupC    BC5050 ?
(Q23191486,P688,Q23509927)
action is_in
entity Q23509927
action find
entity Q23191486
relation P688
['Q23191486', 'P688', 'Q23509927']
ASK WHERE { resource:Q23191486 property:P688 resource:Q23509927 }
nucleoside ABC transporter permease nupC    BC5050 nucleoside ABC transporter permease nupC    BC5050
action is_in
entity nucleoside ABC transporter permease nupC    BC5050
action find
entity nucleoside ABC transporter permease nupC    BC5050
relation encodes
['nucleoside ABC transporter permease nupC    BC5050', 'encodes', 'nucleoside ABC transporter permease nupC    BC5050']
ASK WHERE { resource:nucleoside_ABC_transporter_permease_nupC____BC5050 property:encodes resource:nucleoside_ABC_transporter_permease_nupC____BC5050 }
[]
nutrient
SYSTEM
YES
(Q23191486,P688,Q23509927)
action is_in
entity Q23509927
action find
entity Q23191486
relation P688
[ANSWER]
['Q23191486', 'P688', 'Q23509927']
ASK WHERE { resource:Q23191486 property:P688 resource:Q23509927 }
Yes
action is_in
entity nucleoside ABC transporter permease nupC    BC5050
action find
entity nucleoside ABC transporter permease nupC    BC5050
relation encodes
['nucleoside ABC transporter permease nupC    BC5050', 'encodes', 'nucleoside ABC transporter permease nupC    BC5050']
ASK WHERE { resource:nucleoside_ABC_transporter_permease_nupC____BC5050 property:encodes resource:nucleoside_ABC_transporter_permease_nupC____BC5050 }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q221712
P180
Q15989253 Q838948 Q3516658
USER
Which parts are expressed in approximately the same number of works of art or heraldic symbols as sound hole ?
(c(Q838948)|c(Q3516658),P180,c(Q15989253))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q838948
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q3516658
action count
action filter_multi_types
action find_reverse
entity Q221712
relation P180
type Q838948
type Q3516658
[[{'concept': 'Q838948'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q15989253'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) ?r WHERE { { ?e property:P180 ?r . ?r rdf:type ontology:Q15989253 . ?e rdf:type ontology:Q3516658 } UNION { ?r rdf:type ontology:Q15989253 . ?e rdf:type ontology:Q838948 . ?e property:P180 ?r } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { ?j property:P180 resource:Q221712 . { VALUES ( ?v ) { ( ontology:Q838948 ) ( ontology:Q3516658 ) } . ?j rdf:type ?v } } } . FILTER ( ?h = ?l ) }
sound hole
action approx
action union
action find_reverse_tuple_counts
relation depicts
type part
type work of art
action find_reverse_tuple_counts
relation depicts
type part
type heraldic symbol
action count
action filter_multi_types
action find_reverse
entity sound hole
relation depicts
type work of art
type heraldic symbol
[[{'concept': 'work of art'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'part'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) ?r WHERE { { ?e property:depicts ?r . ?r rdf:type ontology:part . ?e rdf:type ontology:heraldic_symbol } UNION { ?r rdf:type ontology:part . ?e rdf:type ontology:work_of_art . ?e property:depicts ?r } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { ?j property:depicts resource:sound_hole . { VALUES ( ?v ) { ( ontology:work_of_art ) ( ontology:heraldic_symbol ) } . ?j rdf:type ?v } } } . FILTER ( ?h = ?l ) }
[]
part work of art heraldic symbol
Q712378 Q668732 Q129757
SYSTEM
organ, crest, thigh
Q129757 Q908430 Q168002 Q392573 Q852590 Q168432 Q37017 Q172563 Q201851 Q25999 Q209760 Q15807 Q221712 Q276572 Q910873 Q18646082 Q301897 Q251238 Q1510738 Q331357 Q2192288 Q204948 Q42586 Q901207 Q217605 Q492663 Q942890 Q712378 Q4814120 Q305026 Q668732
(c(Q838948)|c(Q3516658),P180,c(Q15989253))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q838948
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q3516658
action count
action filter_multi_types
action find_reverse
entity Q221712
relation P180
type Q838948
type Q3516658
[ANSWERS] are expressed in approximately the same number of works of art or heraldic symbols as sound hole
[[{'concept': 'Q838948'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q15989253'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) ?r WHERE { { ?e property:P180 ?r . ?r rdf:type ontology:Q15989253 . ?e rdf:type ontology:Q3516658 } UNION { ?r rdf:type ontology:Q15989253 . ?e rdf:type ontology:Q838948 . ?e property:P180 ?r } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { ?j property:P180 resource:Q221712 . { VALUES ( ?v ) { ( ontology:Q838948 ) ( ontology:Q3516658 ) } . ?j rdf:type ?v } } } . FILTER ( ?h = ?l ) }
thigh crown ankle Organ console spire anchor face umbilical cord spine sail rudder foot sound hole Insect wing helmet thought bubble bow compartment organ pipe escutcheon vulva bow elbow musical keyboard claw Jesus and the woman taken in adultery rigging organ prow bicycle pedal crest
Organ, crest and thigh are expressed in approximately the same number of works of art or heraldic symbols as sound hole
organ crest thigh
action approx
action union
action find_reverse_tuple_counts
relation depicts
type part
type work of art
action find_reverse_tuple_counts
relation depicts
type part
type heraldic symbol
action count
action filter_multi_types
action find_reverse
entity sound hole
relation depicts
type work of art
type heraldic symbol
[[{'concept': 'work of art'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'part'}]
SELECT DISTINCT ?r WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?h ) ?r WHERE { { ?e property:depicts ?r . ?r rdf:type ontology:part . ?e rdf:type ontology:heraldic_symbol } UNION { ?r rdf:type ontology:part . ?e rdf:type ontology:work_of_art . ?e property:depicts ?r } } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?l ) WHERE { ?j property:depicts resource:sound_hole . { VALUES ( ?v ) { ( ontology:work_of_art ) ( ontology:heraldic_symbol ) } . ?j rdf:type ?v } } } . FILTER ( ?h = ?l ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q25999
P180
Q15989253 Q838948 Q3516658
USER
And what about sail?
(c(Q838948)|c(Q3516658),P180,c(Q15989253))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q838948
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q3516658
action count
action filter_multi_types
action find_reverse
entity Q25999
relation P180
type Q838948
type Q3516658
[[{'concept': 'Q838948'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q15989253'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) ?b WHERE { { ?x property:P180 ?b . ?b rdf:type ontology:Q15989253 . ?x rdf:type ontology:Q838948 } UNION { ?x property:P180 ?b . ?b rdf:type ontology:Q15989253 . ?x rdf:type ontology:Q3516658 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { ?p property:P180 resource:Q25999 . { { ?p rdf:type ontology:Q838948 } UNION { ?p rdf:type ontology:Q3516658 } } } } . FILTER ( ?h = ?c ) }
sail
action approx
action union
action find_reverse_tuple_counts
relation depicts
type part
type work of art
action find_reverse_tuple_counts
relation depicts
type part
type heraldic symbol
action count
action filter_multi_types
action find_reverse
entity sail
relation depicts
type work of art
type heraldic symbol
[[{'concept': 'work of art'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'part'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) ?b WHERE { { ?x property:depicts ?b . ?b rdf:type ontology:part . ?x rdf:type ontology:work_of_art } UNION { ?x property:depicts ?b . ?b rdf:type ontology:part . ?x rdf:type ontology:heraldic_symbol } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { ?p property:depicts resource:sail . { { ?p rdf:type ontology:work_of_art } UNION { ?p rdf:type ontology:heraldic_symbol } } } } . FILTER ( ?h = ?c ) }
[]
part work of art heraldic symbol
Q712378 Q668732 Q129757
SYSTEM
organ, crest, thigh
Q129757 Q908430 Q168002 Q392573 Q852590 Q168432 Q37017 Q172563 Q201851 Q25999 Q209760 Q15807 Q221712 Q276572 Q910873 Q18646082 Q301897 Q251238 Q1510738 Q331357 Q2192288 Q204948 Q42586 Q901207 Q217605 Q492663 Q942890 Q712378 Q4814120 Q305026 Q668732
(c(Q838948)|c(Q3516658),P180,c(Q15989253))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q838948
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q3516658
action count
action filter_multi_types
action find_reverse
entity Q25999
relation P180
type Q838948
type Q3516658
[ANSWERS]
[[{'concept': 'Q838948'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q15989253'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) ?b WHERE { { ?x property:P180 ?b . ?b rdf:type ontology:Q15989253 . ?x rdf:type ontology:Q838948 } UNION { ?x property:P180 ?b . ?b rdf:type ontology:Q15989253 . ?x rdf:type ontology:Q3516658 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { ?p property:P180 resource:Q25999 . { { ?p rdf:type ontology:Q838948 } UNION { ?p rdf:type ontology:Q3516658 } } } } . FILTER ( ?h = ?c ) }
thigh crown ankle Organ console spire anchor face umbilical cord spine sail rudder foot sound hole Insect wing helmet thought bubble bow compartment organ pipe escutcheon vulva bow elbow musical keyboard claw Jesus and the woman taken in adultery rigging organ prow bicycle pedal crest
organ crest thigh
action approx
action union
action find_reverse_tuple_counts
relation depicts
type part
type work of art
action find_reverse_tuple_counts
relation depicts
type part
type heraldic symbol
action count
action filter_multi_types
action find_reverse
entity sail
relation depicts
type work of art
type heraldic symbol
[[{'concept': 'work of art'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'part'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?h ) ?b WHERE { { ?x property:depicts ?b . ?b rdf:type ontology:part . ?x rdf:type ontology:work_of_art } UNION { ?x property:depicts ?b . ?b rdf:type ontology:part . ?x rdf:type ontology:heraldic_symbol } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?p ) AS ?c ) WHERE { ?p property:depicts resource:sail . { { ?p rdf:type ontology:work_of_art } UNION { ?p rdf:type ontology:heraldic_symbol } } } } . FILTER ( ?h = ?c ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q201851
P180
Q15989253 Q18783400 Q3516658
USER
How many parts are depicted in approximately the same number of genres of sculpture or heraldic symbols as spine ?
(c(Q18783400)|c(Q3516658),P180,c(Q15989253))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q3516658
action count
action filter_multi_types
action find_reverse
entity Q201851
relation P180
type Q18783400
type Q3516658
[[{'concept': 'Q18783400'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q15989253'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) ?r WHERE { VALUES ( ?p ) { ( ontology:Q3516658 ) ( ontology:Q18783400 ) } . ?y rdf:type ?p } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { ?e property:P180 resource:Q201851 . { { ?e rdf:type ontology:Q18783400 } UNION { ?e rdf:type ontology:Q3516658 } } } } . FILTER ( ?v = ?o ) }
spine
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type part
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type part
type heraldic symbol
action count
action filter_multi_types
action find_reverse
entity spine
relation depicts
type genre of sculpture
type heraldic symbol
[[{'concept': 'genre of sculpture'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'part'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) ?r WHERE { VALUES ( ?p ) { ( ontology:heraldic_symbol ) ( ontology:genre_of_sculpture ) } . ?y rdf:type ?p } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { ?e property:depicts resource:spine . { { ?e rdf:type ontology:genre_of_sculpture } UNION { ?e rdf:type ontology:heraldic_symbol } } } } . FILTER ( ?v = ?o ) }
[]
part genre of sculpture heraldic symbol
SYSTEM
30
Q129757 Q908430 Q168002 Q392573 Q852590 Q37017 Q172563 Q201851 Q25999 Q209760 Q15807 Q221712 Q276572 Q910873 Q18646082 Q301897 Q251238 Q1510738 Q331357 Q2192288 Q204948 Q42586 Q901207 Q217605 Q492663 Q942890 Q712378 Q4814120 Q305026 Q668732
(c(Q18783400)|c(Q3516658),P180,c(Q15989253))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q3516658
action count
action filter_multi_types
action find_reverse
entity Q201851
relation P180
type Q18783400
type Q3516658
[ANSWER]
[[{'concept': 'Q18783400'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q15989253'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) ?r WHERE { VALUES ( ?p ) { ( ontology:Q3516658 ) ( ontology:Q18783400 ) } . ?y rdf:type ?p } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { ?e property:P180 resource:Q201851 . { { ?e rdf:type ontology:Q18783400 } UNION { ?e rdf:type ontology:Q3516658 } } } } . FILTER ( ?v = ?o ) }
thigh crown ankle Organ console spire face umbilical cord spine sail rudder foot sound hole Insect wing helmet thought bubble bow compartment organ pipe escutcheon vulva bow elbow musical keyboard claw Jesus and the woman taken in adultery rigging organ prow bicycle pedal crest
30
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type part
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type part
type heraldic symbol
action count
action filter_multi_types
action find_reverse
entity spine
relation depicts
type genre of sculpture
type heraldic symbol
[[{'concept': 'genre of sculpture'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'part'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?y ) AS ?v ) ?r WHERE { VALUES ( ?p ) { ( ontology:heraldic_symbol ) ( ontology:genre_of_sculpture ) } . ?y rdf:type ?p } GROUP BY ?r } . { SELECT DISTINCT ( COUNT ( ?e ) AS ?o ) WHERE { ?e property:depicts resource:spine . { { ?e rdf:type ontology:genre_of_sculpture } UNION { ?e rdf:type ontology:heraldic_symbol } } } } . FILTER ( ?v = ?o ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q942890
P180
Q15989253 Q18783400 Q3516658
USER
And also tell me about rigging?
(c(Q18783400)|c(Q3516658),P180,c(Q15989253))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q3516658
action count
action filter_multi_types
action find_reverse
entity Q942890
relation P180
type Q18783400
type Q3516658
[[{'concept': 'Q18783400'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q15989253'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?a ) WHERE { ?v rdf:type ?i . VALUES ( ?i ) { ( ontology:Q3516658 ) ( ontology:Q18783400 ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P180 resource:Q942890 . { { ?z rdf:type ontology:Q18783400 } UNION { ?z rdf:type ontology:Q3516658 } } } } . FILTER ( ?a = ?y ) }
rigging
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type part
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type part
type heraldic symbol
action count
action filter_multi_types
action find_reverse
entity rigging
relation depicts
type genre of sculpture
type heraldic symbol
[[{'concept': 'genre of sculpture'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'part'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?a ) WHERE { ?v rdf:type ?i . VALUES ( ?i ) { ( ontology:heraldic_symbol ) ( ontology:genre_of_sculpture ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:depicts resource:rigging . { { ?z rdf:type ontology:genre_of_sculpture } UNION { ?z rdf:type ontology:heraldic_symbol } } } } . FILTER ( ?a = ?y ) }
[]
part genre of sculpture heraldic symbol
SYSTEM
30
Q129757 Q908430 Q168002 Q392573 Q852590 Q37017 Q172563 Q201851 Q25999 Q209760 Q15807 Q221712 Q276572 Q910873 Q18646082 Q301897 Q251238 Q1510738 Q331357 Q2192288 Q204948 Q42586 Q901207 Q217605 Q492663 Q942890 Q712378 Q4814120 Q305026 Q668732
(c(Q18783400)|c(Q3516658),P180,c(Q15989253))
action count
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q18783400
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q3516658
action count
action filter_multi_types
action find_reverse
entity Q942890
relation P180
type Q18783400
type Q3516658
[ANSWER]
[[{'concept': 'Q18783400'}, {'concept': 'Q3516658'}], 'P180', {'concept': 'Q15989253'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?a ) WHERE { ?v rdf:type ?i . VALUES ( ?i ) { ( ontology:Q3516658 ) ( ontology:Q18783400 ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:P180 resource:Q942890 . { { ?z rdf:type ontology:Q18783400 } UNION { ?z rdf:type ontology:Q3516658 } } } } . FILTER ( ?a = ?y ) }
thigh crown ankle Organ console spire face umbilical cord spine sail rudder foot sound hole Insect wing helmet thought bubble bow compartment organ pipe escutcheon vulva bow elbow musical keyboard claw Jesus and the woman taken in adultery rigging organ prow bicycle pedal crest
30
action count
action approx
action union
action find_reverse_tuple_counts
relation depicts
type part
type genre of sculpture
action find_reverse_tuple_counts
relation depicts
type part
type heraldic symbol
action count
action filter_multi_types
action find_reverse
entity rigging
relation depicts
type genre of sculpture
type heraldic symbol
[[{'concept': 'genre of sculpture'}, {'concept': 'heraldic symbol'}], 'depicts', {'concept': 'part'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?l ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?v ) AS ?a ) WHERE { ?v rdf:type ?i . VALUES ( ?i ) { ( ontology:heraldic_symbol ) ( ontology:genre_of_sculpture ) } } GROUP BY ?g } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { ?z property:depicts resource:rigging . { { ?z rdf:type ontology:genre_of_sculpture } UNION { ?z rdf:type ontology:heraldic_symbol } } } } . FILTER ( ?a = ?y ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q712378
P361
Q223557
USER
Which physical object is organ a part of ?
(Q712378,P361,c(Q223557))
action filter_type
action find
entity Q712378
relation P361
type Q223557
['Q712378', 'P361', {'concept': 'Q223557'}]
SELECT DISTINCT ?n WHERE { resource:Q712378 property:P361 ?n . ?n rdf:type ontology:Q223557 }
organ
action filter_type
action find
entity organ
relation part of
type physical object
['organ', 'part of', {'concept': 'physical object'}]
SELECT DISTINCT ?n WHERE { resource:organ property:part_of ?n . ?n rdf:type ontology:physical_object }
[]
physical object
Q7239
SYSTEM
organism
Q7239
(Q712378,P361,c(Q223557))
action filter_type
action find
entity Q712378
relation P361
type Q223557
The [ANSWER] is organ a part of
['Q712378', 'P361', {'concept': 'Q223557'}]
SELECT DISTINCT ?n WHERE { resource:Q712378 property:P361 ?n . ?n rdf:type ontology:Q223557 }
organism
The organism is organ a part of
organism
action filter_type
action find
entity organ
relation part of
type physical object
['organ', 'part of', {'concept': 'physical object'}]
SELECT DISTINCT ?n WHERE { resource:organ property:part_of ?n . ?n rdf:type ontology:physical_object }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q17781690
Q223557
USER
And also tell me about anatomical region?
(Q17781690,P361,c(Q223557))
action filter_type
action find
entity Q17781690
relation P361
type Q223557
['Q17781690', 'P361', {'concept': 'Q223557'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q223557 . resource:Q17781690 property:P361 ?y }
anatomical region
action filter_type
action find
entity anatomical region
relation part of
type physical object
['anatomical region', 'part of', {'concept': 'physical object'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:physical_object . resource:anatomical_region property:part_of ?y }
[]
physical object
Q170494
SYSTEM
body
Q170494
(Q17781690,P361,c(Q223557))
action filter_type
action find
entity Q17781690
relation P361
type Q223557
[ANSWER]
['Q17781690', 'P361', {'concept': 'Q223557'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q223557 . resource:Q17781690 property:P361 ?y }
body
body
action filter_type
action find
entity anatomical region
relation part of
type physical object
['anatomical region', 'part of', {'concept': 'physical object'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:physical_object . resource:anatomical_region property:part_of ?y }
[]