Simple Question (Direct)
Simple Question
Q3618697
P734
Q82799
USER
Who is associated with Antigono Donati ?
(Q3618697,P734,c(Q82799))
action filter_type
action find
entity Q3618697
relation P734
type Q82799
['Q3618697', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q82799 . resource:Q3618697 property:P734 ?m }
Antigono Donati
action filter_type
action find
entity Antigono Donati
relation family name
type name
['Antigono Donati', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:name . resource:Antigono_Donati property:family_name ?m }
[]
name
Q23038735
SYSTEM
Donati
Q23038735
(Q3618697,P734,c(Q82799))
action filter_type
action find
entity Q3618697
relation P734
type Q82799
[ANSWER] is associated with Antigono [ANSWER]
['Q3618697', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:Q82799 . resource:Q3618697 property:P734 ?m }
Donati
Donati is associated with Antigono Donati
Donati
action filter_type
action find
entity Antigono Donati
relation family name
type name
['Antigono Donati', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { ?m rdf:type ontology:name . resource:Antigono_Donati property:family_name ?m }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3618697
P937
Q56061
USER
What is the location where that person worked ?
(Q23038735,P937,c(Q56061))
action filter_type
action find
entity Q3618697
relation P937
type Q56061
['Q23038735', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q3618697 property:P937 ?y . ?y rdf:type ontology:Q56061 }
Antigono Donati
action filter_type
action find
entity Antigono Donati
relation work location
type administrative territorial entity
['Donati', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Antigono_Donati property:work_location ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q220
SYSTEM
Rome
Q220
(Q23038735,P937,c(Q56061))
action filter_type
action find
entity Q3618697
relation P937
type Q56061
The location that person worked is in [ANSWER]
['Q23038735', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q3618697 property:P937 ?y . ?y rdf:type ontology:Q56061 }
Rome
The location that person worked is in Rome
Rome
action filter_type
action find
entity Antigono Donati
relation work location
type administrative territorial entity
['Donati', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Antigono_Donati property:work_location ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q82799 Q11060274 Q15709879
USER
Which names are depicted in approximately 1 prints and artwork series ?
(c(Q11060274)|c(Q15709879),P180,c(Q82799))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
value 1
[[{'concept': 'Q11060274'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?f = 1 ) . { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?f ) WHERE { VALUES ( ?w ) { ( ontology:Q11060274 ) ( ontology:Q15709879 ) } . ?k rdf:type ?w } GROUP BY ?m } }
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type print
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
value 1
[[{'concept': 'print'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?f = 1 ) . { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?f ) WHERE { VALUES ( ?w ) { ( ontology:print ) ( ontology:artwork_series ) } . ?k rdf:type ?w } GROUP BY ?m } }
[]
name print artwork series
Q144 Q1807269 Q876933
SYSTEM
dog, leek, magi
Q13219075 Q134609 Q6453151 Q830 Q3736439 Q41692 Q3711329 Q732775 Q36940 Q1517781 Q7368 Q7369 Q2092297 Q11946202 Q144 Q2258881 Q4767951 Q16529344 Q24067392 Q713019 Q1807269 Q201251 Q8331 Q8335 Q846664 Q3116510 Q3537778 Q1865281 Q1367 Q1192868 Q9394 Q2734060 Q2495957 Q1953597 Q15629245 Q25894 Q1466321 Q858243 Q876933 Q190294 Q7378 Q123120 Q214169 Q538906 Q308841 Q1360763 Q83931 Q9458574 Q152 Q5070208 Q859257 Q10968813
(c(Q11060274)|c(Q15709879),P180,c(Q82799))
action approx
action union
action find_reverse_tuple_counts
relation P180
type Q82799
type Q11060274
action find_reverse_tuple_counts
relation P180
type Q82799
type Q15709879
value 1
[ANSWERS] are depicted in approximately 1 prints and artwork series
[[{'concept': 'Q11060274'}, {'concept': 'Q15709879'}], 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?f = 1 ) . { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?f ) WHERE { VALUES ( ?w ) { ( ontology:Q11060274 ) ( ontology:Q15709879 ) } . ?k rdf:type ?w } GROUP BY ?m } }
octopus Cynara scolymus toad cattle duck mule wolf Partridge sugarcane shrimp Ovis aries dolphin eagle butterfly dog trout cattle goose Boy cannoneer leek peacock fox raven hawk frog donkeys whale monkey clam rabbit reed magpie slug lizard antelope Yellow jacket Tree squirrel magi mouflon elephant vulture pheasant thistle snail Scipio locust wasp fish kangaroo fly jay
Dog, leek and magi are depicted in approximately 1 prints and artwork series
dog leek magi
action approx
action union
action find_reverse_tuple_counts
relation depicts
type name
type print
action find_reverse_tuple_counts
relation depicts
type name
type artwork series
value 1
[[{'concept': 'print'}, {'concept': 'artwork series'}], 'depicts', {'concept': 'name'}]
SELECT DISTINCT ?m WHERE { FILTER ( ?f = 1 ) . { SELECT DISTINCT ?m ( COUNT ( ?k ) AS ?f ) WHERE { VALUES ( ?w ) { ( ontology:print ) ( ontology:artwork_series ) } . ?k rdf:type ?w } GROUP BY ?m } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1807269
P566
Q16521
USER
Which taxon is a basionym of that name ?
(Q1807269,P566,c(Q16521))
action filter_type
action find
entity Q1807269
relation P566
type Q16521
['Q1807269', 'P566', {'concept': 'Q16521'}]
SELECT DISTINCT ?r WHERE { resource:Q1807269 property:P566 ?r . ?r rdf:type ontology:Q16521 }
leek
action filter_type
action find
entity leek
relation basionym
type taxon
['leek', 'basionym', {'concept': 'taxon'}]
SELECT DISTINCT ?r WHERE { resource:leek property:basionym ?r . ?r rdf:type ontology:taxon }
[]
taxon
Clarification for simple ques.
Q876933
SYSTEM
Did you mean magi ?
Q144 Q1807269 Q876933
(Q144,P566,c(Q16521)) (Q1807269,P566,c(Q16521)) (Q876933,P566,c(Q16521))
[ANSWER]
['Q144', 'P566', {'concept': 'Q16521'}] ['Q1807269', 'P566', {'concept': 'Q16521'}] ['Q876933', 'P566', {'concept': 'Q16521'}]
SELECT DISTINCT ?r WHERE { resource:Q1807269 property:P566 ?r . ?r rdf:type ontology:Q16521 }
dog leek magi
Did you mean magi ?
magi
['dog', 'basionym', {'concept': 'taxon'}] ['leek', 'basionym', {'concept': 'taxon'}] ['magi', 'basionym', {'concept': 'taxon'}]
SELECT DISTINCT ?r WHERE { resource:leek property:basionym ?r . ?r rdf:type ontology:taxon }
[]
Simple Question (Coreferenced)
USER
No, I meant leek. Could you tell me the answer for that?
(Q1807269,P566,c(Q16521))
Q1807269
['Q1807269', 'P566', {'concept': 'Q16521'}]
['leek', 'basionym', {'concept': 'taxon'}]
[]
Q21870138
SYSTEM
Allium porrum
Q21870138
(Q1807269,P566,c(Q16521))
action filter_type
action find
entity Q1807269
relation P566
type Q16521
[ANSWER] is a basionym of that name
['Q1807269', 'P566', {'concept': 'Q16521'}]
SELECT DISTINCT ?r WHERE { resource:Q1807269 property:P566 ?r . ?r rdf:type ontology:Q16521 }
Allium porrum
Allium porrum is a basionym of that name
Allium porrum
action filter_type
action find
entity leek
relation basionym
type taxon
['leek', 'basionym', {'concept': 'taxon'}]
SELECT DISTINCT ?r WHERE { resource:leek property:basionym ?r . ?r rdf:type ontology:taxon }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q21870138
P566
Q82799
USER
Which name has that taxon as its basionym ?
(c(Q82799),P566,Q21870138)
action filter_type
action find_reverse
entity Q21870138
relation P566
type Q82799
[{'concept': 'Q82799'}, 'P566', 'Q21870138']
SELECT DISTINCT ?p WHERE { ?p property:P566 resource:Q21870138 . ?p rdf:type ontology:Q82799 }
Allium porrum
action filter_type
action find_reverse
entity Allium porrum
relation basionym
type name
[{'concept': 'name'}, 'basionym', 'Allium porrum']
SELECT DISTINCT ?p WHERE { ?p property:basionym resource:Allium_porrum . ?p rdf:type ontology:name }
[]
name
Q1807269
SYSTEM
leek
Q1807269
(c(Q82799),P566,Q21870138)
action filter_type
action find_reverse
entity Q21870138
relation P566
type Q82799
[ANSWER] has that taxon as its basionym
[{'concept': 'Q82799'}, 'P566', 'Q21870138']
SELECT DISTINCT ?p WHERE { ?p property:P566 resource:Q21870138 . ?p rdf:type ontology:Q82799 }
leek
Leek has that taxon as its basionym
leek
action filter_type
action find_reverse
entity Allium porrum
relation basionym
type name
[{'concept': 'name'}, 'basionym', 'Allium porrum']
SELECT DISTINCT ?p WHERE { ?p property:basionym resource:Allium_porrum . ?p rdf:type ontology:name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P180
Q82799 Q386724
USER
How many names are expressed in more number of works than that name ?
(c(Q386724),P180,c(Q82799))
action count
action greater
action find_reverse_tuple_counts
relation P180
type Q82799
type Q386724
action count
action filter_type
action find
entity Q1807269
relation P180
type Q82799
[{'concept': 'Q386724'}, 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?l ) WHERE { ?t rdf:type ontology:Q82799 . ?r rdf:type ontology:Q386724 . ?r property:P180 ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { resource:Q1807269 property:P180 ?f . ?f rdf:type ontology:Q82799 } } . FILTER ( ?l > ?x ) }
action count
action greater
action find_reverse_tuple_counts
relation depicts
type name
type work
action count
action filter_type
action find
entity leek
relation depicts
type name
[{'concept': 'work'}, 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?l ) WHERE { ?t rdf:type ontology:name . ?r rdf:type ontology:work . ?r property:depicts ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { resource:leek property:depicts ?f . ?f rdf:type ontology:name } } . FILTER ( ?l > ?x ) }
[]
name work
SYSTEM
2
Q726 Q144
(c(Q386724),P180,c(Q82799))
action count
action greater
action find_reverse_tuple_counts
relation P180
type Q82799
type Q386724
action count
action filter_type
action find
entity Q1807269
relation P180
type Q82799
[ANSWER]
[{'concept': 'Q386724'}, 'P180', {'concept': 'Q82799'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?l ) WHERE { ?t rdf:type ontology:Q82799 . ?r rdf:type ontology:Q386724 . ?r property:P180 ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { resource:Q1807269 property:P180 ?f . ?f rdf:type ontology:Q82799 } } . FILTER ( ?l > ?x ) }
horse dog
2
action count
action greater
action find_reverse_tuple_counts
relation depicts
type name
type work
action count
action filter_type
action find
entity leek
relation depicts
type name
[{'concept': 'work'}, 'depicts', {'concept': 'name'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?r ) AS ?l ) WHERE { ?t rdf:type ontology:name . ?r rdf:type ontology:work . ?r property:depicts ?t } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?f ) AS ?x ) WHERE { resource:leek property:depicts ?f . ?f rdf:type ontology:name } } . FILTER ( ?l > ?x ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q144
P366
Q9332
USER
Which behavior is recognized as the main use of dog ?
(Q144,P366,c(Q9332))
action filter_type
action find
entity Q144
relation P366
type Q9332
['Q144', 'P366', {'concept': 'Q9332'}]
SELECT DISTINCT ?c WHERE { resource:Q144 property:P366 ?c . ?c rdf:type ontology:Q9332 }
dog
action filter_type
action find
entity dog
relation use
type behavior
['dog', 'use', {'concept': 'behavior'}]
SELECT DISTINCT ?c WHERE { resource:dog property:use ?c . ?c rdf:type ontology:behavior }
[]
behavior
Q36963
SYSTEM
hunting
Q36963
(Q144,P366,c(Q9332))
action filter_type
action find
entity Q144
relation P366
type Q9332
[ANSWER] is recognized as the main use of dog
['Q144', 'P366', {'concept': 'Q9332'}]
SELECT DISTINCT ?c WHERE { resource:Q144 property:P366 ?c . ?c rdf:type ontology:Q9332 }
hunting
Hunting is recognized as the main use of dog
hunting
action filter_type
action find
entity dog
relation use
type behavior
['dog', 'use', {'concept': 'behavior'}]
SELECT DISTINCT ?c WHERE { resource:dog property:use ?c . ?c rdf:type ontology:behavior }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q18199008
Q9332
USER
And how about Orion 9C?
(Q18199008,P366,c(Q9332))
action filter_type
action find
entity Q18199008
relation P366
type Q9332
['Q18199008', 'P366', {'concept': 'Q9332'}]
SELECT DISTINCT ?c WHERE { resource:Q18199008 property:P366 ?c . ?c rdf:type ontology:Q9332 }
Orion 9C
action filter_type
action find
entity Orion 9C
relation use
type behavior
['Orion 9C', 'use', {'concept': 'behavior'}]
SELECT DISTINCT ?c WHERE { resource:Orion_9C property:use ?c . ?c rdf:type ontology:behavior }
[]
behavior
Q9640723
SYSTEM
commercial aviation
Q9640723
(Q18199008,P366,c(Q9332))
action filter_type
action find
entity Q18199008
relation P366
type Q9332
[ANSWER]
['Q18199008', 'P366', {'concept': 'Q9332'}]
SELECT DISTINCT ?c WHERE { resource:Q18199008 property:P366 ?c . ?c rdf:type ontology:Q9332 }
commercial aviation
commercial aviation
action filter_type
action find
entity Orion 9C
relation use
type behavior
['Orion 9C', 'use', {'concept': 'behavior'}]
SELECT DISTINCT ?c WHERE { resource:Orion_9C property:use ?c . ?c rdf:type ontology:behavior }
[]