Simple Question (Direct)
Simple Question
Q18629067
P512
Q3412758
USER
Which qualification does Matthias Kollatz-Ahnen hold ?
(Q18629067,P512,c(Q3412758))
action filter_type
action find
entity Q18629067
relation P512
type Q3412758
['Q18629067', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?h WHERE { resource:Q18629067 property:P512 ?h . ?h rdf:type ontology:Q3412758 }
Matthias Kollatz-Ahnen
action filter_type
action find
entity Matthias Kollatz-Ahnen
relation academic degree
type qualification
['Matthias Kollatz-Ahnen', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?h WHERE { resource:Matthias_Kollatz-Ahnen property:academic_degree ?h . ?h rdf:type ontology:qualification }
[]
qualification
Q849697
SYSTEM
doctoral degree
Q849697
(Q18629067,P512,c(Q3412758))
action filter_type
action find
entity Q18629067
relation P512
type Q3412758
Matthias Kollatz-Ahnen holds a [ANSWER]
['Q18629067', 'P512', {'concept': 'Q3412758'}]
SELECT DISTINCT ?h WHERE { resource:Q18629067 property:P512 ?h . ?h rdf:type ontology:Q3412758 }
doctoral degree
Matthias Kollatz-Ahnen holds a doctoral degree
doctoral degree
action filter_type
action find
entity Matthias Kollatz-Ahnen
relation academic degree
type qualification
['Matthias Kollatz-Ahnen', 'academic degree', {'concept': 'qualification'}]
SELECT DISTINCT ?h WHERE { resource:Matthias_Kollatz-Ahnen property:academic_degree ?h . ?h rdf:type ontology:qualification }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q18629067
P26
Q502895
USER
Which person is married to that one ?
(Q849697,P26,c(Q502895))
action filter_type
action find
entity Q18629067
relation P26
type Q502895
['Q849697', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q18629067 property:P26 ?a }
Matthias Kollatz-Ahnen
action filter_type
action find
entity Matthias Kollatz-Ahnen
relation spouse
type common name
['doctoral degree', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Matthias_Kollatz-Ahnen property:spouse ?a }
[]
common name
Q109433
SYSTEM
Doris Ahnen
Q109433
(Q849697,P26,c(Q502895))
action filter_type
action find
entity Q18629067
relation P26
type Q502895
[ANSWER] is married to that one
['Q849697', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q18629067 property:P26 ?a }
Doris Ahnen
Doris Ahnen is married to that one
Doris Ahnen
action filter_type
action find
entity Matthias Kollatz-Ahnen
relation spouse
type common name
['doctoral degree', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Matthias_Kollatz-Ahnen property:spouse ?a }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q109433 Q937031 Q183
P27
Q1048835
USER
Is Doris Ahnen a citizen of Chisquilla District and Germany ?
(Q109433,P27,Q937031) (Q109433,P27,Q183)
action is_in
entity Q109433
action intersection
action find_reverse
entity Q937031
relation P27
action find_reverse
entity Q183
relation P27
['Q109433', 'P27', 'Q937031'] ['Q109433', 'P27', 'Q183']
ASK WHERE { resource:Q109433 property:P27 resource:Q937031 . resource:Q109433 property:P27 resource:Q183 }
Doris Ahnen Chisquilla District Germany
action is_in
entity Doris Ahnen
action intersection
action find_reverse
entity Chisquilla District
relation country of citizenship
action find_reverse
entity Germany
relation country of citizenship
['Doris Ahnen', 'country of citizenship', 'Chisquilla District'] ['Doris Ahnen', 'country of citizenship', 'Germany']
ASK WHERE { resource:Doris_Ahnen property:country_of_citizenship resource:Chisquilla_District . resource:Doris_Ahnen property:country_of_citizenship resource:Germany }
[]
political territorial entity
SYSTEM
NO and YES respectively
(Q109433,P27,Q937031) (Q109433,P27,Q183)
action is_in
entity Q109433
action intersection
action find_reverse
entity Q937031
relation P27
action find_reverse
entity Q183
relation P27
[ANSWER]
['Q109433', 'P27', 'Q937031'] ['Q109433', 'P27', 'Q183']
ASK WHERE { resource:Q109433 property:P27 resource:Q937031 . resource:Q109433 property:P27 resource:Q183 }
NO and YES respectively
action is_in
entity Doris Ahnen
action intersection
action find_reverse
entity Chisquilla District
relation country of citizenship
action find_reverse
entity Germany
relation country of citizenship
['Doris Ahnen', 'country of citizenship', 'Chisquilla District'] ['Doris Ahnen', 'country of citizenship', 'Germany']
ASK WHERE { resource:Doris_Ahnen property:country_of_citizenship resource:Chisquilla_District . resource:Doris_Ahnen property:country_of_citizenship resource:Germany }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments can atleast 3081 people perform with ?
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3081
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { FILTER ( ?o >= 3081 ) . { SELECT DISTINCT ?k ( COUNT ( ?f ) AS ?o ) WHERE { ?f property:P1303 ?k . ?k rdf:type ontology:Q34379 . ?f rdf:type ontology:Q502895 } GROUP BY ?k } }
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3081
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { FILTER ( ?o >= 3081 ) . { SELECT DISTINCT ?k ( COUNT ( ?f ) AS ?o ) WHERE { ?f property:instrument ?k . ?k rdf:type ontology:musical_instrument . ?f rdf:type ontology:common_name } GROUP BY ?k } }
[]
musical instrument common name
SYSTEM
2
Q5994 Q8355
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3081
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { FILTER ( ?o >= 3081 ) . { SELECT DISTINCT ?k ( COUNT ( ?f ) AS ?o ) WHERE { ?f property:P1303 ?k . ?k rdf:type ontology:Q34379 . ?f rdf:type ontology:Q502895 } GROUP BY ?k } }
piano violin
2
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3081
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?d ) WHERE { FILTER ( ?o >= 3081 ) . { SELECT DISTINCT ?k ( COUNT ( ?f ) AS ?o ) WHERE { ?f property:instrument ?k . ?k rdf:type ontology:musical_instrument . ?f rdf:type ontology:common_name } GROUP BY ?k } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q109433
P1344
Q1499496
USER
What German presidential elections did Doris Ahnen participate in ?
(Q109433,P1344,c(Q1499496))
action filter_type
action find
entity Q109433
relation P1344
type Q1499496
['Q109433', 'P1344', {'concept': 'Q1499496'}]
SELECT DISTINCT ?k WHERE { resource:Q109433 property:P1344 ?k . ?k rdf:type ontology:Q1499496 }
Doris Ahnen
action filter_type
action find
entity Doris Ahnen
relation participant of
type German presidential election
['Doris Ahnen', 'participant of', {'concept': 'German presidential election'}]
SELECT DISTINCT ?k WHERE { resource:Doris_Ahnen property:participant_of ?k . ?k rdf:type ontology:German_presidential_election }
[]
German presidential election
Q670933 Q707051 Q314532
SYSTEM
German presidential election, 2012, German presidential election, 2009, German presidential election, 2004
Q670933 Q707051 Q314532
(Q109433,P1344,c(Q1499496))
action filter_type
action find
entity Q109433
relation P1344
type Q1499496
[ANSWERS]
['Q109433', 'P1344', {'concept': 'Q1499496'}]
SELECT DISTINCT ?k WHERE { resource:Q109433 property:P1344 ?k . ?k rdf:type ontology:Q1499496 }
German presidential election, 2012 German presidential election, 2009 German presidential election, 2004
German presidential election, 2012, German presidential election, 2009 and German presidential election, 2004 did Doris Ahnen participate in
German presidential election, 2012 German presidential election, 2009 German presidential election, 2004
action filter_type
action find
entity Doris Ahnen
relation participant of
type German presidential election
['Doris Ahnen', 'participant of', {'concept': 'German presidential election'}]
SELECT DISTINCT ?k WHERE { resource:Doris_Ahnen property:participant_of ?k . ?k rdf:type ontology:German_presidential_election }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q74168
P1344
Q502895
USER
Did Herbert Reul take part in those German presidential elections ?
(Q74168,P1344,Q670933) (Q74168,P1344,Q707051) (Q74168,P1344,Q314532)
action is_in
entity prev_answer
action find
entity Q74168
relation P1344
['Q74168', 'P1344', 'Q670933'] ['Q74168', 'P1344', 'Q707051'] ['Q74168', 'P1344', 'Q314532']
ASK WHERE { resource:Q74168 property:P1344 ?o . VALUES ( ?o ) { ( resource:Q670933 ) ( resource:Q707051 ) ( resource:Q314532 ) } }
Herbert Reul
action is_in
entity prev_answer
action find
entity Herbert Reul
relation participant of
['Herbert Reul', 'participant of', 'German presidential election, 2012'] ['Herbert Reul', 'participant of', 'German presidential election, 2009'] ['Herbert Reul', 'participant of', 'German presidential election, 2004']
ASK WHERE { resource:Herbert_Reul property:participant_of ?o . VALUES ( ?o ) { ( resource:German_presidential_election,_2012 ) ( resource:German_presidential_election,_2009 ) ( resource:German_presidential_election,_2004 ) } }
[]
common name
SYSTEM
YES
(Q74168,P1344,Q670933) (Q74168,P1344,Q707051) (Q74168,P1344,Q314532)
action is_in
entity prev_answer
action find
entity Q74168
relation P1344
[ANSWER]
['Q74168', 'P1344', 'Q670933'] ['Q74168', 'P1344', 'Q707051'] ['Q74168', 'P1344', 'Q314532']
ASK WHERE { resource:Q74168 property:P1344 ?o . VALUES ( ?o ) { ( resource:Q670933 ) ( resource:Q707051 ) ( resource:Q314532 ) } }
Yes
action is_in
entity prev_answer
action find
entity Herbert Reul
relation participant of
['Herbert Reul', 'participant of', 'German presidential election, 2012'] ['Herbert Reul', 'participant of', 'German presidential election, 2009'] ['Herbert Reul', 'participant of', 'German presidential election, 2004']
ASK WHERE { resource:Herbert_Reul property:participant_of ?o . VALUES ( ?o ) { ( resource:German_presidential_election,_2012 ) ( resource:German_presidential_election,_2009 ) ( resource:German_presidential_election,_2004 ) } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q109433 Q324516
P710
Q350604
USER
How many armed conflicts did Doris Ahnen or Choctaw participate in ?
(c(Q350604),P710,Q109433) (c(Q350604),P710,Q324516)
action count
action union
action filter_type
action find_reverse
entity Q109433
relation P710
type Q350604
action filter_type
action find_reverse
entity Q324516
relation P710
type Q350604
[{'concept': 'Q350604'}, 'P710', 'Q109433'] [{'concept': 'Q350604'}, 'P710', 'Q324516']
SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { { ?o property:P710 resource:Q109433 . ?o rdf:type ontology:Q350604 } UNION { ?o rdf:type ontology:Q350604 . ?o property:P710 resource:Q324516 } }
Doris Ahnen Choctaw
action count
action union
action filter_type
action find_reverse
entity Doris Ahnen
relation participant
type armed conflict
action filter_type
action find_reverse
entity Choctaw
relation participant
type armed conflict
[{'concept': 'armed conflict'}, 'participant', 'Doris Ahnen'] [{'concept': 'armed conflict'}, 'participant', 'Choctaw']
SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { { ?o property:participant resource:Doris_Ahnen . ?o rdf:type ontology:armed_conflict } UNION { ?o rdf:type ontology:armed_conflict . ?o property:participant resource:Choctaw } }
[]
armed conflict
SYSTEM
2
Q26013 Q1186260
(c(Q350604),P710,Q109433) (c(Q350604),P710,Q324516)
action count
action union
action filter_type
action find_reverse
entity Q109433
relation P710
type Q350604
action filter_type
action find_reverse
entity Q324516
relation P710
type Q350604
[ANSWER]
[{'concept': 'Q350604'}, 'P710', 'Q109433'] [{'concept': 'Q350604'}, 'P710', 'Q324516']
SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { { ?o property:P710 resource:Q109433 . ?o rdf:type ontology:Q350604 } UNION { ?o rdf:type ontology:Q350604 . ?o property:P710 resource:Q324516 } }
War of 1812 Creek War
2
action count
action union
action filter_type
action find_reverse
entity Doris Ahnen
relation participant
type armed conflict
action filter_type
action find_reverse
entity Choctaw
relation participant
type armed conflict
[{'concept': 'armed conflict'}, 'participant', 'Doris Ahnen'] [{'concept': 'armed conflict'}, 'participant', 'Choctaw']
SELECT DISTINCT ( COUNT ( ?o ) AS ?r ) WHERE { { ?o property:participant resource:Doris_Ahnen . ?o rdf:type ontology:armed_conflict } UNION { ?o rdf:type ontology:armed_conflict . ?o property:participant resource:Choctaw } }
[]