Simple Question (Direct)
Simple Question
Q27608149
P710
Q502895
USER
Who were the participants of 1983 German Badminton Championships – Mixed doubles ?
(Q27608149,P710,c(Q502895))
action filter_type
action find
entity Q27608149
relation P710
type Q502895
['Q27608149', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . resource:Q27608149 property:P710 ?c }
1983 German Badminton Championships – Mixed doubles
action filter_type
action find
entity 1983 German Badminton Championships – Mixed doubles
relation participant
type common name
['1983 German Badminton Championships – Mixed doubles', 'participant', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . resource:1983_German_Badminton_Championships_–_Mixed_doubles property:participant ?c }
[]
common name
Q1511997 Q1291279 Q1729482
SYSTEM
Gerhard Kucki, Stefan Frey, Karin Kucki
Q1584580 Q1511997 Q1552980 Q1915634 Q1504218 Q1729482 Q1291279 Q1663359
(Q27608149,P710,c(Q502895))
action filter_type
action find
entity Q27608149
relation P710
type Q502895
The participants of 1983 German Badminton Championships – Mixed doubles were by [ANSWERS]
['Q27608149', 'P710', {'concept': 'Q502895'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q502895 . resource:Q27608149 property:P710 ?c }
Harald Klauer Gerhard Kucki Rolf Heyer Mechtild Hagemann Kirsten Schmieder Karin Kucki Stefan Frey Ingrid Morsch
The participants of 1983 German Badminton Championships – Mixed doubles were by Gerhard Kucki, Stefan Frey and Karin Kucki
Gerhard Kucki Stefan Frey Karin Kucki
action filter_type
action find
entity 1983 German Badminton Championships – Mixed doubles
relation participant
type common name
['1983 German Badminton Championships – Mixed doubles', 'participant', {'concept': 'common name'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:common_name . resource:1983_German_Badminton_Championships_–_Mixed_doubles property:participant ?c }
[]
Clarification
Simple Question|Single Entity|Indirect
Q1291279
P106
Q12737077
USER
What does that person do for a living ?
(Q1291279,P106,c(Q12737077))
action filter_type
action find
entity Q1291279
relation P106
type Q12737077
['Q1291279', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q1291279 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Stefan Frey
action filter_type
action find
entity Stefan Frey
relation occupation
type occupation
['Stefan Frey', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Stefan_Frey property:occupation ?k . ?k rdf:type ontology:occupation }
[]
occupation
Clarification for simple ques.
Q1291279
SYSTEM
Did you mean Stefan Frey ?
Q1511997 Q1291279 Q1729482
(Q1511997,P106,c(Q12737077)) (Q1291279,P106,c(Q12737077)) (Q1729482,P106,c(Q12737077))
[ANSWER]
['Q1511997', 'P106', {'concept': 'Q12737077'}] ['Q1291279', 'P106', {'concept': 'Q12737077'}] ['Q1729482', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q1291279 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
Gerhard Kucki Stefan Frey Karin Kucki
Did you mean Stefan Frey ?
Stefan Frey
['Gerhard Kucki', 'occupation', {'concept': 'occupation'}] ['Stefan Frey', 'occupation', {'concept': 'occupation'}] ['Karin Kucki', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Stefan_Frey property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
USER
Yes
(Q1291279,P106,c(Q12737077))
['Q1291279', 'P106', {'concept': 'Q12737077'}]
['Stefan Frey', 'occupation', {'concept': 'occupation'}]
[]
Q13141064
SYSTEM
badminton player
Q13141064
(Q1291279,P106,c(Q12737077))
action filter_type
action find
entity Q1291279
relation P106
type Q12737077
That person does a [ANSWER] for a living
['Q1291279', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?k WHERE { resource:Q1291279 property:P106 ?k . ?k rdf:type ontology:Q12737077 }
badminton player
That person does a badminton player for a living
badminton player
action filter_type
action find
entity Stefan Frey
relation occupation
type occupation
['Stefan Frey', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?k WHERE { resource:Stefan_Frey property:occupation ?k . ?k rdf:type ontology:occupation }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q13141064 Q14819331
P106
Q502895
USER
Does Mubarak Ali Al Sabah have a job as that occupation ?
(Q14819331,P106,Q13141064)
action is_in
entity Q14819331
action find
entity Q13141064
relation P106
['Q14819331', 'P106', 'Q13141064']
ASK WHERE { resource:Q13141064 property:P106 resource:Q14819331 }
badminton player Mubarak Ali Al Sabah
action is_in
entity Mubarak Ali Al Sabah
action find
entity badminton player
relation occupation
['Mubarak Ali Al Sabah', 'occupation', 'badminton player']
ASK WHERE { resource:badminton_player property:occupation resource:Mubarak_Ali_Al_Sabah }
[]
common name
SYSTEM
NO
(Q14819331,P106,Q13141064)
action is_in
entity Q14819331
action find
entity Q13141064
relation P106
[ANSWER]
['Q14819331', 'P106', 'Q13141064']
ASK WHERE { resource:Q13141064 property:P106 resource:Q14819331 }
No
action is_in
entity Mubarak Ali Al Sabah
action find
entity badminton player
relation occupation
['Mubarak Ali Al Sabah', 'occupation', 'badminton player']
ASK WHERE { resource:badminton_player property:occupation resource:Mubarak_Ali_Al_Sabah }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1729482 Q27607816 Q27608157
P1344
Q1203472
USER
Did Karin Kucki participate in 1976 German Badminton Championships – Men's singles and 1991 German Badminton Championships – Mixed doubles ?
(Q1729482,P1344,Q27607816) (Q1729482,P1344,Q27608157)
action is_in
entity Q1729482
action intersection
action find_reverse
entity Q27607816
relation P1344
action find_reverse
entity Q27608157
relation P1344
['Q1729482', 'P1344', 'Q27607816'] ['Q1729482', 'P1344', 'Q27608157']
ASK WHERE { resource:Q1729482 property:P1344 resource:Q27607816 . resource:Q1729482 property:P1344 resource:Q27608157 }
Karin Kucki 1976 German Badminton Championships – Men's singles 1991 German Badminton Championships – Mixed doubles
action is_in
entity Karin Kucki
action intersection
action find_reverse
entity 1976 German Badminton Championships – Men's singles
relation participant of
action find_reverse
entity 1991 German Badminton Championships – Mixed doubles
relation participant of
['Karin Kucki', 'participant of', "1976 German Badminton Championships – Men's singles"] ['Karin Kucki', 'participant of', '1991 German Badminton Championships – Mixed doubles']
ASK WHERE { resource:Karin_Kucki property:participant_of resource:1976_German_Badminton_Championships_–_Men's_singles . resource:Karin_Kucki property:participant_of resource:1991_German_Badminton_Championships_–_Mixed_doubles }
[]
German Badminton Championships
SYSTEM
NO
(Q1729482,P1344,Q27607816) (Q1729482,P1344,Q27608157)
action is_in
entity Q1729482
action intersection
action find_reverse
entity Q27607816
relation P1344
action find_reverse
entity Q27608157
relation P1344
[ANSWER]
['Q1729482', 'P1344', 'Q27607816'] ['Q1729482', 'P1344', 'Q27608157']
ASK WHERE { resource:Q1729482 property:P1344 resource:Q27607816 . resource:Q1729482 property:P1344 resource:Q27608157 }
No
action is_in
entity Karin Kucki
action intersection
action find_reverse
entity 1976 German Badminton Championships – Men's singles
relation participant of
action find_reverse
entity 1991 German Badminton Championships – Mixed doubles
relation participant of
['Karin Kucki', 'participant of', "1976 German Badminton Championships – Men's singles"] ['Karin Kucki', 'participant of', '1991 German Badminton Championships – Mixed doubles']
ASK WHERE { resource:Karin_Kucki property:participant_of resource:1976_German_Badminton_Championships_–_Men's_singles . resource:Karin_Kucki property:participant_of resource:1991_German_Badminton_Championships_–_Mixed_doubles }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P417
Q502895 Q12737077
USER
Which people are the names of the patron saint of max number of occupations ?
(c(Q12737077),P417,Q208331)
action argmax
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
[{'concept': 'Q12737077'}, 'P417', 'Q208331']
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?f ) { SELECT DISTINCT ?p ( COUNT ( ?l ) AS ?g ) WHERE { ?l property:P417 ?p . ?l rdf:type ontology:Q12737077 . ?p rdf:type ontology:Q502895 } GROUP BY ?p } } . { SELECT DISTINCT ?s ( COUNT ( ?d ) AS ?v ) WHERE { ?d property:P417 ?s . ?s rdf:type ontology:Q502895 . ?d rdf:type ontology:Q12737077 } GROUP BY ?s } . FILTER ( ?v = ?f ) }
action argmax
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Olaf II of Norway']
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?f ) { SELECT DISTINCT ?p ( COUNT ( ?l ) AS ?g ) WHERE { ?l property:patron_saint ?p . ?l rdf:type ontology:occupation . ?p rdf:type ontology:common_name } GROUP BY ?p } } . { SELECT DISTINCT ?s ( COUNT ( ?d ) AS ?v ) WHERE { ?d property:patron_saint ?s . ?s rdf:type ontology:common_name . ?d rdf:type ontology:occupation } GROUP BY ?s } . FILTER ( ?v = ?f ) }
[]
common name occupation
Q179718
SYSTEM
Catherine of Alexandria
Q179718
(c(Q12737077),P417,Q208331)
action argmax
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
[ANSWER] is the names of the patron saint of max number of occupations
[{'concept': 'Q12737077'}, 'P417', 'Q208331']
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?f ) { SELECT DISTINCT ?p ( COUNT ( ?l ) AS ?g ) WHERE { ?l property:P417 ?p . ?l rdf:type ontology:Q12737077 . ?p rdf:type ontology:Q502895 } GROUP BY ?p } } . { SELECT DISTINCT ?s ( COUNT ( ?d ) AS ?v ) WHERE { ?d property:P417 ?s . ?s rdf:type ontology:Q502895 . ?d rdf:type ontology:Q12737077 } GROUP BY ?s } . FILTER ( ?v = ?f ) }
Catherine of Alexandria
Catherine of Alexandria is the names of the patron saint of max number of occupations
Catherine of Alexandria
action argmax
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
[{'concept': 'occupation'}, 'patron saint', 'Olaf II of Norway']
SELECT DISTINCT ?s WHERE { { SELECT DISTINCT ( MAX ( ?g ) AS ?f ) { SELECT DISTINCT ?p ( COUNT ( ?l ) AS ?g ) WHERE { ?l property:patron_saint ?p . ?l rdf:type ontology:occupation . ?p rdf:type ontology:common_name } GROUP BY ?p } } . { SELECT DISTINCT ?s ( COUNT ( ?d ) AS ?v ) WHERE { ?d property:patron_saint ?s . ?s rdf:type ontology:common_name . ?d rdf:type ontology:occupation } GROUP BY ?s } . FILTER ( ?v = ?f ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1511997
P710
Q1203472
USER
How many German Badminton Championshipss were Gerhard Kucki a participant of ?
(c(Q1203472),P710,Q1511997)
action count
action filter_type
action find_reverse
entity Q1511997
relation P710
type Q1203472
[{'concept': 'Q1203472'}, 'P710', 'Q1511997']
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { ?z property:P710 resource:Q1511997 . ?z rdf:type ontology:Q1203472 }
Gerhard Kucki
action count
action filter_type
action find_reverse
entity Gerhard Kucki
relation participant
type German Badminton Championships
[{'concept': 'German Badminton Championships'}, 'participant', 'Gerhard Kucki']
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { ?z property:participant resource:Gerhard_Kucki . ?z rdf:type ontology:German_Badminton_Championships }
[]
German Badminton Championships
SYSTEM
27
Q27607987 Q27607986 Q27607985 Q27607981 Q27607980 Q27607991 Q27607969 Q27607978 Q27607976 Q27607977 Q27607975 Q27607972 Q27607973 Q27608143 Q27607982 Q27608132 Q27608149 Q27608142 Q27607819 Q27607811 Q27607810 Q27607813 Q27607812 Q27607806 Q27608139 Q27608135 Q27608134
(c(Q1203472),P710,Q1511997)
action count
action filter_type
action find_reverse
entity Q1511997
relation P710
type Q1203472
[ANSWER]
[{'concept': 'Q1203472'}, 'P710', 'Q1511997']
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { ?z property:P710 resource:Q1511997 . ?z rdf:type ontology:Q1203472 }
1979 German Badminton Championships – Men's doubles 1978 German Badminton Championships – Men's doubles 1977 German Badminton Championships – Men's doubles 1974 German Badminton Championships – Men's doubles 1973 German Badminton Championships – Men's doubles 1982 German Badminton Championships – Men's doubles 1964 German Badminton Championships – Men's doubles 1972 German Badminton Championships – Men's doubles 1970 German Badminton Championships – Men's doubles 1971 German Badminton Championships – Men's doubles 1969 German Badminton Championships – Men's doubles 1967 German Badminton Championships – Men's doubles 1968 German Badminton Championships – Men's doubles 1978 German Badminton Championships – Mixed doubles 1975 German Badminton Championships – Men's doubles 1969 German Badminton Championships – Mixed doubles 1983 German Badminton Championships – Mixed doubles 1977 German Badminton Championships – Mixed doubles 1978 German Badminton Championships – Men's singles 1972 German Badminton Championships – Men's singles 1971 German Badminton Championships – Men's singles 1974 German Badminton Championships – Men's singles 1973 German Badminton Championships – Men's singles 1968 German Badminton Championships – Men's singles 1975 German Badminton Championships – Mixed doubles 1971 German Badminton Championships – Mixed doubles 1970 German Badminton Championships – Mixed doubles
27
action count
action filter_type
action find_reverse
entity Gerhard Kucki
relation participant
type German Badminton Championships
[{'concept': 'German Badminton Championships'}, 'participant', 'Gerhard Kucki']
SELECT DISTINCT ( COUNT ( ?z ) AS ?a ) WHERE { ?z property:participant resource:Gerhard_Kucki . ?z rdf:type ontology:German_Badminton_Championships }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by exactly 3 people ?
(c(Q502895),P1303,c(Q34379))
action count
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?h ) AS ?t ) WHERE { ?h property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?h rdf:type ontology:Q502895 } GROUP BY ?s } . FILTER ( ?t = 3 ) }
action count
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?h ) AS ?t ) WHERE { ?h property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?h rdf:type ontology:common_name } GROUP BY ?s } . FILTER ( ?t = 3 ) }
[]
musical instrument common name
SYSTEM
2
Q626035 Q726306
(c(Q502895),P1303,c(Q34379))
action count
action equal
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 3
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?h ) AS ?t ) WHERE { ?h property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?h rdf:type ontology:Q502895 } GROUP BY ?s } . FILTER ( ?t = 3 ) }
glockenspiel erhu
2
action count
action equal
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 3
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { { SELECT DISTINCT ?s ( COUNT ( ?h ) AS ?t ) WHERE { ?h property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?h rdf:type ontology:common_name } GROUP BY ?s } . FILTER ( ?t = 3 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q220971
P1303
Q34379 Q502895
USER
How many musical instruments are played by more number of people than marimba ?
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q220971
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?p ) WHERE { ?d property:P1303 ?q . ?q rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { ?h rdf:type ontology:Q34379 . resource:Q220971 property:P1303 ?h } } . FILTER ( ?p > ?b ) }
marimba
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity marimba
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?p ) WHERE { ?d property:instrument ?q . ?q rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { ?h rdf:type ontology:musical_instrument . resource:marimba property:instrument ?h } } . FILTER ( ?p > ?b ) }
[]
musical instrument common name
SYSTEM
15
Q80284 Q46185 Q80019 Q5994 Q81982 Q206987 Q8338 Q8371 Q8355 Q3382191 Q742180 Q1444 Q128309 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q220971
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?p ) WHERE { ?d property:P1303 ?q . ?q rdf:type ontology:Q34379 . ?d rdf:type ontology:Q502895 } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { ?h rdf:type ontology:Q34379 . resource:Q220971 property:P1303 ?h } } . FILTER ( ?p > ?b ) }
viola bass guitar double bass piano harpsichord vibraphone trumpet cello violin upright piano viola d'amore organ drum kit electronic keyboard drum
15
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity marimba
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?v ) WHERE { { SELECT DISTINCT ?q ( COUNT ( ?d ) AS ?p ) WHERE { ?d property:instrument ?q . ?q rdf:type ontology:musical_instrument . ?d rdf:type ontology:common_name } GROUP BY ?q } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?b ) WHERE { ?h rdf:type ontology:musical_instrument . resource:marimba property:instrument ?h } } . FILTER ( ?p > ?b ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q3623688
P1303
Q34379 Q502895
USER
And what about Paraguayan harp?
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q3623688
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?p ) AS ?s ) WHERE { ?p property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { resource:Q3623688 property:P1303 ?i . ?i rdf:type ontology:Q34379 } } . FILTER ( ?s > ?h ) }
Paraguayan harp
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Paraguayan harp
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?p ) AS ?s ) WHERE { ?p property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { resource:Paraguayan_harp property:instrument ?i . ?i rdf:type ontology:musical_instrument } } . FILTER ( ?s > ?h ) }
[]
musical instrument common name
SYSTEM
30
Q80284 Q46185 Q201129 Q424017 Q80019 Q2563510 Q5994 Q3574843 Q81982 Q182718 Q206987 Q189737 Q8338 Q8371 Q8355 Q213461 Q3382191 Q862501 Q213100 Q537750 Q626035 Q742180 Q1300012 Q1444 Q220971 Q128309 Q726306 Q483994 Q1343007 Q11404
(c(Q502895),P1303,c(Q34379))
action count
action greater
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q3623688
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?p ) AS ?s ) WHERE { ?p property:P1303 ?v . ?v rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { resource:Q3623688 property:P1303 ?i . ?i rdf:type ontology:Q34379 } } . FILTER ( ?s > ?h ) }
viola bass guitar lyre acoustic bass guitar double bass steel-string acoustic guitar piano tonbak harpsichord Nyckelharpa vibraphone timpani trumpet cello violin harmonium upright piano ondes Martenot tabla Djembe glockenspiel viola d'amore toy piano organ marimba drum kit erhu Kazoo electronic keyboard drum
30
action count
action greater
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Paraguayan harp
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?v ) AS ?t ) WHERE { { SELECT DISTINCT ?v ( COUNT ( ?p ) AS ?s ) WHERE { ?p property:instrument ?v . ?v rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name } GROUP BY ?v } . { SELECT DISTINCT ( COUNT ( ?i ) AS ?h ) WHERE { resource:Paraguayan_harp property:instrument ?i . ?i rdf:type ontology:musical_instrument } } . FILTER ( ?s > ?h ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q179718
P825
Q44539
USER
Which temples are dedicated to Catherine of Alexandria ?
(c(Q44539),P825,Q179718)
action filter_type
action find_reverse
entity Q179718
relation P825
type Q44539
[{'concept': 'Q44539'}, 'P825', 'Q179718']
SELECT DISTINCT ?g WHERE { ?g property:P825 resource:Q179718 . ?g rdf:type ontology:Q44539 }
Catherine of Alexandria
action filter_type
action find_reverse
entity Catherine of Alexandria
relation dedicated to
type temple
[{'concept': 'temple'}, 'dedicated to', 'Catherine of Alexandria']
SELECT DISTINCT ?g WHERE { ?g property:dedicated_to resource:Catherine_of_Alexandria . ?g rdf:type ontology:temple }
[]
temple
Q7593726 Q24036452 Q17742004
SYSTEM
St John the Baptist's Church, St Catherine's Church, St Catharine's Church
Q7593726 Q24036452 Q17742004
(c(Q44539),P825,Q179718)
action filter_type
action find_reverse
entity Q179718
relation P825
type Q44539
[ANSWERS] are dedicated to Catherine of Alexandria
[{'concept': 'Q44539'}, 'P825', 'Q179718']
SELECT DISTINCT ?g WHERE { ?g property:P825 resource:Q179718 . ?g rdf:type ontology:Q44539 }
St John the Baptist's Church St Catherine's Church St Catharine's Church
St John the Baptist's Church, St Catherine's Church and St Catharine's Church are dedicated to Catherine of Alexandria
St John the Baptist's Church St Catherine's Church St Catharine's Church
action filter_type
action find_reverse
entity Catherine of Alexandria
relation dedicated to
type temple
[{'concept': 'temple'}, 'dedicated to', 'Catherine of Alexandria']
SELECT DISTINCT ?g WHERE { ?g property:dedicated_to resource:Catherine_of_Alexandria . ?g rdf:type ontology:temple }
[]
Clarification
Simple Question|Single Entity|Indirect
Q7593726
P84
Q502895
USER
Who is the architect of that temple ?
(Q7593726,P84,c(Q502895))
action filter_type
action find
entity Q7593726
relation P84
type Q502895
['Q7593726', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q7593726 property:P84 ?s . ?s rdf:type ontology:Q502895 }
St John the Baptist's Church
action filter_type
action find
entity St John the Baptist's Church
relation architect
type common name
["St John the Baptist's Church", 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:St_John_the_Baptist's_Church property:architect ?s . ?s rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q7593726
SYSTEM
Did you mean St John the Baptist's Church ?
Q7593726 Q24036452 Q17742004
(Q7593726,P84,c(Q502895)) (Q24036452,P84,c(Q502895)) (Q17742004,P84,c(Q502895))
[ANSWER]
['Q7593726', 'P84', {'concept': 'Q502895'}] ['Q24036452', 'P84', {'concept': 'Q502895'}] ['Q17742004', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q7593726 property:P84 ?s . ?s rdf:type ontology:Q502895 }
St John the Baptist's Church St Catherine's Church St Catharine's Church
Did you mean St John the Baptist's Church ?
St John the Baptist's Church
["St John the Baptist's Church", 'architect', {'concept': 'common name'}] ["St Catherine's Church", 'architect', {'concept': 'common name'}] ["St Catharine's Church", 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:St_John_the_Baptist's_Church property:architect ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
Yes
(Q7593726,P84,c(Q502895))
['Q7593726', 'P84', {'concept': 'Q502895'}]
["St John the Baptist's Church", 'architect', {'concept': 'common name'}]
[]
Q951299
SYSTEM
John Douglas
Q951299
(Q7593726,P84,c(Q502895))
action filter_type
action find
entity Q7593726
relation P84
type Q502895
The architect of that temple is the [ANSWER]
['Q7593726', 'P84', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q7593726 property:P84 ?s . ?s rdf:type ontology:Q502895 }
John Douglas
The architect of that temple is the John Douglas
John Douglas
action filter_type
action find
entity St John the Baptist's Church
relation architect
type common name
["St John the Baptist's Church", 'architect', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:St_John_the_Baptist's_Church property:architect ?s . ?s rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q951299 Q4729493
P84
Q44539
USER
Was that person the designer of All Saints Church, Lockerbie ?
(Q4729493,P84,Q951299)
action is_in
entity Q951299
action find
entity Q4729493
relation P84
['Q4729493', 'P84', 'Q951299']
ASK WHERE { resource:Q4729493 property:P84 resource:Q951299 }
John Douglas All Saints Church, Lockerbie
action is_in
entity John Douglas
action find
entity All Saints Church, Lockerbie
relation architect
['All Saints Church, Lockerbie', 'architect', 'John Douglas']
ASK WHERE { resource:All_Saints_Church,_Lockerbie property:architect resource:John_Douglas }
[]
temple
SYSTEM
YES
(Q4729493,P84,Q951299)
action is_in
entity Q951299
action find
entity Q4729493
relation P84
[ANSWER]
['Q4729493', 'P84', 'Q951299']
ASK WHERE { resource:Q4729493 property:P84 resource:Q951299 }
Yes
action is_in
entity John Douglas
action find
entity All Saints Church, Lockerbie
relation architect
['All Saints Church, Lockerbie', 'architect', 'John Douglas']
ASK WHERE { resource:All_Saints_Church,_Lockerbie property:architect resource:John_Douglas }
[]