Simple Question (Direct)
Simple Question
Q4934516
P27
Q15617994
USER
Which administrative territory is the native country of Margita Ahlin ?
(Q4934516,P27,c(Q15617994))
action filter_type
action find
entity Q4934516
relation P27
type Q15617994
['Q4934516', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q4934516 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Margita Ahlin
action filter_type
action find
entity Margita Ahlin
relation country of citizenship
type designation for an administrative territorial entity
['Margita Ahlin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Margita_Ahlin property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q34
SYSTEM
Sweden
Q34
(Q4934516,P27,c(Q15617994))
action filter_type
action find
entity Q4934516
relation P27
type Q15617994
[ANSWER] is the native country of Margita Ahlin
['Q4934516', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q4934516 property:P27 ?w . ?w rdf:type ontology:Q15617994 }
Sweden
Sweden is the native country of Margita Ahlin
Sweden
action filter_type
action find
entity Margita Ahlin
relation country of citizenship
type designation for an administrative territorial entity
['Margita Ahlin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Margita_Ahlin property:country_of_citizenship ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4934516
P40
Q502895
USER
Who are an offsprings of that one ?
(Q34,P40,c(Q502895))
action filter_type
action find
entity Q4934516
relation P40
type Q502895
['Q34', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . resource:Q4934516 property:P40 ?y }
Margita Ahlin
action filter_type
action find
entity Margita Ahlin
relation child
type common name
['Sweden', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . resource:Margita_Ahlin property:child ?y }
[]
common name
Q5806700 Q4775775
SYSTEM
Jacob Hirdwall, Anton Glanzelius
Q5806700 Q4775775
(Q34,P40,c(Q502895))
action filter_type
action find
entity Q4934516
relation P40
type Q502895
Are an offsprings of that one [ANSWERS]
['Q34', 'P40', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:Q502895 . resource:Q4934516 property:P40 ?y }
Jacob Hirdwall Anton Glanzelius
Are an offsprings of that one Jacob Hirdwall and Anton Glanzelius
Jacob Hirdwall Anton Glanzelius
action filter_type
action find
entity Margita Ahlin
relation child
type common name
['Sweden', 'child', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { ?y rdf:type ontology:common_name . resource:Margita_Ahlin property:child ?y }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4526357
P40
Q502895
USER
Do Ippolit Shpazhinsky have those ones as a child ?
(Q4526357,P40,Q5806700) (Q4526357,P40,Q4775775)
action is_in
entity prev_answer
action find
entity Q4526357
relation P40
['Q4526357', 'P40', 'Q5806700'] ['Q4526357', 'P40', 'Q4775775']
ASK WHERE { VALUES ( ?g ) { ( resource:Q5806700 ) ( resource:Q4775775 ) } . resource:Q4526357 property:P40 ?g }
Ippolit Shpazhinsky
action is_in
entity prev_answer
action find
entity Ippolit Shpazhinsky
relation child
['Ippolit Shpazhinsky', 'child', 'Jacob Hirdwall'] ['Ippolit Shpazhinsky', 'child', 'Anton Glanzelius']
ASK WHERE { VALUES ( ?g ) { ( resource:Jacob_Hirdwall ) ( resource:Anton_Glanzelius ) } . resource:Ippolit_Shpazhinsky property:child ?g }
[]
common name
SYSTEM
NO
(Q4526357,P40,Q5806700) (Q4526357,P40,Q4775775)
action is_in
entity prev_answer
action find
entity Q4526357
relation P40
[ANSWER]
['Q4526357', 'P40', 'Q5806700'] ['Q4526357', 'P40', 'Q4775775']
ASK WHERE { VALUES ( ?g ) { ( resource:Q5806700 ) ( resource:Q4775775 ) } . resource:Q4526357 property:P40 ?g }
No
action is_in
entity prev_answer
action find
entity Ippolit Shpazhinsky
relation child
['Ippolit Shpazhinsky', 'child', 'Jacob Hirdwall'] ['Ippolit Shpazhinsky', 'child', 'Anton Glanzelius']
ASK WHERE { VALUES ( ?g ) { ( resource:Jacob_Hirdwall ) ( resource:Anton_Glanzelius ) } . resource:Ippolit_Shpazhinsky property:child ?g }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q4934516 Q33999
P106
Q12737077
USER
Is actor the job of Margita Ahlin ?
(Q4934516,P106,Q33999)
action is_in
entity Q33999
action find
entity Q4934516
relation P106
['Q4934516', 'P106', 'Q33999']
ASK WHERE { resource:Q4934516 property:P106 resource:Q33999 }
Margita Ahlin actor
action is_in
entity actor
action find
entity Margita Ahlin
relation occupation
['Margita Ahlin', 'occupation', 'actor']
ASK WHERE { resource:Margita_Ahlin property:occupation resource:actor }
[]
occupation
SYSTEM
YES
(Q4934516,P106,Q33999)
action is_in
entity Q33999
action find
entity Q4934516
relation P106
[ANSWER]
['Q4934516', 'P106', 'Q33999']
ASK WHERE { resource:Q4934516 property:P106 resource:Q33999 }
Yes
action is_in
entity actor
action find
entity Margita Ahlin
relation occupation
['Margita Ahlin', 'occupation', 'actor']
ASK WHERE { resource:Margita_Ahlin property:occupation resource:actor }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q5806700 Q34 Q1720158
P27
Q15617994
USER
Is Jacob Hirdwall a native of Sweden and Oberlibbach ?
(Q5806700,P27,Q34) (Q5806700,P27,Q1720158)
action is_in
entity Q5806700
action intersection
action find_reverse
entity Q34
relation P27
action find_reverse
entity Q1720158
relation P27
['Q5806700', 'P27', 'Q34'] ['Q5806700', 'P27', 'Q1720158']
ASK WHERE { resource:Q5806700 property:P27 resource:Q34 . resource:Q5806700 property:P27 resource:Q1720158 }
Jacob Hirdwall Sweden Oberlibbach
action is_in
entity Jacob Hirdwall
action intersection
action find_reverse
entity Sweden
relation country of citizenship
action find_reverse
entity Oberlibbach
relation country of citizenship
['Jacob Hirdwall', 'country of citizenship', 'Sweden'] ['Jacob Hirdwall', 'country of citizenship', 'Oberlibbach']
ASK WHERE { resource:Jacob_Hirdwall property:country_of_citizenship resource:Sweden . resource:Jacob_Hirdwall property:country_of_citizenship resource:Oberlibbach }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q5806700,P27,Q34) (Q5806700,P27,Q1720158)
action is_in
entity Q5806700
action intersection
action find_reverse
entity Q34
relation P27
action find_reverse
entity Q1720158
relation P27
[ANSWER]
['Q5806700', 'P27', 'Q34'] ['Q5806700', 'P27', 'Q1720158']
ASK WHERE { resource:Q5806700 property:P27 resource:Q34 . resource:Q5806700 property:P27 resource:Q1720158 }
YES and NO respectively
action is_in
entity Jacob Hirdwall
action intersection
action find_reverse
entity Sweden
relation country of citizenship
action find_reverse
entity Oberlibbach
relation country of citizenship
['Jacob Hirdwall', 'country of citizenship', 'Sweden'] ['Jacob Hirdwall', 'country of citizenship', 'Oberlibbach']
ASK WHERE { resource:Jacob_Hirdwall property:country_of_citizenship resource:Sweden . resource:Jacob_Hirdwall property:country_of_citizenship resource:Oberlibbach }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q5806700
P27
Q15617994
USER
How many administrative territories are Jacob Hirdwall an inhabitant of ?
(Q5806700,P27,c(Q15617994))
action count
action filter_type
action find
entity Q5806700
relation P27
type Q15617994
['Q5806700', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { resource:Q5806700 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Jacob Hirdwall
action count
action filter_type
action find
entity Jacob Hirdwall
relation country of citizenship
type designation for an administrative territorial entity
['Jacob Hirdwall', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { resource:Jacob_Hirdwall property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
Q34
(Q5806700,P27,c(Q15617994))
action count
action filter_type
action find
entity Q5806700
relation P27
type Q15617994
[ANSWER]
['Q5806700', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { resource:Q5806700 property:P27 ?i . ?i rdf:type ontology:Q15617994 }
Sweden
1
action count
action filter_type
action find
entity Jacob Hirdwall
relation country of citizenship
type designation for an administrative territorial entity
['Jacob Hirdwall', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { resource:Jacob_Hirdwall property:country_of_citizenship ?i . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q20002530
Q15617994
USER
And also tell me about Gilbert Vermote?
(Q20002530,P27,c(Q15617994))
action count
action filter_type
action find
entity Q20002530
relation P27
type Q15617994
['Q20002530', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { resource:Q20002530 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
Gilbert Vermote
action count
action filter_type
action find
entity Gilbert Vermote
relation country of citizenship
type designation for an administrative territorial entity
['Gilbert Vermote', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { resource:Gilbert_Vermote property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q20002530,P27,c(Q15617994))
action count
action filter_type
action find
entity Q20002530
relation P27
type Q15617994
[ANSWER]
['Q20002530', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { resource:Q20002530 property:P27 ?t . ?t rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity Gilbert Vermote
relation country of citizenship
type designation for an administrative territorial entity
['Gilbert Vermote', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?t ) AS ?k ) WHERE { resource:Gilbert_Vermote property:country_of_citizenship ?t . ?t rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q20002530
P22
Q502895
USER
Which person has that one as father ?
action filter_type
action find_reverse
entity Q20002530
relation P22
type Q502895
SELECT DISTINCT ?q WHERE { ?q property:P22 resource:Q20002530 . ?q rdf:type ontology:Q502895 }
Gilbert Vermote
action filter_type
action find_reverse
entity Gilbert Vermote
relation father
type common name
SELECT DISTINCT ?q WHERE { ?q property:father resource:Gilbert_Vermote . ?q rdf:type ontology:common_name }
[]
common name
Q3311071
SYSTEM
Michel Vermote
Q3311071
action filter_type
action find_reverse
entity Q20002530
relation P22
type Q502895
[ANSWER] has that one as father
SELECT DISTINCT ?q WHERE { ?q property:P22 resource:Q20002530 . ?q rdf:type ontology:Q502895 }
Michel Vermote
Michel Vermote has that one as father
Michel Vermote
action filter_type
action find_reverse
entity Gilbert Vermote
relation father
type common name
SELECT DISTINCT ?q WHERE { ?q property:father resource:Gilbert_Vermote . ?q rdf:type ontology:common_name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P36
Q515 Q20667921 Q15617994
USER
Which administrative territories have atleast 3 cities or french administrative divisions as their administrative centre ?
(c(Q15617994),P36,c(Q515)|c(Q20667921))
action atleast
action union
action find_tuple_counts
relation P36
type Q15617994
type Q515
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
value 3
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q515'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?g ) WHERE { ?x rdf:type ?y . VALUES ( ?y ) { ( ontology:Q515 ) ( ontology:Q20667921 ) } } GROUP BY ?t } . FILTER ( ?g >= 3 ) }
action atleast
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type city
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
value 3
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'city'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?g ) WHERE { ?x rdf:type ?y . VALUES ( ?y ) { ( ontology:city ) ( ontology:type_of_french_administrative_division ) } } GROUP BY ?t } . FILTER ( ?g >= 3 ) }
[]
city type of french administrative division designation for an administrative territorial entity
Q12703 Q12569 Q12789
SYSTEM
Pyrénées-Atlantiques, Loire, Var
Q12703 Q12569 Q12789
(c(Q15617994),P36,c(Q515)|c(Q20667921))
action atleast
action union
action find_tuple_counts
relation P36
type Q15617994
type Q515
action find_tuple_counts
relation P36
type Q15617994
type Q20667921
value 3
[ANSWERS] have atleast 3 cities or french administrative divisions as their administrative centre
[{'concept': 'Q15617994'}, 'P36', [{'concept': 'Q515'}, {'concept': 'Q20667921'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?g ) WHERE { ?x rdf:type ?y . VALUES ( ?y ) { ( ontology:Q515 ) ( ontology:Q20667921 ) } } GROUP BY ?t } . FILTER ( ?g >= 3 ) }
Pyrénées-Atlantiques Loire Var
Pyrénées-Atlantiques, Loire and Var have atleast 3 cities or french administrative divisions as their administrative centre
Pyrénées-Atlantiques Loire Var
action atleast
action union
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type city
action find_tuple_counts
relation capital
type designation for an administrative territorial entity
type type of french administrative division
value 3
[{'concept': 'designation for an administrative territorial entity'}, 'capital', [{'concept': 'city'}, {'concept': 'type of french administrative division'}]]
SELECT DISTINCT ?t WHERE { { SELECT DISTINCT ?t ( COUNT ( ?x ) AS ?g ) WHERE { ?x rdf:type ?y . VALUES ( ?y ) { ( ontology:city ) ( ontology:type_of_french_administrative_division ) } } GROUP BY ?t } . FILTER ( ?g >= 3 ) }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q12703 Q12569 Q12789
P1376
Q20667921
USER
Which french administrative divisions are center of administration for those administrative territories ?
(c(Q20667921),P1376,Q12703) (c(Q20667921),P1376,Q12569) (c(Q20667921),P1376,Q12789)
action filter_type
action find_reverse
entity prev_answer
relation P1376
type Q20667921
[{'concept': 'Q20667921'}, 'P1376', 'Q12703'] [{'concept': 'Q20667921'}, 'P1376', 'Q12569'] [{'concept': 'Q20667921'}, 'P1376', 'Q12789']
SELECT DISTINCT ?d WHERE { ?d property:P1376 ?n . ?d rdf:type ontology:Q20667921 . VALUES ( ?n ) { ( resource:Q12703 ) ( resource:Q12569 ) ( resource:Q12789 ) } }
Pyrénées-Atlantiques Loire Var
action filter_type
action find_reverse
entity prev_answer
relation capital of
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital of', 'Pyrénées-Atlantiques'] [{'concept': 'type of french administrative division'}, 'capital of', 'Loire'] [{'concept': 'type of french administrative division'}, 'capital of', 'Var']
SELECT DISTINCT ?d WHERE { ?d property:capital_of ?n . ?d rdf:type ontology:type_of_french_administrative_division . VALUES ( ?n ) { ( resource:Pyrénées-Atlantiques ) ( resource:Loire ) ( resource:Var ) } }
[]
type of french administrative division
Q42716 Q132671 Q208407
SYSTEM
Saint-Étienne, Pau, Oloron-Sainte-Marie
Q208407 Q179949 Q132671 Q504919 Q213288 Q42716 Q194141 Q207584 Q173705 Q44160
(c(Q20667921),P1376,Q12703) (c(Q20667921),P1376,Q12569) (c(Q20667921),P1376,Q12789)
action filter_type
action find_reverse
entity prev_answer
relation P1376
type Q20667921
[ANSWERS] are center of administration for those administrative territories
[{'concept': 'Q20667921'}, 'P1376', 'Q12703'] [{'concept': 'Q20667921'}, 'P1376', 'Q12569'] [{'concept': 'Q20667921'}, 'P1376', 'Q12789']
SELECT DISTINCT ?d WHERE { ?d property:P1376 ?n . ?d rdf:type ontology:Q20667921 . VALUES ( ?n ) { ( resource:Q12703 ) ( resource:Q12569 ) ( resource:Q12789 ) } }
Oloron-Sainte-Marie Navarrenx Pau Feurs Montbrison Saint-Étienne Draguignan Brignoles Grasse Toulon
Saint-Étienne, Pau and Oloron-Sainte-Marie are center of administration for those administrative territories
Saint-Étienne Pau Oloron-Sainte-Marie
action filter_type
action find_reverse
entity prev_answer
relation capital of
type type of french administrative division
[{'concept': 'type of french administrative division'}, 'capital of', 'Pyrénées-Atlantiques'] [{'concept': 'type of french administrative division'}, 'capital of', 'Loire'] [{'concept': 'type of french administrative division'}, 'capital of', 'Var']
SELECT DISTINCT ?d WHERE { ?d property:capital_of ?n . ?d rdf:type ontology:type_of_french_administrative_division . VALUES ( ?n ) { ( resource:Pyrénées-Atlantiques ) ( resource:Loire ) ( resource:Var ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3311071
P1346
Q18608583
USER
Where was Michel Vermote decalred as a champion ?
(c(Q18608583),P1346,Q3311071)
action filter_type
action find_reverse
entity Q3311071
relation P1346
type Q18608583
[{'concept': 'Q18608583'}, 'P1346', 'Q3311071']
SELECT DISTINCT ?f WHERE { ?f property:P1346 resource:Q3311071 . ?f rdf:type ontology:Q18608583 }
Michel Vermote
action filter_type
action find_reverse
entity Michel Vermote
relation winner
type recurring sporting event
[{'concept': 'recurring sporting event'}, 'winner', 'Michel Vermote']
SELECT DISTINCT ?f WHERE { ?f property:winner resource:Michel_Vermote . ?f rdf:type ontology:recurring_sporting_event }
[]
recurring sporting event
Q21008455
SYSTEM
1988 Grand Prix de Denain
Q21008455
(c(Q18608583),P1346,Q3311071)
action filter_type
action find_reverse
entity Q3311071
relation P1346
type Q18608583
Michel Vermote was decalred in [ANSWER] as a champion
[{'concept': 'Q18608583'}, 'P1346', 'Q3311071']
SELECT DISTINCT ?f WHERE { ?f property:P1346 resource:Q3311071 . ?f rdf:type ontology:Q18608583 }
1988 Grand Prix de Denain
Michel Vermote was decalred in 1988 Grand Prix de Denain as a champion
1988 Grand Prix de Denain
action filter_type
action find_reverse
entity Michel Vermote
relation winner
type recurring sporting event
[{'concept': 'recurring sporting event'}, 'winner', 'Michel Vermote']
SELECT DISTINCT ?f WHERE { ?f property:winner resource:Michel_Vermote . ?f rdf:type ontology:recurring_sporting_event }
[]