Simple Question (Direct)
Simple Question
Q6892012
P106
Q12737077
USER
What do Mohammad Hassan Ganji do for a living ?
(Q6892012,P106,c(Q12737077))
action filter_type
action find
entity Q6892012
relation P106
type Q12737077
['Q6892012', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q6892012 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
Mohammad Hassan Ganji
action filter_type
action find
entity Mohammad Hassan Ganji
relation occupation
type occupation
['Mohammad Hassan Ganji', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Mohammad_Hassan_Ganji property:occupation ?i . ?i rdf:type ontology:occupation }
[]
occupation
Q5428874 Q2310145
SYSTEM
faculty, meteorologist
Q5428874 Q2310145
(Q6892012,P106,c(Q12737077))
action filter_type
action find
entity Q6892012
relation P106
type Q12737077
[ANSWERS] Mohammad Hassan Ganji do for a living
['Q6892012', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?i WHERE { resource:Q6892012 property:P106 ?i . ?i rdf:type ontology:Q12737077 }
faculty meteorologist
Faculty and meteorologist Mohammad Hassan Ganji do for a living
faculty meteorologist
action filter_type
action find
entity Mohammad Hassan Ganji
relation occupation
type occupation
['Mohammad Hassan Ganji', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?i WHERE { resource:Mohammad_Hassan_Ganji property:occupation ?i . ?i rdf:type ontology:occupation }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2310145
P425
Q1914636
USER
Which activity is associated with the field of occupation that one ?
(Q2310145,P425,c(Q1914636))
action filter_type
action find
entity Q2310145
relation P425
type Q1914636
['Q2310145', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?e WHERE { resource:Q2310145 property:P425 ?e . ?e rdf:type ontology:Q1914636 }
meteorologist
action filter_type
action find
entity meteorologist
relation field of this occupation
type activity
['meteorologist', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?e WHERE { resource:meteorologist property:field_of_this_occupation ?e . ?e rdf:type ontology:activity }
[]
activity
Clarification for simple ques.
Q5428874
SYSTEM
Did you mean faculty ?
Q5428874 Q2310145
(Q5428874,P425,c(Q1914636)) (Q2310145,P425,c(Q1914636))
[ANSWER]
['Q5428874', 'P425', {'concept': 'Q1914636'}] ['Q2310145', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?e WHERE { resource:Q2310145 property:P425 ?e . ?e rdf:type ontology:Q1914636 }
faculty meteorologist
Did you mean faculty ?
faculty
['faculty', 'field of this occupation', {'concept': 'activity'}] ['meteorologist', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?e WHERE { resource:meteorologist property:field_of_this_occupation ?e . ?e rdf:type ontology:activity }
[]
Simple Question (Coreferenced)
USER
No, I meant meteorologist. Could you tell me the answer for that?
(Q2310145,P425,c(Q1914636))
Q2310145
['Q2310145', 'P425', {'concept': 'Q1914636'}]
['meteorologist', 'field of this occupation', {'concept': 'activity'}]
[]
Q25261
SYSTEM
meteorology
Q25261
(Q2310145,P425,c(Q1914636))
action filter_type
action find
entity Q2310145
relation P425
type Q1914636
The [ANSWER] is associated with the field of occupation that one
['Q2310145', 'P425', {'concept': 'Q1914636'}]
SELECT DISTINCT ?e WHERE { resource:Q2310145 property:P425 ?e . ?e rdf:type ontology:Q1914636 }
meteorology
The meteorology is associated with the field of occupation that one
meteorology
action filter_type
action find
entity meteorologist
relation field of this occupation
type activity
['meteorologist', 'field of this occupation', {'concept': 'activity'}]
SELECT DISTINCT ?e WHERE { resource:meteorologist property:field_of_this_occupation ?e . ?e rdf:type ontology:activity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6892012
P21
Q290
USER
What is the sex of Mohammad Hassan Ganji ?
(Q6892012,P21,c(Q290))
action filter_type
action find
entity Q6892012
relation P21
type Q290
['Q6892012', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q6892012 property:P21 ?t . ?t rdf:type ontology:Q290 }
Mohammad Hassan Ganji
action filter_type
action find
entity Mohammad Hassan Ganji
relation gender
type sex
['Mohammad Hassan Ganji', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Mohammad_Hassan_Ganji property:gender ?t . ?t rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q6892012,P21,c(Q290))
action filter_type
action find
entity Q6892012
relation P21
type Q290
The sex of Mohammad Hassan Ganji is a [ANSWER]
['Q6892012', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?t WHERE { resource:Q6892012 property:P21 ?t . ?t rdf:type ontology:Q290 }
male
The sex of Mohammad Hassan Ganji is a male
male
action filter_type
action find
entity Mohammad Hassan Ganji
relation gender
type sex
['Mohammad Hassan Ganji', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?t WHERE { resource:Mohammad_Hassan_Ganji property:gender ?t . ?t rdf:type ontology:sex }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation|Incomplete
Q6360343 Q6892012
P21
Q290
USER
Or Kanak Mukherjee?
OR((Q6892012,P21,c(Q290)), (Q6360343,P21,c(Q290)))
action filter_type
action union
action find
entity Q6892012
relation P21
action find
entity Q6360343
relation P21
type Q290
{'OR': [['Q6892012', 'P21', {'concept': 'Q290'}], ['Q6360343', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q290 . { { resource:Q6360343 property:P21 ?j } UNION { resource:Q6892012 property:P21 ?j } } }
Kanak Mukherjee Mohammad Hassan Ganji
action filter_type
action union
action find
entity Mohammad Hassan Ganji
relation gender
action find
entity Kanak Mukherjee
relation gender
type sex
{'OR': [['Mohammad Hassan Ganji', 'gender', {'concept': 'sex'}], ['Kanak Mukherjee', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:sex . { { resource:Kanak_Mukherjee property:gender ?j } UNION { resource:Mohammad_Hassan_Ganji property:gender ?j } } }
[]
sex
Q6581097 Q6581072
SYSTEM
male, female
Q6581097 Q6581072
OR((Q6892012,P21,c(Q290)), (Q6360343,P21,c(Q290)))
action filter_type
action union
action find
entity Q6892012
relation P21
action find
entity Q6360343
relation P21
type Q290
[ANSWERS]
{'OR': [['Q6892012', 'P21', {'concept': 'Q290'}], ['Q6360343', 'P21', {'concept': 'Q290'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:Q290 . { { resource:Q6360343 property:P21 ?j } UNION { resource:Q6892012 property:P21 ?j } } }
male female
male female
action filter_type
action union
action find
entity Mohammad Hassan Ganji
relation gender
action find
entity Kanak Mukherjee
relation gender
type sex
{'OR': [['Mohammad Hassan Ganji', 'gender', {'concept': 'sex'}], ['Kanak Mukherjee', 'gender', {'concept': 'sex'}]]}
SELECT DISTINCT ?j WHERE { ?j rdf:type ontology:sex . { { resource:Kanak_Mukherjee property:gender ?j } UNION { resource:Mohammad_Hassan_Ganji property:gender ?j } } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P748
Q1307214 Q1752346 Q12737077
USER
How many occupations are appointed by exactly 1 forms of government and assemblies ?
(c(Q12737077),P748,c(Q1307214)|c(Q1752346))
action count
action equal
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
value 1
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1307214'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) ?o WHERE { { ?o property:P748 ?n . ?o rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q1307214 } UNION { ?o property:P748 ?n . ?o rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q1752346 } } GROUP BY ?o } . FILTER ( ?i = 1 ) }
action count
action equal
action union
action find_tuple_counts
relation appointed by
type occupation
type form of government
action find_tuple_counts
relation appointed by
type occupation
type assembly
value 1
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'form of government'}, {'concept': 'assembly'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) ?o WHERE { { ?o property:appointed_by ?n . ?o rdf:type ontology:occupation . ?n rdf:type ontology:form_of_government } UNION { ?o property:appointed_by ?n . ?o rdf:type ontology:occupation . ?n rdf:type ontology:assembly } } GROUP BY ?o } . FILTER ( ?i = 1 ) }
[]
form of government assembly occupation
SYSTEM
23
Q1355456 Q1507619 Q910308 Q1753754 Q943379 Q15305714 Q842386 Q19056310 Q890030 Q796593 Q583809 Q7574264 Q2962001 Q3409203 Q213107 Q327948 Q1370482 Q162754 Q217217 Q1281611 Q628102 Q1752225 Q687908
(c(Q12737077),P748,c(Q1307214)|c(Q1752346))
action count
action equal
action union
action find_tuple_counts
relation P748
type Q12737077
type Q1307214
action find_tuple_counts
relation P748
type Q12737077
type Q1752346
value 1
[ANSWER]
[{'concept': 'Q12737077'}, 'P748', [{'concept': 'Q1307214'}, {'concept': 'Q1752346'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) ?o WHERE { { ?o property:P748 ?n . ?o rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q1307214 } UNION { ?o property:P748 ?n . ?o rdf:type ontology:Q12737077 . ?n rdf:type ontology:Q1752346 } } GROUP BY ?o } . FILTER ( ?i = 1 ) }
Lord Chamberlain Deputy Prime Minister of the United Kingdom Lord Privy Seal Master of the Rolls Lord President of the Council Prime Minister of Libya Prime Minister of Russia President of Botswana State President of South Africa President of Malta Solicitor General for England and Wales Speaker of the Hellenic Parliament Chief of the Defence Staff President of Greece Prime Minister of Belgium President of Israel President of Cuba Chancellor of the Duchy of Lancaster Lord Chancellor Lieutenant Governor of Jersey President of Nauru Lord Lieutenant of Ireland Lord Chief Justice of England and Wales
23
action count
action equal
action union
action find_tuple_counts
relation appointed by
type occupation
type form of government
action find_tuple_counts
relation appointed by
type occupation
type assembly
value 1
[{'concept': 'occupation'}, 'appointed by', [{'concept': 'form of government'}, {'concept': 'assembly'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?w ) WHERE { { SELECT DISTINCT ( COUNT ( ?n ) AS ?i ) ?o WHERE { { ?o property:appointed_by ?n . ?o rdf:type ontology:occupation . ?n rdf:type ontology:form_of_government } UNION { ?o property:appointed_by ?n . ?o rdf:type ontology:occupation . ?n rdf:type ontology:assembly } } GROUP BY ?o } . FILTER ( ?i = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5428874
P361
Q12737077
USER
Which occupations are a part of faculty ?
(c(Q12737077),P361,Q5428874)
action filter_type
action find_reverse
entity Q5428874
relation P361
type Q12737077
[{'concept': 'Q12737077'}, 'P361', 'Q5428874']
SELECT DISTINCT ?g WHERE { ?g property:P361 resource:Q5428874 . ?g rdf:type ontology:Q12737077 }
faculty
action filter_type
action find_reverse
entity faculty
relation part of
type occupation
[{'concept': 'occupation'}, 'part of', 'faculty']
SELECT DISTINCT ?g WHERE { ?g property:part_of resource:faculty . ?g rdf:type ontology:occupation }
[]
occupation
Q462390 Q5669847
SYSTEM
docent, assistant professor
Q462390 Q5669847
(c(Q12737077),P361,Q5428874)
action filter_type
action find_reverse
entity Q5428874
relation P361
type Q12737077
The [ANSWERS] are a part of faculty
[{'concept': 'Q12737077'}, 'P361', 'Q5428874']
SELECT DISTINCT ?g WHERE { ?g property:P361 resource:Q5428874 . ?g rdf:type ontology:Q12737077 }
docent assistant professor
The docent and assistant professor are a part of faculty
docent assistant professor
action filter_type
action find_reverse
entity faculty
relation part of
type occupation
[{'concept': 'occupation'}, 'part of', 'faculty']
SELECT DISTINCT ?g WHERE { ?g property:part_of resource:faculty . ?g rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5669847
P512
Q502895
USER
Which people have the diploma assistant professor ?
(c(Q502895),P512,Q5669847)
action filter_type
action find_reverse
entity Q5669847
relation P512
type Q502895
[{'concept': 'Q502895'}, 'P512', 'Q5669847']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . ?c property:P512 resource:Q5669847 }
assistant professor
action filter_type
action find_reverse
entity assistant professor
relation academic degree
type common name
[{'concept': 'common name'}, 'academic degree', 'assistant professor']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . ?c property:academic_degree resource:assistant_professor }
[]
common name
Q25478771 Q25916881 Q25894786
SYSTEM
Bistra Tsvetkova, Miliyana Kaymakamova, Krassimira Daskalova
Q25478771 Q25916881 Q25894786
(c(Q502895),P512,Q5669847)
action filter_type
action find_reverse
entity Q5669847
relation P512
type Q502895
[ANSWERS] have the diploma assistant professor
[{'concept': 'Q502895'}, 'P512', 'Q5669847']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . ?c property:P512 resource:Q5669847 }
Bistra Tsvetkova Miliyana Kaymakamova Krassimira Daskalova
Bistra Tsvetkova, Miliyana Kaymakamova and Krassimira Daskalova have the diploma assistant professor
Bistra Tsvetkova Miliyana Kaymakamova Krassimira Daskalova
action filter_type
action find_reverse
entity assistant professor
relation academic degree
type common name
[{'concept': 'common name'}, 'academic degree', 'assistant professor']
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . ?c property:academic_degree resource:assistant_professor }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5669847
P39
Q502895
USER
Which people were appointed for the position of that occupation ?
(c(Q502895),P39,Q25478771) (c(Q502895),P39,Q25916881) (c(Q502895),P39,Q25894786)
action filter_type
action find_reverse
entity Q5669847
relation P39
type Q502895
[{'concept': 'Q502895'}, 'P39', 'Q25478771'] [{'concept': 'Q502895'}, 'P39', 'Q25916881'] [{'concept': 'Q502895'}, 'P39', 'Q25894786']
SELECT DISTINCT ?i WHERE { ?i property:P39 resource:Q5669847 . ?i rdf:type ontology:Q502895 }
assistant professor
action filter_type
action find_reverse
entity assistant professor
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Bistra Tsvetkova'] [{'concept': 'common name'}, 'position held', 'Miliyana Kaymakamova'] [{'concept': 'common name'}, 'position held', 'Krassimira Daskalova']
SELECT DISTINCT ?i WHERE { ?i property:position_held resource:assistant_professor . ?i rdf:type ontology:common_name }
[]
common name
Q11443689 Q27076909 Q27206239
SYSTEM
Hiroshi Amano, Brian C. Keegan, Kristen Gillespie-Lynch
Q11443689 Q27206239 Q27076909 Q26857847
(c(Q502895),P39,Q25478771) (c(Q502895),P39,Q25916881) (c(Q502895),P39,Q25894786)
action filter_type
action find_reverse
entity Q5669847
relation P39
type Q502895
[ANSWERS] were appointed for the position of that occupation
[{'concept': 'Q502895'}, 'P39', 'Q25478771'] [{'concept': 'Q502895'}, 'P39', 'Q25916881'] [{'concept': 'Q502895'}, 'P39', 'Q25894786']
SELECT DISTINCT ?i WHERE { ?i property:P39 resource:Q5669847 . ?i rdf:type ontology:Q502895 }
Hiroshi Amano Kristen Gillespie-Lynch Brian C. Keegan Aaron Shaw
Hiroshi Amano, Brian C. Keegan and Kristen Gillespie-Lynch were appointed for the position of that occupation
Hiroshi Amano Brian C. Keegan Kristen Gillespie-Lynch
action filter_type
action find_reverse
entity assistant professor
relation position held
type common name
[{'concept': 'common name'}, 'position held', 'Bistra Tsvetkova'] [{'concept': 'common name'}, 'position held', 'Miliyana Kaymakamova'] [{'concept': 'common name'}, 'position held', 'Krassimira Daskalova']
SELECT DISTINCT ?i WHERE { ?i property:position_held resource:assistant_professor . ?i rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q15975680
P725
Q502895 Q1001378
USER
How many cinematic techniques did approximately the same number of people do the dubbing for as Tamako Love Story ?
(c(Q1001378),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q1001378
type Q502895
action count
action filter_type
action find
entity Q15975680
relation P725
type Q1001378
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { resource:Q15975680 property:P725 ?x . ?x rdf:type ontology:Q1001378 } } . FILTER ( ?m = ?l ) . { SELECT DISTINCT ?a ( COUNT ( ?j ) AS ?m ) WHERE { ?a property:P725 ?j . ?a rdf:type ontology:Q1001378 . ?j rdf:type ontology:Q502895 } GROUP BY ?a } }
Tamako Love Story
action count
action approx
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
action count
action filter_type
action find
entity Tamako Love Story
relation voice actor
type cinematic technique
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { resource:Tamako_Love_Story property:voice_actor ?x . ?x rdf:type ontology:cinematic_technique } } . FILTER ( ?m = ?l ) . { SELECT DISTINCT ?a ( COUNT ( ?j ) AS ?m ) WHERE { ?a property:voice_actor ?j . ?a rdf:type ontology:cinematic_technique . ?j rdf:type ontology:common_name } GROUP BY ?a } }
[]
common name cinematic technique
SYSTEM
42
Q656998 Q6505964 Q120367 Q2388260 Q21079862 Q1093555 Q15270742 Q27229786 Q562140 Q6144664 Q221679 Q392530 Q192212 Q23647031 Q182153 Q15728879 Q2388653 Q246283 Q908816 Q244434 Q3623997 Q4096274 Q18647981 Q655133 Q2615381 Q191803 Q170035 Q2613318 Q171048 Q223217 Q6739642 Q15709928 Q14545073 Q467678 Q15140309 Q656396 Q187266 Q15975680 Q4243413 Q104905 Q329603 Q633053
(c(Q1001378),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q1001378
type Q502895
action count
action filter_type
action find
entity Q15975680
relation P725
type Q1001378
[ANSWER]
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { resource:Q15975680 property:P725 ?x . ?x rdf:type ontology:Q1001378 } } . FILTER ( ?m = ?l ) . { SELECT DISTINCT ?a ( COUNT ( ?j ) AS ?m ) WHERE { ?a property:P725 ?j . ?a rdf:type ontology:Q1001378 . ?j rdf:type ontology:Q502895 } GROUP BY ?a } }
Garfield's Pet Force Rudolph the Red-Nosed Reindeer: The Movie Shark Tale The Humpbacked Horse Cars 3 Swan Lake Adventures of Mowgli The Animated Adventures of Tom Sawyer Yobi, the Five Tailed Fox Inside Out Meet the Robinsons Treasure Planet Cars 2 Batman: The Killing Joke Cars My Little Pony: Equestria Girls 2 – Rainbow Rocks Tom Sawyer Frozen The Secret of Kells Lady and the Tramp II: Scamp's Adventure FernGully 2: The Magical Rescue The Bremen Town Musicians Moana Treasure Island Korgoth of Barbaria The Lion King II: Simba's Pride Ratatouille Garfield's Fun Fest Toy Story The Lion King 1½ Making Stars Tríd an Stoirm 1912 film The Little Mermaid II: Return to the Sea Emil & Ida i Lönneberga Mickey's Magical Christmas: Snowed in at the House of Mouse Toy Story 2 Tamako Love Story Ku! Kin-dza-dza WALL•E Laura's Star Surf's Up
42
action count
action approx
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
action count
action filter_type
action find
entity Tamako Love Story
relation voice actor
type cinematic technique
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?a ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) WHERE { resource:Tamako_Love_Story property:voice_actor ?x . ?x rdf:type ontology:cinematic_technique } } . FILTER ( ?m = ?l ) . { SELECT DISTINCT ?a ( COUNT ( ?j ) AS ?m ) WHERE { ?a property:voice_actor ?j . ?a rdf:type ontology:cinematic_technique . ?j rdf:type ontology:common_name } GROUP BY ?a } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q15709928
P725
Q502895 Q1001378
USER
And also tell me about Tríd an Stoirm?
(c(Q1001378),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q1001378
type Q502895
action count
action filter_type
action find
entity Q15709928
relation P725
type Q1001378
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?g ) WHERE { ?b property:P725 ?r . ?b rdf:type ontology:Q1001378 . ?r rdf:type ontology:Q502895 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { resource:Q15709928 property:P725 ?n . ?n rdf:type ontology:Q1001378 } } . FILTER ( ?g = ?c ) }
Tríd an Stoirm
action count
action approx
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
action count
action filter_type
action find
entity Tríd an Stoirm
relation voice actor
type cinematic technique
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?g ) WHERE { ?b property:voice_actor ?r . ?b rdf:type ontology:cinematic_technique . ?r rdf:type ontology:common_name } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { resource:Tríd_an_Stoirm property:voice_actor ?n . ?n rdf:type ontology:cinematic_technique } } . FILTER ( ?g = ?c ) }
[]
common name cinematic technique
SYSTEM
41
Q656998 Q6505964 Q120367 Q2388260 Q21079862 Q1093555 Q15270742 Q27229786 Q562140 Q6144664 Q221679 Q392530 Q192212 Q23647031 Q182153 Q15728879 Q246283 Q908816 Q244434 Q3623997 Q4096274 Q18647981 Q655133 Q2615381 Q191803 Q170035 Q2613318 Q171048 Q223217 Q6739642 Q15709928 Q14545073 Q467678 Q15140309 Q656396 Q187266 Q15975680 Q4243413 Q104905 Q329603 Q633053
(c(Q1001378),P725,c(Q502895))
action count
action approx
action find_tuple_counts
relation P725
type Q1001378
type Q502895
action count
action filter_type
action find
entity Q15709928
relation P725
type Q1001378
[ANSWER]
[{'concept': 'Q1001378'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?g ) WHERE { ?b property:P725 ?r . ?b rdf:type ontology:Q1001378 . ?r rdf:type ontology:Q502895 } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { resource:Q15709928 property:P725 ?n . ?n rdf:type ontology:Q1001378 } } . FILTER ( ?g = ?c ) }
Garfield's Pet Force Rudolph the Red-Nosed Reindeer: The Movie Shark Tale The Humpbacked Horse Cars 3 Swan Lake Adventures of Mowgli The Animated Adventures of Tom Sawyer Yobi, the Five Tailed Fox Inside Out Meet the Robinsons Treasure Planet Cars 2 Batman: The Killing Joke Cars My Little Pony: Equestria Girls 2 – Rainbow Rocks Frozen The Secret of Kells Lady and the Tramp II: Scamp's Adventure FernGully 2: The Magical Rescue The Bremen Town Musicians Moana Treasure Island Korgoth of Barbaria The Lion King II: Simba's Pride Ratatouille Garfield's Fun Fest Toy Story The Lion King 1½ Making Stars Tríd an Stoirm 1912 film The Little Mermaid II: Return to the Sea Emil & Ida i Lönneberga Mickey's Magical Christmas: Snowed in at the House of Mouse Toy Story 2 Tamako Love Story Ku! Kin-dza-dza WALL•E Laura's Star Surf's Up
41
action count
action approx
action find_tuple_counts
relation voice actor
type cinematic technique
type common name
action count
action filter_type
action find
entity Tríd an Stoirm
relation voice actor
type cinematic technique
[{'concept': 'cinematic technique'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?b ) AS ?o ) WHERE { { SELECT DISTINCT ?b ( COUNT ( ?r ) AS ?g ) WHERE { ?b property:voice_actor ?r . ?b rdf:type ontology:cinematic_technique . ?r rdf:type ontology:common_name } GROUP BY ?b } . { SELECT DISTINCT ( COUNT ( ?n ) AS ?c ) WHERE { resource:Tríd_an_Stoirm property:voice_actor ?n . ?n rdf:type ontology:cinematic_technique } } . FILTER ( ?g = ?c ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11443689
P184
Q502895
USER
Which person was the doctoral advisor of Hiroshi Amano ?
(Q11443689,P184,c(Q502895))
action filter_type
action find
entity Q11443689
relation P184
type Q502895
['Q11443689', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q11443689 property:P184 ?i }
Hiroshi Amano
action filter_type
action find
entity Hiroshi Amano
relation doctoral advisor
type common name
['Hiroshi Amano', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Hiroshi_Amano property:doctoral_advisor ?i }
[]
common name
Q1673706
SYSTEM
Isamu Akasaki
Q1673706
(Q11443689,P184,c(Q502895))
action filter_type
action find
entity Q11443689
relation P184
type Q502895
[ANSWER] was the doctoral advisor of Hiroshi Amano
['Q11443689', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Q502895 . resource:Q11443689 property:P184 ?i }
Isamu Akasaki
Isamu Akasaki was the doctoral advisor of Hiroshi Amano
Isamu Akasaki
action filter_type
action find
entity Hiroshi Amano
relation doctoral advisor
type common name
['Hiroshi Amano', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:common_name . resource:Hiroshi_Amano property:doctoral_advisor ?i }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q4260365
Q502895
USER
And how about Vladimir Lefebvre?
(Q4260365,P184,c(Q502895))
action filter_type
action find
entity Q4260365
relation P184
type Q502895
['Q4260365', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q4260365 property:P184 ?d . ?d rdf:type ontology:Q502895 }
Vladimir Lefebvre
action filter_type
action find
entity Vladimir Lefebvre
relation doctoral advisor
type common name
['Vladimir Lefebvre', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Vladimir_Lefebvre property:doctoral_advisor ?d . ?d rdf:type ontology:common_name }
[]
common name
Q3737203
SYSTEM
Georgy Shchedrovitsky
Q3737203
(Q4260365,P184,c(Q502895))
action filter_type
action find
entity Q4260365
relation P184
type Q502895
[ANSWER]
['Q4260365', 'P184', {'concept': 'Q502895'}]
SELECT DISTINCT ?d WHERE { resource:Q4260365 property:P184 ?d . ?d rdf:type ontology:Q502895 }
Georgy Shchedrovitsky
Georgy Shchedrovitsky
action filter_type
action find
entity Vladimir Lefebvre
relation doctoral advisor
type common name
['Vladimir Lefebvre', 'doctoral advisor', {'concept': 'common name'}]
SELECT DISTINCT ?d WHERE { resource:Vladimir_Lefebvre property:doctoral_advisor ?d . ?d rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q3737203 Q4260365
P184
Q502895
USER
Does Vladimir Lefebvre have that one as doctor advisor ?
(Q4260365,P184,Q3737203)
action is_in
entity Q3737203
action find
entity Q4260365
relation P184
['Q4260365', 'P184', 'Q3737203']
ASK WHERE { resource:Q4260365 property:P184 resource:Q3737203 }
Georgy Shchedrovitsky Vladimir Lefebvre
action is_in
entity Georgy Shchedrovitsky
action find
entity Vladimir Lefebvre
relation doctoral advisor
['Vladimir Lefebvre', 'doctoral advisor', 'Georgy Shchedrovitsky']
ASK WHERE { resource:Vladimir_Lefebvre property:doctoral_advisor resource:Georgy_Shchedrovitsky }
[]
common name
SYSTEM
YES
(Q4260365,P184,Q3737203)
action is_in
entity Q3737203
action find
entity Q4260365
relation P184
[ANSWER]
['Q4260365', 'P184', 'Q3737203']
ASK WHERE { resource:Q4260365 property:P184 resource:Q3737203 }
Yes
action is_in
entity Georgy Shchedrovitsky
action find
entity Vladimir Lefebvre
relation doctoral advisor
['Vladimir Lefebvre', 'doctoral advisor', 'Georgy Shchedrovitsky']
ASK WHERE { resource:Vladimir_Lefebvre property:doctoral_advisor resource:Georgy_Shchedrovitsky }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P180
Q12737077 Q3305213 Q386724
USER
Which occupations are depicted in atleast 3 paintings and works ?
(c(Q3305213)|c(Q386724),P180,c(Q12737077))
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
value 3
[[{'concept': 'Q3305213'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?w >= 3 ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) ?v WHERE { { ?x property:P180 ?v . ?v rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q3305213 } UNION { ?x property:P180 ?v . ?v rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q386724 } } GROUP BY ?v } }
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action find_reverse_tuple_counts
relation depicts
type occupation
type work
value 3
[[{'concept': 'painting'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?w >= 3 ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) ?v WHERE { { ?x property:depicts ?v . ?v rdf:type ontology:occupation . ?x rdf:type ontology:painting } UNION { ?x property:depicts ?v . ?v rdf:type ontology:occupation . ?x rdf:type ontology:work } } GROUP BY ?v } }
[]
occupation painting work
Q4991371 Q733786 Q2730732
SYSTEM
soldier, monk, equestrian
Q733786 Q4991371 Q2730732 Q42603
(c(Q3305213)|c(Q386724),P180,c(Q12737077))
action atleast
action union
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q3305213
action find_reverse_tuple_counts
relation P180
type Q12737077
type Q386724
value 3
And [ANSWERS] are depicted in atleast 3 paintings and works
[[{'concept': 'Q3305213'}, {'concept': 'Q386724'}], 'P180', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?w >= 3 ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) ?v WHERE { { ?x property:P180 ?v . ?v rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q3305213 } UNION { ?x property:P180 ?v . ?v rdf:type ontology:Q12737077 . ?x rdf:type ontology:Q386724 } } GROUP BY ?v } }
monk soldier equestrian priest
And soldier, monk and equestrian are depicted in atleast 3 paintings and works
soldier monk equestrian
action atleast
action union
action find_reverse_tuple_counts
relation depicts
type occupation
type painting
action find_reverse_tuple_counts
relation depicts
type occupation
type work
value 3
[[{'concept': 'painting'}, {'concept': 'work'}], 'depicts', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { FILTER ( ?w >= 3 ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?w ) ?v WHERE { { ?x property:depicts ?v . ?v rdf:type ontology:occupation . ?x rdf:type ontology:painting } UNION { ?x property:depicts ?v . ?v rdf:type ontology:occupation . ?x rdf:type ontology:work } } GROUP BY ?v } }
[]