Simple Question (Direct)
Simple Question
Q7944821
P641
Q349
USER
Which sport did Vítězslav Mooc participate in ?
(Q7944821,P641,c(Q349))
action filter_type
action find
entity Q7944821
relation P641
type Q349
['Q7944821', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q349 . resource:Q7944821 property:P641 ?y }
Vítězslav Mooc
action filter_type
action find
entity Vítězslav Mooc
relation sport
type sport
['Vítězslav Mooc', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sport . resource:Vítězslav_Mooc property:sport ?y }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q7944821,P641,c(Q349))
action filter_type
action find
entity Q7944821
relation P641
type Q349
Vítězslav Mooc participated in [ANSWER]
['Q7944821', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q349 . resource:Q7944821 property:P641 ?y }
association football
Vítězslav Mooc participated in association football
association football
action filter_type
action find
entity Vítězslav Mooc
relation sport
type sport
['Vítězslav Mooc', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:sport . resource:Vítězslav_Mooc property:sport ?y }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q7944821
P106
Q12737077
USER
What does that person do for a living ?
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q7944821
relation P106
type Q12737077
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q7944821 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Vítězslav Mooc
action filter_type
action find
entity Vítězslav Mooc
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Vítězslav_Mooc property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q2736,P106,c(Q12737077))
action filter_type
action find
entity Q7944821
relation P106
type Q12737077
Player [ANSWER] that person does for a living
['Q2736', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q7944821 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
association football player
Player association football player that person does for a living
association football player
action filter_type
action find
entity Vítězslav Mooc
relation occupation
type occupation
['association football', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Vítězslav_Mooc property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q7944821
P19
Q7275
USER
Which state is the birthplace of Vítězslav Mooc ?
(Q7944821,P19,c(Q7275))
action filter_type
action find
entity Q7944821
relation P19
type Q7275
['Q7944821', 'P19', {'concept': 'Q7275'}]
SELECT DISTINCT ?n WHERE { resource:Q7944821 property:P19 ?n . ?n rdf:type ontology:Q7275 }
Vítězslav Mooc
action filter_type
action find
entity Vítězslav Mooc
relation place of birth
type state
['Vítězslav Mooc', 'place of birth', {'concept': 'state'}]
SELECT DISTINCT ?n WHERE { resource:Vítězslav_Mooc property:place_of_birth ?n . ?n rdf:type ontology:state }
[]
state
Q33946
SYSTEM
Czechoslovakia
Q33946
(Q7944821,P19,c(Q7275))
action filter_type
action find
entity Q7944821
relation P19
type Q7275
[ANSWER] is the birthplace of Vítězslav Mooc
['Q7944821', 'P19', {'concept': 'Q7275'}]
SELECT DISTINCT ?n WHERE { resource:Q7944821 property:P19 ?n . ?n rdf:type ontology:Q7275 }
Czechoslovakia
Czechoslovakia is the birthplace of Vítězslav Mooc
Czechoslovakia
action filter_type
action find
entity Vítězslav Mooc
relation place of birth
type state
['Vítězslav Mooc', 'place of birth', {'concept': 'state'}]
SELECT DISTINCT ?n WHERE { resource:Vítězslav_Mooc property:place_of_birth ?n . ?n rdf:type ontology:state }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q209034
P1376
Q7275 Q486972
USER
How many human settlements are the county seat for more number of states than Toluca ?
(c(Q486972),P1376,c(Q7275))
action count
action greater
action find_tuple_counts
relation P1376
type Q486972
type Q7275
action count
action filter_type
action find
entity Q209034
relation P1376
type Q486972
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { resource:Q209034 property:P1376 ?f . ?f rdf:type ontology:Q486972 } } . FILTER ( ?c > ?u ) . { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?c ) WHERE { ?k property:P1376 ?j . ?k rdf:type ontology:Q486972 . ?j rdf:type ontology:Q7275 } GROUP BY ?k } }
Toluca
action count
action greater
action find_tuple_counts
relation capital of
type human settlement
type state
action count
action filter_type
action find
entity Toluca
relation capital of
type human settlement
[{'concept': 'human settlement'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { resource:Toluca property:capital_of ?f . ?f rdf:type ontology:human_settlement } } . FILTER ( ?c > ?u ) . { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?c ) WHERE { ?k property:capital_of ?j . ?k rdf:type ontology:human_settlement . ?j rdf:type ontology:state } GROUP BY ?k } }
[]
state human settlement
SYSTEM
8
Q2627464 Q56037 Q104725 Q7420386 Q3777 Q1792 Q31487 Q200441
(c(Q486972),P1376,c(Q7275))
action count
action greater
action find_tuple_counts
relation P1376
type Q486972
type Q7275
action count
action filter_type
action find
entity Q209034
relation P1376
type Q486972
[ANSWER]
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { resource:Q209034 property:P1376 ?f . ?f rdf:type ontology:Q486972 } } . FILTER ( ?c > ?u ) . { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?c ) WHERE { ?k property:P1376 ?j . ?k rdf:type ontology:Q486972 . ?j rdf:type ontology:Q7275 } GROUP BY ?k } }
Almaliq East Berlin Płock Santiago de Rubiás Ouagadougou Gdańsk Kraków Antioch
8
action count
action greater
action find_tuple_counts
relation capital of
type human settlement
type state
action count
action filter_type
action find
entity Toluca
relation capital of
type human settlement
[{'concept': 'human settlement'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?g ) WHERE { { SELECT DISTINCT ( COUNT ( ?f ) AS ?u ) WHERE { resource:Toluca property:capital_of ?f . ?f rdf:type ontology:human_settlement } } . FILTER ( ?c > ?u ) . { SELECT DISTINCT ?k ( COUNT ( ?j ) AS ?c ) WHERE { ?k property:capital_of ?j . ?k rdf:type ontology:human_settlement . ?j rdf:type ontology:state } GROUP BY ?k } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q16898653
P1376
Q7275 Q486972
USER
And also tell me about Mărășești?
(c(Q486972),P1376,c(Q7275))
action count
action greater
action find_tuple_counts
relation P1376
type Q486972
type Q7275
action count
action filter_type
action find
entity Q16898653
relation P1376
type Q486972
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?c ) AS ?b ) WHERE { ?t property:P1376 ?c . ?t rdf:type ontology:Q486972 . ?c rdf:type ontology:Q7275 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { resource:Q16898653 property:P1376 ?u . ?u rdf:type ontology:Q486972 } } . FILTER ( ?b > ?l ) }
Mărășești
action count
action greater
action find_tuple_counts
relation capital of
type human settlement
type state
action count
action filter_type
action find
entity Mărășești
relation capital of
type human settlement
[{'concept': 'human settlement'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?c ) AS ?b ) WHERE { ?t property:capital_of ?c . ?t rdf:type ontology:human_settlement . ?c rdf:type ontology:state } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { resource:Mărășești property:capital_of ?u . ?u rdf:type ontology:human_settlement } } . FILTER ( ?b > ?l ) }
[]
state human settlement
SYSTEM
8
Q2627464 Q56037 Q104725 Q7420386 Q3777 Q1792 Q31487 Q200441
(c(Q486972),P1376,c(Q7275))
action count
action greater
action find_tuple_counts
relation P1376
type Q486972
type Q7275
action count
action filter_type
action find
entity Q16898653
relation P1376
type Q486972
[ANSWER]
[{'concept': 'Q486972'}, 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?c ) AS ?b ) WHERE { ?t property:P1376 ?c . ?t rdf:type ontology:Q486972 . ?c rdf:type ontology:Q7275 } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { resource:Q16898653 property:P1376 ?u . ?u rdf:type ontology:Q486972 } } . FILTER ( ?b > ?l ) }
Almaliq East Berlin Płock Santiago de Rubiás Ouagadougou Gdańsk Kraków Antioch
8
action count
action greater
action find_tuple_counts
relation capital of
type human settlement
type state
action count
action filter_type
action find
entity Mărășești
relation capital of
type human settlement
[{'concept': 'human settlement'}, 'capital of', {'concept': 'state'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?h ) WHERE { { SELECT DISTINCT ?t ( COUNT ( ?c ) AS ?b ) WHERE { ?t property:capital_of ?c . ?t rdf:type ontology:human_settlement . ?c rdf:type ontology:state } GROUP BY ?t } . { SELECT DISTINCT ( COUNT ( ?u ) AS ?l ) WHERE { resource:Mărășești property:capital_of ?u . ?u rdf:type ontology:human_settlement } } . FILTER ( ?b > ?l ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q201788
P101
Q502895
USER
Which people work in the domain of historian ?
(c(Q502895),P101,Q201788)
action filter_type
action find_reverse
entity Q201788
relation P101
type Q502895
[{'concept': 'Q502895'}, 'P101', 'Q201788']
SELECT DISTINCT ?n WHERE { ?n property:P101 resource:Q201788 . ?n rdf:type ontology:Q502895 }
historian
action filter_type
action find_reverse
entity historian
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'historian']
SELECT DISTINCT ?n WHERE { ?n property:field_of_work resource:historian . ?n rdf:type ontology:common_name }
[]
common name
Q60217 Q61648 Q981839
SYSTEM
Johann Gustav Droysen, Georg Gottfried Gervinus, Frederick Copleston
Q14436716 Q21042244 Q60217 Q75371 Q61648 Q101339 Q15432799 Q2408608 Q981839
(c(Q502895),P101,Q201788)
action filter_type
action find_reverse
entity Q201788
relation P101
type Q502895
[ANSWERS] work in the domain of historian
[{'concept': 'Q502895'}, 'P101', 'Q201788']
SELECT DISTINCT ?n WHERE { ?n property:P101 resource:Q201788 . ?n rdf:type ontology:Q502895 }
Knut Mykland Vicent Baydal Johann Gustav Droysen Johannes Fallati Georg Gottfried Gervinus Gustav Adolf Harald Stenzel Hugo Weczerka Patrick Cabanel Frederick Copleston
Johann Gustav Droysen, Georg Gottfried Gervinus and Frederick Copleston work in the domain of historian
Johann Gustav Droysen Georg Gottfried Gervinus Frederick Copleston
action filter_type
action find_reverse
entity historian
relation field of work
type common name
[{'concept': 'common name'}, 'field of work', 'historian']
SELECT DISTINCT ?n WHERE { ?n property:field_of_work resource:historian . ?n rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q981839
P50
Q2342494
USER
Which collectable was written by that person ?
(c(Q2342494),P50,Q981839)
action filter_type
action find_reverse
entity Q981839
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q981839']
SELECT DISTINCT ?r WHERE { ?r property:P50 resource:Q981839 . ?r rdf:type ontology:Q2342494 }
Frederick Copleston
action filter_type
action find_reverse
entity Frederick Copleston
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Frederick Copleston']
SELECT DISTINCT ?r WHERE { ?r property:author resource:Frederick_Copleston . ?r rdf:type ontology:collectable }
[]
collectable
Clarification for simple ques.
Q61648
SYSTEM
Did you mean Georg Gottfried Gervinus ?
Q60217 Q61648 Q981839
(c(Q2342494),P50,Q60217) (c(Q2342494),P50,Q61648) (c(Q2342494),P50,Q981839)
[ANSWER]
[{'concept': 'Q2342494'}, 'P50', 'Q60217'] [{'concept': 'Q2342494'}, 'P50', 'Q61648'] [{'concept': 'Q2342494'}, 'P50', 'Q981839']
SELECT DISTINCT ?r WHERE { ?r property:P50 resource:Q981839 . ?r rdf:type ontology:Q2342494 }
Johann Gustav Droysen Georg Gottfried Gervinus Frederick Copleston
Did you mean Georg Gottfried Gervinus ?
Georg Gottfried Gervinus
[{'concept': 'collectable'}, 'author', 'Johann Gustav Droysen'] [{'concept': 'collectable'}, 'author', 'Georg Gottfried Gervinus'] [{'concept': 'collectable'}, 'author', 'Frederick Copleston']
SELECT DISTINCT ?r WHERE { ?r property:author resource:Frederick_Copleston . ?r rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
USER
No, I meant Frederick Copleston. Could you tell me the answer for that?
(c(Q2342494),P50,Q981839)
Q981839
[{'concept': 'Q2342494'}, 'P50', 'Q981839']
[{'concept': 'collectable'}, 'author', 'Frederick Copleston']
[]
Q2306345
SYSTEM
A History of Philosophy
Q2306345
(c(Q2342494),P50,Q981839)
action filter_type
action find_reverse
entity Q981839
relation P50
type Q2342494
[ANSWER] was written by that person
[{'concept': 'Q2342494'}, 'P50', 'Q981839']
SELECT DISTINCT ?r WHERE { ?r property:P50 resource:Q981839 . ?r rdf:type ontology:Q2342494 }
A History of Philosophy
A History of Philosophy was written by that person
A History of Philosophy
action filter_type
action find_reverse
entity Frederick Copleston
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Frederick Copleston']
SELECT DISTINCT ?r WHERE { ?r property:author resource:Frederick_Copleston . ?r rdf:type ontology:collectable }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2306345
P50
Q502895
USER
Who authored that collectable ?
(Q2306345,P50,c(Q502895))
action filter_type
action find
entity Q2306345
relation P50
type Q502895
['Q2306345', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q2306345 property:P50 ?p . ?p rdf:type ontology:Q502895 }
A History of Philosophy
action filter_type
action find
entity A History of Philosophy
relation author
type common name
['A History of Philosophy', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:A_History_of_Philosophy property:author ?p . ?p rdf:type ontology:common_name }
[]
common name
Q981839
SYSTEM
Frederick Copleston
Q981839
(Q2306345,P50,c(Q502895))
action filter_type
action find
entity Q2306345
relation P50
type Q502895
[ANSWER] authored that collectable
['Q2306345', 'P50', {'concept': 'Q502895'}]
SELECT DISTINCT ?p WHERE { resource:Q2306345 property:P50 ?p . ?p rdf:type ontology:Q502895 }
Frederick Copleston
Frederick Copleston authored that collectable
Frederick Copleston
action filter_type
action find
entity A History of Philosophy
relation author
type common name
['A History of Philosophy', 'author', {'concept': 'common name'}]
SELECT DISTINCT ?p WHERE { resource:A_History_of_Philosophy property:author ?p . ?p rdf:type ontology:common_name }
[]