Simple Question (Direct)
Simple Question
Q896221
P937
Q56061
USER
Which is the work location of Jörg van Essen ?
(Q896221,P937,c(Q56061))
action filter_type
action find
entity Q896221
relation P937
type Q56061
['Q896221', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q896221 property:P937 ?c . ?c rdf:type ontology:Q56061 }
Jörg van Essen
action filter_type
action find
entity Jörg van Essen
relation work location
type administrative territorial entity
['Jörg van Essen', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Jörg_van_Essen property:work_location ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q586
SYSTEM
Bonn
Q586
(Q896221,P937,c(Q56061))
action filter_type
action find
entity Q896221
relation P937
type Q56061
[ANSWER] is the work location of Jörg van Essen
['Q896221', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?c WHERE { resource:Q896221 property:P937 ?c . ?c rdf:type ontology:Q56061 }
Bonn
Bonn is the work location of Jörg van Essen
Bonn
action filter_type
action find
entity Jörg van Essen
relation work location
type administrative territorial entity
['Jörg van Essen', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Jörg_van_Essen property:work_location ?c . ?c rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q896221
P710
Q1499496
USER
What event did Jörg van Essen particiate in ?
(c(Q1499496),P710,Q896221)
action filter_type
action find_reverse
entity Q896221
relation P710
type Q1499496
[{'concept': 'Q1499496'}, 'P710', 'Q896221']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q1499496 . ?r property:P710 resource:Q896221 }
Jörg van Essen
action filter_type
action find_reverse
entity Jörg van Essen
relation participant
type German presidential election
[{'concept': 'German presidential election'}, 'participant', 'Jörg van Essen']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:German_presidential_election . ?r property:participant resource:Jörg_van_Essen }
[]
German presidential election
Q451110 Q707063 Q670933
SYSTEM
German presidential election, 1999, German presidential election, 2010, German presidential election, 2012
Q670933 Q451110 Q707063 Q707051 Q314532
(c(Q1499496),P710,Q896221)
action filter_type
action find_reverse
entity Q896221
relation P710
type Q1499496
[ANSWERS]
[{'concept': 'Q1499496'}, 'P710', 'Q896221']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:Q1499496 . ?r property:P710 resource:Q896221 }
German presidential election, 2012 German presidential election, 1999 German presidential election, 2010 German presidential election, 2009 German presidential election, 2004
Jörg van Essen particiated in German presidential election, 1999, German presidential election, 2010 and German presidential election, 2012
German presidential election, 1999 German presidential election, 2010 German presidential election, 2012
action filter_type
action find_reverse
entity Jörg van Essen
relation participant
type German presidential election
[{'concept': 'German presidential election'}, 'participant', 'Jörg van Essen']
SELECT DISTINCT ?r WHERE { ?r rdf:type ontology:German_presidential_election . ?r property:participant resource:Jörg_van_Essen }
[]
Clarification
Simple Question|Single Entity|Indirect
Q670933
P991
Q502895
USER
Who was elected in that German presidential election ?
(Q670933,P991,c(Q502895))
action filter_type
action find
entity Q670933
relation P991
type Q502895
['Q670933', 'P991', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q670933 property:P991 ?w . ?w rdf:type ontology:Q502895 }
German presidential election, 2012
action filter_type
action find
entity German presidential election, 2012
relation successful candidate
type common name
['German presidential election, 2012', 'successful candidate', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:German_presidential_election,_2012 property:successful_candidate ?w . ?w rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q451110
SYSTEM
Did you mean German presidential election, 1999 ?
Q451110 Q707063 Q670933
(Q451110,P991,c(Q502895)) (Q707063,P991,c(Q502895)) (Q670933,P991,c(Q502895))
[ANSWER]
['Q451110', 'P991', {'concept': 'Q502895'}] ['Q707063', 'P991', {'concept': 'Q502895'}] ['Q670933', 'P991', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q670933 property:P991 ?w . ?w rdf:type ontology:Q502895 }
German presidential election, 1999 German presidential election, 2010 German presidential election, 2012
Did you mean German presidential election, 1999 ?
German presidential election, 1999
['German presidential election, 1999', 'successful candidate', {'concept': 'common name'}] ['German presidential election, 2010', 'successful candidate', {'concept': 'common name'}] ['German presidential election, 2012', 'successful candidate', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:German_presidential_election,_2012 property:successful_candidate ?w . ?w rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant German presidential election, 2012. Could you tell me the answer for that?
(Q670933,P991,c(Q502895))
Q670933
['Q670933', 'P991', {'concept': 'Q502895'}]
['German presidential election, 2012', 'successful candidate', {'concept': 'common name'}]
[]
Q2538
SYSTEM
Joachim Gauck
Q2538
(Q670933,P991,c(Q502895))
action filter_type
action find
entity Q670933
relation P991
type Q502895
[ANSWER] was elected in that German presidential election
['Q670933', 'P991', {'concept': 'Q502895'}]
SELECT DISTINCT ?w WHERE { resource:Q670933 property:P991 ?w . ?w rdf:type ontology:Q502895 }
Joachim Gauck
Joachim Gauck was elected in that German presidential election
Joachim Gauck
action filter_type
action find
entity German presidential election, 2012
relation successful candidate
type common name
['German presidential election, 2012', 'successful candidate', {'concept': 'common name'}]
SELECT DISTINCT ?w WHERE { resource:German_presidential_election,_2012 property:successful_candidate ?w . ?w rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q2538 Q183
P27
Q1048835
USER
Is Germany the native country of Joachim Gauck ?
(Q2538,P27,Q183)
action is_in
entity Q183
action find
entity Q2538
relation P27
['Q2538', 'P27', 'Q183']
ASK WHERE { resource:Q2538 property:P27 resource:Q183 }
Joachim Gauck Germany
action is_in
entity Germany
action find
entity Joachim Gauck
relation country of citizenship
['Joachim Gauck', 'country of citizenship', 'Germany']
ASK WHERE { resource:Joachim_Gauck property:country_of_citizenship resource:Germany }
[]
political territorial entity
SYSTEM
YES
(Q2538,P27,Q183)
action is_in
entity Q183
action find
entity Q2538
relation P27
[ANSWER]
['Q2538', 'P27', 'Q183']
ASK WHERE { resource:Q2538 property:P27 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Joachim Gauck
relation country of citizenship
['Joachim Gauck', 'country of citizenship', 'Germany']
ASK WHERE { resource:Joachim_Gauck property:country_of_citizenship resource:Germany }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q670933 Q2643014 Q2203773
P710
Q502895
USER
Did Alexander Schweitzer and Rüdiger Veit particiate in German presidential election, 2012 ?
(Q670933,P710,Q2643014) (Q670933,P710,Q2203773)
action is_in
entity Q670933
action intersection
action find_reverse
entity Q2643014
relation P710
action find_reverse
entity Q2203773
relation P710
['Q670933', 'P710', 'Q2643014'] ['Q670933', 'P710', 'Q2203773']
ASK WHERE { resource:Q670933 property:P710 resource:Q2643014 . resource:Q670933 property:P710 resource:Q2203773 }
German presidential election, 2012 Alexander Schweitzer Rüdiger Veit
action is_in
entity German presidential election, 2012
action intersection
action find_reverse
entity Alexander Schweitzer
relation participant
action find_reverse
entity Rüdiger Veit
relation participant
['German presidential election, 2012', 'participant', 'Alexander Schweitzer'] ['German presidential election, 2012', 'participant', 'Rüdiger Veit']
ASK WHERE { resource:German_presidential_election,_2012 property:participant resource:Alexander_Schweitzer . resource:German_presidential_election,_2012 property:participant resource:Rüdiger_Veit }
[]
common name
SYSTEM
YES
(Q670933,P710,Q2643014) (Q670933,P710,Q2203773)
action is_in
entity Q670933
action intersection
action find_reverse
entity Q2643014
relation P710
action find_reverse
entity Q2203773
relation P710
[ANSWER]
['Q670933', 'P710', 'Q2643014'] ['Q670933', 'P710', 'Q2203773']
ASK WHERE { resource:Q670933 property:P710 resource:Q2643014 . resource:Q670933 property:P710 resource:Q2203773 }
Yes
action is_in
entity German presidential election, 2012
action intersection
action find_reverse
entity Alexander Schweitzer
relation participant
action find_reverse
entity Rüdiger Veit
relation participant
['German presidential election, 2012', 'participant', 'Alexander Schweitzer'] ['German presidential election, 2012', 'participant', 'Rüdiger Veit']
ASK WHERE { resource:German_presidential_election,_2012 property:participant resource:Alexander_Schweitzer . resource:German_presidential_election,_2012 property:participant resource:Rüdiger_Veit }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P608
Q667276 Q1656682 Q502895
USER
How many people were displayed at atmost 1 art exhibitions or events ?
(c(Q502895),P608,c(Q667276)|c(Q1656682))
action count
action atmost
action union
action find_tuple_counts
relation P608
type Q502895
type Q667276
action find_tuple_counts
relation P608
type Q502895
type Q1656682
value 1
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q667276'}, {'concept': 'Q1656682'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) ?o WHERE { { ?o property:P608 ?e . ?e rdf:type ontology:Q667276 . ?o rdf:type ontology:Q502895 } UNION { ?o property:P608 ?e . ?e rdf:type ontology:Q1656682 . ?o rdf:type ontology:Q502895 } } GROUP BY ?o } . FILTER ( ?f <= 1 ) }
action count
action atmost
action union
action find_tuple_counts
relation exhibition history
type common name
type art exhibition
action find_tuple_counts
relation exhibition history
type common name
type event
value 1
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'art exhibition'}, {'concept': 'event'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) ?o WHERE { { ?o property:exhibition_history ?e . ?e rdf:type ontology:art_exhibition . ?o rdf:type ontology:common_name } UNION { ?o property:exhibition_history ?e . ?e rdf:type ontology:event . ?o rdf:type ontology:common_name } } GROUP BY ?o } . FILTER ( ?f <= 1 ) }
[]
art exhibition event common name
SYSTEM
35
Q70006 Q17314881 Q17455385 Q15734263 Q15734265 Q6196481 Q4945678 Q16004451 Q4648360 Q7649008 Q16858002 Q15991813 Q6990118 Q16062545 Q5671224 Q17625628 Q16005428 Q27505608 Q5248733 Q2824894 Q15734237 Q2965423 Q5040332 Q6687160 Q3289592 Q22815085 Q5375139 Q9015308 Q805807 Q16080418 Q16121375 Q15527965 Q15873898 Q55192 Q16968866
(c(Q502895),P608,c(Q667276)|c(Q1656682))
action count
action atmost
action union
action find_tuple_counts
relation P608
type Q502895
type Q667276
action find_tuple_counts
relation P608
type Q502895
type Q1656682
value 1
[ANSWER]
[{'concept': 'Q502895'}, 'P608', [{'concept': 'Q667276'}, {'concept': 'Q1656682'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) ?o WHERE { { ?o property:P608 ?e . ?e rdf:type ontology:Q667276 . ?o rdf:type ontology:Q502895 } UNION { ?o property:P608 ?e . ?e rdf:type ontology:Q1656682 . ?o rdf:type ontology:Q502895 } } GROUP BY ?o } . FILTER ( ?f <= 1 ) }
Lotte Jacobi René Izaure Jerry Cooke Johanna Bleuland van Oordt Adri Bleuland van Oordt Jim Love Martha Edelheit Jennifer Bolande A. S. Baylinson Susie Bootja Bootja Napaltjarri Anne Mee Judie Bamber Nellie Mae Rowe Alice Havers Pablo Borges Delgado Deborah De Robertis Andrea Bowers Wolfgang Sellinger Manuel Ocampo Adolphe Péterelle Tony van Alphen Christian Lhopital Carl Holty Louis Ferstadt Moniek Toebosch Georges Violet Ena Swansea Juan Carlos Alom Balto Alyce Frank Judith Lowry Margaretha Roosenboom Chrisje van der Willigen Gertrude Abercrombie Lydia Schouten
35
action count
action atmost
action union
action find_tuple_counts
relation exhibition history
type common name
type art exhibition
action find_tuple_counts
relation exhibition history
type common name
type event
value 1
[{'concept': 'common name'}, 'exhibition history', [{'concept': 'art exhibition'}, {'concept': 'event'}]]
SELECT DISTINCT ( COUNT ( ?o ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?f ) ?o WHERE { { ?o property:exhibition_history ?e . ?e rdf:type ontology:art_exhibition . ?o rdf:type ontology:common_name } UNION { ?o property:exhibition_history ?e . ?e rdf:type ontology:event . ?o rdf:type ontology:common_name } } GROUP BY ?o } . FILTER ( ?f <= 1 ) }
[]