Simple Question (Direct)
Simple Question
Q7086075
P21
Q290
USER
Which sex does Oleg Kharakhordin have ?
(Q7086075,P21,c(Q290))
action filter_type
action find
entity Q7086075
relation P21
type Q290
['Q7086075', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q290 . resource:Q7086075 property:P21 ?b }
Oleg Kharakhordin
action filter_type
action find
entity Oleg Kharakhordin
relation gender
type sex
['Oleg Kharakhordin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:sex . resource:Oleg_Kharakhordin property:gender ?b }
[]
sex
Q6581097
SYSTEM
male
Q6581097
(Q7086075,P21,c(Q290))
action filter_type
action find
entity Q7086075
relation P21
type Q290
Oleg Kharakhordin has a [ANSWER]
['Q7086075', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:Q290 . resource:Q7086075 property:P21 ?b }
male
Oleg Kharakhordin has a male
male
action filter_type
action find
entity Oleg Kharakhordin
relation gender
type sex
['Oleg Kharakhordin', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?b WHERE { ?b rdf:type ontology:sex . resource:Oleg_Kharakhordin property:gender ?b }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6581097
P69
Q502895
USER
Which person was educated at that sex ?
(c(Q502895),P69,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P69
type Q502895
[{'concept': 'Q502895'}, 'P69', 'Q6581097']
SELECT DISTINCT ?f WHERE { ?f property:P69 resource:Q6581097 . ?f rdf:type ontology:Q502895 }
male
action filter_type
action find_reverse
entity male
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'male']
SELECT DISTINCT ?f WHERE { ?f property:educated_at resource:male . ?f rdf:type ontology:common_name }
[]
common name
Q4662307
SYSTEM
Aaron Parchem
Q4662307
(c(Q502895),P69,Q6581097)
action filter_type
action find_reverse
entity Q6581097
relation P69
type Q502895
[ANSWER] was educated at that sex
[{'concept': 'Q502895'}, 'P69', 'Q6581097']
SELECT DISTINCT ?f WHERE { ?f property:P69 resource:Q6581097 . ?f rdf:type ontology:Q502895 }
Aaron Parchem
Aaron Parchem was educated at that sex
Aaron Parchem
action filter_type
action find_reverse
entity male
relation educated at
type common name
[{'concept': 'common name'}, 'educated at', 'male']
SELECT DISTINCT ?f WHERE { ?f property:educated_at resource:male . ?f rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4662307
P1344
Q15900616
USER
Which event sequence did that person participate in ?
(Q4662307,P1344,c(Q15900616))
action filter_type
action find
entity Q4662307
relation P1344
type Q15900616
['Q4662307', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?l WHERE { resource:Q4662307 property:P1344 ?l . ?l rdf:type ontology:Q15900616 }
Aaron Parchem
action filter_type
action find
entity Aaron Parchem
relation participant of
type event sequence
['Aaron Parchem', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?l WHERE { resource:Aaron_Parchem property:participant_of ?l . ?l rdf:type ontology:event_sequence }
[]
event sequence
Q9672
SYSTEM
2006 Winter Olympics
Q9672
(Q4662307,P1344,c(Q15900616))
action filter_type
action find
entity Q4662307
relation P1344
type Q15900616
That person participated in [ANSWER]
['Q4662307', 'P1344', {'concept': 'Q15900616'}]
SELECT DISTINCT ?l WHERE { resource:Q4662307 property:P1344 ?l . ?l rdf:type ontology:Q15900616 }
2006 Winter Olympics
That person participated in 2006 Winter Olympics
2006 Winter Olympics
action filter_type
action find
entity Aaron Parchem
relation participant of
type event sequence
['Aaron Parchem', 'participant of', {'concept': 'event sequence'}]
SELECT DISTINCT ?l WHERE { resource:Aaron_Parchem property:participant_of ?l . ?l rdf:type ontology:event_sequence }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4662307
P106
Q12737077
USER
What does that person do for a living ?
(Q9672,P106,c(Q12737077))
action filter_type
action find
entity Q4662307
relation P106
type Q12737077
['Q9672', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q4662307 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
Aaron Parchem
action filter_type
action find
entity Aaron Parchem
relation occupation
type occupation
['2006 Winter Olympics', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Aaron_Parchem property:occupation ?s . ?s rdf:type ontology:occupation }
[]
occupation
Q13219587
SYSTEM
figure skater
Q13219587
(Q9672,P106,c(Q12737077))
action filter_type
action find
entity Q4662307
relation P106
type Q12737077
[ANSWER] that person does for a living
['Q9672', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?s WHERE { resource:Q4662307 property:P106 ?s . ?s rdf:type ontology:Q12737077 }
figure skater
Figure skater that person does for a living
figure skater
action filter_type
action find
entity Aaron Parchem
relation occupation
type occupation
['2006 Winter Olympics', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?s WHERE { resource:Aaron_Parchem property:occupation ?s . ?s rdf:type ontology:occupation }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P417
Q502895 Q12737077
USER
How many people are the patron saints of around 2 occupations ?
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 2
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?h ) WHERE { ?w property:P417 ?i . ?i rdf:type ontology:Q502895 . ?w rdf:type ontology:Q12737077 } GROUP BY ?i } . FILTER ( ?h = 2 ) }
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 2
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?h ) WHERE { ?w property:patron_saint ?i . ?i rdf:type ontology:common_name . ?w rdf:type ontology:occupation } GROUP BY ?i } . FILTER ( ?h = 2 ) }
[]
common name occupation
SYSTEM
10
Q229190 Q328804 Q166876 Q170547 Q183240 Q196653 Q44265 Q744884 Q151967 Q44248
(c(Q12737077),P417,c(Q502895))
action count
action approx
action find_reverse_tuple_counts
relation P417
type Q502895
type Q12737077
value 2
[ANSWER]
[{'concept': 'Q12737077'}, 'P417', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?h ) WHERE { ?w property:P417 ?i . ?i rdf:type ontology:Q502895 . ?w rdf:type ontology:Q12737077 } GROUP BY ?i } . FILTER ( ?h = 2 ) }
Catherine of Siena John the Evangelist Isidore of Seville Anthony the Great Saint Lucy Saint Veronica Benedict of Nursia Zita Saint Blaise Jerome
10
action count
action approx
action find_reverse_tuple_counts
relation patron saint
type common name
type occupation
value 2
[{'concept': 'occupation'}, 'patron saint', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?i ) AS ?o ) WHERE { { SELECT DISTINCT ?i ( COUNT ( ?w ) AS ?h ) WHERE { ?w property:patron_saint ?i . ?i rdf:type ontology:common_name . ?w rdf:type ontology:occupation } GROUP BY ?i } . FILTER ( ?h = 2 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q9672
P17
Q15617994
USER
Which administrative territory is 2006 Winter Olympics a part of ?
(Q9672,P17,c(Q15617994))
action filter_type
action find
entity Q9672
relation P17
type Q15617994
['Q9672', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q9672 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
2006 Winter Olympics
action filter_type
action find
entity 2006 Winter Olympics
relation country
type designation for an administrative territorial entity
['2006 Winter Olympics', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:2006_Winter_Olympics property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q38
SYSTEM
Italy
Q38
(Q9672,P17,c(Q15617994))
action filter_type
action find
entity Q9672
relation P17
type Q15617994
[ANSWER] is 2006 Winter Olympics a part of
['Q9672', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q9672 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
Italy
Italy is 2006 Winter Olympics a part of
Italy
action filter_type
action find
entity 2006 Winter Olympics
relation country
type designation for an administrative territorial entity
['2006 Winter Olympics', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:2006_Winter_Olympics property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q9672
P276
Q1076486
USER
Which sports venue is the location of that event sequence ?
(Q38,P276,c(Q1076486))
action filter_type
action find
entity Q9672
relation P276
type Q1076486
['Q38', 'P276', {'concept': 'Q1076486'}]
SELECT DISTINCT ?d WHERE { resource:Q9672 property:P276 ?d . ?d rdf:type ontology:Q1076486 }
2006 Winter Olympics
action filter_type
action find
entity 2006 Winter Olympics
relation location
type sports venue
['Italy', 'location', {'concept': 'sports venue'}]
SELECT DISTINCT ?d WHERE { resource:2006_Winter_Olympics property:location ?d . ?d rdf:type ontology:sports_venue }
[]
sports venue
Q214629
SYSTEM
Stadio Olimpico di Torino
Q214629
(Q38,P276,c(Q1076486))
action filter_type
action find
entity Q9672
relation P276
type Q1076486
[ANSWER] is the location of that event sequence
['Q38', 'P276', {'concept': 'Q1076486'}]
SELECT DISTINCT ?d WHERE { resource:Q9672 property:P276 ?d . ?d rdf:type ontology:Q1076486 }
Stadio Olimpico di Torino
Stadio Olimpico di Torino is the location of that event sequence
Stadio Olimpico di Torino
action filter_type
action find
entity 2006 Winter Olympics
relation location
type sports venue
['Italy', 'location', {'concept': 'sports venue'}]
SELECT DISTINCT ?d WHERE { resource:2006_Winter_Olympics property:location ?d . ?d rdf:type ontology:sports_venue }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q214629 Q41049 Q53757
P17
Q15617994
USER
Is that sports venue located in Cecima and Hohenmocker ?
(Q214629,P17,Q41049) (Q214629,P17,Q53757)
action is_in
entity Q214629
action intersection
action find_reverse
entity Q41049
relation P17
action find_reverse
entity Q53757
relation P17
['Q214629', 'P17', 'Q41049'] ['Q214629', 'P17', 'Q53757']
ASK WHERE { resource:Q214629 property:P17 resource:Q41049 . resource:Q214629 property:P17 resource:Q53757 }
Stadio Olimpico di Torino Cecima Hohenmocker
action is_in
entity Stadio Olimpico di Torino
action intersection
action find_reverse
entity Cecima
relation country
action find_reverse
entity Hohenmocker
relation country
['Stadio Olimpico di Torino', 'country', 'Cecima'] ['Stadio Olimpico di Torino', 'country', 'Hohenmocker']
ASK WHERE { resource:Stadio_Olimpico_di_Torino property:country resource:Cecima . resource:Stadio_Olimpico_di_Torino property:country resource:Hohenmocker }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q214629,P17,Q41049) (Q214629,P17,Q53757)
action is_in
entity Q214629
action intersection
action find_reverse
entity Q41049
relation P17
action find_reverse
entity Q53757
relation P17
[ANSWER]
['Q214629', 'P17', 'Q41049'] ['Q214629', 'P17', 'Q53757']
ASK WHERE { resource:Q214629 property:P17 resource:Q41049 . resource:Q214629 property:P17 resource:Q53757 }
No
action is_in
entity Stadio Olimpico di Torino
action intersection
action find_reverse
entity Cecima
relation country
action find_reverse
entity Hohenmocker
relation country
['Stadio Olimpico di Torino', 'country', 'Cecima'] ['Stadio Olimpico di Torino', 'country', 'Hohenmocker']
ASK WHERE { resource:Stadio_Olimpico_di_Torino property:country resource:Cecima . resource:Stadio_Olimpico_di_Torino property:country resource:Hohenmocker }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q38
P162
Q838948
USER
Which work of art has been produced by Italy ?
(c(Q838948),P162,Q38)
action filter_type
action find_reverse
entity Q38
relation P162
type Q838948
[{'concept': 'Q838948'}, 'P162', 'Q38']
SELECT DISTINCT ?q WHERE { ?q property:P162 resource:Q38 . ?q rdf:type ontology:Q838948 }
Italy
action filter_type
action find_reverse
entity Italy
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Italy']
SELECT DISTINCT ?q WHERE { ?q property:producer resource:Italy . ?q rdf:type ontology:work_of_art }
[]
work of art
Q2933446
SYSTEM
Calabuch
Q2933446
(c(Q838948),P162,Q38)
action filter_type
action find_reverse
entity Q38
relation P162
type Q838948
[ANSWER] has been produced by Italy
[{'concept': 'Q838948'}, 'P162', 'Q38']
SELECT DISTINCT ?q WHERE { ?q property:P162 resource:Q38 . ?q rdf:type ontology:Q838948 }
Calabuch
Calabuch has been produced by Italy
Calabuch
action filter_type
action find_reverse
entity Italy
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Italy']
SELECT DISTINCT ?q WHERE { ?q property:producer resource:Italy . ?q rdf:type ontology:work_of_art }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2933446
P86
Q502895
USER
Which person composed that work of art ?
(Q2933446,P86,c(Q502895))
action filter_type
action find
entity Q2933446
relation P86
type Q502895
['Q2933446', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q2933446 property:P86 ?f . ?f rdf:type ontology:Q502895 }
Calabuch
action filter_type
action find
entity Calabuch
relation composer
type common name
['Calabuch', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Calabuch property:composer ?f . ?f rdf:type ontology:common_name }
[]
common name
Q658571
SYSTEM
Guido Guerrini
Q658571
(Q2933446,P86,c(Q502895))
action filter_type
action find
entity Q2933446
relation P86
type Q502895
[ANSWER] composed that work of art
['Q2933446', 'P86', {'concept': 'Q502895'}]
SELECT DISTINCT ?f WHERE { resource:Q2933446 property:P86 ?f . ?f rdf:type ontology:Q502895 }
Guido Guerrini
Guido Guerrini composed that work of art
Guido Guerrini
action filter_type
action find
entity Calabuch
relation composer
type common name
['Calabuch', 'composer', {'concept': 'common name'}]
SELECT DISTINCT ?f WHERE { resource:Calabuch property:composer ?f . ?f rdf:type ontology:common_name }
[]