Simple Question (Direct)
Simple Question
Q23523958
P681
Q15989253
USER
Which is the part that is a component of transcription elongation factor NusA    CA_C1799 ?
(Q23523958,P681,c(Q15989253))
action filter_type
action find
entity Q23523958
relation P681
type Q15989253
['Q23523958', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?g WHERE { resource:Q23523958 property:P681 ?g . ?g rdf:type ontology:Q15989253 }
transcription elongation factor NusA    CA_C1799
action filter_type
action find
entity transcription elongation factor NusA    CA_C1799
relation cell component
type part
['transcription elongation factor NusA    CA_C1799', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?g WHERE { resource:transcription_elongation_factor_NusA____CA_C1799 property:cell_component ?g . ?g rdf:type ontology:part }
[]
part
Q79899
SYSTEM
cytoplasm
Q79899
(Q23523958,P681,c(Q15989253))
action filter_type
action find
entity Q23523958
relation P681
type Q15989253
[ANSWER] is the part that is a component of transcription elongation factor NusA CA_C1799
['Q23523958', 'P681', {'concept': 'Q15989253'}]
SELECT DISTINCT ?g WHERE { resource:Q23523958 property:P681 ?g . ?g rdf:type ontology:Q15989253 }
cytoplasm
Cytoplasm is the part that is a component of transcription elongation factor NusA CA_C1799
cytoplasm
action filter_type
action find
entity transcription elongation factor NusA    CA_C1799
relation cell component
type part
['transcription elongation factor NusA    CA_C1799', 'cell component', {'concept': 'part'}]
SELECT DISTINCT ?g WHERE { resource:transcription_elongation_factor_NusA____CA_C1799 property:cell_component ?g . ?g rdf:type ontology:part }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q23523958
P702
Q863908
USER
What encodes transcription elongation factor NusA    CA_C1799 ?
(Q23523958,P702,c(Q863908))
action filter_type
action find
entity Q23523958
relation P702
type Q863908
['Q23523958', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?x WHERE { resource:Q23523958 property:P702 ?x . ?x rdf:type ontology:Q863908 }
transcription elongation factor NusA    CA_C1799
action filter_type
action find
entity transcription elongation factor NusA    CA_C1799
relation encoded by
type nucleic acid sequence
['transcription elongation factor NusA    CA_C1799', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?x WHERE { resource:transcription_elongation_factor_NusA____CA_C1799 property:encoded_by ?x . ?x rdf:type ontology:nucleic_acid_sequence }
[]
nucleic acid sequence
Q23376991
SYSTEM
transcription elongation factor NusA    CA_C1799
Q23376991
(Q23523958,P702,c(Q863908))
action filter_type
action find
entity Q23523958
relation P702
type Q863908
En transcription elongation factor NusA CA C1799 encodes transcription elongation factor NusA CA_C1799
['Q23523958', 'P702', {'concept': 'Q863908'}]
SELECT DISTINCT ?x WHERE { resource:Q23523958 property:P702 ?x . ?x rdf:type ontology:Q863908 }
transcription elongation factor NusA    CA_C1799
En transcription elongation factor NusA CA C1799 encodes transcription elongation factor NusA CA_C1799
transcription elongation factor NusA    CA_C1799
action filter_type
action find
entity transcription elongation factor NusA    CA_C1799
relation encoded by
type nucleic acid sequence
['transcription elongation factor NusA    CA_C1799', 'encoded by', {'concept': 'nucleic acid sequence'}]
SELECT DISTINCT ?x WHERE { resource:transcription_elongation_factor_NusA____CA_C1799 property:encoded_by ?x . ?x rdf:type ontology:nucleic_acid_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q23523958
P703
Q631147
USER
Which infraspecific name is that nutrient found in ?
(Q23376991,P703,c(Q631147))
action filter_type
action find
entity Q23523958
relation P703
type Q631147
['Q23376991', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q631147 . resource:Q23523958 property:P703 ?k }
transcription elongation factor NusA    CA_C1799
action filter_type
action find
entity transcription elongation factor NusA    CA_C1799
relation found in taxon
type infraspecific name
['transcription elongation factor NusA    CA_C1799', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:infraspecific_name . resource:transcription_elongation_factor_NusA____CA_C1799 property:found_in_taxon ?k }
[]
infraspecific name
Q21102973
SYSTEM
Clostridium acetobutylicum ATCC 824
Q21102973
(Q23376991,P703,c(Q631147))
action filter_type
action find
entity Q23523958
relation P703
type Q631147
[ANSWER] is that nutrient found in
['Q23376991', 'P703', {'concept': 'Q631147'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:Q631147 . resource:Q23523958 property:P703 ?k }
Clostridium acetobutylicum ATCC 824
Clostridium acetobutylicum ATCC 824 is that nutrient found in
Clostridium acetobutylicum ATCC 824
action filter_type
action find
entity transcription elongation factor NusA    CA_C1799
relation found in taxon
type infraspecific name
['transcription elongation factor NusA    CA_C1799', 'found in taxon', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?k WHERE { ?k rdf:type ontology:infraspecific_name . resource:transcription_elongation_factor_NusA____CA_C1799 property:found_in_taxon ?k }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q23488887 Q23523958
P703
Q631147
USER
Or transcriptional regulator    SSUBM407_0186?
OR((Q23523958,P703,c(Q631147)), (Q23488887,P703,c(Q631147)))
action filter_type
action union
action find
entity Q23523958
relation P703
action find
entity Q23488887
relation P703
type Q631147
{'OR': [['Q23523958', 'P703', {'concept': 'Q631147'}], ['Q23488887', 'P703', {'concept': 'Q631147'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q631147 . { ?k property:P703 ?q . VALUES ( ?k ) { ( resource:Q23523958 ) ( resource:Q23488887 ) } } }
transcriptional regulator    SSUBM407_0186 transcription elongation factor NusA    CA_C1799
action filter_type
action union
action find
entity transcription elongation factor NusA    CA_C1799
relation found in taxon
action find
entity transcriptional regulator    SSUBM407_0186
relation found in taxon
type infraspecific name
{'OR': [['transcription elongation factor NusA    CA_C1799', 'found in taxon', {'concept': 'infraspecific name'}], ['transcriptional regulator    SSUBM407_0186', 'found in taxon', {'concept': 'infraspecific name'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:infraspecific_name . { ?k property:found_in_taxon ?q . VALUES ( ?k ) { ( resource:transcription_elongation_factor_NusA____CA_C1799 ) ( resource:transcriptional_regulator____SSUBM407_0186 ) } } }
[]
infraspecific name
Q21102973 Q21102960
SYSTEM
Clostridium acetobutylicum ATCC 824, Streptococcus suis BM407
Q21102973 Q21102960
OR((Q23523958,P703,c(Q631147)), (Q23488887,P703,c(Q631147)))
action filter_type
action union
action find
entity Q23523958
relation P703
action find
entity Q23488887
relation P703
type Q631147
[ANSWERS]
{'OR': [['Q23523958', 'P703', {'concept': 'Q631147'}], ['Q23488887', 'P703', {'concept': 'Q631147'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:Q631147 . { ?k property:P703 ?q . VALUES ( ?k ) { ( resource:Q23523958 ) ( resource:Q23488887 ) } } }
Clostridium acetobutylicum ATCC 824 Streptococcus suis BM407
Clostridium acetobutylicum ATCC 824 Streptococcus suis BM407
action filter_type
action union
action find
entity transcription elongation factor NusA    CA_C1799
relation found in taxon
action find
entity transcriptional regulator    SSUBM407_0186
relation found in taxon
type infraspecific name
{'OR': [['transcription elongation factor NusA    CA_C1799', 'found in taxon', {'concept': 'infraspecific name'}], ['transcriptional regulator    SSUBM407_0186', 'found in taxon', {'concept': 'infraspecific name'}]]}
SELECT DISTINCT ?q WHERE { ?q rdf:type ontology:infraspecific_name . { ?k property:found_in_taxon ?q . VALUES ( ?k ) { ( resource:transcription_elongation_factor_NusA____CA_C1799 ) ( resource:transcriptional_regulator____SSUBM407_0186 ) } } }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q15989253 Q3516658 Q838948
USER
Which parts are demonstrated in atmost 12 heraldic symbols or works of art ?
(c(Q3516658)|c(Q838948),P180,c(Q15989253))
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q838948
value 12
[[{'concept': 'Q3516658'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15989253'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?e ) AS ?n ) WHERE { ?e rdf:type ?d . VALUES ( ?d ) { ( ontology:Q3516658 ) ( ontology:Q838948 ) } } GROUP BY ?a } . FILTER ( ?n <= 12 ) }
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type part
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type part
type work of art
value 12
[[{'concept': 'heraldic symbol'}, {'concept': 'work of art'}], 'depicts', {'concept': 'part'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?e ) AS ?n ) WHERE { ?e rdf:type ?d . VALUES ( ?d ) { ( ontology:heraldic_symbol ) ( ontology:work_of_art ) } } GROUP BY ?a } . FILTER ( ?n <= 12 ) }
[]
part heraldic symbol work of art
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(Q3516658)|c(Q838948),P180,c(Q15989253))
action atmost
action union
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q3516658
action find_reverse_tuple_counts
relation P180
type Q15989253
type Q838948
value 12
The [ANSWERS] are demonstrated in atmost 12 heraldic symbols or works of art
[[{'concept': 'Q3516658'}, {'concept': 'Q838948'}], 'P180', {'concept': 'Q15989253'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?e ) AS ?n ) WHERE { ?e rdf:type ?d . VALUES ( ?d ) { ( ontology:Q3516658 ) ( ontology:Q838948 ) } } GROUP BY ?a } . FILTER ( ?n <= 12 ) }
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
The organ, crest and thigh are demonstrated in atmost 12 heraldic symbols or works of art
organ crest thigh
action atmost
action union
action find_reverse_tuple_counts
relation depicts
type part
type heraldic symbol
action find_reverse_tuple_counts
relation depicts
type part
type work of art
value 12
[[{'concept': 'heraldic symbol'}, {'concept': 'work of art'}], 'depicts', {'concept': 'part'}]
SELECT DISTINCT ?a WHERE { { SELECT DISTINCT ?a ( COUNT ( ?e ) AS ?n ) WHERE { ?e rdf:type ?d . VALUES ( ?d ) { ( ontology:heraldic_symbol ) ( ontology:work_of_art ) } } GROUP BY ?a } . FILTER ( ?n <= 12 ) }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3941499
Q631147
USER
And also tell me about Roses mousseuses?
(Q3941499,P180,c(Q631147))
action filter_type
action find
entity Q3941499
relation P180
type Q631147
['Q3941499', 'P180', {'concept': 'Q631147'}]
SELECT DISTINCT ?v WHERE { resource:Q3941499 property:P180 ?v . ?v rdf:type ontology:Q631147 }
Roses mousseuses
action filter_type
action find
entity Roses mousseuses
relation depicts
type infraspecific name
['Roses mousseuses', 'depicts', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?v WHERE { resource:Roses_mousseuses property:depicts ?v . ?v rdf:type ontology:infraspecific_name }
[]
infraspecific name
Q1947020
SYSTEM
Rosa muscosa
Q1947020
(Q3941499,P180,c(Q631147))
action filter_type
action find
entity Q3941499
relation P180
type Q631147
[ANSWER]
['Q3941499', 'P180', {'concept': 'Q631147'}]
SELECT DISTINCT ?v WHERE { resource:Q3941499 property:P180 ?v . ?v rdf:type ontology:Q631147 }
Rosa muscosa
Rosa muscosa
action filter_type
action find
entity Roses mousseuses
relation depicts
type infraspecific name
['Roses mousseuses', 'depicts', {'concept': 'infraspecific name'}]
SELECT DISTINCT ?v WHERE { resource:Roses_mousseuses property:depicts ?v . ?v rdf:type ontology:infraspecific_name }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P180
Q15989253 Q17335294
USER
Which coats of arms express max number of parts ?
(c(Q17335294),P180,c(Q15989253))
action argmax
action find_tuple_counts
relation P180
type Q17335294
type Q15989253
[{'concept': 'Q17335294'}, 'P180', {'concept': 'Q15989253'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?a ) WHERE { ?j property:P180 ?d . ?j rdf:type ontology:Q17335294 . ?d rdf:type ontology:Q15989253 } GROUP BY ?j } . FILTER ( ?a = ?y ) . { SELECT DISTINCT ( MAX ( ?g ) AS ?y ) { SELECT DISTINCT ?m ( COUNT ( ?w ) AS ?g ) WHERE { ?m property:P180 ?w . ?m rdf:type ontology:Q17335294 . ?w rdf:type ontology:Q15989253 } GROUP BY ?m } } }
action argmax
action find_tuple_counts
relation depicts
type flag or coat of arms
type part
[{'concept': 'flag or coat of arms'}, 'depicts', {'concept': 'part'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?a ) WHERE { ?j property:depicts ?d . ?j rdf:type ontology:flag_or_coat_of_arms . ?d rdf:type ontology:part } GROUP BY ?j } . FILTER ( ?a = ?y ) . { SELECT DISTINCT ( MAX ( ?g ) AS ?y ) { SELECT DISTINCT ?m ( COUNT ( ?w ) AS ?g ) WHERE { ?m property:depicts ?w . ?m rdf:type ontology:flag_or_coat_of_arms . ?w rdf:type ontology:part } GROUP BY ?m } } }
[]
part flag or coat of arms
Q15883808 Q18033248 Q27016845
SYSTEM
coat of arms of Ulestraten, second coat of arms of Anloo, coat of arms of Stad Vollenhove
Q21076133 Q17747411 Q20089573 Q15910445 Q2442459 Q2693505 Q24347379 Q18033248 Q18033397 Q19851115 Q2794188 Q27016845 Q22122243 Q14517564 Q20812698 Q13375962 Q19840667 Q18033306 Q27270005 Q20088705 Q1859114 Q15883808 Q16467054 Q20088704 Q19829214 Q2340874 Q13138543 Q2248565
(c(Q17335294),P180,c(Q15989253))
action argmax
action find_tuple_counts
relation P180
type Q17335294
type Q15989253
The [ANSWERS] express max number of parts
[{'concept': 'Q17335294'}, 'P180', {'concept': 'Q15989253'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?a ) WHERE { ?j property:P180 ?d . ?j rdf:type ontology:Q17335294 . ?d rdf:type ontology:Q15989253 } GROUP BY ?j } . FILTER ( ?a = ?y ) . { SELECT DISTINCT ( MAX ( ?g ) AS ?y ) { SELECT DISTINCT ?m ( COUNT ( ?w ) AS ?g ) WHERE { ?m property:P180 ?w . ?m rdf:type ontology:Q17335294 . ?w rdf:type ontology:Q15989253 } GROUP BY ?m } } }
coat of arms of Arlon coat of arms of Appeltern coat of arms of Gaasterlân-Sleat coat of arms of Albrandswaard coat of arms of Enkhuizen coat of arms of Alkemade flag of Heerenveen second coat of arms of Anloo coat of arms of Roosendaal coat of arms of Spaarndam second coat of arms of Emmen coat of arms of Stad Vollenhove flag of Bergen op Zoom coat of arms of Brielle coat of arms of Breskens coat of arms of Achtkarspelen coat of arms of Akersloot coat of arms of Genemuden Club & Claws coat of arms of Baarderadeel coat of arms of Dokkum coat of arms of Ulestraten coat of arms of Cuijk coat of arms of Aengwirden coat of arms of De Friese Meren coat of arms of Barradeel coat of arms of Boarnsterhim coat of arms of 's-Heerenberg
The coat of arms of Ulestraten, second coat of arms of Anloo and coat of arms of Stad Vollenhove express max number of parts
coat of arms of Ulestraten second coat of arms of Anloo coat of arms of Stad Vollenhove
action argmax
action find_tuple_counts
relation depicts
type flag or coat of arms
type part
[{'concept': 'flag or coat of arms'}, 'depicts', {'concept': 'part'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?d ) AS ?a ) WHERE { ?j property:depicts ?d . ?j rdf:type ontology:flag_or_coat_of_arms . ?d rdf:type ontology:part } GROUP BY ?j } . FILTER ( ?a = ?y ) . { SELECT DISTINCT ( MAX ( ?g ) AS ?y ) { SELECT DISTINCT ?m ( COUNT ( ?w ) AS ?g ) WHERE { ?m property:depicts ?w . ?m rdf:type ontology:flag_or_coat_of_arms . ?w rdf:type ontology:part } GROUP BY ?m } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q712378
P361
Q223557
USER
How many physical objects are organ a part of ?
(Q712378,P361,c(Q223557))
action count
action filter_type
action find
entity Q712378
relation P361
type Q223557
['Q712378', 'P361', {'concept': 'Q223557'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { resource:Q712378 property:P361 ?k . ?k rdf:type ontology:Q223557 }
organ
action count
action filter_type
action find
entity organ
relation part of
type physical object
['organ', 'part of', {'concept': 'physical object'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { resource:organ property:part_of ?k . ?k rdf:type ontology:physical_object }
[]
physical object
SYSTEM
1
Q7239
(Q712378,P361,c(Q223557))
action count
action filter_type
action find
entity Q712378
relation P361
type Q223557
[ANSWER]
['Q712378', 'P361', {'concept': 'Q223557'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { resource:Q712378 property:P361 ?k . ?k rdf:type ontology:Q223557 }
organism
1
action count
action filter_type
action find
entity organ
relation part of
type physical object
['organ', 'part of', {'concept': 'physical object'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?h ) WHERE { resource:organ property:part_of ?k . ?k rdf:type ontology:physical_object }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q22327083
P361
Q223557
USER
And how about PTEN phosphatase complex?
(Q22327083,P361,c(Q223557))
action count
action filter_type
action find
entity Q22327083
relation P361
type Q223557
['Q22327083', 'P361', {'concept': 'Q223557'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { resource:Q22327083 property:P361 ?d . ?d rdf:type ontology:Q223557 }
PTEN phosphatase complex
action count
action filter_type
action find
entity PTEN phosphatase complex
relation part of
type physical object
['PTEN phosphatase complex', 'part of', {'concept': 'physical object'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { resource:PTEN_phosphatase_complex property:part_of ?d . ?d rdf:type ontology:physical_object }
[]
physical object
SYSTEM
1
Q7868
(Q22327083,P361,c(Q223557))
action count
action filter_type
action find
entity Q22327083
relation P361
type Q223557
[ANSWER]
['Q22327083', 'P361', {'concept': 'Q223557'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { resource:Q22327083 property:P361 ?d . ?d rdf:type ontology:Q223557 }
cell
1
action count
action filter_type
action find
entity PTEN phosphatase complex
relation part of
type physical object
['PTEN phosphatase complex', 'part of', {'concept': 'physical object'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?o ) WHERE { resource:PTEN_phosphatase_complex property:part_of ?d . ?d rdf:type ontology:physical_object }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q160464
Q223557
USER
And how about button?
(Q160464,P361,c(Q223557))
action count
action filter_type
action find
entity Q160464
relation P361
type Q223557
['Q160464', 'P361', {'concept': 'Q223557'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { resource:Q160464 property:P361 ?p . ?p rdf:type ontology:Q223557 }
button
action count
action filter_type
action find
entity button
relation part of
type physical object
['button', 'part of', {'concept': 'physical object'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { resource:button property:part_of ?p . ?p rdf:type ontology:physical_object }
[]
physical object
SYSTEM
1
(Q160464,P361,c(Q223557))
action count
action filter_type
action find
entity Q160464
relation P361
type Q223557
[ANSWER]
['Q160464', 'P361', {'concept': 'Q223557'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { resource:Q160464 property:P361 ?p . ?p rdf:type ontology:Q223557 }
1
action count
action filter_type
action find
entity button
relation part of
type physical object
['button', 'part of', {'concept': 'physical object'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?s ) WHERE { resource:button property:part_of ?p . ?p rdf:type ontology:physical_object }
[]
Logical Reasoning (All)
Logical|Intersection|Single_Relation
Q20168308 Q3941499
P186
Q214609
USER
Which materials are used to manufacture Roses mousseuses and A Lane through the Trees ?
AND((Q3941499,P186,c(Q214609)), (Q20168308,P186,c(Q214609)))
action filter_type
action intersection
action find
entity Q3941499
relation P186
action find
entity Q20168308
relation P186
type Q214609
{'AND': [['Q3941499', 'P186', {'concept': 'Q214609'}], ['Q20168308', 'P186', {'concept': 'Q214609'}]]}
SELECT DISTINCT ?l WHERE { resource:Q3941499 property:P186 ?l . resource:Q20168308 property:P186 ?l . ?l rdf:type ontology:Q214609 }
A Lane through the Trees Roses mousseuses
action filter_type
action intersection
action find
entity Roses mousseuses
relation material used
action find
entity A Lane through the Trees
relation material used
type material
{'AND': [['Roses mousseuses', 'material used', {'concept': 'material'}], ['A Lane through the Trees', 'material used', {'concept': 'material'}]]}
SELECT DISTINCT ?l WHERE { resource:Roses_mousseuses property:material_used ?l . resource:A_Lane_through_the_Trees property:material_used ?l . ?l rdf:type ontology:material }
[]
material
Q296955 Q4259259
SYSTEM
oil paint, canvas
Q296955 Q4259259
AND((Q3941499,P186,c(Q214609)), (Q20168308,P186,c(Q214609)))
action filter_type
action intersection
action find
entity Q3941499
relation P186
action find
entity Q20168308
relation P186
type Q214609
[ANSWERS] are used to manufacture Roses mousseuses and A Lane through the Trees
{'AND': [['Q3941499', 'P186', {'concept': 'Q214609'}], ['Q20168308', 'P186', {'concept': 'Q214609'}]]}
SELECT DISTINCT ?l WHERE { resource:Q3941499 property:P186 ?l . resource:Q20168308 property:P186 ?l . ?l rdf:type ontology:Q214609 }
oil paint canvas
Oil paint and canvas are used to manufacture Roses mousseuses and A Lane through the Trees
oil paint canvas
action filter_type
action intersection
action find
entity Roses mousseuses
relation material used
action find
entity A Lane through the Trees
relation material used
type material
{'AND': [['Roses mousseuses', 'material used', {'concept': 'material'}], ['A Lane through the Trees', 'material used', {'concept': 'material'}]]}
SELECT DISTINCT ?l WHERE { resource:Roses_mousseuses property:material_used ?l . resource:A_Lane_through_the_Trees property:material_used ?l . ?l rdf:type ontology:material }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q7508877
P186
Q838948
USER
Does Sidlingu use those ones as their raw material ?
(Q7508877,P186,Q296955) (Q7508877,P186,Q4259259)
action is_in
entity prev_answer
action find
entity Q7508877
relation P186
['Q7508877', 'P186', 'Q296955'] ['Q7508877', 'P186', 'Q4259259']
ASK WHERE { resource:Q7508877 property:P186 ?n . VALUES ( ?n ) { ( resource:Q296955 ) ( resource:Q4259259 ) } }
Sidlingu
action is_in
entity prev_answer
action find
entity Sidlingu
relation material used
['Sidlingu', 'material used', 'oil paint'] ['Sidlingu', 'material used', 'canvas']
ASK WHERE { resource:Sidlingu property:material_used ?n . VALUES ( ?n ) { ( resource:oil_paint ) ( resource:canvas ) } }
[]
work of art
SYSTEM
NO
(Q7508877,P186,Q296955) (Q7508877,P186,Q4259259)
action is_in
entity prev_answer
action find
entity Q7508877
relation P186
[ANSWER]
['Q7508877', 'P186', 'Q296955'] ['Q7508877', 'P186', 'Q4259259']
ASK WHERE { resource:Q7508877 property:P186 ?n . VALUES ( ?n ) { ( resource:Q296955 ) ( resource:Q4259259 ) } }
No
action is_in
entity prev_answer
action find
entity Sidlingu
relation material used
['Sidlingu', 'material used', 'oil paint'] ['Sidlingu', 'material used', 'canvas']
ASK WHERE { resource:Sidlingu property:material_used ?n . VALUES ( ?n ) { ( resource:oil_paint ) ( resource:canvas ) } }
[]
Comparative Reasoning (All)
Comparative|More/Less|Single entity type
Q42302
P186
Q8063 Q214609
USER
Which rocks are used to produce less number of materials than clay ?
(c(Q214609),P186,c(Q8063))
action less
action find_reverse_tuple_counts
relation P186
type Q8063
type Q214609
action count
action filter_type
action find_reverse
entity Q42302
relation P186
type Q214609
[{'concept': 'Q214609'}, 'P186', {'concept': 'Q8063'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?z ) WHERE { ?p property:P186 ?b . ?b rdf:type ontology:Q8063 . ?p rdf:type ontology:Q214609 } GROUP BY ?b } . FILTER ( ?z < ?h ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { ?f property:P186 resource:Q42302 . ?f rdf:type ontology:Q214609 } } }
clay
action less
action find_reverse_tuple_counts
relation material used
type rock
type material
action count
action filter_type
action find_reverse
entity clay
relation material used
type material
[{'concept': 'material'}, 'material used', {'concept': 'rock'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?z ) WHERE { ?p property:material_used ?b . ?b rdf:type ontology:rock . ?p rdf:type ontology:material } GROUP BY ?b } . FILTER ( ?z < ?h ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { ?f property:material_used resource:clay . ?f rdf:type ontology:material } } }
[]
rock material
Q216798 Q41177 Q23757
SYSTEM
lapis lazuli, granite, limestone
Q944070 Q1134814 Q17017524 Q484924 Q216798 Q2509719 Q847257 Q513110 Q43338 Q181908 Q166409 Q184053 Q11722524 Q751300 Q565731 Q216202 Q237883 Q40861 Q757022 Q731880 Q207079 Q190727 Q6642424 Q1225329 Q753016 Q777112 Q466481 Q3387746 Q3338048 Q632078 Q41177 Q191250 Q102078 Q195178 Q15315 Q7282754 Q1257550 Q183670 Q337238 Q11722512 Q23757 Q491689 Q3856092 Q40157 Q332748
(c(Q214609),P186,c(Q8063))
action less
action find_reverse_tuple_counts
relation P186
type Q8063
type Q214609
action count
action filter_type
action find_reverse
entity Q42302
relation P186
type Q214609
[ANSWERS] are used to produce less number of materials than clay
[{'concept': 'Q214609'}, 'P186', {'concept': 'Q8063'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?z ) WHERE { ?p property:P186 ?b . ?b rdf:type ontology:Q8063 . ?p rdf:type ontology:Q214609 } GROUP BY ?b } . FILTER ( ?z < ?h ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { ?f property:P186 resource:Q42302 . ?f rdf:type ontology:Q214609 } } }
artificial stone dolostone Pennant Measures tuff lapis lazuli ironstone felsic pluton basalt andesite gneiss marl gypsum rock shale siltstone granulite quartzite marble sett phyllite slate rhyolite mudstone rubble diabase tephrite dacite Volvic stone Nenfro oolite granite breccia bauxite Carbonatite schist rag-stone phonolite chalk porphyry anhydrite stone limestone evaporite mica schist lava trachyte
Lapis lazuli, granite and limestone are used to produce less number of materials than clay
lapis lazuli granite limestone
action less
action find_reverse_tuple_counts
relation material used
type rock
type material
action count
action filter_type
action find_reverse
entity clay
relation material used
type material
[{'concept': 'material'}, 'material used', {'concept': 'rock'}]
SELECT DISTINCT ?b WHERE { { SELECT DISTINCT ?b ( COUNT ( ?p ) AS ?z ) WHERE { ?p property:material_used ?b . ?b rdf:type ontology:rock . ?p rdf:type ontology:material } GROUP BY ?b } . FILTER ( ?z < ?h ) . { SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { ?f property:material_used resource:clay . ?f rdf:type ontology:material } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q216798
P138
Q151885
USER
What is that rock named after ?
(Q216798,P138,c(Q151885))
action filter_type
action find
entity Q216798
relation P138
type Q151885
['Q216798', 'P138', {'concept': 'Q151885'}]
SELECT DISTINCT ?g WHERE { resource:Q216798 property:P138 ?g . ?g rdf:type ontology:Q151885 }
lapis lazuli
action filter_type
action find
entity lapis lazuli
relation named after
type concept
['lapis lazuli', 'named after', {'concept': 'concept'}]
SELECT DISTINCT ?g WHERE { resource:lapis_lazuli property:named_after ?g . ?g rdf:type ontology:concept }
[]
concept
Clarification for simple ques.
Q216798
SYSTEM
Did you mean lapis lazuli ?
Q216798 Q41177 Q23757
(Q216798,P138,c(Q151885)) (Q41177,P138,c(Q151885)) (Q23757,P138,c(Q151885))
[ANSWER]
['Q216798', 'P138', {'concept': 'Q151885'}] ['Q41177', 'P138', {'concept': 'Q151885'}] ['Q23757', 'P138', {'concept': 'Q151885'}]
SELECT DISTINCT ?g WHERE { resource:Q216798 property:P138 ?g . ?g rdf:type ontology:Q151885 }
lapis lazuli granite limestone
Did you mean lapis lazuli ?
lapis lazuli
['lapis lazuli', 'named after', {'concept': 'concept'}] ['granite', 'named after', {'concept': 'concept'}] ['limestone', 'named after', {'concept': 'concept'}]
SELECT DISTINCT ?g WHERE { resource:lapis_lazuli property:named_after ?g . ?g rdf:type ontology:concept }
[]
Simple Question (Coreferenced)
USER
Yes
(Q216798,P138,c(Q151885))
['Q216798', 'P138', {'concept': 'Q151885'}]
['lapis lazuli', 'named after', {'concept': 'concept'}]
[]
Q527
SYSTEM
sky
Q527
(Q216798,P138,c(Q151885))
action filter_type
action find
entity Q216798
relation P138
type Q151885
That rock named after is the [ANSWER]
['Q216798', 'P138', {'concept': 'Q151885'}]
SELECT DISTINCT ?g WHERE { resource:Q216798 property:P138 ?g . ?g rdf:type ontology:Q151885 }
sky
That rock named after is the sky
sky
action filter_type
action find
entity lapis lazuli
relation named after
type concept
['lapis lazuli', 'named after', {'concept': 'concept'}]
SELECT DISTINCT ?g WHERE { resource:lapis_lazuli property:named_after ?g . ?g rdf:type ontology:concept }
[]