Simple Question (Direct)
Simple Question
Q3413117
P20
Q56061
USER
Where did the expiration of John Miller occur ?
(Q3413117,P20,c(Q56061))
action filter_type
action find
entity Q3413117
relation P20
type Q56061
['Q3413117', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q3413117 property:P20 ?q . ?q rdf:type ontology:Q56061 }
John Miller
action filter_type
action find
entity John Miller
relation place of death
type administrative territorial entity
['John Miller', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:John_Miller property:place_of_death ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q34779
SYSTEM
Dumbarton
Q34779
(Q3413117,P20,c(Q56061))
action filter_type
action find
entity Q3413117
relation P20
type Q56061
The expiration of John Miller occurred in [ANSWER]
['Q3413117', 'P20', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q3413117 property:P20 ?q . ?q rdf:type ontology:Q56061 }
Dumbarton
The expiration of John Miller occurred in Dumbarton
Dumbarton
action filter_type
action find
entity John Miller
relation place of death
type administrative territorial entity
['John Miller', 'place of death', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:John_Miller property:place_of_death ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3413117
P641
Q349
USER
Which sport was John Miller a part of ?
(Q3413117,P641,c(Q349))
action filter_type
action find
entity Q3413117
relation P641
type Q349
['Q3413117', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { resource:Q3413117 property:P641 ?n . ?n rdf:type ontology:Q349 }
John Miller
action filter_type
action find
entity John Miller
relation sport
type sport
['John Miller', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { resource:John_Miller property:sport ?n . ?n rdf:type ontology:sport }
[]
sport
Q2736
SYSTEM
association football
Q2736
(Q3413117,P641,c(Q349))
action filter_type
action find
entity Q3413117
relation P641
type Q349
Which sport was John Miller a part of
['Q3413117', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?n WHERE { resource:Q3413117 property:P641 ?n . ?n rdf:type ontology:Q349 }
association football
Which sport was John Miller a part of
association football
action filter_type
action find
entity John Miller
relation sport
type sport
['John Miller', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?n WHERE { resource:John_Miller property:sport ?n . ?n rdf:type ontology:sport }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q3413117
P106
Q12737077
USER
What does John Miller do for a living ?
(Q3413117,P106,c(Q12737077))
action filter_type
action find
entity Q3413117
relation P106
type Q12737077
['Q3413117', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q3413117 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
John Miller
action filter_type
action find
entity John Miller
relation occupation
type occupation
['John Miller', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:John_Miller property:occupation ?v . ?v rdf:type ontology:occupation }
[]
occupation
Q937857
SYSTEM
association football player
Q937857
(Q3413117,P106,c(Q12737077))
action filter_type
action find
entity Q3413117
relation P106
type Q12737077
[ANSWER] John Miller does for a living
['Q3413117', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?v WHERE { resource:Q3413117 property:P106 ?v . ?v rdf:type ontology:Q12737077 }
association football player
Association football player John Miller does for a living
association football player
action filter_type
action find
entity John Miller
relation occupation
type occupation
['John Miller', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?v WHERE { resource:John_Miller property:occupation ?v . ?v rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3413117
P734
Q82799
USER
Who is associated with that person ?
(Q937857,P734,c(Q82799))
action filter_type
action find
entity Q3413117
relation P734
type Q82799
['Q937857', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q3413117 property:P734 ?i . ?i rdf:type ontology:Q82799 }
John Miller
action filter_type
action find
entity John Miller
relation family name
type name
['association football player', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:John_Miller property:family_name ?i . ?i rdf:type ontology:name }
[]
name
Q1605060
SYSTEM
Miller
Q1605060
(Q937857,P734,c(Q82799))
action filter_type
action find
entity Q3413117
relation P734
type Q82799
[ANSWER] is associated with that person
['Q937857', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?i WHERE { resource:Q3413117 property:P734 ?i . ?i rdf:type ontology:Q82799 }
Miller
Miller is associated with that person
Miller
action filter_type
action find
entity John Miller
relation family name
type name
['association football player', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?i WHERE { resource:John_Miller property:family_name ?i . ?i rdf:type ontology:name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3413117
P27
Q15617994
USER
Which administrative territory is the native country of that person ?
(Q1605060,P27,c(Q15617994))
action filter_type
action find
entity Q3413117
relation P27
type Q15617994
['Q1605060', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q3413117 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
John Miller
action filter_type
action find
entity John Miller
relation country of citizenship
type designation for an administrative territorial entity
['Miller', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:John_Miller property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q145
SYSTEM
United Kingdom
Q145
(Q1605060,P27,c(Q15617994))
action filter_type
action find
entity Q3413117
relation P27
type Q15617994
[ANSWER] is the native country of that person
['Q1605060', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { resource:Q3413117 property:P27 ?m . ?m rdf:type ontology:Q15617994 }
United Kingdom
United Kingdom is the native country of that person
United Kingdom
action filter_type
action find
entity John Miller
relation country of citizenship
type designation for an administrative territorial entity
['Miller', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { resource:John_Miller property:country_of_citizenship ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q145 Q155998
P30
Q2221906
USER
How many geographic locations are United Kingdom or Amundsen Plain situated ?
(Q145,P30,c(Q2221906)) (Q155998,P30,c(Q2221906))
action count
action union
action filter_type
action find
entity Q145
relation P30
type Q2221906
action filter_type
action find
entity Q155998
relation P30
type Q2221906
['Q145', 'P30', {'concept': 'Q2221906'}] ['Q155998', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { { resource:Q145 property:P30 ?s . ?s rdf:type ontology:Q2221906 } UNION { resource:Q155998 property:P30 ?s . ?s rdf:type ontology:Q2221906 } }
United Kingdom Amundsen Plain
action count
action union
action filter_type
action find
entity United Kingdom
relation continent
type geographic location
action filter_type
action find
entity Amundsen Plain
relation continent
type geographic location
['United Kingdom', 'continent', {'concept': 'geographic location'}] ['Amundsen Plain', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { { resource:United_Kingdom property:continent ?s . ?s rdf:type ontology:geographic_location } UNION { resource:Amundsen_Plain property:continent ?s . ?s rdf:type ontology:geographic_location } }
[]
geographic location
SYSTEM
2
Q46 Q51
(Q145,P30,c(Q2221906)) (Q155998,P30,c(Q2221906))
action count
action union
action filter_type
action find
entity Q145
relation P30
type Q2221906
action filter_type
action find
entity Q155998
relation P30
type Q2221906
[ANSWER]
['Q145', 'P30', {'concept': 'Q2221906'}] ['Q155998', 'P30', {'concept': 'Q2221906'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { { resource:Q145 property:P30 ?s . ?s rdf:type ontology:Q2221906 } UNION { resource:Q155998 property:P30 ?s . ?s rdf:type ontology:Q2221906 } }
Europe Antarctica
2
action count
action union
action filter_type
action find
entity United Kingdom
relation continent
type geographic location
action filter_type
action find
entity Amundsen Plain
relation continent
type geographic location
['United Kingdom', 'continent', {'concept': 'geographic location'}] ['Amundsen Plain', 'continent', {'concept': 'geographic location'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?j ) WHERE { { resource:United_Kingdom property:continent ?s . ?s rdf:type ontology:geographic_location } UNION { resource:Amundsen_Plain property:continent ?s . ?s rdf:type ontology:geographic_location } }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q21246022 Q1605060
P364 P407
Q34770
USER
What are the languages of work for Miller and are considered to be the original language of creation of Metabolic engineering of a reduced-genome strain of Escherichia coli for L-threonine production ?
AND((Q1605060,P407,c(Q34770)), (Q21246022,P364,c(Q34770)))
action filter_type
action intersection
action find
entity Q1605060
relation P407
action find
entity Q21246022
relation P364
type Q34770
{'AND': [['Q1605060', 'P407', {'concept': 'Q34770'}], ['Q21246022', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?y WHERE { resource:Q1605060 property:P407 ?y . resource:Q21246022 property:P364 ?y . ?y rdf:type ontology:Q34770 }
Metabolic engineering of a reduced-genome strain of Escherichia coli for L-threonine production Miller
action filter_type
action intersection
action find
entity Miller
relation language of work or name
action find
entity Metabolic engineering of a reduced-genome strain of Escherichia coli for L-threonine production
relation original language of work
type language
{'AND': [['Miller', 'language of work or name', {'concept': 'language'}], ['Metabolic engineering of a reduced-genome strain of Escherichia coli for L-threonine production', 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?y WHERE { resource:Miller property:language_of_work_or_name ?y . resource:Metabolic_engineering_of_a_reduced-genome_strain_of_Escherichia_coli_for_L-threonine_production property:original_language_of_work ?y . ?y rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
AND((Q1605060,P407,c(Q34770)), (Q21246022,P364,c(Q34770)))
action filter_type
action intersection
action find
entity Q1605060
relation P407
action find
entity Q21246022
relation P364
type Q34770
The languages of work for Miller are considered [ANSWER]
{'AND': [['Q1605060', 'P407', {'concept': 'Q34770'}], ['Q21246022', 'P364', {'concept': 'Q34770'}]]}
SELECT DISTINCT ?y WHERE { resource:Q1605060 property:P407 ?y . resource:Q21246022 property:P364 ?y . ?y rdf:type ontology:Q34770 }
English
The languages of work for Miller are considered English
English
action filter_type
action intersection
action find
entity Miller
relation language of work or name
action find
entity Metabolic engineering of a reduced-genome strain of Escherichia coli for L-threonine production
relation original language of work
type language
{'AND': [['Miller', 'language of work or name', {'concept': 'language'}], ['Metabolic engineering of a reduced-genome strain of Escherichia coli for L-threonine production', 'original language of work', {'concept': 'language'}]]}
SELECT DISTINCT ?y WHERE { resource:Miller property:language_of_work_or_name ?y . resource:Metabolic_engineering_of_a_reduced-genome_strain_of_Escherichia_coli_for_L-threonine_production property:original_language_of_work ?y . ?y rdf:type ontology:language }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P282
Q9779 Q2001982 Q34770
USER
Which languages adopt more number of alphabets and notations as the writing system than that language ?
(c(Q34770),P282,c(Q9779)|c(Q2001982))
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action count
action filter_multi_types
action find
entity Q1860
relation P282
type Q9779
type Q2001982
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?t ) WHERE { { ?v rdf:type ontology:Q34770 . ?e rdf:type ontology:Q2001982 . ?v property:P282 ?e } UNION { ?v property:P282 ?e . ?v rdf:type ontology:Q34770 . ?e rdf:type ontology:Q9779 } } GROUP BY ?v } . FILTER ( ?t > ?h ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { resource:Q1860 property:P282 ?a . { VALUES ( ?c ) { ( ontology:Q9779 ) ( ontology:Q2001982 ) } . ?a rdf:type ?c } } } }
action greater
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type notation
action count
action filter_multi_types
action find
entity English
relation writing system
type alphabet
type notation
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'notation'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?t ) WHERE { { ?v rdf:type ontology:language . ?e rdf:type ontology:notation . ?v property:writing_system ?e } UNION { ?v property:writing_system ?e . ?v rdf:type ontology:language . ?e rdf:type ontology:alphabet } } GROUP BY ?v } . FILTER ( ?t > ?h ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { resource:English property:writing_system ?a . { VALUES ( ?c ) { ( ontology:alphabet ) ( ontology:notation ) } . ?a rdf:type ?c } } } }
[]
alphabet notation language
SYSTEM
15
Q182695 Q29572 Q35470 Q13211 Q35499 Q33251 Q21161942 Q1639124 Q2705672 Q36795 Q20972034 Q36790 Q36751 Q36464 Q652
(c(Q34770),P282,c(Q9779)|c(Q2001982))
action greater
action union
action find_tuple_counts
relation P282
type Q34770
type Q9779
action find_tuple_counts
relation P282
type Q34770
type Q2001982
action count
action filter_multi_types
action find
entity Q1860
relation P282
type Q9779
type Q2001982
[ANSWER]
[{'concept': 'Q34770'}, 'P282', [{'concept': 'Q9779'}, {'concept': 'Q2001982'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?t ) WHERE { { ?v rdf:type ontology:Q34770 . ?e rdf:type ontology:Q2001982 . ?v property:P282 ?e } UNION { ?v property:P282 ?e . ?v rdf:type ontology:Q34770 . ?e rdf:type ontology:Q9779 } } GROUP BY ?v } . FILTER ( ?t > ?h ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { resource:Q1860 property:P282 ?a . { VALUES ( ?c ) { ( ontology:Q9779 ) ( ontology:Q2001982 ) } . ?a rdf:type ?c } } } }
Late Old Japanese Avestan Elamite language Ruthenian Old Church Slavonic Church Slavonic Serbian written in Cyrillic Slavoserbian Paeonian language Tartessian Classic Greek Sumerian Phrygian language Nivkh language Italian
15
action greater
action union
action find_tuple_counts
relation writing system
type language
type alphabet
action find_tuple_counts
relation writing system
type language
type notation
action count
action filter_multi_types
action find
entity English
relation writing system
type alphabet
type notation
[{'concept': 'language'}, 'writing system', [{'concept': 'alphabet'}, {'concept': 'notation'}]]
SELECT DISTINCT ?v WHERE { { SELECT DISTINCT ?v ( COUNT ( ?e ) AS ?t ) WHERE { { ?v rdf:type ontology:language . ?e rdf:type ontology:notation . ?v property:writing_system ?e } UNION { ?v property:writing_system ?e . ?v rdf:type ontology:language . ?e rdf:type ontology:alphabet } } GROUP BY ?v } . FILTER ( ?t > ?h ) . { SELECT DISTINCT ( COUNT ( ?a ) AS ?h ) WHERE { resource:English property:writing_system ?a . { VALUES ( ?c ) { ( ontology:alphabet ) ( ontology:notation ) } . ?a rdf:type ?c } } } }
[]