Simple Question (Direct)
Simple Question
Q1337178
P641
Q349
USER
Which sport was Hans Gillhaus a part of ?
(Q1337178,P641,c(Q349))
action filter_type
action find
entity Q1337178
relation P641
type Q349
['Q1337178', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { resource:Q1337178 property:P641 ?k . ?k rdf:type ontology:Q349 }
Hans Gillhaus
action filter_type
action find
entity Hans Gillhaus
relation sport
type sport
['Hans Gillhaus', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { resource:Hans_Gillhaus property:sport ?k . ?k rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q1337178,P641,c(Q349))
action filter_type
action find
entity Q1337178
relation P641
type Q349
Which sport was Hans Gillhaus a part of
['Q1337178', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?k WHERE { resource:Q1337178 property:P641 ?k . ?k rdf:type ontology:Q349 }
association football
Which sport was Hans Gillhaus a part of
association football
action filter_type
action find
entity Hans Gillhaus
relation sport
type sport
['Hans Gillhaus', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?k WHERE { resource:Hans_Gillhaus property:sport ?k . ?k rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1337178
P54
Q1194951
USER
What is that person a member of ?
(Q2736,P54,c(Q1194951))
action filter_type
action find
entity Q1337178
relation P54
type Q1194951
['Q2736', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?g WHERE { resource:Q1337178 property:P54 ?g . ?g rdf:type ontology:Q1194951 }
Hans Gillhaus
action filter_type
action find
entity Hans Gillhaus
relation member of sports team
type national sports team
['association football', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?g WHERE { resource:Hans_Gillhaus property:member_of_sports_team ?g . ?g rdf:type ontology:national_sports_team }
[]
national sports team
Q47050
SYSTEM
Netherlands national football team
Q47050
(Q2736,P54,c(Q1194951))
action filter_type
action find
entity Q1337178
relation P54
type Q1194951
That person a member of is the [ANSWER]
['Q2736', 'P54', {'concept': 'Q1194951'}]
SELECT DISTINCT ?g WHERE { resource:Q1337178 property:P54 ?g . ?g rdf:type ontology:Q1194951 }
Netherlands national football team
That person a member of is the Netherlands national football team
Netherlands national football team
action filter_type
action find
entity Hans Gillhaus
relation member of sports team
type national sports team
['association football', 'member of sports team', {'concept': 'national sports team'}]
SELECT DISTINCT ?g WHERE { resource:Hans_Gillhaus property:member_of_sports_team ?g . ?g rdf:type ontology:national_sports_team }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators|Indirect
P1344
Q15275719 Q13406554
USER
How many recurring events and sport competitions did that national sports team take part in ?
(Q47050,P1344,c(Q15275719)) (Q47050,P1344,c(Q13406554)) (Q47050,P1344,c(Q15275719)) (Q47050,P1344,c(Q13406554))
action count
action union
action filter_type
action find
entity Q47050
relation P1344
type Q15275719
action filter_type
action find
entity Q47050
relation P1344
type Q13406554
['Q47050', 'P1344', {'concept': 'Q15275719'}] ['Q47050', 'P1344', {'concept': 'Q13406554'}] ['Q47050', 'P1344', {'concept': 'Q15275719'}] ['Q47050', 'P1344', {'concept': 'Q13406554'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { ?p rdf:type ?s . VALUES ( ?s ) { ( ontology:Q15275719 ) ( ontology:Q13406554 ) } }
action count
action union
action filter_type
action find
entity Netherlands national football team
relation participant of
type recurring event
action filter_type
action find
entity Netherlands national football team
relation participant of
type sport competition
['Netherlands national football team', 'participant of', {'concept': 'recurring event'}] ['Netherlands national football team', 'participant of', {'concept': 'sport competition'}] ['Netherlands national football team', 'participant of', {'concept': 'recurring event'}] ['Netherlands national football team', 'participant of', {'concept': 'sport competition'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { ?p rdf:type ?s . VALUES ( ?s ) { ( ontology:recurring_event ) ( ontology:sport_competition ) } }
[]
recurring event sport competition
SYSTEM
10 recurring events and 3 sport competitions
Q17253973 Q176883 Q37285 Q166121 Q208401 Q101751 Q1477177 Q132529 Q46943 Q131591 Q101730 Q17329154 Q79859
(Q47050,P1344,c(Q15275719)) (Q47050,P1344,c(Q13406554)) (Q47050,P1344,c(Q15275719)) (Q47050,P1344,c(Q13406554))
action count
action union
action filter_type
action find
entity Q47050
relation P1344
type Q15275719
action filter_type
action find
entity Q47050
relation P1344
type Q13406554
[ANSWER]
['Q47050', 'P1344', {'concept': 'Q15275719'}] ['Q47050', 'P1344', {'concept': 'Q13406554'}] ['Q47050', 'P1344', {'concept': 'Q15275719'}] ['Q47050', 'P1344', {'concept': 'Q13406554'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { ?p rdf:type ?s . VALUES ( ?s ) { ( ontology:Q15275719 ) ( ontology:Q13406554 ) } }
Spain - Netherlands 2010 FIFA World Cup 2006 FIFA World Cup 1974 FIFA World Cup 2010 FIFA World Cup Final 1994 FIFA World Cup 1934 FIFA World Cup 1990 FIFA World Cup 1978 FIFA World Cup 1938 FIFA World Cup 1998 FIFA World Cup 2014 FIFA World Cup Third Place Play-Off 2014 FIFA World Cup
10 recurring events and 3 sport competitions
action count
action union
action filter_type
action find
entity Netherlands national football team
relation participant of
type recurring event
action filter_type
action find
entity Netherlands national football team
relation participant of
type sport competition
['Netherlands national football team', 'participant of', {'concept': 'recurring event'}] ['Netherlands national football team', 'participant of', {'concept': 'sport competition'}] ['Netherlands national football team', 'participant of', {'concept': 'recurring event'}] ['Netherlands national football team', 'participant of', {'concept': 'sport competition'}]
SELECT DISTINCT ( COUNT ( ?p ) AS ?z ) WHERE { ?p rdf:type ?s . VALUES ( ?s ) { ( ontology:recurring_event ) ( ontology:sport_competition ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q47050
P710
Q500834
USER
Which tournament was Netherlands national football team a participant of ?
(c(Q500834),P710,Q47050)
action filter_type
action find_reverse
entity Q47050
relation P710
type Q500834
[{'concept': 'Q500834'}, 'P710', 'Q47050']
SELECT DISTINCT ?d WHERE { ?d property:P710 resource:Q47050 . ?d rdf:type ontology:Q500834 }
Netherlands national football team
action filter_type
action find_reverse
entity Netherlands national football team
relation participant
type tournament
[{'concept': 'tournament'}, 'participant', 'Netherlands national football team']
SELECT DISTINCT ?d WHERE { ?d property:participant resource:Netherlands_national_football_team . ?d rdf:type ontology:tournament }
[]
tournament
Q10260332
SYSTEM
2014 FIFA World Cup Group B
Q10260332
(c(Q500834),P710,Q47050)
action filter_type
action find_reverse
entity Q47050
relation P710
type Q500834
Which tournament was Netherlands national football team a participant of
[{'concept': 'Q500834'}, 'P710', 'Q47050']
SELECT DISTINCT ?d WHERE { ?d property:P710 resource:Q47050 . ?d rdf:type ontology:Q500834 }
2014 FIFA World Cup Group B
Which tournament was Netherlands national football team a participant of
2014 FIFA World Cup Group B
action filter_type
action find_reverse
entity Netherlands national football team
relation participant
type tournament
[{'concept': 'tournament'}, 'participant', 'Netherlands national football team']
SELECT DISTINCT ?d WHERE { ?d property:participant resource:Netherlands_national_football_team . ?d rdf:type ontology:tournament }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q47050
P17
Q15617994
USER
Which administrative territory is Netherlands national football team present in ?
(Q47050,P17,c(Q15617994))
action filter_type
action find
entity Q47050
relation P17
type Q15617994
['Q47050', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q47050 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Netherlands national football team
action filter_type
action find
entity Netherlands national football team
relation country
type designation for an administrative territorial entity
['Netherlands national football team', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Netherlands_national_football_team property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q55
SYSTEM
Netherlands
Q55
(Q47050,P17,c(Q15617994))
action filter_type
action find
entity Q47050
relation P17
type Q15617994
[ANSWER] national football team is the [ANSWER]
['Q47050', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?o WHERE { resource:Q47050 property:P17 ?o . ?o rdf:type ontology:Q15617994 }
Netherlands
Netherlands national football team is the Netherlands
Netherlands
action filter_type
action find
entity Netherlands national football team
relation country
type designation for an administrative territorial entity
['Netherlands national football team', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?o WHERE { resource:Netherlands_national_football_team property:country ?o . ?o rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3888509
Q15617994
USER
And what about San Pedro Coxcaltepec Cántaros?
(Q3888509,P17,c(Q15617994))
action filter_type
action find
entity Q3888509
relation P17
type Q15617994
['Q3888509', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q3888509 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
San Pedro Coxcaltepec Cántaros
action filter_type
action find
entity San Pedro Coxcaltepec Cántaros
relation country
type designation for an administrative territorial entity
['San Pedro Coxcaltepec Cántaros', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:San_Pedro_Coxcaltepec_Cántaros property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q96
SYSTEM
Mexico
Q96
(Q3888509,P17,c(Q15617994))
action filter_type
action find
entity Q3888509
relation P17
type Q15617994
[ANSWER]
['Q3888509', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?g WHERE { resource:Q3888509 property:P17 ?g . ?g rdf:type ontology:Q15617994 }
Mexico
Mexico
action filter_type
action find
entity San Pedro Coxcaltepec Cántaros
relation country
type designation for an administrative territorial entity
['San Pedro Coxcaltepec Cántaros', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?g WHERE { resource:San_Pedro_Coxcaltepec_Cántaros property:country ?g . ?g rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q519291 Q1337178
P1344
Q15275719
USER
Which recurring events did Hans Gillhaus or Antonin Rolland compete in ?
OR((Q1337178,P1344,c(Q15275719)), (Q519291,P1344,c(Q15275719)))
action filter_type
action union
action find
entity Q1337178
relation P1344
action find
entity Q519291
relation P1344
type Q15275719
{'OR': [['Q1337178', 'P1344', {'concept': 'Q15275719'}], ['Q519291', 'P1344', {'concept': 'Q15275719'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?r ) { ( resource:Q1337178 ) ( resource:Q519291 ) } . ?r property:P1344 ?n } . ?n rdf:type ontology:Q15275719 }
Antonin Rolland Hans Gillhaus
action filter_type
action union
action find
entity Hans Gillhaus
relation participant of
action find
entity Antonin Rolland
relation participant of
type recurring event
{'OR': [['Hans Gillhaus', 'participant of', {'concept': 'recurring event'}], ['Antonin Rolland', 'participant of', {'concept': 'recurring event'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?r ) { ( resource:Hans_Gillhaus ) ( resource:Antonin_Rolland ) } . ?r property:participant_of ?n } . ?n rdf:type ontology:recurring_event }
[]
recurring event
Q132529 Q33881
SYSTEM
1990 FIFA World Cup, Tour de France
Q132529 Q33881
OR((Q1337178,P1344,c(Q15275719)), (Q519291,P1344,c(Q15275719)))
action filter_type
action union
action find
entity Q1337178
relation P1344
action find
entity Q519291
relation P1344
type Q15275719
Hans Gillhaus or Antonin Rolland competed in [ANSWERS]
{'OR': [['Q1337178', 'P1344', {'concept': 'Q15275719'}], ['Q519291', 'P1344', {'concept': 'Q15275719'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?r ) { ( resource:Q1337178 ) ( resource:Q519291 ) } . ?r property:P1344 ?n } . ?n rdf:type ontology:Q15275719 }
1990 FIFA World Cup Tour de France
Hans Gillhaus or Antonin Rolland competed in 1990 FIFA World Cup and Tour de France
1990 FIFA World Cup Tour de France
action filter_type
action union
action find
entity Hans Gillhaus
relation participant of
action find
entity Antonin Rolland
relation participant of
type recurring event
{'OR': [['Hans Gillhaus', 'participant of', {'concept': 'recurring event'}], ['Antonin Rolland', 'participant of', {'concept': 'recurring event'}]]}
SELECT DISTINCT ?n WHERE { { VALUES ( ?r ) { ( resource:Hans_Gillhaus ) ( resource:Antonin_Rolland ) } . ?r property:participant_of ?n } . ?n rdf:type ontology:recurring_event }
[]
Clarification
Simple Question|Single Entity|Indirect
Q33881
P138
Q15617994
USER
What is that recurring event named after ?
(Q33881,P138,c(Q15617994))
action filter_type
action find
entity Q33881
relation P138
type Q15617994
['Q33881', 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q33881 property:P138 ?f }
Tour de France
action filter_type
action find
entity Tour de France
relation named after
type designation for an administrative territorial entity
['Tour de France', 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Tour_de_France property:named_after ?f }
[]
designation for an administrative territorial entity
Clarification for simple ques.
Q33881
SYSTEM
Did you mean Tour de France ?
Q132529 Q33881
(Q132529,P138,c(Q15617994)) (Q33881,P138,c(Q15617994))
[ANSWER]
['Q132529', 'P138', {'concept': 'Q15617994'}] ['Q33881', 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q33881 property:P138 ?f }
1990 FIFA World Cup Tour de France
Did you mean Tour de France ?
Tour de France
['1990 FIFA World Cup', 'named after', {'concept': 'designation for an administrative territorial entity'}] ['Tour de France', 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Tour_de_France property:named_after ?f }
[]
Simple Question (Coreferenced)
USER
Yes
(Q33881,P138,c(Q15617994))
['Q33881', 'P138', {'concept': 'Q15617994'}]
['Tour de France', 'named after', {'concept': 'designation for an administrative territorial entity'}]
[]
Q142
SYSTEM
France
Q142
(Q33881,P138,c(Q15617994))
action filter_type
action find
entity Q33881
relation P138
type Q15617994
That recurring event named after is of [ANSWER]
['Q33881', 'P138', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q15617994 . resource:Q33881 property:P138 ?f }
France
That recurring event named after is of France
France
action filter_type
action find
entity Tour de France
relation named after
type designation for an administrative territorial entity
['Tour de France', 'named after', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:designation_for_an_administrative_territorial_entity . resource:Tour_de_France property:named_after ?f }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q8323785 Q1337178
P27
Q15617994
USER
Which administrative territories are Hans Gillhaus or Amédée Dufaure an inhabitant of ?
OR((Q1337178,P27,c(Q15617994)), (Q8323785,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1337178
relation P27
action find
entity Q8323785
relation P27
type Q15617994
{'OR': [['Q1337178', 'P27', {'concept': 'Q15617994'}], ['Q8323785', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?r ) { ( resource:Q1337178 ) ( resource:Q8323785 ) } . ?r property:P27 ?s } . ?s rdf:type ontology:Q15617994 }
Amédée Dufaure Hans Gillhaus
action filter_type
action union
action find
entity Hans Gillhaus
relation country of citizenship
action find
entity Amédée Dufaure
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Hans Gillhaus', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Amédée Dufaure', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?r ) { ( resource:Hans_Gillhaus ) ( resource:Amédée_Dufaure ) } . ?r property:country_of_citizenship ?s } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q29999
SYSTEM
France, Kingdom of the Netherlands
Q142 Q29999
OR((Q1337178,P27,c(Q15617994)), (Q8323785,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q1337178
relation P27
action find
entity Q8323785
relation P27
type Q15617994
[ANSWERS] are Hans Gillhaus or Amédée Dufaure an inhabitant of
{'OR': [['Q1337178', 'P27', {'concept': 'Q15617994'}], ['Q8323785', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?r ) { ( resource:Q1337178 ) ( resource:Q8323785 ) } . ?r property:P27 ?s } . ?s rdf:type ontology:Q15617994 }
France Kingdom of the Netherlands
France and Kingdom of the Netherlands are Hans Gillhaus or Amédée Dufaure an inhabitant of
France Kingdom of the Netherlands
action filter_type
action union
action find
entity Hans Gillhaus
relation country of citizenship
action find
entity Amédée Dufaure
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['Hans Gillhaus', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['Amédée Dufaure', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?s WHERE { { VALUES ( ?r ) { ( resource:Hans_Gillhaus ) ( resource:Amédée_Dufaure ) } . ?r property:country_of_citizenship ?s } . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]