Simple Question (Direct)
Simple Question
Q27740324
P703
Q631147
USER
Where is sugar ABC transporter ATP-binding protein    ML1424 found ?
(Q27740324,P703,c(Q631147))
action filter_type
action find
entity Q27740324
relation P703
type Q631147
['Q27740324', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?t WHERE { resource:Q27740324 property:P703 ?t . ?t rdf:type ontology:Q631147 }
sugar ABC transporter ATP-binding protein    ML1424
action filter_type
action find
entity sugar ABC transporter ATP-binding protein    ML1424
relation found in taxon
type infraspecific name
['sugar ABC transporter ATP-binding protein    ML1424', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?t WHERE { resource:sugar_ABC_transporter_ATP-binding_protein____ML1424 property:found_in_taxon ?t . ?t rdf:type ontology:infraspecific_name }
[]
infraspecific name
Q21102985
SYSTEM
Mycobacterium leprae TN
Q21102985
(Q27740324,P703,c(Q631147))
action filter_type
action find
entity Q27740324
relation P703
type Q631147
Sugar ABC transporter ATP-binding protein ML 1424 is found in [ANSWER]
['Q27740324', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?t WHERE { resource:Q27740324 property:P703 ?t . ?t rdf:type ontology:Q631147 }
Mycobacterium leprae TN
Sugar ABC transporter ATP-binding protein ML 1424 is found in Mycobacterium leprae TN
Mycobacterium leprae TN
action filter_type
action find
entity sugar ABC transporter ATP-binding protein    ML1424
relation found in taxon
type infraspecific name
['sugar ABC transporter ATP-binding protein    ML1424', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?t WHERE { resource:sugar_ABC_transporter_ATP-binding_protein____ML1424 property:found_in_taxon ?t . ?t rdf:type ontology:infraspecific_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q27740324
P702
Q863908
USER
What is the gene that encodes that nutrient ?
(Q21102985,P702,c(Q863908))
action filter_type
action find
entity Q27740324
relation P702
type Q863908
['Q21102985', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?r WHERE { resource:Q27740324 property:P702 ?r . ?r rdf:type ontology:Q863908 }
sugar ABC transporter ATP-binding protein    ML1424
action filter_type
action find
entity sugar ABC transporter ATP-binding protein    ML1424
relation encoded by
type nucleic acid sequence
['Mycobacterium leprae TN', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?r WHERE { resource:sugar_ABC_transporter_ATP-binding_protein____ML1424 property:encoded_by ?r . ?r rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q23263414
SYSTEM
sugar ABC transporter ATP-binding protein    ML1424
Q23263414
(Q21102985,P702,c(Q863908))
action filter_type
action find
entity Q27740324
relation P702
type Q863908
The gene that encodes that nutrient is a sugar ABC transporter ATP-binding protein ML1424
['Q21102985', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?r WHERE { resource:Q27740324 property:P702 ?r . ?r rdf:type ontology:Q863908 }
sugar ABC transporter ATP-binding protein    ML1424
The gene that encodes that nutrient is a sugar ABC transporter ATP-binding protein ML1424
sugar ABC transporter ATP-binding protein    ML1424
action filter_type
action find
entity sugar ABC transporter ATP-binding protein    ML1424
relation encoded by
type nucleic acid sequence
['Mycobacterium leprae TN', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?r WHERE { resource:sugar_ABC_transporter_ATP-binding_protein____ML1424 property:encoded_by ?r . ?r rdf:type ontology:nucleic_acid_sequence }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q23263414 Q21102985
P703
Q631147
USER
Is Mycobacterium leprae TN that nucleic acid sequence found ?
(Q23263414,P703,Q21102985)
action is_in
entity Q21102985
action find
entity Q23263414
relation P703
['Q23263414', 'P703', 'Q21102985']
ASK WHERE { resource:Q23263414 property:P703 resource:Q21102985 }
sugar ABC transporter ATP-binding protein    ML1424 Mycobacterium leprae TN
action is_in
entity Mycobacterium leprae TN
action find
entity sugar ABC transporter ATP-binding protein    ML1424
relation found in taxon
['sugar ABC transporter ATP-binding protein    ML1424', 'found in taxon', 'Mycobacterium leprae TN']
ASK WHERE { resource:sugar_ABC_transporter_ATP-binding_protein____ML1424 property:found_in_taxon resource:Mycobacterium_leprae_TN }
[]
infraspecific name
SYSTEM
YES
(Q23263414,P703,Q21102985)
action is_in
entity Q21102985
action find
entity Q23263414
relation P703
[ANSWER]
['Q23263414', 'P703', 'Q21102985']
ASK WHERE { resource:Q23263414 property:P703 resource:Q21102985 }
Yes
action is_in
entity Mycobacterium leprae TN
action find
entity sugar ABC transporter ATP-binding protein    ML1424
relation found in taxon
['sugar ABC transporter ATP-binding protein    ML1424', 'found in taxon', 'Mycobacterium leprae TN']
ASK WHERE { resource:sugar_ABC_transporter_ATP-binding_protein____ML1424 property:found_in_taxon resource:Mycobacterium_leprae_TN }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P129
Q79529 Q181394 Q181394
USER
Which nutrients communicates with approximately 43 chemical substances and nutrients ?
(c(Q181394),P129,c(Q79529)|c(Q181394))
action approx
action union
action find_tuple_counts
relation P129
type Q181394
type Q79529
action find_tuple_counts
relation P129
type Q181394
type Q181394
value 43
[{'concept': 'Q181394'}, 'P129', [{'concept': 'Q79529'}, {'concept': 'Q181394'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) ?h WHERE { { ?h rdf:type ontology:Q181394 . ?d rdf:type ontology:Q181394 . ?h property:P129 ?d } UNION { ?h property:P129 ?d . ?h rdf:type ontology:Q181394 . ?d rdf:type ontology:Q79529 } } GROUP BY ?h } . FILTER ( ?y = 43 ) }
action approx
action union
action find_tuple_counts
relation physically interacts with
type nutrient
type chemical substance
action find_tuple_counts
relation physically interacts with
type nutrient
type nutrient
value 43
[{'concept': 'nutrient'}, 'physically interacts with', [{'concept': 'chemical substance'}, {'concept': 'nutrient'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) ?h WHERE { { ?h rdf:type ontology:nutrient . ?d rdf:type ontology:nutrient . ?h property:physically_interacts_with ?d } UNION { ?h property:physically_interacts_with ?d . ?h rdf:type ontology:nutrient . ?d rdf:type ontology:chemical_substance } } GROUP BY ?h } . FILTER ( ?y = 43 ) }
[]
chemical substance nutrient nutrient
Q1949517 Q4639596 Q21108118
SYSTEM
5-hydroxytryptamine receptor 2A, 5-hydroxytryptamine receptor 2B, 5-hydroxytryptamine receptor 2C
Q4639596 Q21108118 Q21115043 Q1949517
(c(Q181394),P129,c(Q79529)|c(Q181394))
action approx
action union
action find_tuple_counts
relation P129
type Q181394
type Q79529
action find_tuple_counts
relation P129
type Q181394
type Q181394
value 43
[ANSWERS] communicate with approximately 43 chemical substances and nutrients
[{'concept': 'Q181394'}, 'P129', [{'concept': 'Q79529'}, {'concept': 'Q181394'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) ?h WHERE { { ?h rdf:type ontology:Q181394 . ?d rdf:type ontology:Q181394 . ?h property:P129 ?d } UNION { ?h property:P129 ?d . ?h rdf:type ontology:Q181394 . ?d rdf:type ontology:Q79529 } } GROUP BY ?h } . FILTER ( ?y = 43 ) }
5-hydroxytryptamine receptor 2B 5-hydroxytryptamine receptor 2C 5-hydroxytryptamine receptor 1A 5-hydroxytryptamine receptor 2A
5-hydroxytryptamine receptor 2A, 5-hydroxytryptamine receptor 2B and 5-hydroxytryptamine receptor 2C communicate with approximately 43 chemical substances and nutrients
5-hydroxytryptamine receptor 2A 5-hydroxytryptamine receptor 2B 5-hydroxytryptamine receptor 2C
action approx
action union
action find_tuple_counts
relation physically interacts with
type nutrient
type chemical substance
action find_tuple_counts
relation physically interacts with
type nutrient
type nutrient
value 43
[{'concept': 'nutrient'}, 'physically interacts with', [{'concept': 'chemical substance'}, {'concept': 'nutrient'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( COUNT ( ?d ) AS ?y ) ?h WHERE { { ?h rdf:type ontology:nutrient . ?d rdf:type ontology:nutrient . ?h property:physically_interacts_with ?d } UNION { ?h property:physically_interacts_with ?d . ?h rdf:type ontology:nutrient . ?d rdf:type ontology:chemical_substance } } GROUP BY ?h } . FILTER ( ?y = 43 ) }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q3942101 Q21108118
P138 P129
Q79529
USER
Which chemical substances do 5-hydroxytryptamine receptor 2C collaborate with or are ruarsite named after ?
OR((Q21108118,P129,c(Q79529)), (Q3942101,P138,c(Q79529)))
action filter_type
action union
action find
entity Q21108118
relation P129
action find
entity Q3942101
relation P138
type Q79529
{'OR': [['Q21108118', 'P129', {'concept': 'Q79529'}], ['Q3942101', 'P138', {'concept': 'Q79529'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q79529 . { { resource:Q3942101 property:P138 ?d } UNION { resource:Q21108118 property:P129 ?d } } }
ruarsite 5-hydroxytryptamine receptor 2C
action filter_type
action union
action find
entity 5-hydroxytryptamine receptor 2C
relation physically interacts with
action find
entity ruarsite
relation named after
type chemical substance
{'OR': [['5-hydroxytryptamine receptor 2C', 'physically interacts with', {'concept': 'chemical substance'}], ['ruarsite', 'named after', {'concept': 'chemical substance'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:chemical_substance . { { resource:ruarsite property:named_after ?d } UNION { resource:5-hydroxytryptamine_receptor_2C property:physically_interacts_with ?d } } }
[]
chemical substance
Q1086 Q419405 Q209241 Q871 Q5567525 Q7101741 Q7577785 Q8045923 Q7372445 Q7277958
SYSTEM
Some of them are ruthenium, TFMPP, brolamfetamine, arsenic, glemanserin, ORG-37684, spiramide, YM348, roxindole, RU 24969
Q4352011 Q5514387 Q419405 Q855545 Q7906743 Q253187 Q4836376 Q570757 Q44814 Q7940202 Q4734914 Q7101734 Q7577785 Q6822173 Q15124168 Q286112 Q6823517 Q3937260 Q5567525 Q167934 Q15410189 Q7277958 Q209251 Q4644282 Q44787 Q8042940 Q871 Q409439 Q8045923 Q44804 Q7388907 Q7101741 Q5010989 Q7388908 Q4836835 Q7277678 Q4639580 Q4652228 Q7372445 Q415997 Q209241 Q682 Q7388905 Q13415380 Q1086 Q7272557
OR((Q21108118,P129,c(Q79529)), (Q3942101,P138,c(Q79529)))
action filter_type
action union
action find
entity Q21108118
relation P129
action find
entity Q3942101
relation P138
type Q79529
[ANSWERS] 5-hydroxytryptamine receptor 2C collaborate with or are ruarsite named after
{'OR': [['Q21108118', 'P129', {'concept': 'Q79529'}], ['Q3942101', 'P138', {'concept': 'Q79529'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:Q79529 . { { resource:Q3942101 property:P138 ?d } UNION { resource:Q21108118 property:P129 ?d } } }
5-MeOT GR 127935 TFMPP idalopirdine VER-3323 quinpirole BRL-15572 5-MeO-DMT SDZ SER-082 volinanserin α-methyl-5-HT Org 12962 spiramide mesulergine MK-212 Meta-Chlorophenylpiperazine metergoline ritanserin glemanserin 5-hydroxytryptamine SB 243213 RU 24969 DOI 8-OH-DPAT SB 204741 xanomeline arsenic tryptamine YM348 RS-127445 SB 216641 ORG-37684 CGS-12066 SB 242084 BW723C86 RS-102221 5-CT AL-37350A roxindole Ketanserin brolamfetamine sulfur SB 206553 tiospirone ruthenium quipazine
Ruthenium, TFMPP, brolamfetamine, arsenic, glemanserin, ORG-37684, spiramide, YM348, roxindole and RU 24969 5-hydroxytryptamine receptor 2C collaborate with or are ruarsite named after
ruthenium TFMPP brolamfetamine arsenic glemanserin ORG-37684 spiramide YM348 roxindole RU 24969
action filter_type
action union
action find
entity 5-hydroxytryptamine receptor 2C
relation physically interacts with
action find
entity ruarsite
relation named after
type chemical substance
{'OR': [['5-hydroxytryptamine receptor 2C', 'physically interacts with', {'concept': 'chemical substance'}], ['ruarsite', 'named after', {'concept': 'chemical substance'}]]}
SELECT DISTINCT ?d WHERE { ?d rdf:type ontology:chemical_substance . { { resource:ruarsite property:named_after ?d } UNION { resource:5-hydroxytryptamine_receptor_2C property:physically_interacts_with ?d } } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q14820643 Q7577785
P680 P129
Q181394
USER
Which nutrients can interact with spiramide and have the molecular function signal transducer activity ?
AND((c(Q181394),P129,Q7577785), (c(Q181394),P680,Q14820643))
action filter_type
action intersection
action find_reverse
entity Q7577785
relation P129
action find_reverse
entity Q14820643
relation P680
type Q181394
{'AND': [[{'concept': 'Q181394'}, 'P129', 'Q7577785'], [{'concept': 'Q181394'}, 'P680', 'Q14820643']]}
SELECT DISTINCT ?s WHERE { ?s property:P129 resource:Q7577785 . ?s property:P680 resource:Q14820643 . ?s rdf:type ontology:Q181394 }
signal transducer activity spiramide
action filter_type
action intersection
action find_reverse
entity spiramide
relation physically interacts with
action find_reverse
entity signal transducer activity
relation molecular function
type nutrient
{'AND': [[{'concept': 'nutrient'}, 'physically interacts with', 'spiramide'], [{'concept': 'nutrient'}, 'molecular function', 'signal transducer activity']]}
SELECT DISTINCT ?s WHERE { ?s property:physically_interacts_with resource:spiramide . ?s property:molecular_function resource:signal_transducer_activity . ?s rdf:type ontology:nutrient }
[]
nutrient
Q4639596 Q21108118 Q1949517
SYSTEM
5-hydroxytryptamine receptor 2B, 5-hydroxytryptamine receptor 2C, 5-hydroxytryptamine receptor 2A
Q4639596 Q21108118 Q1949517
AND((c(Q181394),P129,Q7577785), (c(Q181394),P680,Q14820643))
action filter_type
action intersection
action find_reverse
entity Q7577785
relation P129
action find_reverse
entity Q14820643
relation P680
type Q181394
[ANSWERS] can interact with spiramide and have the molecular function signal transducer activity
{'AND': [[{'concept': 'Q181394'}, 'P129', 'Q7577785'], [{'concept': 'Q181394'}, 'P680', 'Q14820643']]}
SELECT DISTINCT ?s WHERE { ?s property:P129 resource:Q7577785 . ?s property:P680 resource:Q14820643 . ?s rdf:type ontology:Q181394 }
5-hydroxytryptamine receptor 2B 5-hydroxytryptamine receptor 2C 5-hydroxytryptamine receptor 2A
5-hydroxytryptamine receptor 2B, 5-hydroxytryptamine receptor 2C and 5-hydroxytryptamine receptor 2A can interact with spiramide and have the molecular function signal transducer activity
5-hydroxytryptamine receptor 2B 5-hydroxytryptamine receptor 2C 5-hydroxytryptamine receptor 2A
action filter_type
action intersection
action find_reverse
entity spiramide
relation physically interacts with
action find_reverse
entity signal transducer activity
relation molecular function
type nutrient
{'AND': [[{'concept': 'nutrient'}, 'physically interacts with', 'spiramide'], [{'concept': 'nutrient'}, 'molecular function', 'signal transducer activity']]}
SELECT DISTINCT ?s WHERE { ?s property:physically_interacts_with resource:spiramide . ?s property:molecular_function resource:signal_transducer_activity . ?s rdf:type ontology:nutrient }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q708
P186
Q79529 Q41176 Q16970
USER
How many chemical substances are used to produce lesser number of buildings or churches than lead ?
(c(Q41176)|c(Q16970),P186,c(Q79529))
action count
action less
action union
action find_reverse_tuple_counts
relation P186
type Q79529
type Q41176
action find_reverse_tuple_counts
relation P186
type Q79529
type Q16970
action count
action filter_multi_types
action find_reverse
entity Q708
relation P186
type Q41176
type Q16970
[[{'concept': 'Q41176'}, {'concept': 'Q16970'}], 'P186', {'concept': 'Q79529'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?n ) AS ?z ) WHERE { VALUES ( ?s ) { ( ontology:Q41176 ) ( ontology:Q16970 ) } . ?n rdf:type ?s } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { ?j property:P186 resource:Q708 . { ?j rdf:type ?m . VALUES ( ?m ) { ( ontology:Q41176 ) ( ontology:Q16970 ) } } } } . FILTER ( ?z < ?g ) }
lead
action count
action less
action union
action find_reverse_tuple_counts
relation material used
type chemical substance
type building
action find_reverse_tuple_counts
relation material used
type chemical substance
type church
action count
action filter_multi_types
action find_reverse
entity lead
relation material used
type building
type church
[[{'concept': 'building'}, {'concept': 'church'}], 'material used', {'concept': 'chemical substance'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?n ) AS ?z ) WHERE { VALUES ( ?s ) { ( ontology:building ) ( ontology:church ) } . ?n rdf:type ?s } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { ?j property:material_used resource:lead . { ?j rdf:type ?m . VALUES ( ?m ) { ( ontology:building ) ( ontology:church ) } } } } . FILTER ( ?z < ?g ) }
[]
chemical substance building church
SYSTEM
67
Q623 Q62246 Q14934005 Q309328 Q1102 Q33495 Q725 Q319541 Q177342 Q190444 Q143429 Q744 Q740 Q143983 Q150988 Q146339 Q421281 Q1134475 Q143937 Q425902 Q618 Q374209 Q2641430 Q407153 Q876 Q411073 Q146354 Q407467 Q411076 Q11472 Q897 Q146174 Q190878 Q182849 Q793471 Q185006 Q716 Q14975330 Q127980 Q731 Q188245 Q1096 Q420390 Q5309 Q146368 Q143252 Q146322 Q37129 Q856775 Q674 Q408880 Q1091 Q25434 Q1888 Q36200 Q407204 Q4321642 Q2050687 Q423265 Q146243 Q415750 Q867 Q146123 Q656004 Q413855 Q161179 Q880
(c(Q41176)|c(Q16970),P186,c(Q79529))
action count
action less
action union
action find_reverse_tuple_counts
relation P186
type Q79529
type Q41176
action find_reverse_tuple_counts
relation P186
type Q79529
type Q16970
action count
action filter_multi_types
action find_reverse
entity Q708
relation P186
type Q41176
type Q16970
[ANSWER]
[[{'concept': 'Q41176'}, {'concept': 'Q16970'}], 'P186', {'concept': 'Q79529'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?n ) AS ?z ) WHERE { VALUES ( ?s ) { ( ontology:Q41176 ) ( ontology:Q16970 ) } . ?n rdf:type ?s } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { ?j property:P186 resource:Q708 . { ?j rdf:type ?m . VALUES ( ?m ) { ( ontology:Q41176 ) ( ontology:Q16970 ) } } } } . FILTER ( ?z < ?g ) }
carbon polycarbonate paperboard potassium chlorate plutonium vanillin chromium 1H-indole aluminum oxide rare earth element polyethylene nickel cobalt epoxy tetracosane polyvinyl alcohol copolymer flux neoprene annatto boron Cullinan Diamond high-density polyethylene ethyl acetate selenium butyl acetate polyvinyl acetate sodium oxide diboron trioxide paper gold polypropylene activated carbon calcium dihydroxide azadirachtin A calcium oxide titanium potash fat manganese polyester tin Mellitic anhydride graphite polyvinyl chloride polytetrafluoroethylene polyurethane methane Corn oil phosphorus potassium oxide cadmium saffron californium zirconium dioxide sodium hypochlorite Nitrate ester Rhinestone tungsten carbide polystyrene Propyl Acetate germanium poly(methyl methacrylate) basic lead carbonate neopentyl glycol pigment platinum
67
action count
action less
action union
action find_reverse_tuple_counts
relation material used
type chemical substance
type building
action find_reverse_tuple_counts
relation material used
type chemical substance
type church
action count
action filter_multi_types
action find_reverse
entity lead
relation material used
type building
type church
[[{'concept': 'building'}, {'concept': 'church'}], 'material used', {'concept': 'chemical substance'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?b ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?n ) AS ?z ) WHERE { VALUES ( ?s ) { ( ontology:building ) ( ontology:church ) } . ?n rdf:type ?s } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?g ) WHERE { ?j property:material_used resource:lead . { ?j rdf:type ?m . VALUES ( ?m ) { ( ontology:building ) ( ontology:church ) } } } } . FILTER ( ?z < ?g ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q45190
P186
Q79529 Q41176 Q16970
USER
And how about cement?
(c(Q41176)|c(Q16970),P186,c(Q79529))
action count
action less
action union
action find_reverse_tuple_counts
relation P186
type Q79529
type Q41176
action find_reverse_tuple_counts
relation P186
type Q79529
type Q16970
action count
action filter_multi_types
action find_reverse
entity Q45190
relation P186
type Q41176
type Q16970
[[{'concept': 'Q41176'}, {'concept': 'Q16970'}], 'P186', {'concept': 'Q79529'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { ?m property:P186 resource:Q45190 . { { ?m rdf:type ontology:Q41176 } UNION { ?m rdf:type ontology:Q16970 } } } } . FILTER ( ?u < ?e ) . { SELECT DISTINCT ?o ( COUNT ( ?x ) AS ?u ) WHERE { { ?x property:P186 ?o . ?o rdf:type ontology:Q79529 . ?x rdf:type ontology:Q41176 } UNION { ?x property:P186 ?o . ?o rdf:type ontology:Q79529 . ?x rdf:type ontology:Q16970 } } GROUP BY ?o } }
cement
action count
action less
action union
action find_reverse_tuple_counts
relation material used
type chemical substance
type building
action find_reverse_tuple_counts
relation material used
type chemical substance
type church
action count
action filter_multi_types
action find_reverse
entity cement
relation material used
type building
type church
[[{'concept': 'building'}, {'concept': 'church'}], 'material used', {'concept': 'chemical substance'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { ?m property:material_used resource:cement . { { ?m rdf:type ontology:building } UNION { ?m rdf:type ontology:church } } } } . FILTER ( ?u < ?e ) . { SELECT DISTINCT ?o ( COUNT ( ?x ) AS ?u ) WHERE { { ?x property:material_used ?o . ?o rdf:type ontology:chemical_substance . ?x rdf:type ontology:building } UNION { ?x property:material_used ?o . ?o rdf:type ontology:chemical_substance . ?x rdf:type ontology:church } } GROUP BY ?o } }
[]
chemical substance building church
SYSTEM
67
Q623 Q62246 Q14934005 Q309328 Q1102 Q33495 Q725 Q319541 Q177342 Q190444 Q143429 Q744 Q740 Q143983 Q150988 Q146339 Q421281 Q1134475 Q143937 Q425902 Q618 Q374209 Q2641430 Q407153 Q876 Q411073 Q146354 Q407467 Q411076 Q11472 Q897 Q146174 Q190878 Q182849 Q793471 Q185006 Q716 Q14975330 Q127980 Q731 Q188245 Q1096 Q420390 Q5309 Q146368 Q143252 Q146322 Q37129 Q856775 Q674 Q408880 Q1091 Q25434 Q1888 Q36200 Q407204 Q4321642 Q2050687 Q423265 Q146243 Q415750 Q867 Q146123 Q656004 Q413855 Q161179 Q880
(c(Q41176)|c(Q16970),P186,c(Q79529))
action count
action less
action union
action find_reverse_tuple_counts
relation P186
type Q79529
type Q41176
action find_reverse_tuple_counts
relation P186
type Q79529
type Q16970
action count
action filter_multi_types
action find_reverse
entity Q45190
relation P186
type Q41176
type Q16970
[ANSWER]
[[{'concept': 'Q41176'}, {'concept': 'Q16970'}], 'P186', {'concept': 'Q79529'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { ?m property:P186 resource:Q45190 . { { ?m rdf:type ontology:Q41176 } UNION { ?m rdf:type ontology:Q16970 } } } } . FILTER ( ?u < ?e ) . { SELECT DISTINCT ?o ( COUNT ( ?x ) AS ?u ) WHERE { { ?x property:P186 ?o . ?o rdf:type ontology:Q79529 . ?x rdf:type ontology:Q41176 } UNION { ?x property:P186 ?o . ?o rdf:type ontology:Q79529 . ?x rdf:type ontology:Q16970 } } GROUP BY ?o } }
carbon polycarbonate paperboard potassium chlorate plutonium vanillin chromium 1H-indole aluminum oxide rare earth element polyethylene nickel cobalt epoxy tetracosane polyvinyl alcohol copolymer flux neoprene annatto boron Cullinan Diamond high-density polyethylene ethyl acetate selenium butyl acetate polyvinyl acetate sodium oxide diboron trioxide paper gold polypropylene activated carbon calcium dihydroxide azadirachtin A calcium oxide titanium potash fat manganese polyester tin Mellitic anhydride graphite polyvinyl chloride polytetrafluoroethylene polyurethane methane Corn oil phosphorus potassium oxide cadmium saffron californium zirconium dioxide sodium hypochlorite Nitrate ester Rhinestone tungsten carbide polystyrene Propyl Acetate germanium poly(methyl methacrylate) basic lead carbonate neopentyl glycol pigment platinum
67
action count
action less
action union
action find_reverse_tuple_counts
relation material used
type chemical substance
type building
action find_reverse_tuple_counts
relation material used
type chemical substance
type church
action count
action filter_multi_types
action find_reverse
entity cement
relation material used
type building
type church
[[{'concept': 'building'}, {'concept': 'church'}], 'material used', {'concept': 'chemical substance'}]
SELECT DISTINCT ( COUNT ( ?o ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { ?m property:material_used resource:cement . { { ?m rdf:type ontology:building } UNION { ?m rdf:type ontology:church } } } } . FILTER ( ?u < ?e ) . { SELECT DISTINCT ?o ( COUNT ( ?x ) AS ?u ) WHERE { { ?x property:material_used ?o . ?o rdf:type ontology:chemical_substance . ?x rdf:type ontology:building } UNION { ?x property:material_used ?o . ?o rdf:type ontology:chemical_substance . ?x rdf:type ontology:church } } GROUP BY ?o } }
[]