Simple Question (Direct)
Simple Question
Q1627238
P69
Q159334
USER
Which secondary school is the alma mater of Earl Tatum ?
(Q1627238,P69,c(Q159334))
action filter_type
action find
entity Q1627238
relation P69
type Q159334
['Q1627238', 'P69', {'concept': 'Q159334'}]
SELECT DISTINCT ?k WHERE { resource:Q1627238 property:P69 ?k . ?k rdf:type ontology:Q159334 }
Earl Tatum
action filter_type
action find
entity Earl Tatum
relation educated at
type secondary school
['Earl Tatum', 'educated at', {'concept': 'secondary school'}]
SELECT DISTINCT ?k WHERE { resource:Earl_Tatum property:educated_at ?k . ?k rdf:type ontology:secondary_school }
[]
secondary school
Q6924377
SYSTEM
Mount Vernon High School
Q6924377
(Q1627238,P69,c(Q159334))
action filter_type
action find
entity Q1627238
relation P69
type Q159334
[ANSWER] is the alma mater of Earl Tatum
['Q1627238', 'P69', {'concept': 'Q159334'}]
SELECT DISTINCT ?k WHERE { resource:Q1627238 property:P69 ?k . ?k rdf:type ontology:Q159334 }
Mount Vernon High School
Mount Vernon High School is the alma mater of Earl Tatum
Mount Vernon High School
action filter_type
action find
entity Earl Tatum
relation educated at
type secondary school
['Earl Tatum', 'educated at', {'concept': 'secondary school'}]
SELECT DISTINCT ?k WHERE { resource:Earl_Tatum property:educated_at ?k . ?k rdf:type ontology:secondary_school }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1627238
P641
Q349
USER
Which sport did Earl Tatum participate in ?
(Q1627238,P641,c(Q349))
action filter_type
action find
entity Q1627238
relation P641
type Q349
['Q1627238', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q1627238 property:P641 ?q . ?q rdf:type ontology:Q349 }
Earl Tatum
action filter_type
action find
entity Earl Tatum
relation sport
type sport
['Earl Tatum', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Earl_Tatum property:sport ?q . ?q rdf:type ontology:sport }
[]
sport
Q5372
SYSTEM
basketball
Q5372
(Q1627238,P641,c(Q349))
action filter_type
action find
entity Q1627238
relation P641
type Q349
Earl Tatum participated in [ANSWER]
['Q1627238', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?q WHERE { resource:Q1627238 property:P641 ?q . ?q rdf:type ontology:Q349 }
basketball
Earl Tatum participated in basketball
basketball
action filter_type
action find
entity Earl Tatum
relation sport
type sport
['Earl Tatum', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?q WHERE { resource:Earl_Tatum property:sport ?q . ?q rdf:type ontology:sport }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q1627238
P54
Q12973014
USER
How many sports teams are Earl Tatum a member of ?
(Q1627238,P54,c(Q12973014))
action count
action filter_type
action find
entity Q1627238
relation P54
type Q12973014
['Q1627238', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { resource:Q1627238 property:P54 ?f . ?f rdf:type ontology:Q12973014 }
Earl Tatum
action count
action filter_type
action find
entity Earl Tatum
relation member of sports team
type sports team
['Earl Tatum', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { resource:Earl_Tatum property:member_of_sports_team ?f . ?f rdf:type ontology:sports_team }
[]
sports team
SYSTEM
5
Q131371 Q162990 Q121783 Q169661 Q170329
(Q1627238,P54,c(Q12973014))
action count
action filter_type
action find
entity Q1627238
relation P54
type Q12973014
[ANSWER]
['Q1627238', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { resource:Q1627238 property:P54 ?f . ?f rdf:type ontology:Q12973014 }
Boston Celtics Cleveland Cavaliers Los Angeles Lakers Detroit Pistons Indiana Pacers
5
action count
action filter_type
action find
entity Earl Tatum
relation member of sports team
type sports team
['Earl Tatum', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?h ) WHERE { resource:Earl_Tatum property:member_of_sports_team ?f . ?f rdf:type ontology:sports_team }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q4908157
P54
Q12973014
USER
And what about Bill Black?
(Q4908157,P54,c(Q12973014))
action count
action filter_type
action find
entity Q4908157
relation P54
type Q12973014
['Q4908157', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { resource:Q4908157 property:P54 ?m . ?m rdf:type ontology:Q12973014 }
Bill Black
action count
action filter_type
action find
entity Bill Black
relation member of sports team
type sports team
['Bill Black', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { resource:Bill_Black property:member_of_sports_team ?m . ?m rdf:type ontology:sports_team }
[]
sports team
SYSTEM
3
Q787652 Q6868005 Q335169
(Q4908157,P54,c(Q12973014))
action count
action filter_type
action find
entity Q4908157
relation P54
type Q12973014
[ANSWER]
['Q4908157', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { resource:Q4908157 property:P54 ?m . ?m rdf:type ontology:Q12973014 }
Toledo Mud Hens Minneapolis Millers Chicago White Sox
3
action count
action filter_type
action find
entity Bill Black
relation member of sports team
type sports team
['Bill Black', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ( COUNT ( ?m ) AS ?e ) WHERE { resource:Bill_Black property:member_of_sports_team ?m . ?m rdf:type ontology:sports_team }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q7023971
Q12973014
USER
And how about Niall Woods?
(Q7023971,P54,c(Q12973014))
action count
action filter_type
action find
entity Q7023971
relation P54
type Q12973014
['Q7023971', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { ?g rdf:type ontology:Q12973014 . resource:Q7023971 property:P54 ?g }
Niall Woods
action count
action filter_type
action find
entity Niall Woods
relation member of sports team
type sports team
['Niall Woods', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { ?g rdf:type ontology:sports_team . resource:Niall_Woods property:member_of_sports_team ?g }
[]
sports team
SYSTEM
3
(Q7023971,P54,c(Q12973014))
action count
action filter_type
action find
entity Q7023971
relation P54
type Q12973014
[ANSWER]
['Q7023971', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { ?g rdf:type ontology:Q12973014 . resource:Q7023971 property:P54 ?g }
3
action count
action filter_type
action find
entity Niall Woods
relation member of sports team
type sports team
['Niall Woods', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?n ) WHERE { ?g rdf:type ontology:sports_team . resource:Niall_Woods property:member_of_sports_team ?g }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Single entity type
P138
Q355304 Q159334
USER
Which watercourses are the origin of max number of secondary schools ?
(c(Q159334),P138,Q329002)
action argmax
action find_reverse_tuple_counts
relation P138
type Q355304
type Q159334
[{'concept': 'Q159334'}, 'P138', 'Q329002']
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?l ) WHERE { ?q property:P138 ?y . ?y rdf:type ontology:Q355304 . ?q rdf:type ontology:Q159334 } GROUP BY ?y } . FILTER ( ?l = ?n ) . { SELECT DISTINCT ( MAX ( ?v ) AS ?n ) { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:P138 ?i . ?s rdf:type ontology:Q159334 . ?i rdf:type ontology:Q355304 } GROUP BY ?i } } }
action argmax
action find_reverse_tuple_counts
relation named after
type watercourse
type secondary school
[{'concept': 'secondary school'}, 'named after', 'Wieste']
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?l ) WHERE { ?q property:named_after ?y . ?y rdf:type ontology:watercourse . ?q rdf:type ontology:secondary_school } GROUP BY ?y } . FILTER ( ?l = ?n ) . { SELECT DISTINCT ( MAX ( ?v ) AS ?n ) { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:named_after ?i . ?s rdf:type ontology:secondary_school . ?i rdf:type ontology:watercourse } GROUP BY ?i } } }
[]
watercourse secondary school
Q153317 Q41986 Q584
SYSTEM
Inde, Meuse, Rhine
Q153317 Q41986 Q584
(c(Q159334),P138,Q329002)
action argmax
action find_reverse_tuple_counts
relation P138
type Q355304
type Q159334
[ANSWERS] are the origin of max number of secondary schools
[{'concept': 'Q159334'}, 'P138', 'Q329002']
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?l ) WHERE { ?q property:P138 ?y . ?y rdf:type ontology:Q355304 . ?q rdf:type ontology:Q159334 } GROUP BY ?y } . FILTER ( ?l = ?n ) . { SELECT DISTINCT ( MAX ( ?v ) AS ?n ) { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:P138 ?i . ?s rdf:type ontology:Q159334 . ?i rdf:type ontology:Q355304 } GROUP BY ?i } } }
Inde Meuse Rhine
Inde, Meuse and Rhine are the origin of max number of secondary schools
Inde Meuse Rhine
action argmax
action find_reverse_tuple_counts
relation named after
type watercourse
type secondary school
[{'concept': 'secondary school'}, 'named after', 'Wieste']
SELECT DISTINCT ?y WHERE { { SELECT DISTINCT ?y ( COUNT ( ?q ) AS ?l ) WHERE { ?q property:named_after ?y . ?y rdf:type ontology:watercourse . ?q rdf:type ontology:secondary_school } GROUP BY ?y } . FILTER ( ?l = ?n ) . { SELECT DISTINCT ( MAX ( ?v ) AS ?n ) { SELECT DISTINCT ?i ( COUNT ( ?s ) AS ?v ) WHERE { ?s property:named_after ?i . ?s rdf:type ontology:secondary_school . ?i rdf:type ontology:watercourse } GROUP BY ?i } } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q584
P361
Q355304
USER
Which watercourses are a component of that one ?
(c(Q355304),P361,Q584)
action filter_type
action find_reverse
entity Q584
relation P361
type Q355304
[{'concept': 'Q355304'}, 'P361', 'Q584']
SELECT DISTINCT ?m WHERE { ?m property:P361 resource:Q584 . ?m rdf:type ontology:Q355304 }
Rhine
action filter_type
action find_reverse
entity Rhine
relation part of
type watercourse
[{'concept': 'watercourse'}, 'part of', 'Rhine']
SELECT DISTINCT ?m WHERE { ?m property:part_of resource:Rhine . ?m rdf:type ontology:watercourse }
[]
watercourse
Clarification for simple ques.
Q584
SYSTEM
Did you mean Rhine ?
Q153317 Q41986 Q584
(c(Q355304),P361,Q153317) (c(Q355304),P361,Q41986) (c(Q355304),P361,Q584)
[ANSWER]
[{'concept': 'Q355304'}, 'P361', 'Q153317'] [{'concept': 'Q355304'}, 'P361', 'Q41986'] [{'concept': 'Q355304'}, 'P361', 'Q584']
SELECT DISTINCT ?m WHERE { ?m property:P361 resource:Q584 . ?m rdf:type ontology:Q355304 }
Inde Meuse Rhine
Did you mean Rhine ?
Rhine
[{'concept': 'watercourse'}, 'part of', 'Inde'] [{'concept': 'watercourse'}, 'part of', 'Meuse'] [{'concept': 'watercourse'}, 'part of', 'Rhine']
SELECT DISTINCT ?m WHERE { ?m property:part_of resource:Rhine . ?m rdf:type ontology:watercourse }
[]
Simple Question (Coreferenced)
USER
Yes
(c(Q355304),P361,Q584)
[{'concept': 'Q355304'}, 'P361', 'Q584']
[{'concept': 'watercourse'}, 'part of', 'Rhine']
[]
Q663546 Q650521 Q481339
SYSTEM
Upper Rhine, High Rhine, Seerhein
Q663546 Q650521 Q481339 Q214924
(c(Q355304),P361,Q584)
action filter_type
action find_reverse
entity Q584
relation P361
type Q355304
[ANSWERS] are a component of that one
[{'concept': 'Q355304'}, 'P361', 'Q584']
SELECT DISTINCT ?m WHERE { ?m property:P361 resource:Q584 . ?m rdf:type ontology:Q355304 }
Upper Rhine High Rhine Seerhein Rhine Falls
Upper Rhine, High Rhine and Seerhein are a component of that one
Upper Rhine High Rhine Seerhein
action filter_type
action find_reverse
entity Rhine
relation part of
type watercourse
[{'concept': 'watercourse'}, 'part of', 'Rhine']
SELECT DISTINCT ?m WHERE { ?m property:part_of resource:Rhine . ?m rdf:type ontology:watercourse }
[]
Clarification
Quantitative|Count|Single entity type|Indirect
P17
Q15617994
USER
How many administrative territories are that watercourse situated in ?
(Q663546,P17,c(Q15617994))
['Q663546', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q663546 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
['Upper Rhine', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Upper_Rhine property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Quantitative|Count|Single entity type|Clarification
Q650521
SYSTEM
Did you mean High Rhine ?
(Q663546,P17,c(Q15617994)) (Q650521,P17,c(Q15617994)) (Q481339,P17,c(Q15617994))
[ANSWER]
['Q663546', 'P17', {'concept': 'Q15617994'}] ['Q650521', 'P17', {'concept': 'Q15617994'}] ['Q481339', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q663546 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
Did you mean High Rhine ?
High Rhine
['Upper Rhine', 'country', {'concept': 'designation for an administrative territorial entity'}] ['High Rhine', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Seerhein', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Upper_Rhine property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
USER
No, I meant Upper Rhine. Could you tell me the answer for that?
(Q663546,P17,c(Q15617994))
Q663546
['Q663546', 'P17', {'concept': 'Q15617994'}]
['Upper Rhine', 'country', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
2
Q142 Q39
(Q663546,P17,c(Q15617994))
[ANSWER]
['Q663546', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Q663546 property:Q6256 ?z . ?z rdf:type ontology:Q15617994 }
France Switzerland
2
['Upper Rhine', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?z ) AS ?y ) WHERE { resource:Upper_Rhine property:country ?z . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q27181543
P3173
Q355304 Q811979
USER
How many architectural structures have view to greater number of watercourses than Father Crowley Vista Point ?
(c(Q811979),P3173,c(Q355304))
action count
action greater
action find_tuple_counts
relation P3173
type Q811979
type Q355304
action count
action filter_type
action find
entity Q27181543
relation P3173
type Q811979
[{'concept': 'Q811979'}, 'P3173', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?r ) WHERE { ?d property:P3173 ?o . ?d rdf:type ontology:Q811979 . ?o rdf:type ontology:Q355304 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { resource:Q27181543 property:P3173 ?h . ?h rdf:type ontology:Q811979 } } . FILTER ( ?r > ?e ) }
Father Crowley Vista Point
action count
action greater
action find_tuple_counts
relation offers view on
type architectural structure
type watercourse
action count
action filter_type
action find
entity Father Crowley Vista Point
relation offers view on
type architectural structure
[{'concept': 'architectural structure'}, 'offers view on', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?r ) WHERE { ?d property:offers_view_on ?o . ?d rdf:type ontology:architectural_structure . ?o rdf:type ontology:watercourse } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { resource:Father_Crowley_Vista_Point property:offers_view_on ?h . ?h rdf:type ontology:architectural_structure } } . FILTER ( ?r > ?e ) }
[]
watercourse architectural structure
SYSTEM
2
Q26196531 Q2433474
(c(Q811979),P3173,c(Q355304))
action count
action greater
action find_tuple_counts
relation P3173
type Q811979
type Q355304
action count
action filter_type
action find
entity Q27181543
relation P3173
type Q811979
[ANSWER]
[{'concept': 'Q811979'}, 'P3173', {'concept': 'Q355304'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?r ) WHERE { ?d property:P3173 ?o . ?d rdf:type ontology:Q811979 . ?o rdf:type ontology:Q355304 } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { resource:Q27181543 property:P3173 ?h . ?h rdf:type ontology:Q811979 } } . FILTER ( ?r > ?e ) }
Washburn Point Tunnel View
2
action count
action greater
action find_tuple_counts
relation offers view on
type architectural structure
type watercourse
action count
action filter_type
action find
entity Father Crowley Vista Point
relation offers view on
type architectural structure
[{'concept': 'architectural structure'}, 'offers view on', {'concept': 'watercourse'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?u ) WHERE { { SELECT DISTINCT ?d ( COUNT ( ?o ) AS ?r ) WHERE { ?d property:offers_view_on ?o . ?d rdf:type ontology:architectural_structure . ?o rdf:type ontology:watercourse } GROUP BY ?d } . { SELECT DISTINCT ( COUNT ( ?h ) AS ?e ) WHERE { resource:Father_Crowley_Vista_Point property:offers_view_on ?h . ?h rdf:type ontology:architectural_structure } } . FILTER ( ?r > ?e ) }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q6442302 Q27181543
P17
Q15617994
USER
Which administrative territories do Father Crowley Vista Point or Kuizili belong to ?
OR((Q27181543,P17,c(Q15617994)), (Q6442302,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q27181543
relation P17
action find
entity Q6442302
relation P17
type Q15617994
{'OR': [['Q27181543', 'P17', {'concept': 'Q15617994'}], ['Q6442302', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q27181543 property:P17 ?r } UNION { resource:Q6442302 property:P17 ?r } } . ?r rdf:type ontology:Q15617994 }
Kuizili Father Crowley Vista Point
action filter_type
action union
action find
entity Father Crowley Vista Point
relation country
action find
entity Kuizili
relation country
type designation for an administrative territorial entity
{'OR': [['Father Crowley Vista Point', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Kuizili', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Father_Crowley_Vista_Point property:country ?r } UNION { resource:Kuizili property:country ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q965 Q30
SYSTEM
Burkina Faso, United States of America
Q965 Q30
OR((Q27181543,P17,c(Q15617994)), (Q6442302,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q27181543
relation P17
action find
entity Q6442302
relation P17
type Q15617994
Father Crowley Vista Point or Kuizili belong to [ANSWERS]
{'OR': [['Q27181543', 'P17', {'concept': 'Q15617994'}], ['Q6442302', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Q27181543 property:P17 ?r } UNION { resource:Q6442302 property:P17 ?r } } . ?r rdf:type ontology:Q15617994 }
Burkina Faso United States of America
Father Crowley Vista Point or Kuizili belong to Burkina Faso and United States of America
Burkina Faso United States of America
action filter_type
action union
action find
entity Father Crowley Vista Point
relation country
action find
entity Kuizili
relation country
type designation for an administrative territorial entity
{'OR': [['Father Crowley Vista Point', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Kuizili', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?r WHERE { { { resource:Father_Crowley_Vista_Point property:country ?r } UNION { resource:Kuizili property:country ?r } } . ?r rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q1675932 Q4908157
P27
Q15617994
USER
Which administrative territories are Bill Black or Ivan Rebrov a civilian of ?
OR((Q4908157,P27,c(Q15617994)), (Q1675932,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4908157
relation P27
action find
entity Q1675932
relation P27
type Q15617994
{'OR': [['Q4908157', 'P27', {'concept': 'Q15617994'}], ['Q1675932', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { ?p property:P27 ?y . VALUES ( ?p ) { ( resource:Q4908157 ) ( resource:Q1675932 ) } } . ?y rdf:type ontology:Q15617994 }
Ivan Rebrov Bill Black
action filter_type
action union
action find
entity Bill Black
relation country of citizenship
action find
entity Ivan Rebrov
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Bill Black', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ivan Rebrov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { ?p property:country_of_citizenship ?y . VALUES ( ?p ) { ( resource:Bill_Black ) ( resource:Ivan_Rebrov ) } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30 Q159
SYSTEM
United States of America, Russia
Q30 Q159
OR((Q4908157,P27,c(Q15617994)), (Q1675932,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q4908157
relation P27
action find
entity Q1675932
relation P27
type Q15617994
[ANSWERS] are Bill Black or Ivan Rebrov a civilian of
{'OR': [['Q4908157', 'P27', {'concept': 'Q15617994'}], ['Q1675932', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?y WHERE { { ?p property:P27 ?y . VALUES ( ?p ) { ( resource:Q4908157 ) ( resource:Q1675932 ) } } . ?y rdf:type ontology:Q15617994 }
United States of America Russia
United States of America and Russia are Bill Black or Ivan Rebrov a civilian of
United States of America Russia
action filter_type
action union
action find
entity Bill Black
relation country of citizenship
action find
entity Ivan Rebrov
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Bill Black', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Ivan Rebrov', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?y WHERE { { ?p property:country_of_citizenship ?y . VALUES ( ?p ) { ( resource:Bill_Black ) ( resource:Ivan_Rebrov ) } } . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q584
P17
Q15617994
USER
How many administrative territories are Rhine situated in ?
(Q584,P17,c(Q15617994))
action count
action filter_type
action find
entity Q584
relation P17
type Q15617994
['Q584', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { resource:Q584 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
Rhine
action count
action filter_type
action find
entity Rhine
relation country
type designation for an administrative territorial entity
['Rhine', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { resource:Rhine property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
4
Q142 Q55 Q347 Q39
(Q584,P17,c(Q15617994))
action count
action filter_type
action find
entity Q584
relation P17
type Q15617994
[ANSWER]
['Q584', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { resource:Q584 property:P17 ?s . ?s rdf:type ontology:Q15617994 }
France Netherlands Liechtenstein Switzerland
4
action count
action filter_type
action find
entity Rhine
relation country
type designation for an administrative territorial entity
['Rhine', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?y ) WHERE { resource:Rhine property:country ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Incomplete count-based ques
Q3415334
Q15617994
USER
And what about RS-130?
(Q3415334,P17,c(Q15617994))
action count
action filter_type
action find
entity Q3415334
relation P17
type Q15617994
['Q3415334', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { resource:Q3415334 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
RS-130
action count
action filter_type
action find
entity RS-130
relation country
type designation for an administrative territorial entity
['RS-130', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { resource:RS-130 property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
SYSTEM
1
(Q3415334,P17,c(Q15617994))
action count
action filter_type
action find
entity Q3415334
relation P17
type Q15617994
[ANSWER]
['Q3415334', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { resource:Q3415334 property:P17 ?k . ?k rdf:type ontology:Q15617994 }
1
action count
action filter_type
action find
entity RS-130
relation country
type designation for an administrative territorial entity
['RS-130', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?e ) WHERE { resource:RS-130 property:country ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q6581097 Q6924377
P69 P21
Q502895
USER
Which people were educated at Mount Vernon High School and are a male ?
AND((c(Q502895),P69,Q6924377), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q6924377
relation P69
action find_reverse
entity Q6581097
relation P21
type Q502895
{'AND': [[{'concept': 'Q502895'}, 'P69', 'Q6924377'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?i WHERE { ?i property:P69 resource:Q6924377 . ?i property:P21 resource:Q6581097 . ?i rdf:type ontology:Q502895 }
male Mount Vernon High School
action filter_type
action intersection
action find_reverse
entity Mount Vernon High School
relation educated at
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'educated at', 'Mount Vernon High School'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?i WHERE { ?i property:educated_at resource:Mount_Vernon_High_School . ?i property:gender resource:male . ?i rdf:type ontology:common_name }
[]
common name
Q1627238 Q369593 Q1424414 Q5107275 Q534874 Q1622624 Q3837892
SYSTEM
Earl Tatum, Gus Williams, Rodney McCray, Chris Lowe, Scooter McCray, Ray Williams, Lowes Moore
Q1627238 Q369593 Q1424414 Q5107275 Q534874 Q1622624 Q3837892
AND((c(Q502895),P69,Q6924377), (c(Q502895),P21,Q6581097))
action filter_type
action intersection
action find_reverse
entity Q6924377
relation P69
action find_reverse
entity Q6581097
relation P21
type Q502895
[ANSWERS] were educated at Mount Vernon High School and are a male
{'AND': [[{'concept': 'Q502895'}, 'P69', 'Q6924377'], [{'concept': 'Q502895'}, 'P21', 'Q6581097']]}
SELECT DISTINCT ?i WHERE { ?i property:P69 resource:Q6924377 . ?i property:P21 resource:Q6581097 . ?i rdf:type ontology:Q502895 }
Earl Tatum Gus Williams Rodney McCray Chris Lowe Scooter McCray Ray Williams Lowes Moore
Earl Tatum, Gus Williams, Rodney McCray, Chris Lowe, Scooter McCray, Ray Williams and Lowes Moore were educated at Mount Vernon High School and are a male
Earl Tatum Gus Williams Rodney McCray Chris Lowe Scooter McCray Ray Williams Lowes Moore
action filter_type
action intersection
action find_reverse
entity Mount Vernon High School
relation educated at
action find_reverse
entity male
relation gender
type common name
{'AND': [[{'concept': 'common name'}, 'educated at', 'Mount Vernon High School'], [{'concept': 'common name'}, 'gender', 'male']]}
SELECT DISTINCT ?i WHERE { ?i property:educated_at resource:Mount_Vernon_High_School . ?i property:gender resource:male . ?i rdf:type ontology:common_name }
[]