Simple Question (Direct)
Simple Question
Q67660
P1344
Q2312410
USER
Which sport discipline did Richard Schmidt participate in ?
(Q67660,P1344,c(Q2312410))
action filter_type
action find
entity Q67660
relation P1344
type Q2312410
['Q67660', 'P1344', {'concept': 'Q2312410'}]
SELECT DISTINCT ?q WHERE { resource:Q67660 property:P1344 ?q . ?q rdf:type ontology:Q2312410 }
Richard Schmidt
action filter_type
action find
entity Richard Schmidt
relation participant of
type sport discipline
['Richard Schmidt', 'participant of', {'concept': 'sport discipline'}]
SELECT DISTINCT ?q WHERE { resource:Richard_Schmidt property:participant_of ?q . ?q rdf:type ontology:sport_discipline }
[]
sport discipline
Q11894270
SYSTEM
rowing at the 2016 Summer Olympics
Q11894270
(Q67660,P1344,c(Q2312410))
action filter_type
action find
entity Q67660
relation P1344
type Q2312410
Richard Schmidt participated in [ANSWER]
['Q67660', 'P1344', {'concept': 'Q2312410'}]
SELECT DISTINCT ?q WHERE { resource:Q67660 property:P1344 ?q . ?q rdf:type ontology:Q2312410 }
rowing at the 2016 Summer Olympics
Richard Schmidt participated in rowing at the 2016 Summer Olympics
rowing at the 2016 Summer Olympics
action filter_type
action find
entity Richard Schmidt
relation participant of
type sport discipline
['Richard Schmidt', 'participant of', {'concept': 'sport discipline'}]
SELECT DISTINCT ?q WHERE { resource:Richard_Schmidt property:participant_of ?q . ?q rdf:type ontology:sport_discipline }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q67660
P27
Q1048835
USER
Which political territory does Richard Schmidt belong to ?
(Q67660,P27,c(Q1048835))
action filter_type
action find
entity Q67660
relation P27
type Q1048835
['Q67660', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q1048835 . resource:Q67660 property:P27 ?h }
Richard Schmidt
action filter_type
action find
entity Richard Schmidt
relation country of citizenship
type political territorial entity
['Richard Schmidt', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:political_territorial_entity . resource:Richard_Schmidt property:country_of_citizenship ?h }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q67660,P27,c(Q1048835))
action filter_type
action find
entity Q67660
relation P27
type Q1048835
Richard Schmidt belongs to [ANSWER]
['Q67660', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:Q1048835 . resource:Q67660 property:P27 ?h }
Germany
Richard Schmidt belongs to Germany
Germany
action filter_type
action find
entity Richard Schmidt
relation country of citizenship
type political territorial entity
['Richard Schmidt', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?h WHERE { ?h rdf:type ontology:political_territorial_entity . resource:Richard_Schmidt property:country_of_citizenship ?h }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q1330633
Q1048835
USER
And how about Elise Hampel?
(Q1330633,P27,c(Q1048835))
action filter_type
action find
entity Q1330633
relation P27
type Q1048835
['Q1330633', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q1048835 . resource:Q1330633 property:P27 ?a }
Elise Hampel
action filter_type
action find
entity Elise Hampel
relation country of citizenship
type political territorial entity
['Elise Hampel', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:political_territorial_entity . resource:Elise_Hampel property:country_of_citizenship ?a }
[]
political territorial entity
Q183
SYSTEM
Germany
Q183
(Q1330633,P27,c(Q1048835))
action filter_type
action find
entity Q1330633
relation P27
type Q1048835
[ANSWER]
['Q1330633', 'P27', {'concept': 'Q1048835'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q1048835 . resource:Q1330633 property:P27 ?a }
Germany
Germany
action filter_type
action find
entity Elise Hampel
relation country of citizenship
type political territorial entity
['Elise Hampel', 'country of citizenship', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:political_territorial_entity . resource:Elise_Hampel property:country_of_citizenship ?a }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q183 Q2575921
P27
Q502895
USER
Is Wilhelm von Hodenberg a citizen of that political territory ?
(Q2575921,P27,Q183)
action is_in
entity Q183
action find
entity Q2575921
relation P27
['Q2575921', 'P27', 'Q183']
ASK WHERE { resource:Q2575921 property:P27 resource:Q183 }
Germany Wilhelm von Hodenberg
action is_in
entity Germany
action find
entity Wilhelm von Hodenberg
relation country of citizenship
['Wilhelm von Hodenberg', 'country of citizenship', 'Germany']
ASK WHERE { resource:Wilhelm_von_Hodenberg property:country_of_citizenship resource:Germany }
[]
common name
SYSTEM
YES
(Q2575921,P27,Q183)
action is_in
entity Q183
action find
entity Q2575921
relation P27
[ANSWER]
['Q2575921', 'P27', 'Q183']
ASK WHERE { resource:Q2575921 property:P27 resource:Q183 }
Yes
action is_in
entity Germany
action find
entity Wilhelm von Hodenberg
relation country of citizenship
['Wilhelm von Hodenberg', 'country of citizenship', 'Germany']
ASK WHERE { resource:Wilhelm_von_Hodenberg property:country_of_citizenship resource:Germany }
[]
Verification (Boolean) (All)
Verification|2 entities, both direct
Q67660 Q3138
P19
Q56061
USER
Was Richard Schmidt born in Trier ?
(Q67660,P19,Q3138)
action is_in
entity Q3138
action find
entity Q67660
relation P19
['Q67660', 'P19', 'Q3138']
ASK WHERE { resource:Q67660 property:P19 resource:Q3138 }
Richard Schmidt Trier
action is_in
entity Trier
action find
entity Richard Schmidt
relation place of birth
['Richard Schmidt', 'place of birth', 'Trier']
ASK WHERE { resource:Richard_Schmidt property:place_of_birth resource:Trier }
[]
administrative territorial entity
SYSTEM
YES
(Q67660,P19,Q3138)
action is_in
entity Q3138
action find
entity Q67660
relation P19
[ANSWER]
['Q67660', 'P19', 'Q3138']
ASK WHERE { resource:Q67660 property:P19 resource:Q3138 }
Yes
action is_in
entity Trier
action find
entity Richard Schmidt
relation place of birth
['Richard Schmidt', 'place of birth', 'Trier']
ASK WHERE { resource:Richard_Schmidt property:place_of_birth resource:Trier }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q8022145
P115
Q811979 Q1076486 Q2312410
USER
Which sport disciplines have lesser number of architectural structures and sports venues as their arena than swimming at the 2016 Summer Olympics ?
(c(Q2312410),P115,c(Q811979)|c(Q1076486))
action less
action union
action find_tuple_counts
relation P115
type Q2312410
type Q811979
action find_tuple_counts
relation P115
type Q2312410
type Q1076486
action count
action filter_multi_types
action find
entity Q8022145
relation P115
type Q811979
type Q1076486
[{'concept': 'Q2312410'}, 'P115', [{'concept': 'Q811979'}, {'concept': 'Q1076486'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?p ) WHERE { { ?o property:P115 ?q . ?o rdf:type ontology:Q2312410 . ?q rdf:type ontology:Q811979 } UNION { ?o property:P115 ?q . ?q rdf:type ontology:Q1076486 . ?o rdf:type ontology:Q2312410 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { resource:Q8022145 property:P115 ?j . { { ?j rdf:type ontology:Q811979 } UNION { ?j rdf:type ontology:Q1076486 } } } } . FILTER ( ?p < ?n ) }
swimming at the 2016 Summer Olympics
action less
action union
action find_tuple_counts
relation home venue
type sport discipline
type architectural structure
action find_tuple_counts
relation home venue
type sport discipline
type sports venue
action count
action filter_multi_types
action find
entity swimming at the 2016 Summer Olympics
relation home venue
type architectural structure
type sports venue
[{'concept': 'sport discipline'}, 'home venue', [{'concept': 'architectural structure'}, {'concept': 'sports venue'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?p ) WHERE { { ?o property:home_venue ?q . ?o rdf:type ontology:sport_discipline . ?q rdf:type ontology:architectural_structure } UNION { ?o property:home_venue ?q . ?q rdf:type ontology:sports_venue . ?o rdf:type ontology:sport_discipline } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { resource:swimming_at_the_2016_Summer_Olympics property:home_venue ?j . { { ?j rdf:type ontology:architectural_structure } UNION { ?j rdf:type ontology:sports_venue } } } } . FILTER ( ?p < ?n ) }
[]
architectural structure sports venue sport discipline
Q19706972 Q15284197 Q11896072
SYSTEM
canoeing at the 2016 Summer Olympics, fencing at the 2016 Summer Olympics, synchronized swimming at the 2016 Summer Olympics
Q11901844 Q15284197 Q11896072 Q19706972 Q5392247 Q11867321 Q11894270 Q18416810 Q11886402 Q7400384 Q19710306 Q18564445 Q11884985 Q11899349 Q18020584
(c(Q2312410),P115,c(Q811979)|c(Q1076486))
action less
action union
action find_tuple_counts
relation P115
type Q2312410
type Q811979
action find_tuple_counts
relation P115
type Q2312410
type Q1076486
action count
action filter_multi_types
action find
entity Q8022145
relation P115
type Q811979
type Q1076486
[ANSWERS] have lesser number of architectural structures and sports venues as their arena than swimming at the 2016 Summer Olympics
[{'concept': 'Q2312410'}, 'P115', [{'concept': 'Q811979'}, {'concept': 'Q1076486'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?p ) WHERE { { ?o property:P115 ?q . ?o rdf:type ontology:Q2312410 . ?q rdf:type ontology:Q811979 } UNION { ?o property:P115 ?q . ?q rdf:type ontology:Q1076486 . ?o rdf:type ontology:Q2312410 } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { resource:Q8022145 property:P115 ?j . { { ?j rdf:type ontology:Q811979 } UNION { ?j rdf:type ontology:Q1076486 } } } } . FILTER ( ?p < ?n ) }
gymnastics at the 2016 Summer Olympics fencing at the 2016 Summer Olympics synchronized swimming at the 2016 Summer Olympics canoeing at the 2016 Summer Olympics table tennis at the 2016 Summer Olympics judo at the 2016 Summer Olympics rowing at the 2016 Summer Olympics triathlon at the 2016 Summer Olympics wrestling at the 2016 Summer Olympics sailing at the 2016 Summer Olympics taekwondo at the 2016 Summer Olympics weightlifting at the 2016 Summer Olympics boxing at the 2016 Summer Olympics diving at the 2016 Summer Olympics shooting at the 2016 Summer Olympics
Canoeing at the 2016 Summer Olympics, fencing at the 2016 Summer Olympics and synchronized swimming at the 2016 Summer Olympics have lesser number of architectural structures and sports venues as their arena than swimming at the 2016 Summer Olympics
canoeing at the 2016 Summer Olympics fencing at the 2016 Summer Olympics synchronized swimming at the 2016 Summer Olympics
action less
action union
action find_tuple_counts
relation home venue
type sport discipline
type architectural structure
action find_tuple_counts
relation home venue
type sport discipline
type sports venue
action count
action filter_multi_types
action find
entity swimming at the 2016 Summer Olympics
relation home venue
type architectural structure
type sports venue
[{'concept': 'sport discipline'}, 'home venue', [{'concept': 'architectural structure'}, {'concept': 'sports venue'}]]
SELECT DISTINCT ?o WHERE { { SELECT DISTINCT ?o ( COUNT ( ?q ) AS ?p ) WHERE { { ?o property:home_venue ?q . ?o rdf:type ontology:sport_discipline . ?q rdf:type ontology:architectural_structure } UNION { ?o property:home_venue ?q . ?q rdf:type ontology:sports_venue . ?o rdf:type ontology:sport_discipline } } GROUP BY ?o } . { SELECT DISTINCT ( COUNT ( ?j ) AS ?n ) WHERE { resource:swimming_at_the_2016_Summer_Olympics property:home_venue ?j . { { ?j rdf:type ontology:architectural_structure } UNION { ?j rdf:type ontology:sports_venue } } } } . FILTER ( ?p < ?n ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q18020555
P115
Q811979 Q1076486 Q2312410
USER
And how about equestrian at the 2016 Summer Olympics?
(c(Q2312410),P115,c(Q811979)|c(Q1076486))
action less
action union
action find_tuple_counts
relation P115
type Q2312410
type Q811979
action find_tuple_counts
relation P115
type Q2312410
type Q1076486
action count
action filter_multi_types
action find
entity Q18020555
relation P115
type Q811979
type Q1076486
[{'concept': 'Q2312410'}, 'P115', [{'concept': 'Q811979'}, {'concept': 'Q1076486'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) ?f WHERE { { ?f property:P115 ?e . ?e rdf:type ontology:Q1076486 . ?f rdf:type ontology:Q2312410 } UNION { ?f rdf:type ontology:Q2312410 . ?e rdf:type ontology:Q811979 . ?f property:P115 ?e } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { resource:Q18020555 property:P115 ?o . { { ?o rdf:type ontology:Q811979 } UNION { ?o rdf:type ontology:Q1076486 } } } } . FILTER ( ?z < ?b ) }
equestrian at the 2016 Summer Olympics
action less
action union
action find_tuple_counts
relation home venue
type sport discipline
type architectural structure
action find_tuple_counts
relation home venue
type sport discipline
type sports venue
action count
action filter_multi_types
action find
entity equestrian at the 2016 Summer Olympics
relation home venue
type architectural structure
type sports venue
[{'concept': 'sport discipline'}, 'home venue', [{'concept': 'architectural structure'}, {'concept': 'sports venue'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) ?f WHERE { { ?f property:home_venue ?e . ?e rdf:type ontology:sports_venue . ?f rdf:type ontology:sport_discipline } UNION { ?f rdf:type ontology:sport_discipline . ?e rdf:type ontology:architectural_structure . ?f property:home_venue ?e } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { resource:equestrian_at_the_2016_Summer_Olympics property:home_venue ?o . { { ?o rdf:type ontology:architectural_structure } UNION { ?o rdf:type ontology:sports_venue } } } } . FILTER ( ?z < ?b ) }
[]
architectural structure sports venue sport discipline
Q19706972 Q15284197 Q11896072
SYSTEM
canoeing at the 2016 Summer Olympics, fencing at the 2016 Summer Olympics, synchronized swimming at the 2016 Summer Olympics
Q11901844 Q15284197 Q11896072 Q19706972 Q5392247 Q11867321 Q11894270 Q18416810 Q11886402 Q7400384 Q19710306 Q18564445 Q11884985 Q11899349 Q18020584
(c(Q2312410),P115,c(Q811979)|c(Q1076486))
action less
action union
action find_tuple_counts
relation P115
type Q2312410
type Q811979
action find_tuple_counts
relation P115
type Q2312410
type Q1076486
action count
action filter_multi_types
action find
entity Q18020555
relation P115
type Q811979
type Q1076486
[ANSWERS]
[{'concept': 'Q2312410'}, 'P115', [{'concept': 'Q811979'}, {'concept': 'Q1076486'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) ?f WHERE { { ?f property:P115 ?e . ?e rdf:type ontology:Q1076486 . ?f rdf:type ontology:Q2312410 } UNION { ?f rdf:type ontology:Q2312410 . ?e rdf:type ontology:Q811979 . ?f property:P115 ?e } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { resource:Q18020555 property:P115 ?o . { { ?o rdf:type ontology:Q811979 } UNION { ?o rdf:type ontology:Q1076486 } } } } . FILTER ( ?z < ?b ) }
gymnastics at the 2016 Summer Olympics fencing at the 2016 Summer Olympics synchronized swimming at the 2016 Summer Olympics canoeing at the 2016 Summer Olympics table tennis at the 2016 Summer Olympics judo at the 2016 Summer Olympics rowing at the 2016 Summer Olympics triathlon at the 2016 Summer Olympics wrestling at the 2016 Summer Olympics sailing at the 2016 Summer Olympics taekwondo at the 2016 Summer Olympics weightlifting at the 2016 Summer Olympics boxing at the 2016 Summer Olympics diving at the 2016 Summer Olympics shooting at the 2016 Summer Olympics
canoeing at the 2016 Summer Olympics fencing at the 2016 Summer Olympics synchronized swimming at the 2016 Summer Olympics
action less
action union
action find_tuple_counts
relation home venue
type sport discipline
type architectural structure
action find_tuple_counts
relation home venue
type sport discipline
type sports venue
action count
action filter_multi_types
action find
entity equestrian at the 2016 Summer Olympics
relation home venue
type architectural structure
type sports venue
[{'concept': 'sport discipline'}, 'home venue', [{'concept': 'architectural structure'}, {'concept': 'sports venue'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?e ) AS ?z ) ?f WHERE { { ?f property:home_venue ?e . ?e rdf:type ontology:sports_venue . ?f rdf:type ontology:sport_discipline } UNION { ?f rdf:type ontology:sport_discipline . ?e rdf:type ontology:architectural_structure . ?f property:home_venue ?e } } GROUP BY ?f } . { SELECT DISTINCT ( COUNT ( ?o ) AS ?b ) WHERE { resource:equestrian_at_the_2016_Summer_Olympics property:home_venue ?o . { { ?o rdf:type ontology:architectural_structure } UNION { ?o rdf:type ontology:sports_venue } } } } . FILTER ( ?z < ?b ) }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q19706972 Q15284197 Q11896072
P17
Q15617994
USER
Which administrative territories are canoeing at the 2016 Summer Olympics, fencing at the 2016 Summer Olympics and synchronized swimming at the 2016 Summer Olympics located in ?
(Q19706972,P17,c(Q15617994)) (Q15284197,P17,c(Q15617994)) (Q11896072,P17,c(Q15617994))
action union
action filter_type
action find
entity Q19706972
relation P17
type Q15617994
action filter_type
action find
entity Q15284197
relation P17
type Q15617994
action filter_type
action find
entity Q11896072
relation P17
type Q15617994
['Q19706972', 'P17', {'concept': 'Q15617994'}] ['Q15284197', 'P17', {'concept': 'Q15617994'}] ['Q11896072', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { resource:Q19706972 property:P17 ?m . ?m rdf:type ontology:Q15617994 } UNION { resource:Q15284197 property:P17 ?m . ?m rdf:type ontology:Q15617994 } }
canoeing at the 2016 Summer Olympics fencing at the 2016 Summer Olympics synchronized swimming at the 2016 Summer Olympics
action union
action filter_type
action find
entity canoeing at the 2016 Summer Olympics
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity fencing at the 2016 Summer Olympics
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity synchronized swimming at the 2016 Summer Olympics
relation country
type designation for an administrative territorial entity
['canoeing at the 2016 Summer Olympics', 'country', {'concept': 'designation for an administrative territorial entity'}] ['fencing at the 2016 Summer Olympics', 'country', {'concept': 'designation for an administrative territorial entity'}] ['synchronized swimming at the 2016 Summer Olympics', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { resource:canoeing_at_the_2016_Summer_Olympics property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:fencing_at_the_2016_Summer_Olympics property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q155 Q155 Q155
SYSTEM
Brazil
Q155 Q155 Q155
(Q19706972,P17,c(Q15617994)) (Q15284197,P17,c(Q15617994)) (Q11896072,P17,c(Q15617994))
action union
action filter_type
action find
entity Q19706972
relation P17
type Q15617994
action filter_type
action find
entity Q15284197
relation P17
type Q15617994
action filter_type
action find
entity Q11896072
relation P17
type Q15617994
[ANSWER], [ANSWER] and [ANSWER] are canoeing at the 2016 Summer Olympics, fencing at the 2016 Summer Olympics and synchronized swimming at the 2016 Summer Olympics located in
['Q19706972', 'P17', {'concept': 'Q15617994'}] ['Q15284197', 'P17', {'concept': 'Q15617994'}] ['Q11896072', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { resource:Q19706972 property:P17 ?m . ?m rdf:type ontology:Q15617994 } UNION { resource:Q15284197 property:P17 ?m . ?m rdf:type ontology:Q15617994 } }
Brazil Brazil Brazil
Brazil, Brazil and Brazil are canoeing at the 2016 Summer Olympics, fencing at the 2016 Summer Olympics and synchronized swimming at the 2016 Summer Olympics located in
Brazil Brazil Brazil
action union
action filter_type
action find
entity canoeing at the 2016 Summer Olympics
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity fencing at the 2016 Summer Olympics
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity synchronized swimming at the 2016 Summer Olympics
relation country
type designation for an administrative territorial entity
['canoeing at the 2016 Summer Olympics', 'country', {'concept': 'designation for an administrative territorial entity'}] ['fencing at the 2016 Summer Olympics', 'country', {'concept': 'designation for an administrative territorial entity'}] ['synchronized swimming at the 2016 Summer Olympics', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { resource:canoeing_at_the_2016_Summer_Olympics property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:fencing_at_the_2016_Summer_Olympics property:country ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]