Simple Question (Direct)
Simple Question
Q23482647
P702
Q863908
USER
Which nucleic acid sequence encodes quinol oxidase polypeptide II QoxA    SE0759 ?
(Q23482647,P702,c(Q863908))
action filter_type
action find
entity Q23482647
relation P702
type Q863908
['Q23482647', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?w WHERE { resource:Q23482647 property:P702 ?w . ?w rdf:type ontology:Q863908 }
quinol oxidase polypeptide II QoxA    SE0759
action filter_type
action find
entity quinol oxidase polypeptide II QoxA    SE0759
relation encoded by
type nucleic acid sequence
['quinol oxidase polypeptide II QoxA    SE0759', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?w WHERE { resource:quinol_oxidase_polypeptide_II_QoxA____SE0759 property:encoded_by ?w . ?w rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q23181959
SYSTEM
quinol oxidase polypeptide II QoxA    SE0759
Q23181959
(Q23482647,P702,c(Q863908))
action filter_type
action find
entity Q23482647
relation P702
type Q863908
Quinol oxidase polypeptide II QoxA SE0759 encodes quinol oxidase polypeptide II QoxA SE0759
['Q23482647', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?w WHERE { resource:Q23482647 property:P702 ?w . ?w rdf:type ontology:Q863908 }
quinol oxidase polypeptide II QoxA    SE0759
Quinol oxidase polypeptide II QoxA SE0759 encodes quinol oxidase polypeptide II QoxA SE0759
quinol oxidase polypeptide II QoxA    SE0759
action filter_type
action find
entity quinol oxidase polypeptide II QoxA    SE0759
relation encoded by
type nucleic acid sequence
['quinol oxidase polypeptide II QoxA    SE0759', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?w WHERE { resource:quinol_oxidase_polypeptide_II_QoxA____SE0759 property:encoded_by ?w . ?w rdf:type ontology:nucleic_acid_sequence }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q23181959 Q23554914 Q23482647
P688
Q181394
USER
Does that nucleic acid sequence encodes hypothetical protein    BPSL1088 and quinol oxidase polypeptide II QoxA    SE0759 ?
(Q23181959,P688,Q23554914) (Q23181959,P688,Q23482647)
action is_in
entity Q23181959
action intersection
action find_reverse
entity Q23554914
relation P688
action find_reverse
entity Q23482647
relation P688
['Q23181959', 'P688', 'Q23554914'] ['Q23181959', 'P688', 'Q23482647']
ASK WHERE { resource:Q23181959 property:P688 resource:Q23554914 . resource:Q23181959 property:P688 resource:Q23482647 }
quinol oxidase polypeptide II QoxA    SE0759 hypothetical protein    BPSL1088 quinol oxidase polypeptide II QoxA    SE0759
action is_in
entity quinol oxidase polypeptide II QoxA    SE0759
action intersection
action find_reverse
entity hypothetical protein    BPSL1088
relation encodes
action find_reverse
entity quinol oxidase polypeptide II QoxA    SE0759
relation encodes
['quinol oxidase polypeptide II QoxA    SE0759', 'encodes', 'hypothetical protein    BPSL1088'] ['quinol oxidase polypeptide II QoxA    SE0759', 'encodes', 'quinol oxidase polypeptide II QoxA    SE0759']
ASK WHERE { resource:quinol_oxidase_polypeptide_II_QoxA____SE0759 property:encodes resource:hypothetical_protein____BPSL1088 . resource:quinol_oxidase_polypeptide_II_QoxA____SE0759 property:encodes resource:quinol_oxidase_polypeptide_II_QoxA____SE0759 }
[]
nutrient
SYSTEM
NO and YES respectively
(Q23181959,P688,Q23554914) (Q23181959,P688,Q23482647)
action is_in
entity Q23181959
action intersection
action find_reverse
entity Q23554914
relation P688
action find_reverse
entity Q23482647
relation P688
[ANSWER]
['Q23181959', 'P688', 'Q23554914'] ['Q23181959', 'P688', 'Q23482647']
ASK WHERE { resource:Q23181959 property:P688 resource:Q23554914 . resource:Q23181959 property:P688 resource:Q23482647 }
NO and YES respectively
action is_in
entity quinol oxidase polypeptide II QoxA    SE0759
action intersection
action find_reverse
entity hypothetical protein    BPSL1088
relation encodes
action find_reverse
entity quinol oxidase polypeptide II QoxA    SE0759
relation encodes
['quinol oxidase polypeptide II QoxA    SE0759', 'encodes', 'hypothetical protein    BPSL1088'] ['quinol oxidase polypeptide II QoxA    SE0759', 'encodes', 'quinol oxidase polypeptide II QoxA    SE0759']
ASK WHERE { resource:quinol_oxidase_polypeptide_II_QoxA____SE0759 property:encodes resource:hypothetical_protein____BPSL1088 . resource:quinol_oxidase_polypeptide_II_QoxA____SE0759 property:encodes resource:quinol_oxidase_polypeptide_II_QoxA____SE0759 }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q23482647 Q21978575
P681
Q5058355
USER
Is tripartite ATP-independent periplasmic transporter complex the cell component of quinol oxidase polypeptide II QoxA    SE0759 ?
(Q23482647,P681,Q21978575)
action is_in
entity Q21978575
action find
entity Q23482647
relation P681
['Q23482647', 'P681', 'Q21978575']
ASK WHERE { resource:Q23482647 property:P681 resource:Q21978575 }
quinol oxidase polypeptide II QoxA    SE0759 tripartite ATP-independent periplasmic transporter complex
action is_in
entity tripartite ATP-independent periplasmic transporter complex
action find
entity quinol oxidase polypeptide II QoxA    SE0759
relation cell component
['quinol oxidase polypeptide II QoxA    SE0759', 'cell component', 'tripartite ATP-independent periplasmic transporter complex']
ASK WHERE { resource:quinol_oxidase_polypeptide_II_QoxA____SE0759 property:cell_component resource:tripartite_ATP-independent_periplasmic_transporter_complex }
[]
cellular component
SYSTEM
NO
(Q23482647,P681,Q21978575)
action is_in
entity Q21978575
action find
entity Q23482647
relation P681
[ANSWER]
['Q23482647', 'P681', 'Q21978575']
ASK WHERE { resource:Q23482647 property:P681 resource:Q21978575 }
No
action is_in
entity tripartite ATP-independent periplasmic transporter complex
action find
entity quinol oxidase polypeptide II QoxA    SE0759
relation cell component
['quinol oxidase polypeptide II QoxA    SE0759', 'cell component', 'tripartite ATP-independent periplasmic transporter complex']
ASK WHERE { resource:quinol_oxidase_polypeptide_II_QoxA____SE0759 property:cell_component resource:tripartite_ATP-independent_periplasmic_transporter_complex }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q27735920 Q23482647
P681
Q5058355
USER
Which cellular components are the cell components of quinol oxidase polypeptide II QoxA    SE0759 and preprotein translocase subunit SecD    Mb2618c ?
AND((Q23482647,P681,c(Q5058355)), (Q27735920,P681,c(Q5058355)))
action filter_type
action intersection
action find
entity Q23482647
relation P681
action find
entity Q27735920
relation P681
type Q5058355
{'AND': [['Q23482647', 'P681', {'concept': 'Q5058355'}], ['Q27735920', 'P681', {'concept': 'Q5058355'}]]}
SELECT DISTINCT ?a WHERE { resource:Q23482647 property:P681 ?a . resource:Q27735920 property:P681 ?a . ?a rdf:type ontology:Q5058355 }
preprotein translocase subunit SecD    Mb2618c quinol oxidase polypeptide II QoxA    SE0759
action filter_type
action intersection
action find
entity quinol oxidase polypeptide II QoxA    SE0759
relation cell component
action find
entity preprotein translocase subunit SecD    Mb2618c
relation cell component
type cellular component
{'AND': [['quinol oxidase polypeptide II QoxA    SE0759', 'cell component', {'concept': 'cellular component'}], ['preprotein translocase subunit SecD    Mb2618c', 'cell component', {'concept': 'cellular component'}]]}
SELECT DISTINCT ?a WHERE { resource:quinol_oxidase_polypeptide_II_QoxA____SE0759 property:cell_component ?a . resource:preprotein_translocase_subunit_SecD____Mb2618c property:cell_component ?a . ?a rdf:type ontology:cellular_component }
[]
cellular component
Q29548
SYSTEM
plasma membrane
Q29548
AND((Q23482647,P681,c(Q5058355)), (Q27735920,P681,c(Q5058355)))
action filter_type
action intersection
action find
entity Q23482647
relation P681
action find
entity Q27735920
relation P681
type Q5058355
The [ANSWER] is the cell components of quinol oxidase polypeptide II QoxA SE0759 and preprotein translocase subunit SecD Mb2618c
{'AND': [['Q23482647', 'P681', {'concept': 'Q5058355'}], ['Q27735920', 'P681', {'concept': 'Q5058355'}]]}
SELECT DISTINCT ?a WHERE { resource:Q23482647 property:P681 ?a . resource:Q27735920 property:P681 ?a . ?a rdf:type ontology:Q5058355 }
plasma membrane
The plasma membrane is the cell components of quinol oxidase polypeptide II QoxA SE0759 and preprotein translocase subunit SecD Mb2618c
plasma membrane
action filter_type
action intersection
action find
entity quinol oxidase polypeptide II QoxA    SE0759
relation cell component
action find
entity preprotein translocase subunit SecD    Mb2618c
relation cell component
type cellular component
{'AND': [['quinol oxidase polypeptide II QoxA    SE0759', 'cell component', {'concept': 'cellular component'}], ['preprotein translocase subunit SecD    Mb2618c', 'cell component', {'concept': 'cellular component'}]]}
SELECT DISTINCT ?a WHERE { resource:quinol_oxidase_polypeptide_II_QoxA____SE0759 property:cell_component ?a . resource:preprotein_translocase_subunit_SecD____Mb2618c property:cell_component ?a . ?a rdf:type ontology:cellular_component }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P361
Q223557 Q5058355
USER
Which physical objects are min number of cellular components a part of ?
(c(Q5058355),P361,Q2943879)
action argmin
action find_reverse_tuple_counts
relation P361
type Q223557
type Q5058355
[{'concept': 'Q5058355'}, 'P361', 'Q2943879']
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?j ) WHERE { ?o property:P361 ?m . ?m rdf:type ontology:Q223557 . ?o rdf:type ontology:Q5058355 } GROUP BY ?m } . FILTER ( ?j = ?v ) . { SELECT DISTINCT ( MIN ( ?y ) AS ?v ) { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?y ) WHERE { ?e property:P361 ?b . ?b rdf:type ontology:Q223557 . ?e rdf:type ontology:Q5058355 } GROUP BY ?b } } }
action argmin
action find_reverse_tuple_counts
relation part of
type physical object
type cellular component
[{'concept': 'cellular component'}, 'part of', 'Andean Volcanic Belt']
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?j ) WHERE { ?o property:part_of ?m . ?m rdf:type ontology:physical_object . ?o rdf:type ontology:cellular_component } GROUP BY ?m } . FILTER ( ?j = ?v ) . { SELECT DISTINCT ( MIN ( ?y ) AS ?v ) { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?y ) WHERE { ?e property:part_of ?b . ?b rdf:type ontology:physical_object . ?e rdf:type ontology:cellular_component } GROUP BY ?b } } }
[]
physical object cellular component
Q11460 Q1925718 Q5600192
SYSTEM
clothing, Metro Detroit, Great Western Divide
Q6543472 Q5572807 Q7161909 Q964912 Q2720654 Q4634148 Q1278452 Q7057217 Q4945147 Q5921890 Q1925718 Q4789026 Q7912574 Q7568202 Q5600192 Q7505498 Q1320053 Q7764533 Q607323 Q2629995 Q3078753 Q811430 Q14745 Q4929496 Q5998836 Q133346 Q4796046 Q2532754 Q82794 Q626752 Q1946638 Q28823 Q5447188 Q11460 Q4792476 Q3510853 Q4180735 Q7239 Q5616476 Q6416659 Q6999 Q6544827 Q4745373 Q863186 Q2557360 Q170494 Q5608133 Q7320657 Q2943879
(c(Q5058355),P361,Q2943879)
action argmin
action find_reverse_tuple_counts
relation P361
type Q223557
type Q5058355
[ANSWERS] are min number of cellular components a part of
[{'concept': 'Q5058355'}, 'P361', 'Q2943879']
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?j ) WHERE { ?o property:P361 ?m . ?m rdf:type ontology:Q223557 . ?o rdf:type ontology:Q5058355 } GROUP BY ?m } . FILTER ( ?j = ?v ) . { SELECT DISTINCT ( MIN ( ?y ) AS ?v ) { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?y ) WHERE { ?e property:P361 ?b . ?b rdf:type ontology:Q223557 . ?e rdf:type ontology:Q5058355 } GROUP BY ?b } } }
Lickey Hills Glyderau Pembina Escarpment Automotive lighting Kings Dominion 3-hydroxymorphinan polyptych North Wessex Downs Boring Lava Field Howgill Fells Metro Detroit Arenigs Valparaiso Moraine South Pennines Great Western Divide Shuswap Highland German-occupied Europe The Sisters Chila mountain range Dhauladhar Knobstone Escarpment construction furniture Blue Mountain Illawarra escarpment border Arrochar Alps achievement geographic region Camp Humphreys Moogerah Peaks National Park textile solution clothing Arma Mountains Senate Garhwal Himalaya organism Guinea Highlands Kishtwar Himalaya astronomical object Galikash County American West Indies Kii Mountains Galloway Hills body Grey Corries Rhinogydd Andean Volcanic Belt
Clothing, Metro Detroit and Great Western Divide are min number of cellular components a part of
clothing Metro Detroit Great Western Divide
action argmin
action find_reverse_tuple_counts
relation part of
type physical object
type cellular component
[{'concept': 'cellular component'}, 'part of', 'Andean Volcanic Belt']
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?o ) AS ?j ) WHERE { ?o property:part_of ?m . ?m rdf:type ontology:physical_object . ?o rdf:type ontology:cellular_component } GROUP BY ?m } . FILTER ( ?j = ?v ) . { SELECT DISTINCT ( MIN ( ?y ) AS ?v ) { SELECT DISTINCT ?b ( COUNT ( ?e ) AS ?y ) WHERE { ?e property:part_of ?b . ?b rdf:type ontology:physical_object . ?e rdf:type ontology:cellular_component } GROUP BY ?b } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type
Q161439
P1056
Q223557 Q131257 Q1269299
USER
How many physical objects are produced by less number of intellectual properties and business organizations than jewellery ?
(c(Q131257)|c(Q1269299),P1056,c(Q223557))
action count
action less
action union
action find_reverse_tuple_counts
relation P1056
type Q223557
type Q131257
action find_reverse_tuple_counts
relation P1056
type Q223557
type Q1269299
action count
action filter_multi_types
action find_reverse
entity Q161439
relation P1056
type Q131257
type Q1269299
[[{'concept': 'Q131257'}, {'concept': 'Q1269299'}], 'P1056', {'concept': 'Q223557'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { ?a property:P1056 resource:Q161439 . { { ?a rdf:type ontology:Q131257 } UNION { ?a rdf:type ontology:Q1269299 } } } } . FILTER ( ?o < ?m ) . { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?o ) WHERE { VALUES ( ?f ) { ( ontology:Q131257 ) ( ontology:Q1269299 ) } . ?j rdf:type ?f } GROUP BY ?x } }
jewellery
action count
action less
action union
action find_reverse_tuple_counts
relation product
type physical object
type intellectual property
action find_reverse_tuple_counts
relation product
type physical object
type type of business entity
action count
action filter_multi_types
action find_reverse
entity jewellery
relation product
type intellectual property
type type of business entity
[[{'concept': 'intellectual property'}, {'concept': 'type of business entity'}], 'product', {'concept': 'physical object'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { ?a property:product resource:jewellery . { { ?a rdf:type ontology:intellectual_property } UNION { ?a rdf:type ontology:type_of_business_entity } } } } . FILTER ( ?o < ?m ) . { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?o ) WHERE { VALUES ( ?f ) { ( ontology:intellectual_property ) ( ontology:type_of_business_entity ) } . ?j rdf:type ?f } GROUP BY ?x } }
[]
physical object intellectual property type of business entity
SYSTEM
7
Q38423 Q40858 Q79746 Q28823 Q14745 Q838948 Q39546
(c(Q131257)|c(Q1269299),P1056,c(Q223557))
action count
action less
action union
action find_reverse_tuple_counts
relation P1056
type Q223557
type Q131257
action find_reverse_tuple_counts
relation P1056
type Q223557
type Q1269299
action count
action filter_multi_types
action find_reverse
entity Q161439
relation P1056
type Q131257
type Q1269299
[ANSWER]
[[{'concept': 'Q131257'}, {'concept': 'Q1269299'}], 'P1056', {'concept': 'Q223557'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { ?a property:P1056 resource:Q161439 . { { ?a rdf:type ontology:Q131257 } UNION { ?a rdf:type ontology:Q1269299 } } } } . FILTER ( ?o < ?m ) . { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?o ) WHERE { VALUES ( ?f ) { ( ontology:Q131257 ) ( ontology:Q1269299 ) } . ?j rdf:type ?f } GROUP BY ?x } }
diesel fuel natural gas candle textile furniture work of art tool
7
action count
action less
action union
action find_reverse_tuple_counts
relation product
type physical object
type intellectual property
action find_reverse_tuple_counts
relation product
type physical object
type type of business entity
action count
action filter_multi_types
action find_reverse
entity jewellery
relation product
type intellectual property
type type of business entity
[[{'concept': 'intellectual property'}, {'concept': 'type of business entity'}], 'product', {'concept': 'physical object'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?a ) AS ?m ) WHERE { ?a property:product resource:jewellery . { { ?a rdf:type ontology:intellectual_property } UNION { ?a rdf:type ontology:type_of_business_entity } } } } . FILTER ( ?o < ?m ) . { SELECT DISTINCT ?x ( COUNT ( ?j ) AS ?o ) WHERE { VALUES ( ?f ) { ( ontology:intellectual_property ) ( ontology:type_of_business_entity ) } . ?j rdf:type ?f } GROUP BY ?x } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Mult. entity type|Incomplete
Q11460
P1056
Q223557 Q131257 Q1269299
USER
And also tell me about clothing?
(c(Q131257)|c(Q1269299),P1056,c(Q223557))
action count
action less
action union
action find_reverse_tuple_counts
relation P1056
type Q223557
type Q131257
action find_reverse_tuple_counts
relation P1056
type Q223557
type Q1269299
action count
action filter_multi_types
action find_reverse
entity Q11460
relation P1056
type Q131257
type Q1269299
[[{'concept': 'Q131257'}, {'concept': 'Q1269299'}], 'P1056', {'concept': 'Q223557'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) ?s WHERE { ?f rdf:type ?m . VALUES ( ?m ) { ( ontology:Q131257 ) ( ontology:Q1269299 ) } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { ?z property:P1056 resource:Q11460 . { { ?z rdf:type ontology:Q1269299 } UNION { ?z rdf:type ontology:Q131257 } } } } . FILTER ( ?q < ?g ) }
clothing
action count
action less
action union
action find_reverse_tuple_counts
relation product
type physical object
type intellectual property
action find_reverse_tuple_counts
relation product
type physical object
type type of business entity
action count
action filter_multi_types
action find_reverse
entity clothing
relation product
type intellectual property
type type of business entity
[[{'concept': 'intellectual property'}, {'concept': 'type of business entity'}], 'product', {'concept': 'physical object'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) ?s WHERE { ?f rdf:type ?m . VALUES ( ?m ) { ( ontology:intellectual_property ) ( ontology:type_of_business_entity ) } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { ?z property:product resource:clothing . { { ?z rdf:type ontology:type_of_business_entity } UNION { ?z rdf:type ontology:intellectual_property } } } } . FILTER ( ?q < ?g ) }
[]
physical object intellectual property type of business entity
SYSTEM
8
Q38423 Q40858 Q79746 Q28823 Q14745 Q838948 Q39546 Q161439
(c(Q131257)|c(Q1269299),P1056,c(Q223557))
action count
action less
action union
action find_reverse_tuple_counts
relation P1056
type Q223557
type Q131257
action find_reverse_tuple_counts
relation P1056
type Q223557
type Q1269299
action count
action filter_multi_types
action find_reverse
entity Q11460
relation P1056
type Q131257
type Q1269299
[ANSWER]
[[{'concept': 'Q131257'}, {'concept': 'Q1269299'}], 'P1056', {'concept': 'Q223557'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) ?s WHERE { ?f rdf:type ?m . VALUES ( ?m ) { ( ontology:Q131257 ) ( ontology:Q1269299 ) } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { ?z property:P1056 resource:Q11460 . { { ?z rdf:type ontology:Q1269299 } UNION { ?z rdf:type ontology:Q131257 } } } } . FILTER ( ?q < ?g ) }
diesel fuel natural gas candle textile furniture work of art tool jewellery
8
action count
action less
action union
action find_reverse_tuple_counts
relation product
type physical object
type intellectual property
action find_reverse_tuple_counts
relation product
type physical object
type type of business entity
action count
action filter_multi_types
action find_reverse
entity clothing
relation product
type intellectual property
type type of business entity
[[{'concept': 'intellectual property'}, {'concept': 'type of business entity'}], 'product', {'concept': 'physical object'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?a ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?q ) ?s WHERE { ?f rdf:type ?m . VALUES ( ?m ) { ( ontology:intellectual_property ) ( ontology:type_of_business_entity ) } } GROUP BY ?s } . { SELECT DISTINCT ( COUNT ( ?z ) AS ?g ) WHERE { ?z property:product resource:clothing . { { ?z rdf:type ontology:type_of_business_entity } UNION { ?z rdf:type ontology:intellectual_property } } } } . FILTER ( ?q < ?g ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11460
P101
Q43229
USER
Which organization works in the domain of clothing ?
(c(Q43229),P101,Q11460)
action filter_type
action find_reverse
entity Q11460
relation P101
type Q43229
[{'concept': 'Q43229'}, 'P101', 'Q11460']
SELECT DISTINCT ?x WHERE { ?x property:P101 resource:Q11460 . ?x rdf:type ontology:Q43229 }
clothing
action filter_type
action find_reverse
entity clothing
relation field of work
type organization
[{'concept': 'organization'}, 'field of work', 'clothing']
SELECT DISTINCT ?x WHERE { ?x property:field_of_work resource:clothing . ?x rdf:type ontology:organization }
[]
organization
Q282967
SYSTEM
Agnès b.
Q282967
(c(Q43229),P101,Q11460)
action filter_type
action find_reverse
entity Q11460
relation P101
type Q43229
[ANSWER] works in the domain of clothing
[{'concept': 'Q43229'}, 'P101', 'Q11460']
SELECT DISTINCT ?x WHERE { ?x property:P101 resource:Q11460 . ?x rdf:type ontology:Q43229 }
Agnès b.
Agnès b. works in the domain of clothing
Agnès b.
action filter_type
action find_reverse
entity clothing
relation field of work
type organization
[{'concept': 'organization'}, 'field of work', 'clothing']
SELECT DISTINCT ?x WHERE { ?x property:field_of_work resource:clothing . ?x rdf:type ontology:organization }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q11460
P186
Q223557
USER
Which physical object is used to produce that one ?
(Q282967,P186,c(Q223557))
action filter_type
action find
entity Q11460
relation P186
type Q223557
['Q282967', 'P186', {'concept': 'Q223557'}]
SELECT DISTINCT ?s WHERE { resource:Q11460 property:P186 ?s . ?s rdf:type ontology:Q223557 }
clothing
action filter_type
action find
entity clothing
relation material used
type physical object
['Agnès b.', 'material used', {'concept': 'physical object'}]
SELECT DISTINCT ?s WHERE { resource:clothing property:material_used ?s . ?s rdf:type ontology:physical_object }
[]
physical object
Q28823
SYSTEM
textile
Q28823
(Q282967,P186,c(Q223557))
action filter_type
action find
entity Q11460
relation P186
type Q223557
[ANSWER] is used to produce that one
['Q282967', 'P186', {'concept': 'Q223557'}]
SELECT DISTINCT ?s WHERE { resource:Q11460 property:P186 ?s . ?s rdf:type ontology:Q223557 }
textile
Textile is used to produce that one
textile
action filter_type
action find
entity clothing
relation material used
type physical object
['Agnès b.', 'material used', {'concept': 'physical object'}]
SELECT DISTINCT ?s WHERE { resource:clothing property:material_used ?s . ?s rdf:type ontology:physical_object }
[]