Simple Question (Direct)
Simple Question
Q1949189
P106
Q12737077
USER
What are the job of Moses Isserles ?
(Q1949189,P106,c(Q12737077))
action filter_type
action find
entity Q1949189
relation P106
type Q12737077
['Q1949189', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q1949189 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
Moses Isserles
action filter_type
action find
entity Moses Isserles
relation occupation
type occupation
['Moses Isserles', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Moses_Isserles property:occupation ?m . ?m rdf:type ontology:occupation }
[]
occupation
Q133485 Q1234713
SYSTEM
rabbi, theologian
Q133485 Q1234713
(Q1949189,P106,c(Q12737077))
action filter_type
action find
entity Q1949189
relation P106
type Q12737077
The job of Moses Isserles are a [ANSWERS]
['Q1949189', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?m WHERE { resource:Q1949189 property:P106 ?m . ?m rdf:type ontology:Q12737077 }
rabbi theologian
The job of Moses Isserles are a rabbi and theologian
rabbi theologian
action filter_type
action find
entity Moses Isserles
relation occupation
type occupation
['Moses Isserles', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?m WHERE { resource:Moses_Isserles property:occupation ?m . ?m rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1949189
P1066
Q502895
USER
Which person was the professor of that one ?
(Q133485,P1066,c(Q502895)) (Q1234713,P1066,c(Q502895))
action filter_type
action find
entity Q1949189
relation P1066
type Q502895
['Q133485', 'P1066', {'concept': 'Q502895'}] ['Q1234713', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q1949189 property:P1066 ?k . ?k rdf:type ontology:Q502895 }
Moses Isserles
action filter_type
action find
entity Moses Isserles
relation student of
type common name
['rabbi', 'student of', {'concept': 'common name'}] ['theologian', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Moses_Isserles property:student_of ?k . ?k rdf:type ontology:common_name }
[]
common name
Q93487
SYSTEM
Shalom Shachna
Q93487
(Q133485,P1066,c(Q502895)) (Q1234713,P1066,c(Q502895))
action filter_type
action find
entity Q1949189
relation P1066
type Q502895
[ANSWER] was the professor of that one
['Q133485', 'P1066', {'concept': 'Q502895'}] ['Q1234713', 'P1066', {'concept': 'Q502895'}]
SELECT DISTINCT ?k WHERE { resource:Q1949189 property:P1066 ?k . ?k rdf:type ontology:Q502895 }
Shalom Shachna
Shalom Shachna was the professor of that one
Shalom Shachna
action filter_type
action find
entity Moses Isserles
relation student of
type common name
['rabbi', 'student of', {'concept': 'common name'}] ['theologian', 'student of', {'concept': 'common name'}]
SELECT DISTINCT ?k WHERE { resource:Moses_Isserles property:student_of ?k . ?k rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments do atleast 250 people know to play ?
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 250
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?g ) AS ?i ) WHERE { ?g property:P1303 ?j . ?j rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 } GROUP BY ?j } . FILTER ( ?i >= 250 ) }
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 250
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?g ) AS ?i ) WHERE { ?g property:instrument ?j . ?j rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name } GROUP BY ?j } . FILTER ( ?i >= 250 ) }
[]
musical instrument common name
SYSTEM
10
Q80284 Q46185 Q80019 Q5994 Q8338 Q8371 Q8355 Q1444 Q128309 Q1343007
(c(Q502895),P1303,c(Q34379))
action count
action atleast
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 250
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?g ) AS ?i ) WHERE { ?g property:P1303 ?j . ?j rdf:type ontology:Q34379 . ?g rdf:type ontology:Q502895 } GROUP BY ?j } . FILTER ( ?i >= 250 ) }
viola bass guitar double bass piano trumpet cello violin organ drum kit electronic keyboard
10
action count
action atleast
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 250
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?j ) AS ?e ) WHERE { { SELECT DISTINCT ?j ( COUNT ( ?g ) AS ?i ) WHERE { ?g property:instrument ?j . ?j rdf:type ontology:musical_instrument . ?g rdf:type ontology:common_name } GROUP BY ?j } . FILTER ( ?i >= 250 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q93487
P1066
Q502895
USER
How many people are a pupil of Shalom Shachna ?
(c(Q502895),P1066,Q93487)
action count
action filter_type
action find_reverse
entity Q93487
relation P1066
type Q502895
[{'concept': 'Q502895'}, 'P1066', 'Q93487']
SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { ?q rdf:type ontology:Q502895 . ?q property:P1066 resource:Q93487 }
Shalom Shachna
action count
action filter_type
action find_reverse
entity Shalom Shachna
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Shalom Shachna']
SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { ?q rdf:type ontology:common_name . ?q property:student_of resource:Shalom_Shachna }
[]
common name
SYSTEM
1
Q1949189
(c(Q502895),P1066,Q93487)
action count
action filter_type
action find_reverse
entity Q93487
relation P1066
type Q502895
[ANSWER]
[{'concept': 'Q502895'}, 'P1066', 'Q93487']
SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { ?q rdf:type ontology:Q502895 . ?q property:P1066 resource:Q93487 }
Moses Isserles
1
action count
action filter_type
action find_reverse
entity Shalom Shachna
relation student of
type common name
[{'concept': 'common name'}, 'student of', 'Shalom Shachna']
SELECT DISTINCT ( COUNT ( ?q ) AS ?t ) WHERE { ?q rdf:type ontology:common_name . ?q property:student_of resource:Shalom_Shachna }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q93487
P802
Q502895
USER
Which person was a notable student of that one ?
action filter_type
action find_reverse
entity Q93487
relation P802
type Q502895
SELECT DISTINCT ?r WHERE { ?r property:P802 resource:Q93487 . ?r rdf:type ontology:Q502895 }
Shalom Shachna
action filter_type
action find_reverse
entity Shalom Shachna
relation student
type common name
SELECT DISTINCT ?r WHERE { ?r property:student resource:Shalom_Shachna . ?r rdf:type ontology:common_name }
[]
common name
Q1423836
SYSTEM
Jacob Pollak
Q1423836
action filter_type
action find_reverse
entity Q93487
relation P802
type Q502895
[ANSWER] was a notable student of that one
SELECT DISTINCT ?r WHERE { ?r property:P802 resource:Q93487 . ?r rdf:type ontology:Q502895 }
Jacob Pollak
Jacob Pollak was a notable student of that one
Jacob Pollak
action filter_type
action find_reverse
entity Shalom Shachna
relation student
type common name
SELECT DISTINCT ?r WHERE { ?r property:student resource:Shalom_Shachna . ?r rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, subject is indirect
Q1423836 Q93487
P802
Q502895
USER
Was that one a notable student of Shalom Shachna ?
(Q1423836,P802,Q93487)
action is_in
entity Q93487
action find
entity Q1423836
relation P802
['Q1423836', 'P802', 'Q93487']
ASK WHERE { resource:Q1423836 property:P802 resource:Q93487 }
Jacob Pollak Shalom Shachna
action is_in
entity Shalom Shachna
action find
entity Jacob Pollak
relation student
['Jacob Pollak', 'student', 'Shalom Shachna']
ASK WHERE { resource:Jacob_Pollak property:student resource:Shalom_Shachna }
[]
common name
SYSTEM
YES
(Q1423836,P802,Q93487)
action is_in
entity Q93487
action find
entity Q1423836
relation P802
[ANSWER]
['Q1423836', 'P802', 'Q93487']
ASK WHERE { resource:Q1423836 property:P802 resource:Q93487 }
Yes
action is_in
entity Shalom Shachna
action find
entity Jacob Pollak
relation student
['Jacob Pollak', 'student', 'Shalom Shachna']
ASK WHERE { resource:Jacob_Pollak property:student resource:Shalom_Shachna }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q1234713 Q5654877 Q833495
P425
Q1047113
USER
Does International studies and Consumer choice belong to theologian ?
(Q1234713,P425,Q5654877) (Q1234713,P425,Q833495)
action is_in
entity Q1234713
action intersection
action find_reverse
entity Q5654877
relation P425
action find_reverse
entity Q833495
relation P425
['Q1234713', 'P425', 'Q5654877'] ['Q1234713', 'P425', 'Q833495']
ASK WHERE { resource:Q1234713 property:P425 resource:Q5654877 . resource:Q1234713 property:P425 resource:Q833495 }
theologian International studies Consumer choice
action is_in
entity theologian
action intersection
action find_reverse
entity International studies
relation field of this occupation
action find_reverse
entity Consumer choice
relation field of this occupation
['theologian', 'field of this occupation', 'International studies'] ['theologian', 'field of this occupation', 'Consumer choice']
ASK WHERE { resource:theologian property:field_of_this_occupation resource:International_studies . resource:theologian property:field_of_this_occupation resource:Consumer_choice }
[]
special field
SYSTEM
NO
(Q1234713,P425,Q5654877) (Q1234713,P425,Q833495)
action is_in
entity Q1234713
action intersection
action find_reverse
entity Q5654877
relation P425
action find_reverse
entity Q833495
relation P425
[ANSWER]
['Q1234713', 'P425', 'Q5654877'] ['Q1234713', 'P425', 'Q833495']
ASK WHERE { resource:Q1234713 property:P425 resource:Q5654877 . resource:Q1234713 property:P425 resource:Q833495 }
No
action is_in
entity theologian
action intersection
action find_reverse
entity International studies
relation field of this occupation
action find_reverse
entity Consumer choice
relation field of this occupation
['theologian', 'field of this occupation', 'International studies'] ['theologian', 'field of this occupation', 'Consumer choice']
ASK WHERE { resource:theologian property:field_of_this_occupation resource:International_studies . resource:theologian property:field_of_this_occupation resource:Consumer_choice }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q5663032 Q1949189
P19 P20
Q486972
USER
Which human settlements did the expiration of Moses Isserles occur or are the places of birth of Alberto Fernández Ruiloba ?
OR((Q1949189,P20,c(Q486972)), (Q5663032,P19,c(Q486972)))
action filter_type
action union
action find
entity Q1949189
relation P20
action find
entity Q5663032
relation P19
type Q486972
{'OR': [['Q1949189', 'P20', {'concept': 'Q486972'}], ['Q5663032', 'P19', {'concept': 'Q486972'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q1949189 property:P20 ?v } UNION { resource:Q5663032 property:P19 ?v } } . ?v rdf:type ontology:Q486972 }
Alberto Fernández Ruiloba Moses Isserles
action filter_type
action union
action find
entity Moses Isserles
relation place of death
action find
entity Alberto Fernández Ruiloba
relation place of birth
type human settlement
{'OR': [['Moses Isserles', 'place of death', {'concept': 'human settlement'}], ['Alberto Fernández Ruiloba', 'place of birth', {'concept': 'human settlement'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Moses_Isserles property:place_of_death ?v } UNION { resource:Alberto_Fernández_Ruiloba property:place_of_birth ?v } } . ?v rdf:type ontology:human_settlement }
[]
human settlement
Q81033 Q31487
SYSTEM
Monterrey, Kraków
Q81033 Q31487
OR((Q1949189,P20,c(Q486972)), (Q5663032,P19,c(Q486972)))
action filter_type
action union
action find
entity Q1949189
relation P20
action find
entity Q5663032
relation P19
type Q486972
The expiration of Moses Isserles occurred or are the places of birth of Alberto Fernández Ruiloba in [ANSWERS]
{'OR': [['Q1949189', 'P20', {'concept': 'Q486972'}], ['Q5663032', 'P19', {'concept': 'Q486972'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Q1949189 property:P20 ?v } UNION { resource:Q5663032 property:P19 ?v } } . ?v rdf:type ontology:Q486972 }
Monterrey Kraków
The expiration of Moses Isserles occurred or are the places of birth of Alberto Fernández Ruiloba in Monterrey and Kraków
Monterrey Kraków
action filter_type
action union
action find
entity Moses Isserles
relation place of death
action find
entity Alberto Fernández Ruiloba
relation place of birth
type human settlement
{'OR': [['Moses Isserles', 'place of death', {'concept': 'human settlement'}], ['Alberto Fernández Ruiloba', 'place of birth', {'concept': 'human settlement'}]]}
SELECT DISTINCT ?v WHERE { { { resource:Moses_Isserles property:place_of_death ?v } UNION { resource:Alberto_Fernández_Ruiloba property:place_of_birth ?v } } . ?v rdf:type ontology:human_settlement }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q31487
P276
Q1190554
USER
What is situated at Kraków ?
(c(Q1190554),P276,Q31487)
action filter_type
action find_reverse
entity Q31487
relation P276
type Q1190554
[{'concept': 'Q1190554'}, 'P276', 'Q31487']
SELECT DISTINCT ?u WHERE { ?u property:P276 resource:Q31487 . ?u rdf:type ontology:Q1190554 }
Kraków
action filter_type
action find_reverse
entity Kraków
relation location
type event
[{'concept': 'event'}, 'location', 'Kraków']
SELECT DISTINCT ?u WHERE { ?u property:location resource:Kraków . ?u rdf:type ontology:event }
[]
event
Q7510162
SYSTEM
Siege of Kraków
Q7510162
(c(Q1190554),P276,Q31487)
action filter_type
action find_reverse
entity Q31487
relation P276
type Q1190554
Kraków [ANSWER] is situated at Kraków
[{'concept': 'Q1190554'}, 'P276', 'Q31487']
SELECT DISTINCT ?u WHERE { ?u property:P276 resource:Q31487 . ?u rdf:type ontology:Q1190554 }
Siege of Kraków
Kraków Siege of Kraków is situated at Kraków
Siege of Kraków
action filter_type
action find_reverse
entity Kraków
relation location
type event
[{'concept': 'event'}, 'location', 'Kraków']
SELECT DISTINCT ?u WHERE { ?u property:location resource:Kraków . ?u rdf:type ontology:event }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q31487
P1376
Q13220204
USER
Which administrative country subdivision has Kraków as its county seat ?
(Q31487,P1376,c(Q13220204))
action filter_type
action find
entity Q31487
relation P1376
type Q13220204
['Q31487', 'P1376', {'concept': 'Q13220204'}]
SELECT DISTINCT ?z WHERE { resource:Q31487 property:P1376 ?z . ?z rdf:type ontology:Q13220204 }
Kraków
action filter_type
action find
entity Kraków
relation capital of
type second-level administrative country subdivision
['Kraków', 'capital of', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?z WHERE { resource:Kraków property:capital_of ?z . ?z rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q1164890
SYSTEM
Kraków County
Q1164890
(Q31487,P1376,c(Q13220204))
action filter_type
action find
entity Q31487
relation P1376
type Q13220204
[ANSWER] has Kraków as its county seat
['Q31487', 'P1376', {'concept': 'Q13220204'}]
SELECT DISTINCT ?z WHERE { resource:Q31487 property:P1376 ?z . ?z rdf:type ontology:Q13220204 }
Kraków County
Kraków County has Kraków as its county seat
Kraków County
action filter_type
action find
entity Kraków
relation capital of
type second-level administrative country subdivision
['Kraków', 'capital of', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?z WHERE { resource:Kraków property:capital_of ?z . ?z rdf:type ontology:second-level_administrative_country_subdivision }
[]
Simple Question (Ellipsis)
Incomplete|object parent is changed, subject and predicate remain same
Q31487
Q7275
USER
And which state?
(Q31487,P1376,c(Q7275))
action filter_type
action find
entity Q31487
relation P1376
type Q7275
['Q31487', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?c WHERE { resource:Q31487 property:P1376 ?c . ?c rdf:type ontology:Q7275 }
Kraków
action filter_type
action find
entity Kraków
relation capital of
type state
['Kraków', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?c WHERE { resource:Kraków property:capital_of ?c . ?c rdf:type ontology:state }
[]
state
Q172107 Q1649871
SYSTEM
Polish–Lithuanian Commonwealth, Kingdom of Poland
Q172107 Q1649871
(Q31487,P1376,c(Q7275))
action filter_type
action find
entity Q31487
relation P1376
type Q7275
[ANSWERS]
['Q31487', 'P1376', {'concept': 'Q7275'}]
SELECT DISTINCT ?c WHERE { resource:Q31487 property:P1376 ?c . ?c rdf:type ontology:Q7275 }
Polish–Lithuanian Commonwealth Kingdom of Poland
Polish–Lithuanian Commonwealth Kingdom of Poland
action filter_type
action find
entity Kraków
relation capital of
type state
['Kraków', 'capital of', {'concept': 'state'}]
SELECT DISTINCT ?c WHERE { resource:Kraków property:capital_of ?c . ?c rdf:type ontology:state }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q31487 Q21079234
P1444
Q22348500
USER
How many cycling race classes ends at Kraków or Gippingen ?
(c(Q22348500),P1444,Q31487) (c(Q22348500),P1444,Q21079234)
action count
action union
action filter_type
action find_reverse
entity Q31487
relation P1444
type Q22348500
action filter_type
action find_reverse
entity Q21079234
relation P1444
type Q22348500
[{'concept': 'Q22348500'}, 'P1444', 'Q31487'] [{'concept': 'Q22348500'}, 'P1444', 'Q21079234']
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { ?i property:P1444 resource:Q31487 . ?i rdf:type ontology:Q22348500 } UNION { ?i rdf:type ontology:Q22348500 . ?i property:P1444 resource:Q21079234 } }
Kraków Gippingen
action count
action union
action filter_type
action find_reverse
entity Kraków
relation destination point
type cycling race class defined by the International Cycling Union
action filter_type
action find_reverse
entity Gippingen
relation destination point
type cycling race class defined by the International Cycling Union
[{'concept': 'cycling race class defined by the International Cycling Union'}, 'destination point', 'Kraków'] [{'concept': 'cycling race class defined by the International Cycling Union'}, 'destination point', 'Gippingen']
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { ?i property:destination_point resource:Kraków . ?i rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union } UNION { ?i rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union . ?i property:destination_point resource:Gippingen } }
[]
cycling race class defined by the International Cycling Union
SYSTEM
2
Q20746173 Q21079232
(c(Q22348500),P1444,Q31487) (c(Q22348500),P1444,Q21079234)
action count
action union
action filter_type
action find_reverse
entity Q31487
relation P1444
type Q22348500
action filter_type
action find_reverse
entity Q21079234
relation P1444
type Q22348500
[ANSWER]
[{'concept': 'Q22348500'}, 'P1444', 'Q31487'] [{'concept': 'Q22348500'}, 'P1444', 'Q21079234']
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { ?i property:P1444 resource:Q31487 . ?i rdf:type ontology:Q22348500 } UNION { ?i rdf:type ontology:Q22348500 . ?i property:P1444 resource:Q21079234 } }
2016 Tour de Pologne 2015 Grand Prix of Aargau Canton
2
action count
action union
action filter_type
action find_reverse
entity Kraków
relation destination point
type cycling race class defined by the International Cycling Union
action filter_type
action find_reverse
entity Gippingen
relation destination point
type cycling race class defined by the International Cycling Union
[{'concept': 'cycling race class defined by the International Cycling Union'}, 'destination point', 'Kraków'] [{'concept': 'cycling race class defined by the International Cycling Union'}, 'destination point', 'Gippingen']
SELECT DISTINCT ( COUNT ( ?i ) AS ?w ) WHERE { { ?i property:destination_point resource:Kraków . ?i rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union } UNION { ?i rdf:type ontology:cycling_race_class_defined_by_the_International_Cycling_Union . ?i property:destination_point resource:Gippingen } }
[]