Simple Question (Direct)
Simple Question
Q638014
P921
Q16521
USER
Which taxon was the main subject of Boa vs. Python 's work ?
(Q638014,P921,c(Q16521))
action filter_type
action find
entity Q638014
relation P921
type Q16521
['Q638014', 'P921', {'concept': 'Q16521'}]
SELECT DISTINCT ?h WHERE { resource:Q638014 property:P921 ?h . ?h rdf:type ontology:Q16521 }
Boa vs. Python
action filter_type
action find
entity Boa vs. Python
relation main subject
type taxon
['Boa vs. Python', 'main subject', {'concept': 'taxon'}]
SELECT DISTINCT ?h WHERE { resource:Boa_vs._Python property:main_subject ?h . ?h rdf:type ontology:taxon }
[]
taxon
Q2102
SYSTEM
snake
Q2102
(Q638014,P921,c(Q16521))
action filter_type
action find
entity Q638014
relation P921
type Q16521
[ANSWER] was the main subject of Boa vs. Python 's work
['Q638014', 'P921', {'concept': 'Q16521'}]
SELECT DISTINCT ?h WHERE { resource:Q638014 property:P921 ?h . ?h rdf:type ontology:Q16521 }
snake
Snake was the main subject of Boa vs. Python 's work
snake
action filter_type
action find
entity Boa vs. Python
relation main subject
type taxon
['Boa vs. Python', 'main subject', {'concept': 'taxon'}]
SELECT DISTINCT ?h WHERE { resource:Boa_vs._Python property:main_subject ?h . ?h rdf:type ontology:taxon }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q2102 Q395295
P180
Q838948
USER
How many works of art depict snake and agony ?
(c(Q838948),P180,Q2102) (c(Q838948),P180,Q395295)
action count
action intersection
action filter_type
action find_reverse
entity Q2102
relation P180
type Q838948
action filter_type
action find_reverse
entity Q395295
relation P180
type Q838948
[{'concept': 'Q838948'}, 'P180', 'Q2102'] [{'concept': 'Q838948'}, 'P180', 'Q395295']
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { ?i property:P180 resource:Q2102 . ?i rdf:type ontology:Q838948 . ?i property:P180 resource:Q395295 . ?i rdf:type ontology:Q838948 }
snake agony
action count
action intersection
action filter_type
action find_reverse
entity snake
relation depicts
type work of art
action filter_type
action find_reverse
entity agony
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'snake'] [{'concept': 'work of art'}, 'depicts', 'agony']
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { ?i property:depicts resource:snake . ?i rdf:type ontology:work_of_art . ?i property:depicts resource:agony . ?i rdf:type ontology:work_of_art }
[]
work of art
SYSTEM
2
Q465762 Q4254121
(c(Q838948),P180,Q2102) (c(Q838948),P180,Q395295)
action count
action intersection
action filter_type
action find_reverse
entity Q2102
relation P180
type Q838948
action filter_type
action find_reverse
entity Q395295
relation P180
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P180', 'Q2102'] [{'concept': 'Q838948'}, 'P180', 'Q395295']
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { ?i property:P180 resource:Q2102 . ?i rdf:type ontology:Q838948 . ?i property:P180 resource:Q395295 . ?i rdf:type ontology:Q838948 }
Laocoön and His Sons Laocoön sculpture group in Odessa
2
action count
action intersection
action filter_type
action find_reverse
entity snake
relation depicts
type work of art
action filter_type
action find_reverse
entity agony
relation depicts
type work of art
[{'concept': 'work of art'}, 'depicts', 'snake'] [{'concept': 'work of art'}, 'depicts', 'agony']
SELECT DISTINCT ( COUNT ( ?i ) AS ?l ) WHERE { ?i property:depicts resource:snake . ?i rdf:type ontology:work_of_art . ?i property:depicts resource:agony . ?i rdf:type ontology:work_of_art }
[]