Simple Question (Direct)
Simple Question
Q4895836
P21
Q290
USER
What is the sex of Enric Casasses i Figueres ?
(Q4895836,P21,c(Q290))
action filter_type
action find
entity Q4895836
relation P21
type Q290
['Q4895836', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q4895836 property:P21 ?c . ?c rdf:type ontology:Q290 }
Enric Casasses i Figueres
action filter_type
action find
entity Enric Casasses i Figueres
relation gender
type sex
['Enric Casasses i Figueres', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Enric_Casasses_i_Figueres property:gender ?c . ?c rdf:type ontology:sex }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q4895836,P21,c(Q290))
action filter_type
action find
entity Q4895836
relation P21
type Q290
The sex of Enric Casasses i Figueres is [ANSWER]
['Q4895836', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?c WHERE { resource:Q4895836 property:P21 ?c . ?c rdf:type ontology:Q290 }
male
The sex of Enric Casasses i Figueres is male
male
action filter_type
action find
entity Enric Casasses i Figueres
relation gender
type sex
['Enric Casasses i Figueres', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?c WHERE { resource:Enric_Casasses_i_Figueres property:gender ?c . ?c rdf:type ontology:sex }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q4895836
P136
Q1792379
USER
What can be considered as category for Enric Casasses i Figueres ?
(Q4895836,P136,c(Q1792379))
action filter_type
action find
entity Q4895836
relation P136
type Q1792379
['Q4895836', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?l WHERE { resource:Q4895836 property:P136 ?l . ?l rdf:type ontology:Q1792379 }
Enric Casasses i Figueres
action filter_type
action find
entity Enric Casasses i Figueres
relation genre
type art genre
['Enric Casasses i Figueres', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?l WHERE { resource:Enric_Casasses_i_Figueres property:genre ?l . ?l rdf:type ontology:art_genre }
[]
art genre
Q482
SYSTEM
poetry
Q482
(Q4895836,P136,c(Q1792379))
action filter_type
action find
entity Q4895836
relation P136
type Q1792379
The [ANSWER] can be considered as category for Enric Casasses i Figueres
['Q4895836', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?l WHERE { resource:Q4895836 property:P136 ?l . ?l rdf:type ontology:Q1792379 }
poetry
The poetry can be considered as category for Enric Casasses i Figueres
poetry
action filter_type
action find
entity Enric Casasses i Figueres
relation genre
type art genre
['Enric Casasses i Figueres', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?l WHERE { resource:Enric_Casasses_i_Figueres property:genre ?l . ?l rdf:type ontology:art_genre }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3874251
Q1792379
USER
And also tell me about The Caverns of Kalte?
(Q3874251,P136,c(Q1792379))
action filter_type
action find
entity Q3874251
relation P136
type Q1792379
['Q3874251', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?h WHERE { resource:Q3874251 property:P136 ?h . ?h rdf:type ontology:Q1792379 }
The Caverns of Kalte
action filter_type
action find
entity The Caverns of Kalte
relation genre
type art genre
['The Caverns of Kalte', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?h WHERE { resource:The_Caverns_of_Kalte property:genre ?h . ?h rdf:type ontology:art_genre }
[]
art genre
Q131539
SYSTEM
children's literature
Q131539
(Q3874251,P136,c(Q1792379))
action filter_type
action find
entity Q3874251
relation P136
type Q1792379
[ANSWER]
['Q3874251', 'P136', {'concept': 'Q1792379'}]
SELECT DISTINCT ?h WHERE { resource:Q3874251 property:P136 ?h . ?h rdf:type ontology:Q1792379 }
children's literature
children's literature
action filter_type
action find
entity The Caverns of Kalte
relation genre
type art genre
['The Caverns of Kalte', 'genre', {'concept': 'art genre'}]
SELECT DISTINCT ?h WHERE { resource:The_Caverns_of_Kalte property:genre ?h . ?h rdf:type ontology:art_genre }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q131539 Q7271148
P136
Q15416
USER
Does Queer Eye for the Straight Girl have that one as genre ?
(Q7271148,P136,Q131539)
action is_in
entity Q7271148
action find
entity Q131539
relation P136
['Q7271148', 'P136', 'Q131539']
ASK WHERE { resource:Q131539 property:P136 resource:Q7271148 }
children's literature Queer Eye for the Straight Girl
action is_in
entity Queer Eye for the Straight Girl
action find
entity children's literature
relation genre
['Queer Eye for the Straight Girl', 'genre', "children's literature"]
ASK WHERE { resource:children's_literature property:genre resource:Queer_Eye_for_the_Straight_Girl }
[]
television program
SYSTEM
NO
(Q7271148,P136,Q131539)
action is_in
entity Q7271148
action find
entity Q131539
relation P136
[ANSWER]
['Q7271148', 'P136', 'Q131539']
ASK WHERE { resource:Q131539 property:P136 resource:Q7271148 }
No
action is_in
entity Queer Eye for the Straight Girl
action find
entity children's literature
relation genre
['Queer Eye for the Straight Girl', 'genre', "children's literature"]
ASK WHERE { resource:children's_literature property:genre resource:Queer_Eye_for_the_Straight_Girl }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q19318131 Q4895836
P19 P20
Q56061
USER
Which administrative territories were Enric Casasses i Figueres born in or did Albert Fox die ?
OR((Q4895836,P19,c(Q56061)), (Q19318131,P20,c(Q56061)))
action filter_type
action union
action find
entity Q4895836
relation P19
action find
entity Q19318131
relation P20
type Q56061
{'OR': [['Q4895836', 'P19', {'concept': 'Q56061'}], ['Q19318131', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q4895836 property:P19 ?j } UNION { resource:Q19318131 property:P20 ?j } } . ?j rdf:type ontology:Q56061 }
Albert Fox Enric Casasses i Figueres
action filter_type
action union
action find
entity Enric Casasses i Figueres
relation place of birth
action find
entity Albert Fox
relation place of death
type administrative territorial entity
{'OR': [['Enric Casasses i Figueres', 'place of birth', {'concept': 'administrative territorial entity'}], ['Albert Fox', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Enric_Casasses_i_Figueres property:place_of_birth ?j } UNION { resource:Albert_Fox property:place_of_death ?j } } . ?j rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q1492 Q19798
SYSTEM
Barcelona, Hitchin
Q1492 Q19798
OR((Q4895836,P19,c(Q56061)), (Q19318131,P20,c(Q56061)))
action filter_type
action union
action find
entity Q4895836
relation P19
action find
entity Q19318131
relation P20
type Q56061
Enric Casasses i Figueres were born in die of [ANSWERS]
{'OR': [['Q4895836', 'P19', {'concept': 'Q56061'}], ['Q19318131', 'P20', {'concept': 'Q56061'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q4895836 property:P19 ?j } UNION { resource:Q19318131 property:P20 ?j } } . ?j rdf:type ontology:Q56061 }
Barcelona Hitchin
Enric Casasses i Figueres were born in die of Barcelona and Hitchin
Barcelona Hitchin
action filter_type
action union
action find
entity Enric Casasses i Figueres
relation place of birth
action find
entity Albert Fox
relation place of death
type administrative territorial entity
{'OR': [['Enric Casasses i Figueres', 'place of birth', {'concept': 'administrative territorial entity'}], ['Albert Fox', 'place of death', {'concept': 'administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Enric_Casasses_i_Figueres property:place_of_birth ?j } UNION { resource:Albert_Fox property:place_of_death ?j } } . ?j rdf:type ontology:administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q19798
P19 P21
Q502895
USER
Which people have location of birth at Hitchin and have male as the sex ?
AND((c(Q502895),P19,Q19798), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q19798
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q19798'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . ?s property:P21 resource:Q6581097 . ?s property:P19 resource:Q19798 }
male Hitchin
action filter_type
action intersection
action find_reverse
entity Hitchin
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Hitchin'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . ?s property:gender resource:male . ?s property:place_of_birth resource:Hitchin }
[]
common name
Q5238056 Q12053459 Q17811637 Q3992438 Q7151583 Q5307307 Q16212193 Q615937 Q362281 Q18162005
SYSTEM
Some of them are David Noble, Henry Hawkins, 1st Baron Brampton, James Bay, Tom Bacon, Paul Jesson, Drewe Broughton, Danny Hope, Ian Poulter, Dave Kitson, RHODES
Q256875 Q20807571 Q5238530 Q362281 Q5307307 Q7803080 Q18162005 Q6524511 Q7412050 Q7436525 Q5145149 Q7151583 Q5113125 Q7440980 Q615937 Q7793830 Q23415453 Q4885878 Q5106190 Q7369334 Q5528217 Q4802497 Q979175 Q3992438 Q14504075 Q5793140 Q2635211 Q6181228 Q7329950 Q17811637 Q6774901 Q5238056 Q6397250 Q16067247 Q12053459 Q7149465 Q16212193 Q4756990
AND((c(Q502895),P19,Q19798), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q19798
relation P19
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] have location of birth at Hitchin and have male as the sex
{'AND': [[{'concept': 'Q502895'}, 'P19', 'Q19798'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q502895 . ?s property:P21 resource:Q6581097 . ?s property:P19 resource:Q19798 }
Kevin Phillips Vic Furr David Perpetuini Dave Kitson Drewe Broughton Tim Allpress RHODES Leon Bell Samuel Lucas Scott Houghton Colin Grant Paul Jesson Christopher Reynalds Sean Evers Ian Poulter Thomas Scott Matthew Steer Ben Hull Chris Cleaver Ross Flitney Gavin McInnes Arvind Parmar Frank Launder Tom Bacon Howard Gaye Liam Hatch Robert Bentley Jeremy Clarke Richard Whitmore James Bay Martin Armiger David Noble Kevin Pilkington William Grimes Henry Hawkins, 1st Baron Brampton Paul Bowgett Danny Hope Andrew Fotiadis
David Noble, Henry Hawkins, 1st Baron Brampton, James Bay, Tom Bacon, Paul Jesson, Drewe Broughton, Danny Hope, Ian Poulter, Dave Kitson and RHODES have location of birth at Hitchin and have male as the sex
David Noble Henry Hawkins, 1st Baron Brampton James Bay Tom Bacon Paul Jesson Drewe Broughton Danny Hope Ian Poulter Dave Kitson RHODES
action filter_type
action intersection
action find_reverse
entity Hitchin
relation place of birth
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'place of birth', 'Hitchin'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:common_name . ?s property:gender resource:male . ?s property:place_of_birth resource:Hitchin }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P35
Q502895 Q35798 Q1048835
USER
Which people are the chiefs of state of exactly 1 executive branches or political territories ?
(c(Q35798)|c(Q1048835),P35,c(Q502895))
action equal
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q35798
action find_reverse_tuple_counts
relation P35
type Q502895
type Q1048835
value 1
[[{'concept': 'Q35798'}, {'concept': 'Q1048835'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?f ) AS ?o ) WHERE { ?f rdf:type ?s . VALUES ( ?s ) { ( ontology:Q35798 ) ( ontology:Q1048835 ) } } GROUP BY ?y } . FILTER ( ?o = 1 ) }
action equal
action union
action find_reverse_tuple_counts
relation head of state
type common name
type executive branch
action find_reverse_tuple_counts
relation head of state
type common name
type political territorial entity
value 1
[[{'concept': 'executive branch'}, {'concept': 'political territorial entity'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?f ) AS ?o ) WHERE { ?f rdf:type ?s . VALUES ( ?s ) { ( ontology:executive_branch ) ( ontology:political_territorial_entity ) } } GROUP BY ?y } . FILTER ( ?o = 1 ) }
[]
common name executive branch political territorial entity
Q7747 Q2567 Q20875
SYSTEM
Vladimir Putin, Richard von Weizsäcker, Edward VII
Q2573 Q2571 Q189732 Q1428924 Q2494376 Q67345 Q214029 Q152511 Q152335 Q57319 Q152274 Q312557 Q57258 Q162269 Q167724 Q13014 Q78490 Q152756 Q352200 Q151312 Q267745 Q58056 Q167699 Q472323 Q94941 Q187149 Q855252 Q157812 Q3956186 Q444290 Q42939 Q20875 Q2503364 Q295212 Q29207 Q155002 Q179858 Q250087 Q34105 Q9439 Q1354851 Q335323 Q2542 Q2540 Q7747 Q152306 Q735387 Q334851 Q156617 Q157789 Q976974 Q57488 Q2594 Q570155 Q2112764 Q161958 Q154998 Q182266 Q156187 Q151305 Q189186 Q335310 Q157793 Q11753 Q57502 Q332709 Q362618 Q157776 Q235454 Q57295 Q4631 Q590227 Q562209 Q102139 Q153832 Q270645 Q570195 Q156572 Q335033 Q2551 Q84204 Q84475 Q205993 Q157068 Q153940 Q154993 Q399998 Q354705 Q154041 Q81215 Q2569 Q2563 Q2567 Q455854 Q157781 Q299629 Q11726 Q273228 Q1354229 Q72856 Q161059 Q62483 Q72898 Q1260 Q2582 Q172083 Q153586 Q704339 Q57464 Q332157 Q4715 Q154460 Q1356927 Q84263 Q2538 Q57521 Q57526 Q1382174 Q57261 Q14257286 Q57338 Q51672 Q333824
(c(Q35798)|c(Q1048835),P35,c(Q502895))
action equal
action union
action find_reverse_tuple_counts
relation P35
type Q502895
type Q35798
action find_reverse_tuple_counts
relation P35
type Q502895
type Q1048835
value 1
[ANSWERS] are the chiefs of state of exactly 1 executive branches or political territories
[[{'concept': 'Q35798'}, {'concept': 'Q1048835'}], 'P35', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?f ) AS ?o ) WHERE { ?f rdf:type ?s . VALUES ( ?s ) { ( ontology:Q35798 ) ( ontology:Q1048835 ) } } GROUP BY ?y } . FILTER ( ?o = 1 ) }
Gustav Heinemann Walter Scheel Leonid Kravchuk Nicola Mancino Edmund Lawrence John William, Duke of Jülich-Cleves-Berg Kaarlo Juho Ståhlberg Eddie Fenech Adami László Sólyom Norodom Sihamoni Edvard Beneš V. V. Giri Ivo Josipović Jefferson Davis Guido de Marco Franz Jonas Thomas Klestil Frederick VIII of Denmark Charles II, Duke of Parma Frederick IX of Denmark William Deane Christopher of Bavaria Ugo Mifsud Bonnici Ranasinghe Premadasa Frederick VII of Denmark Umberto II of Italy Bhumibol Adulyadej Frederick III of Denmark Sergio Mattarella Louis, King of Etruria Bronisław Komorowski Edward VII Pietro Grasso Rosen Plevneliev Sauli Niinistö Frederick VI of Denmark Urho Kekkonen Bill Hayden Hosni Mubarak Queen Victoria John Kerr William Morrison, 1st Viscount Dunrossil Horst Köhler Christian Wulff Vladimir Putin Carl Gustaf Emil Mannerheim William McKell Zail Singh Christian X of Denmark Frederick I of Denmark Peter Cosgrove Jakaya Kikwete Theodor Heuss John II, Duke of Cleves Nicos Anastasiades Eric of Pomerania Christian III of Denmark Xiang Yu Frederick V of Denmark Christian IX of Denmark Zelman Cowen Richard Casey, Baron Casey Christian V of Denmark Heinz Fischer George Abela Giovanni Spadolini Adolph I, Duke of Cleves John, King of Denmark K. R. Narayanan Ivan Gašparovič Mohamed Morsi Edward VIII Cesare Merzagora Margrethe II of Denmark Alcide De Gasperi Rose Francine Rogombé John I, Duke of Cleves Christian VII of Denmark William Slim, 1st Viscount Slim Johannes Rau Theodor Körner Michael Hainisch William Gopallawa Lord Mountbatten Christian I of Denmark Christian VI of Denmark Wee Kim Wee Frederick Ballantyne Frederick II of Denmark Petar Stoyanov Karl Carstens Roman Herzog Richard von Weizsäcker Reuven Rivlin Christian VIII of Denmark Léon M'ba Karl Renner Amintore Fanfani Peter Hollingworth Rudolf Kirchschläger Frederick IV of Denmark William, Duke of Jülich-Cleves-Berg Adolf Schärf Kurt Waldheim Heinrich Lübke Omar Bongo Christian IV of Denmark John III, Duke of Cleves Abdullah II of Jordan Shankar Dayal Sharma Moncef Marzouki Christian II of Denmark Ninian Stephen Wilhelm Miklas Joachim Gauck Ali Bongo Ondimba Bujar Nishani Paul Hasluck Georgi Parvanov Mamnoon Hussain Mahinda Rajapaksa Herod the Great William Sidney, 1st Viscount De L'Isle
Vladimir Putin, Richard von Weizsäcker and Edward VII are the chiefs of state of exactly 1 executive branches or political territories
Vladimir Putin Richard von Weizsäcker Edward VII
action equal
action union
action find_reverse_tuple_counts
relation head of state
type common name
type executive branch
action find_reverse_tuple_counts
relation head of state
type common name
type political territorial entity
value 1
[[{'concept': 'executive branch'}, {'concept': 'political territorial entity'}], 'head of state', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?f ) AS ?o ) WHERE { ?f rdf:type ?s . VALUES ( ?s ) { ( ontology:executive_branch ) ( ontology:political_territorial_entity ) } } GROUP BY ?y } . FILTER ( ?o = 1 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5238056
P27
Q15617994
USER
Which administrative territory is David Noble a civilian of ?
(Q5238056,P27,c(Q15617994))
action filter_type
action find
entity Q5238056
relation P27
type Q15617994
['Q5238056', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q5238056 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
David Noble
action filter_type
action find
entity David Noble
relation country of citizenship
type designation for an administrative territorial entity
['David Noble', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:David_Noble property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q5238056,P27,c(Q15617994))
action filter_type
action find
entity Q5238056
relation P27
type Q15617994
Which administrative territory is David Noble a civilian of
['Q5238056', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?v WHERE { resource:Q5238056 property:P27 ?v . ?v rdf:type ontology:Q15617994 }
United Kingdom
Which administrative territory is David Noble a civilian of
United Kingdom
action filter_type
action find
entity David Noble
relation country of citizenship
type designation for an administrative territorial entity
['David Noble', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?v WHERE { resource:David_Noble property:country_of_citizenship ?v . ?v rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q5238056
P106
Q12737077
USER
How many occupations have David Noble as his/her as a career ?
(Q5238056,P106,c(Q12737077))
action count
action filter_type
action find
entity Q5238056
relation P106
type Q12737077
['Q5238056', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { resource:Q5238056 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
David Noble
action count
action filter_type
action find
entity David Noble
relation occupation
type occupation
['David Noble', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { resource:David_Noble property:occupation ?z . ?z rdf:type ontology:occupation }
[]
occupation
SYSTEM
1
Q937857
(Q5238056,P106,c(Q12737077))
action count
action filter_type
action find
entity Q5238056
relation P106
type Q12737077
[ANSWER]
['Q5238056', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { resource:Q5238056 property:P106 ?z . ?z rdf:type ontology:Q12737077 }
association football player
1
action count
action filter_type
action find
entity David Noble
relation occupation
type occupation
['David Noble', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?l ) WHERE { resource:David_Noble property:occupation ?z . ?z rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q10313409
P106
Q12737077
USER
And also tell me about Júlio César da Silva?
(Q10313409,P106,c(Q12737077))
action count
action filter_type
action find
entity Q10313409
relation P106
type Q12737077
['Q10313409', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { resource:Q10313409 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
Júlio César da Silva
action count
action filter_type
action find
entity Júlio César da Silva
relation occupation
type occupation
['Júlio César da Silva', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { resource:Júlio_César_da_Silva property:occupation ?r . ?r rdf:type ontology:occupation }
[]
occupation
SYSTEM
5
Q3330547 Q49757 Q4263842 Q212238 Q36180
(Q10313409,P106,c(Q12737077))
action count
action filter_type
action find
entity Q10313409
relation P106
type Q12737077
[ANSWER]
['Q10313409', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { resource:Q10313409 property:P106 ?r . ?r rdf:type ontology:Q12737077 }
chronicler poet literary critic civil servant writer
5
action count
action filter_type
action find
entity Júlio César da Silva
relation occupation
type occupation
['Júlio César da Silva', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?f ) WHERE { resource:Júlio_César_da_Silva property:occupation ?r . ?r rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q16875282
Q12737077
USER
And what about Davide Sangiorgi?
(Q16875282,P106,c(Q12737077))
action count
action filter_type
action find
entity Q16875282
relation P106
type Q12737077
['Q16875282', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { ?d rdf:type ontology:Q12737077 . resource:Q16875282 property:P106 ?d }
Davide Sangiorgi
action count
action filter_type
action find
entity Davide Sangiorgi
relation occupation
type occupation
['Davide Sangiorgi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { ?d rdf:type ontology:occupation . resource:Davide_Sangiorgi property:occupation ?d }
[]
occupation
SYSTEM
2
(Q16875282,P106,c(Q12737077))
action count
action filter_type
action find
entity Q16875282
relation P106
type Q12737077
[ANSWER]
['Q16875282', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { ?d rdf:type ontology:Q12737077 . resource:Q16875282 property:P106 ?d }
2
action count
action filter_type
action find
entity Davide Sangiorgi
relation occupation
type occupation
['Davide Sangiorgi', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?t ) WHERE { ?d rdf:type ontology:occupation . resource:Davide_Sangiorgi property:occupation ?d }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7747
P512
Q3412758
USER
Which qualification does Vladimir Putin hold ?
(Q7747,P512,c(Q3412758))
action filter_type
action find
entity Q7747
relation P512
type Q3412758
['Q7747', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?u WHERE { resource:Q7747 property:P512 ?u . ?u rdf:type ontology:Q3412758 }
Vladimir Putin
action filter_type
action find
entity Vladimir Putin
relation academic degree
type qualification
['Vladimir Putin', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?u WHERE { resource:Vladimir_Putin property:academic_degree ?u . ?u rdf:type ontology:qualification }
[]
qualification
Q17744738
SYSTEM
Kandidat Nauk in Economics
Q17744738
(Q7747,P512,c(Q3412758))
action filter_type
action find
entity Q7747
relation P512
type Q3412758
Vladimir Putin holds the [ANSWER]
['Q7747', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?u WHERE { resource:Q7747 property:P512 ?u . ?u rdf:type ontology:Q3412758 }
Kandidat Nauk in Economics
Vladimir Putin holds the Kandidat Nauk in Economics
Kandidat Nauk in Economics
action filter_type
action find
entity Vladimir Putin
relation academic degree
type qualification
['Vladimir Putin', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?u WHERE { resource:Vladimir_Putin property:academic_degree ?u . ?u rdf:type ontology:qualification }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7747
P127
Q39367
USER
Which dog breeds are under posessision of Vladimir Putin ?
(c(Q39367),P127,Q7747)
action filter_type
action find_reverse
entity Q7747
relation P127
type Q39367
[{'concept': 'Q39367'}, 'P127', 'Q7747']
SELECT DISTINCT ?q WHERE { ?q property:P127 resource:Q7747 . ?q rdf:type ontology:Q39367 }
Vladimir Putin
action filter_type
action find_reverse
entity Vladimir Putin
relation owned by
type dog breed
[{'concept': 'dog breed'}, 'owned by', 'Vladimir Putin']
SELECT DISTINCT ?q WHERE { ?q property:owned_by resource:Vladimir_Putin . ?q rdf:type ontology:dog_breed }
[]
dog breed
Q1320354 Q27305072
SYSTEM
Koni, Yume
Q1320354 Q27305072
(c(Q39367),P127,Q7747)
action filter_type
action find_reverse
entity Q7747
relation P127
type Q39367
[ANSWERS] are under posessision of Vladimir Putin
[{'concept': 'Q39367'}, 'P127', 'Q7747']
SELECT DISTINCT ?q WHERE { ?q property:P127 resource:Q7747 . ?q rdf:type ontology:Q39367 }
Koni Yume
Koni and Yume are under posessision of Vladimir Putin
Koni Yume
action filter_type
action find_reverse
entity Vladimir Putin
relation owned by
type dog breed
[{'concept': 'dog breed'}, 'owned by', 'Vladimir Putin']
SELECT DISTINCT ?q WHERE { ?q property:owned_by resource:Vladimir_Putin . ?q rdf:type ontology:dog_breed }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q1320354 Q27305072
P127
Q502895
USER
Which people do those dog breeds belong to ?
(Q1320354,P127,c(Q502895)) (Q27305072,P127,c(Q502895))
action filter_type
action find
entity prev_answer
relation P127
type Q502895
['Q1320354', 'P127', {'concept': 'Q502895'}] ['Q27305072', 'P127', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?v property:P127 ?h . ?h rdf:type ontology:Q502895 . VALUES ( ?v ) { ( resource:Q1320354 ) ( resource:Q27305072 ) } }
Koni Yume
action filter_type
action find
entity prev_answer
relation owned by
type common name
['Koni', 'owned by', {'concept': 'common name'}] ['Yume', 'owned by', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?v property:owned_by ?h . ?h rdf:type ontology:common_name . VALUES ( ?v ) { ( resource:Koni ) ( resource:Yume ) } }
[]
common name
Q7747 Q7747
SYSTEM
Vladimir Putin
Q7747 Q7747
(Q1320354,P127,c(Q502895)) (Q27305072,P127,c(Q502895))
action filter_type
action find
entity prev_answer
relation P127
type Q502895
Those dog breeds belong to [ANSWER] and [ANSWER]
['Q1320354', 'P127', {'concept': 'Q502895'}] ['Q27305072', 'P127', {'concept': 'Q502895'}]
SELECT DISTINCT ?h WHERE { ?v property:P127 ?h . ?h rdf:type ontology:Q502895 . VALUES ( ?v ) { ( resource:Q1320354 ) ( resource:Q27305072 ) } }
Vladimir Putin Vladimir Putin
Those dog breeds belong to Vladimir Putin and Vladimir Putin
Vladimir Putin Vladimir Putin
action filter_type
action find
entity prev_answer
relation owned by
type common name
['Koni', 'owned by', {'concept': 'common name'}] ['Yume', 'owned by', {'concept': 'common name'}]
SELECT DISTINCT ?h WHERE { ?v property:owned_by ?h . ?h rdf:type ontology:common_name . VALUES ( ?v ) { ( resource:Koni ) ( resource:Yume ) } }
[]