Simple Question (Direct)
Simple Question
Q6246942
P641
Q349
USER
Which sport did John Martin participate in ?
(Q6246942,P641,c(Q349))
action filter_type
action find
entity Q6246942
relation P641
type Q349
['Q6246942', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { resource:Q6246942 property:P641 ?v . ?v rdf:type ontology:Q349 }
John Martin
action filter_type
action find
entity John Martin
relation sport
type sport
['John Martin', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { resource:John_Martin property:sport ?v . ?v rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q6246942,P641,c(Q349))
action filter_type
action find
entity Q6246942
relation P641
type Q349
John Martin participated in [ANSWER]
['Q6246942', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?v WHERE { resource:Q6246942 property:P641 ?v . ?v rdf:type ontology:Q349 }
association football
John Martin participated in association football
association football
action filter_type
action find
entity John Martin
relation sport
type sport
['John Martin', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?v WHERE { resource:John_Martin property:sport ?v . ?v rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6246942
P734
Q82799
USER
Who is associated with that person ?
(Q2736,P734,c(Q82799))
action filter_type
action find
entity Q6246942
relation P734
type Q82799
['Q2736', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q82799 . resource:Q6246942 property:P734 ?p }
John Martin
action filter_type
action find
entity John Martin
relation family name
type name
['association football', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:name . resource:John_Martin property:family_name ?p }
[]
name
Q17744604
SYSTEM
Martin
Q17744604
(Q2736,P734,c(Q82799))
action filter_type
action find
entity Q6246942
relation P734
type Q82799
[ANSWER] is associated with that person
['Q2736', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:Q82799 . resource:Q6246942 property:P734 ?p }
Martin
Martin is associated with that person
Martin
action filter_type
action find
entity John Martin
relation family name
type name
['association football', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?p WHERE { ?p rdf:type ontology:name . resource:John_Martin property:family_name ?p }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6246942
P106
Q12737077
USER
Which occupation has John Martin as his/her 's career ?
(Q6246942,P106,c(Q12737077))
action filter_type
action find
entity Q6246942
relation P106
type Q12737077
['Q6246942', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q6246942 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
John Martin
action filter_type
action find
entity John Martin
relation occupation
type occupation
['John Martin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:John_Martin property:occupation ?n . ?n rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q6246942,P106,c(Q12737077))
action filter_type
action find
entity Q6246942
relation P106
type Q12737077
Player [ANSWER] has John Martin as his/her 's career
['Q6246942', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?n WHERE { resource:Q6246942 property:P106 ?n . ?n rdf:type ontology:Q12737077 }
association football player
Player association football player has John Martin as his/her 's career
association football player
action filter_type
action find
entity John Martin
relation occupation
type occupation
['John Martin', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?n WHERE { resource:John_Martin property:occupation ?n . ?n rdf:type ontology:occupation }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q511347 Q6246942
P27 P495
Q15617994
USER
Which administrative territories are the native countriesof John Martin and are the countries of origin of This Must Be the Place ?
AND((Q6246942,P27,c(Q15617994)), (Q511347,P495,c(Q15617994)))
action filter_type
action intersection
action find
entity Q6246942
relation P27
action find
entity Q511347
relation P495
type Q15617994
{'AND': [['Q6246942', 'P27', {'concept': 'Q15617994'}], ['Q511347', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { resource:Q6246942 property:P27 ?k . resource:Q511347 property:P495 ?k . ?k rdf:type ontology:Q15617994 }
This Must Be the Place John Martin
action filter_type
action intersection
action find
entity John Martin
relation country of citizenship
action find
entity This Must Be the Place
relation country of origin
type designation for an administrative territorial entity
{'AND': [['John Martin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['This Must Be the Place', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { resource:John_Martin property:country_of_citizenship ?k . resource:This_Must_Be_the_Place property:country_of_origin ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q27
SYSTEM
Ireland
Q27
AND((Q6246942,P27,c(Q15617994)), (Q511347,P495,c(Q15617994)))
action filter_type
action intersection
action find
entity Q6246942
relation P27
action find
entity Q511347
relation P495
type Q15617994
[ANSWER] is the native countriesof John Martin and is the countries of origin of This Must Be the Place
{'AND': [['Q6246942', 'P27', {'concept': 'Q15617994'}], ['Q511347', 'P495', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?k WHERE { resource:Q6246942 property:P27 ?k . resource:Q511347 property:P495 ?k . ?k rdf:type ontology:Q15617994 }
Ireland
Ireland is the native countriesof John Martin and is the countries of origin of This Must Be the Place
Ireland
action filter_type
action intersection
action find
entity John Martin
relation country of citizenship
action find
entity This Must Be the Place
relation country of origin
type designation for an administrative territorial entity
{'AND': [['John Martin', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['This Must Be the Place', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?k WHERE { resource:John_Martin property:country_of_citizenship ?k . resource:This_Must_Be_the_Place property:country_of_origin ?k . ?k rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Indirect
P530
Q1048835
USER
How many political territories have diplomatic relations with that administrative territory ?
(Q27,P530,c(Q1048835))
action count
action filter_type
action find
entity Q27
relation P530
type Q1048835
['Q27', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { resource:Q27 property:P530 ?c . ?c rdf:type ontology:Q1048835 }
action count
action filter_type
action find
entity Ireland
relation diplomatic relation
type political territorial entity
['Ireland', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { resource:Ireland property:diplomatic_relation ?c . ?c rdf:type ontology:political_territorial_entity }
[]
political territorial entity
SYSTEM
3
Q183 Q408 Q16
(Q27,P530,c(Q1048835))
action count
action filter_type
action find
entity Q27
relation P530
type Q1048835
[ANSWER]
['Q27', 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { resource:Q27 property:P530 ?c . ?c rdf:type ontology:Q1048835 }
Germany Australia Canada
3
action count
action filter_type
action find
entity Ireland
relation diplomatic relation
type political territorial entity
['Ireland', 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ( COUNT ( ?c ) AS ?j ) WHERE { resource:Ireland property:diplomatic_relation ?c . ?c rdf:type ontology:political_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q27
P1532
Q1194951
USER
Whose national sports team is Ireland ?
(c(Q1194951),P1532,Q27)
action filter_type
action find_reverse
entity Q27
relation P1532
type Q1194951
[{'concept': 'Q1194951'}, 'P1532', 'Q27']
SELECT DISTINCT ?p WHERE { ?p property:P1532 resource:Q27 . ?p rdf:type ontology:Q1194951 }
Ireland
action filter_type
action find_reverse
entity Ireland
relation country for sport
type national sports team
[{'concept': 'national sports team'}, 'country for sport', 'Ireland']
SELECT DISTINCT ?p WHERE { ?p property:country_for_sport resource:Ireland . ?p rdf:type ontology:national_sports_team }
[]
national sports team
Q163547
SYSTEM
Republic of Ireland national football team
Q163547
(c(Q1194951),P1532,Q27)
action filter_type
action find_reverse
entity Q27
relation P1532
type Q1194951
And [ANSWER] is Ireland
[{'concept': 'Q1194951'}, 'P1532', 'Q27']
SELECT DISTINCT ?p WHERE { ?p property:P1532 resource:Q27 . ?p rdf:type ontology:Q1194951 }
Republic of Ireland national football team
And Republic of Ireland national football team is Ireland
Republic of Ireland national football team
action filter_type
action find_reverse
entity Ireland
relation country for sport
type national sports team
[{'concept': 'national sports team'}, 'country for sport', 'Ireland']
SELECT DISTINCT ?p WHERE { ?p property:country_for_sport resource:Ireland . ?p rdf:type ontology:national_sports_team }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q27
P37
Q34770
USER
What is the official language of that administrative territory ?
(Q163547,P37,c(Q34770))
action filter_type
action find
entity Q27
relation P37
type Q34770
['Q163547', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { resource:Q27 property:P37 ?j . ?j rdf:type ontology:Q34770 }
Ireland
action filter_type
action find
entity Ireland
relation official language
type language
['Republic of Ireland national football team', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { resource:Ireland property:official_language ?j . ?j rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q163547,P37,c(Q34770))
action filter_type
action find
entity Q27
relation P37
type Q34770
The official language of that administrative territory is [ANSWER]
['Q163547', 'P37', {'concept': 'Q34770'}]
SELECT DISTINCT ?j WHERE { resource:Q27 property:P37 ?j . ?j rdf:type ontology:Q34770 }
English
The official language of that administrative territory is English
English
action filter_type
action find
entity Ireland
relation official language
type language
['Republic of Ireland national football team', 'official language', {'concept': 'language'}]
SELECT DISTINCT ?j WHERE { resource:Ireland property:official_language ?j . ?j rdf:type ontology:language }
[]