Simple Question (Direct)
Simple Question
Q21632014
P702
Q863908
USER
Which gene encodes 7-carboxy-7-deazaguanine synthase    HP0934 ?
(Q21632014,P702,c(Q863908))
action filter_type
action find
entity Q21632014
relation P702
type Q863908
['Q21632014', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?s WHERE { resource:Q21632014 property:P702 ?s . ?s rdf:type ontology:Q863908 }
7-carboxy-7-deazaguanine synthase    HP0934
action filter_type
action find
entity 7-carboxy-7-deazaguanine synthase    HP0934
relation encoded by
type nucleic acid sequence
['7-carboxy-7-deazaguanine synthase    HP0934', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?s WHERE { resource:7-carboxy-7-deazaguanine_synthase____HP0934 property:encoded_by ?s . ?s rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q21628578
SYSTEM
7-carboxy-7-deazaguanine synthase    HP0934
Q21628578
(Q21632014,P702,c(Q863908))
action filter_type
action find
entity Q21632014
relation P702
type Q863908
7-carboxy-7-deazaguanine synthase HP0934 encodes 7-carboxy-7-deazaguanine synthase HP0934
['Q21632014', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?s WHERE { resource:Q21632014 property:P702 ?s . ?s rdf:type ontology:Q863908 }
7-carboxy-7-deazaguanine synthase    HP0934
7-carboxy-7-deazaguanine synthase HP0934 encodes 7-carboxy-7-deazaguanine synthase HP0934
7-carboxy-7-deazaguanine synthase    HP0934
action filter_type
action find
entity 7-carboxy-7-deazaguanine synthase    HP0934
relation encoded by
type nucleic acid sequence
['7-carboxy-7-deazaguanine synthase    HP0934', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?s WHERE { resource:7-carboxy-7-deazaguanine_synthase____HP0934 property:encoded_by ?s . ?s rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21632014
P688
Q863908
USER
Which nucleic acid sequence encodes 7-carboxy-7-deazaguanine synthase    HP0934 ?
(c(Q863908),P688,Q21632014)
action filter_type
action find_reverse
entity Q21632014
relation P688
type Q863908
[{'concept': 'Q863908'}, 'P688', 'Q21632014']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q863908 . ?k property:P688 resource:Q21632014 }
7-carboxy-7-deazaguanine synthase    HP0934
action filter_type
action find_reverse
entity 7-carboxy-7-deazaguanine synthase    HP0934
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', '7-carboxy-7-deazaguanine synthase    HP0934']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:nucleic_acid_sequence . ?k property:encodes resource:7-carboxy-7-deazaguanine_synthase____HP0934 }
[]
nucleic acid sequence
Q21628578
SYSTEM
7-carboxy-7-deazaguanine synthase    HP0934
Q21628578
(c(Q863908),P688,Q21632014)
action filter_type
action find_reverse
entity Q21632014
relation P688
type Q863908
7-carboxy-7-deazaguanine synthase HP0934 encodes 7-carboxy-7-deazaguanine synthase HP0934
[{'concept': 'Q863908'}, 'P688', 'Q21632014']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q863908 . ?k property:P688 resource:Q21632014 }
7-carboxy-7-deazaguanine synthase    HP0934
7-carboxy-7-deazaguanine synthase HP0934 encodes 7-carboxy-7-deazaguanine synthase HP0934
7-carboxy-7-deazaguanine synthase    HP0934
action filter_type
action find_reverse
entity 7-carboxy-7-deazaguanine synthase    HP0934
relation encodes
type nucleic acid sequence
[{'concept': 'nucleic acid sequence'}, 'encodes', '7-carboxy-7-deazaguanine synthase    HP0934']
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:nucleic_acid_sequence . ?k property:encodes resource:7-carboxy-7-deazaguanine_synthase____HP0934 }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21632014
P680
Q44424
USER
What represents the molecular function of 7-carboxy-7-deazaguanine synthase    HP0934 ?
(Q21632014,P680,c(Q44424))
action filter_type
action find
entity Q21632014
relation P680
type Q44424
['Q21632014', 'P680', {'concept': 'Q44424'}]
SELECT DISTINCT ?j WHERE { resource:Q21632014 property:P680 ?j . ?j rdf:type ontology:Q44424 }
7-carboxy-7-deazaguanine synthase    HP0934
action filter_type
action find
entity 7-carboxy-7-deazaguanine synthase    HP0934
relation molecular function
type chemical bond
['7-carboxy-7-deazaguanine synthase    HP0934', 'molecular function', {'concept': 'chemical bond'}]
SELECT DISTINCT ?j WHERE { resource:7-carboxy-7-deazaguanine_synthase____HP0934 property:molecular_function ?j . ?j rdf:type ontology:chemical_bond }
[]
chemical bond
Q14860850 Q13667380
SYSTEM
magnesium ion binding, metal ion binding
Q14860850 Q13667380
(Q21632014,P680,c(Q44424))
action filter_type
action find
entity Q21632014
relation P680
type Q44424
[ANSWERS] represent the molecular function of 7-carboxy-7-deazaguanine synthase HP0934
['Q21632014', 'P680', {'concept': 'Q44424'}]
SELECT DISTINCT ?j WHERE { resource:Q21632014 property:P680 ?j . ?j rdf:type ontology:Q44424 }
magnesium ion binding metal ion binding
Magnesium ion binding and metal ion binding represent the molecular function of 7-carboxy-7-deazaguanine synthase HP0934
magnesium ion binding metal ion binding
action filter_type
action find
entity 7-carboxy-7-deazaguanine synthase    HP0934
relation molecular function
type chemical bond
['7-carboxy-7-deazaguanine synthase    HP0934', 'molecular function', {'concept': 'chemical bond'}]
SELECT DISTINCT ?j WHERE { resource:7-carboxy-7-deazaguanine_synthase____HP0934 property:molecular_function ?j . ?j rdf:type ontology:chemical_bond }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q21628578
P703
Q16521
USER
Which taxon is 7-carboxy-7-deazaguanine synthase    HP0934 found in ?
(Q21628578,P703,c(Q16521))
action filter_type
action find
entity Q21628578
relation P703
type Q16521
['Q21628578', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q16521 . resource:Q21628578 property:P703 ?s }
7-carboxy-7-deazaguanine synthase    HP0934
action filter_type
action find
entity 7-carboxy-7-deazaguanine synthase    HP0934
relation found in taxon
type taxon
['7-carboxy-7-deazaguanine synthase    HP0934', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:taxon . resource:7-carboxy-7-deazaguanine_synthase____HP0934 property:found_in_taxon ?s }
[]
taxon
Q21065231
SYSTEM
Helicobacter pylori 26695
Q21065231
(Q21628578,P703,c(Q16521))
action filter_type
action find
entity Q21628578
relation P703
type Q16521
Which taxon is 7-carboxy-7-deazaguanine synthase HP0934 found in
['Q21628578', 'P703', {'concept': 'Q16521'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q16521 . resource:Q21628578 property:P703 ?s }
Helicobacter pylori 26695
Which taxon is 7-carboxy-7-deazaguanine synthase HP0934 found in
Helicobacter pylori 26695
action filter_type
action find
entity 7-carboxy-7-deazaguanine synthase    HP0934
relation found in taxon
type taxon
['7-carboxy-7-deazaguanine synthase    HP0934', 'found in taxon', {'concept': 'taxon'}]
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:taxon . resource:7-carboxy-7-deazaguanine_synthase____HP0934 property:found_in_taxon ?s }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q185271
P180
Q16521 Q14660
USER
How many flags express lesser number of taxons than Flag of Papua New Guinea ?
(c(Q14660),P180,c(Q16521))
action count
action less
action find_tuple_counts
relation P180
type Q14660
type Q16521
action count
action filter_type
action find
entity Q185271
relation P180
type Q16521
[{'concept': 'Q14660'}, 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?e ) WHERE { ?n property:P180 ?u . ?n rdf:type ontology:Q14660 . ?u rdf:type ontology:Q16521 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { ?o rdf:type ontology:Q16521 . resource:Q185271 property:P180 ?o } } . FILTER ( ?e < ?q ) }
Flag of Papua New Guinea
action count
action less
action find_tuple_counts
relation depicts
type flag
type taxon
action count
action filter_type
action find
entity Flag of Papua New Guinea
relation depicts
type taxon
[{'concept': 'flag'}, 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?e ) WHERE { ?n property:depicts ?u . ?n rdf:type ontology:flag . ?u rdf:type ontology:taxon } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { ?o rdf:type ontology:taxon . resource:Flag_of_Papua_New_Guinea property:depicts ?o } } . FILTER ( ?e < ?q ) }
[]
taxon flag
SYSTEM
76
Q270377 Q159872 Q83392 Q1165949 Q235829 Q168935 Q128480 Q42537 Q1426561 Q1074327 Q135034 Q134521 Q484249 Q127179 Q601976 Q252995 Q207518 Q156564 Q163832 Q160260 Q169192 Q124020 Q60149 Q162999 Q48409 Q130458 Q336328 Q105643 Q392167 Q24577771 Q81952 Q104351 Q124329 Q43175 Q127296 Q912854 Q162789 Q79874 Q512175 Q328895 Q130774 Q82194 Q188477 Q41673 Q134874 Q1426630 Q2062018 Q34599 Q673117 Q82236 Q81526 Q167119 Q128347 Q4633 Q83278 Q188609 Q162033 Q1122078 Q102977 Q520966 Q131147 Q202189 Q604735 Q301628 Q637134 Q79198 Q429900 Q165641 Q80110 Q47214 Q632491 Q165230 Q1064042 Q81676 Q182514 Q1426379
(c(Q14660),P180,c(Q16521))
action count
action less
action find_tuple_counts
relation P180
type Q14660
type Q16521
action count
action filter_type
action find
entity Q185271
relation P180
type Q16521
[ANSWER]
[{'concept': 'Q14660'}, 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?e ) WHERE { ?n property:P180 ?u . ?n rdf:type ontology:Q14660 . ?u rdf:type ontology:Q16521 } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { ?o rdf:type ontology:Q16521 . resource:Q185271 property:P180 ?o } } . FILTER ( ?e < ?q ) }
Flag of Tokelau Flag of Cameroon Flag of Algeria Flag of Ontario flag of Guam Flag of Malaysia flag of Israel flag of the United States of America Flag of the Northwest Territories flag of Tasmania Flag of Antigua and Barbuda Flag of Bhutan Flag of Mozambique flag of Bangladesh Flag of Nova Scotia flag of the Australian Capital Territory flag of Northern Cyprus flag of Alaska Flag of Serbia flag of New Zealand flag of Belize flag of Switzerland Flag of Denmark Flag of Cambodia flag of Albania flag of Egypt Flag of Christmas Island Flag of Tuvalu flag of Quebec flag of the People's Republic of Benin flag of Turkey Flag of Barbados Flag of Angola Flag of Japan Flag of South Korea flag of South Australia Flag of Tunisia flag of Afghanistan Flag of Manitoba Flag of the Cocos (Keeling) Islands flag of Argentina flag of Brazil flag of Samoa flag of India Flag of Bolivia Flag of Nunavut flag of Yukon Flag of Libya Flag of Indiana Flag of Azerbaijan flag of Andorra Flag of the Republic of Macedonia Flag of Pakistan Flag of Cyprus flag of the United Kingdom Flag of Palau flag of Bosnia and Herzegovina Flag of Alberta Flag of Mauritania Flag of Rhode Island Flag of the People's Republic of China Flag of Niue Flag of Sint Maarten Flag of Mississippi flag of British Columbia Flag of Vatican City Flag of Saba flag of Kyrgyzstan flag of Canada flag of the Russian Soviet Federative Socialist Republic Flag of Arizona flag of the Soviet Union flag of New South Wales flag of Australia Flag of Fiji Flag of Amsterdam
76
action count
action less
action find_tuple_counts
relation depicts
type flag
type taxon
action count
action filter_type
action find
entity Flag of Papua New Guinea
relation depicts
type taxon
[{'concept': 'flag'}, 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ( COUNT ( ?n ) AS ?h ) WHERE { { SELECT DISTINCT ?n ( COUNT ( ?u ) AS ?e ) WHERE { ?n property:depicts ?u . ?n rdf:type ontology:flag . ?u rdf:type ontology:taxon } GROUP BY ?n } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?q ) WHERE { ?o rdf:type ontology:taxon . resource:Flag_of_Papua_New_Guinea property:depicts ?o } } . FILTER ( ?e < ?q ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q266618
P180
Q16521 Q14660
USER
And also tell me about Flag of Prince Edward Island?
(c(Q14660),P180,c(Q16521))
action count
action less
action find_tuple_counts
relation P180
type Q14660
type Q16521
action count
action filter_type
action find
entity Q266618
relation P180
type Q16521
[{'concept': 'Q14660'}, 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { resource:Q266618 property:P180 ?n . ?n rdf:type ontology:Q16521 } } . FILTER ( ?w < ?o ) . { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?w ) WHERE { ?z property:P180 ?p . ?z rdf:type ontology:Q14660 . ?p rdf:type ontology:Q16521 } GROUP BY ?z } }
Flag of Prince Edward Island
action count
action less
action find_tuple_counts
relation depicts
type flag
type taxon
action count
action filter_type
action find
entity Flag of Prince Edward Island
relation depicts
type taxon
[{'concept': 'flag'}, 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { resource:Flag_of_Prince_Edward_Island property:depicts ?n . ?n rdf:type ontology:taxon } } . FILTER ( ?w < ?o ) . { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?w ) WHERE { ?z property:depicts ?p . ?z rdf:type ontology:flag . ?p rdf:type ontology:taxon } GROUP BY ?z } }
[]
taxon flag
SYSTEM
89
Q270377 Q159872 Q83392 Q1165949 Q235829 Q168935 Q128480 Q42537 Q1426561 Q185285 Q1091279 Q1074327 Q135034 Q134521 Q484249 Q127179 Q601976 Q252995 Q207518 Q599323 Q330517 Q156564 Q163832 Q160260 Q169192 Q124020 Q693558 Q60149 Q162999 Q48409 Q103037 Q36005 Q130458 Q336328 Q105643 Q392167 Q24577771 Q81952 Q104351 Q124329 Q43175 Q127296 Q912854 Q162789 Q79874 Q512175 Q328895 Q130774 Q82194 Q188477 Q41673 Q134874 Q1426630 Q2062018 Q34599 Q19427 Q673117 Q82236 Q81526 Q167119 Q128347 Q4633 Q83278 Q188609 Q19373 Q1418784 Q162033 Q1122078 Q102977 Q520966 Q131147 Q202189 Q185271 Q284396 Q604735 Q301628 Q637134 Q79198 Q170814 Q429900 Q165641 Q80110 Q47214 Q632491 Q165230 Q1064042 Q81676 Q182514 Q1426379
(c(Q14660),P180,c(Q16521))
action count
action less
action find_tuple_counts
relation P180
type Q14660
type Q16521
action count
action filter_type
action find
entity Q266618
relation P180
type Q16521
[ANSWER]
[{'concept': 'Q14660'}, 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { resource:Q266618 property:P180 ?n . ?n rdf:type ontology:Q16521 } } . FILTER ( ?w < ?o ) . { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?w ) WHERE { ?z property:P180 ?p . ?z rdf:type ontology:Q14660 . ?p rdf:type ontology:Q16521 } GROUP BY ?z } }
Flag of Tokelau Flag of Cameroon Flag of Algeria Flag of Ontario flag of Guam Flag of Malaysia flag of Israel flag of the United States of America Flag of the Northwest Territories Flag of Vanuatu flag of Western Australia flag of Tasmania Flag of Antigua and Barbuda Flag of Bhutan Flag of Mozambique flag of Bangladesh Flag of Nova Scotia flag of the Australian Capital Territory flag of Northern Cyprus flag of the Northern Territory Flag of California flag of Alaska Flag of Serbia flag of New Zealand flag of Belize flag of Switzerland flag of Saskatchewan Flag of Denmark Flag of Cambodia flag of Albania Flag of Uganda flag of Lebanon flag of Egypt Flag of Christmas Island Flag of Tuvalu flag of Quebec flag of the People's Republic of Benin flag of Turkey Flag of Barbados Flag of Angola Flag of Japan Flag of South Korea flag of South Australia Flag of Tunisia flag of Afghanistan Flag of Manitoba Flag of the Cocos (Keeling) Islands flag of Argentina flag of Brazil flag of Samoa flag of India Flag of Bolivia Flag of Nunavut flag of Yukon Flag of Libya flag of Oregon Flag of Indiana Flag of Azerbaijan flag of Andorra Flag of the Republic of Macedonia Flag of Pakistan Flag of Cyprus flag of the United Kingdom Flag of Palau Flag of South Carolina Flag of New Brunswick flag of Bosnia and Herzegovina Flag of Alberta Flag of Mauritania Flag of Rhode Island Flag of the People's Republic of China Flag of Niue Flag of Papua New Guinea Flag of Kansas Flag of Sint Maarten Flag of Mississippi flag of British Columbia Flag of Vatican City Flag of Zambia Flag of Saba flag of Kyrgyzstan flag of Canada flag of the Russian Soviet Federative Socialist Republic Flag of Arizona flag of the Soviet Union flag of New South Wales flag of Australia Flag of Fiji Flag of Amsterdam
89
action count
action less
action find_tuple_counts
relation depicts
type flag
type taxon
action count
action filter_type
action find
entity Flag of Prince Edward Island
relation depicts
type taxon
[{'concept': 'flag'}, 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?k ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?o ) WHERE { resource:Flag_of_Prince_Edward_Island property:depicts ?n . ?n rdf:type ontology:taxon } } . FILTER ( ?w < ?o ) . { SELECT DISTINCT ?z ( COUNT ( ?p ) AS ?w ) WHERE { ?z property:depicts ?p . ?z rdf:type ontology:flag . ?p rdf:type ontology:taxon } GROUP BY ?z } }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q19326431
Q16521
USER
And what about Two Children with a Cat?
(Q19326431,P180,c(Q16521))
action count
action filter_type
action find
entity Q19326431
relation P180
type Q16521
['Q19326431', 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { resource:Q19326431 property:P180 ?o . ?o rdf:type ontology:Q16521 }
Two Children with a Cat
action count
action filter_type
action find
entity Two Children with a Cat
relation depicts
type taxon
['Two Children with a Cat', 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { resource:Two_Children_with_a_Cat property:depicts ?o . ?o rdf:type ontology:taxon }
[]
taxon
SYSTEM
1
(Q19326431,P180,c(Q16521))
action count
action filter_type
action find
entity Q19326431
relation P180
type Q16521
[ANSWER]
['Q19326431', 'P180', {'concept': 'Q16521'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { resource:Q19326431 property:P180 ?o . ?o rdf:type ontology:Q16521 }
1
action count
action filter_type
action find
entity Two Children with a Cat
relation depicts
type taxon
['Two Children with a Cat', 'depicts', {'concept': 'taxon'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?t ) WHERE { resource:Two_Children_with_a_Cat property:depicts ?o . ?o rdf:type ontology:taxon }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q19326431
Q48277
USER
And which gender?
(Q19326431,P180,c(Q48277))
action filter_type
action find
entity Q19326431
relation P180
type Q48277
['Q19326431', 'P180', {'concept': 'Q48277'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q48277 . resource:Q19326431 property:P180 ?r }
Two Children with a Cat
action filter_type
action find
entity Two Children with a Cat
relation depicts
type gender
['Two Children with a Cat', 'depicts', {'concept': 'gender'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:gender . resource:Two_Children_with_a_Cat property:depicts ?r }
[]
gender
Q3010
SYSTEM
boy
Q3010
(Q19326431,P180,c(Q48277))
action filter_type
action find
entity Q19326431
relation P180
type Q48277
[ANSWER]
['Q19326431', 'P180', {'concept': 'Q48277'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q48277 . resource:Q19326431 property:P180 ?r }
boy
boy
action filter_type
action find
entity Two Children with a Cat
relation depicts
type gender
['Two Children with a Cat', 'depicts', {'concept': 'gender'}]
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:gender . resource:Two_Children_with_a_Cat property:depicts ?r }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P180
Q48277 Q11060274 Q17335294
USER
Which genders are expressed in around the same number of prints and coats of arms as that gender ?
(c(Q11060274)|c(Q17335294),P180,c(Q48277))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q48277
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q48277
type Q17335294
action count
action filter_multi_types
action find_reverse
entity Q3010
relation P180
type Q11060274
type Q17335294
[[{'concept': 'Q11060274'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q48277'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?j ) WHERE { { ?r property:P180 ?b . ?r rdf:type ontology:Q17335294 . ?b rdf:type ontology:Q48277 } UNION { ?r property:P180 ?b . ?r rdf:type ontology:Q11060274 . ?b rdf:type ontology:Q48277 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { ?t property:P180 resource:Q3010 . { { ?t rdf:type ontology:Q11060274 } UNION { ?t rdf:type ontology:Q17335294 } } } } . FILTER ( ?j = ?i ) }
action approx
action union
action find_reverse_tuple_counts
relation depicts
type gender
type print
action find_reverse_tuple_counts
relation depicts
type gender
type flag or coat of arms
action count
action filter_multi_types
action find_reverse
entity boy
relation depicts
type print
type flag or coat of arms
[[{'concept': 'print'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'gender'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?j ) WHERE { { ?r property:depicts ?b . ?r rdf:type ontology:flag_or_coat_of_arms . ?b rdf:type ontology:gender } UNION { ?r property:depicts ?b . ?r rdf:type ontology:print . ?b rdf:type ontology:gender } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { ?t property:depicts resource:boy . { { ?t rdf:type ontology:print } UNION { ?t rdf:type ontology:flag_or_coat_of_arms } } } } . FILTER ( ?j = ?i ) }
[]
gender print flag or coat of arms
Q3010
SYSTEM
boy
Q3010
(c(Q11060274)|c(Q17335294),P180,c(Q48277))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q48277
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q48277
type Q17335294
action count
action filter_multi_types
action find_reverse
entity Q3010
relation P180
type Q11060274
type Q17335294
[ANSWER] is expressed in around the same number of prints and coats of arms as that gender
[[{'concept': 'Q11060274'}, {'concept': 'Q17335294'}], 'P180', {'concept': 'Q48277'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?j ) WHERE { { ?r property:P180 ?b . ?r rdf:type ontology:Q17335294 . ?b rdf:type ontology:Q48277 } UNION { ?r property:P180 ?b . ?r rdf:type ontology:Q11060274 . ?b rdf:type ontology:Q48277 } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { ?t property:P180 resource:Q3010 . { { ?t rdf:type ontology:Q11060274 } UNION { ?t rdf:type ontology:Q17335294 } } } } . FILTER ( ?j = ?i ) }
boy
Boy is expressed in around the same number of prints and coats of arms as that gender
boy
action approx
action union
action find_reverse_tuple_counts
relation depicts
type gender
type print
action find_reverse_tuple_counts
relation depicts
type gender
type flag or coat of arms
action count
action filter_multi_types
action find_reverse
entity boy
relation depicts
type print
type flag or coat of arms
[[{'concept': 'print'}, {'concept': 'flag or coat of arms'}], 'depicts', {'concept': 'gender'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?j ) WHERE { { ?r property:depicts ?b . ?r rdf:type ontology:flag_or_coat_of_arms . ?b rdf:type ontology:gender } UNION { ?r property:depicts ?b . ?r rdf:type ontology:print . ?b rdf:type ontology:gender } } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { ?t property:depicts resource:boy . { { ?t rdf:type ontology:print } UNION { ?t rdf:type ontology:flag_or_coat_of_arms } } } } . FILTER ( ?j = ?i ) }
[]