Simple Question (Direct)
Simple Question
Q1535819
P607
Q350604
USER
What was was Lovell Rousseau a part of ?
(Q1535819,P607,c(Q350604))
action filter_type
action find
entity Q1535819
relation P607
type Q350604
['Q1535819', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?f WHERE { resource:Q1535819 property:P607 ?f . ?f rdf:type ontology:Q350604 }
Lovell Rousseau
action filter_type
action find
entity Lovell Rousseau
relation conflict
type armed conflict
['Lovell Rousseau', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?f WHERE { resource:Lovell_Rousseau property:conflict ?f . ?f rdf:type ontology:armed_conflict }
[]
armed conflict
Q6683
SYSTEM
Mexican–American War
Q6683
(Q1535819,P607,c(Q350604))
action filter_type
action find
entity Q1535819
relation P607
type Q350604
Lovell Rousseau was a part of [ANSWER]
['Q1535819', 'P607', {'concept': 'Q350604'}]
SELECT DISTINCT ?f WHERE { resource:Q1535819 property:P607 ?f . ?f rdf:type ontology:Q350604 }
Mexican–American War
Lovell Rousseau was a part of Mexican–American War
Mexican–American War
action filter_type
action find
entity Lovell Rousseau
relation conflict
type armed conflict
['Lovell Rousseau', 'conflict', {'concept': 'armed conflict'}]
SELECT DISTINCT ?f WHERE { resource:Lovell_Rousseau property:conflict ?f . ?f rdf:type ontology:armed_conflict }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1535819
P937
Q56061
USER
What is the location where that person worked ?
(Q6683,P937,c(Q56061))
action filter_type
action find
entity Q1535819
relation P937
type Q56061
['Q6683', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q1535819 property:P937 ?q . ?q rdf:type ontology:Q56061 }
Lovell Rousseau
action filter_type
action find
entity Lovell Rousseau
relation work location
type administrative territorial entity
['Mexican–American War', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Lovell_Rousseau property:work_location ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q6346
SYSTEM
Indianapolis
Q6346
(Q6683,P937,c(Q56061))
action filter_type
action find
entity Q1535819
relation P937
type Q56061
The location that person worked is in [ANSWER]
['Q6683', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?q WHERE { resource:Q1535819 property:P937 ?q . ?q rdf:type ontology:Q56061 }
Indianapolis
The location that person worked is in Indianapolis
Indianapolis
action filter_type
action find
entity Lovell Rousseau
relation work location
type administrative territorial entity
['Mexican–American War', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?q WHERE { resource:Lovell_Rousseau property:work_location ?q . ?q rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6346
P195
Q3305213
USER
Which painting belongs to that administrative territory ?
(c(Q3305213),P195,Q6346)
action filter_type
action find_reverse
entity Q6346
relation P195
type Q3305213
[{'concept': 'Q3305213'}, 'P195', 'Q6346']
SELECT DISTINCT ?k WHERE { ?k property:P195 resource:Q6346 . ?k rdf:type ontology:Q3305213 }
Indianapolis
action filter_type
action find_reverse
entity Indianapolis
relation collection
type painting
[{'concept': 'painting'}, 'collection', 'Indianapolis']
SELECT DISTINCT ?k WHERE { ?k property:collection resource:Indianapolis . ?k rdf:type ontology:painting }
[]
painting
Q16902380
SYSTEM
Untitled (Urban Wall)
Q16902380
(c(Q3305213),P195,Q6346)
action filter_type
action find_reverse
entity Q6346
relation P195
type Q3305213
[ANSWER] belongs to that administrative territory
[{'concept': 'Q3305213'}, 'P195', 'Q6346']
SELECT DISTINCT ?k WHERE { ?k property:P195 resource:Q6346 . ?k rdf:type ontology:Q3305213 }
Untitled (Urban Wall)
Untitled (Urban Wall) belongs to that administrative territory
Untitled (Urban Wall)
action filter_type
action find_reverse
entity Indianapolis
relation collection
type painting
[{'concept': 'painting'}, 'collection', 'Indianapolis']
SELECT DISTINCT ?k WHERE { ?k property:collection resource:Indianapolis . ?k rdf:type ontology:painting }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q6346
P122
Q13220204
USER
What is the type of government for that administrative territory ?
(Q16902380,P122,c(Q13220204))
action filter_type
action find
entity Q6346
relation P122
type Q13220204
['Q16902380', 'P122', {'concept': 'Q13220204'}]
SELECT DISTINCT ?u WHERE { resource:Q6346 property:P122 ?u . ?u rdf:type ontology:Q13220204 }
Indianapolis
action filter_type
action find
entity Indianapolis
relation basic form of government
type second-level administrative country subdivision
['Untitled (Urban Wall)', 'basic form of government', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?u WHERE { resource:Indianapolis property:basic_form_of_government ?u . ?u rdf:type ontology:second-level_administrative_country_subdivision }
[]
second-level administrative country subdivision
Q3301053
SYSTEM
consolidated city-county
Q3301053
(Q16902380,P122,c(Q13220204))
action filter_type
action find
entity Q6346
relation P122
type Q13220204
The type of government for that administrative territory is [ANSWER]
['Q16902380', 'P122', {'concept': 'Q13220204'}]
SELECT DISTINCT ?u WHERE { resource:Q6346 property:P122 ?u . ?u rdf:type ontology:Q13220204 }
consolidated city-county
The type of government for that administrative territory is consolidated city-county
consolidated city-county
action filter_type
action find
entity Indianapolis
relation basic form of government
type second-level administrative country subdivision
['Untitled (Urban Wall)', 'basic form of government', {'concept': 'second-level administrative country subdivision'}]
SELECT DISTINCT ?u WHERE { resource:Indianapolis property:basic_form_of_government ?u . ?u rdf:type ontology:second-level_administrative_country_subdivision }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P144
Q2342494 Q223393 Q3305213
USER
Which paintings are an extension approximately 1 collectables or literary genres ?
(c(Q3305213),P144,c(Q2342494)|c(Q223393))
action approx
action union
action find_tuple_counts
relation P144
type Q3305213
type Q2342494
action find_tuple_counts
relation P144
type Q3305213
type Q223393
value 1
[{'concept': 'Q3305213'}, 'P144', [{'concept': 'Q2342494'}, {'concept': 'Q223393'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) ?f WHERE { { ?f rdf:type ontology:Q3305213 . ?q rdf:type ontology:Q2342494 . ?f property:P144 ?q } UNION { ?f rdf:type ontology:Q3305213 . ?q rdf:type ontology:Q223393 . ?f property:P144 ?q } } GROUP BY ?f } . FILTER ( ?o = 1 ) }
action approx
action union
action find_tuple_counts
relation based on
type painting
type collectable
action find_tuple_counts
relation based on
type painting
type literary genre
value 1
[{'concept': 'painting'}, 'based on', [{'concept': 'collectable'}, {'concept': 'literary genre'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) ?f WHERE { { ?f rdf:type ontology:painting . ?q rdf:type ontology:collectable . ?f property:based_on ?q } UNION { ?f rdf:type ontology:painting . ?q rdf:type ontology:literary_genre . ?f property:based_on ?q } } GROUP BY ?f } . FILTER ( ?o = 1 ) }
[]
collectable literary genre painting
Q17315852 Q20022413 Q6469320
SYSTEM
Pygmalion, Phaéton, Ladder of Divine Ascent
Q23698346 Q6469320 Q23693193 Q23693227 Q23693055 Q17315852 Q23691637 Q20022413 Q23688803
(c(Q3305213),P144,c(Q2342494)|c(Q223393))
action approx
action union
action find_tuple_counts
relation P144
type Q3305213
type Q2342494
action find_tuple_counts
relation P144
type Q3305213
type Q223393
value 1
[ANSWERS] are an extension approximately 1 collectables or literary genres
[{'concept': 'Q3305213'}, 'P144', [{'concept': 'Q2342494'}, {'concept': 'Q223393'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) ?f WHERE { { ?f rdf:type ontology:Q3305213 . ?q rdf:type ontology:Q2342494 . ?f property:P144 ?q } UNION { ?f rdf:type ontology:Q3305213 . ?q rdf:type ontology:Q223393 . ?f property:P144 ?q } } GROUP BY ?f } . FILTER ( ?o = 1 ) }
Job and his Family Restored to Prosperity Ladder of Divine Ascent Antaeus setting down Dante and Virgil in the Last Circle of Hell Christian reading in his Book The Simoniac Pope Pygmalion The Rout of the Rebel Angels Phaéton Death on a Pale Horse
Pygmalion, Phaéton and Ladder of Divine Ascent are an extension approximately 1 collectables or literary genres
Pygmalion Phaéton Ladder of Divine Ascent
action approx
action union
action find_tuple_counts
relation based on
type painting
type collectable
action find_tuple_counts
relation based on
type painting
type literary genre
value 1
[{'concept': 'painting'}, 'based on', [{'concept': 'collectable'}, {'concept': 'literary genre'}]]
SELECT DISTINCT ?f WHERE { { SELECT DISTINCT ( COUNT ( ?q ) AS ?o ) ?f WHERE { { ?f rdf:type ontology:painting . ?q rdf:type ontology:collectable . ?f property:based_on ?q } UNION { ?f rdf:type ontology:painting . ?q rdf:type ontology:literary_genre . ?f property:based_on ?q } } GROUP BY ?f } . FILTER ( ?o = 1 ) }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q6346 Q713946
P931
Q62447
USER
How many aerodromes are served by Indianapolis or Qianjiang District ?
(c(Q62447),P931,Q6346) (c(Q62447),P931,Q713946)
action count
action union
action filter_type
action find_reverse
entity Q6346
relation P931
type Q62447
action filter_type
action find_reverse
entity Q713946
relation P931
type Q62447
[{'concept': 'Q62447'}, 'P931', 'Q6346'] [{'concept': 'Q62447'}, 'P931', 'Q713946']
SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { ?w property:P931 ?x . VALUES ( ?x ) { ( resource:Q713946 ) ( resource:Q6346 ) } }
Indianapolis Qianjiang District
action count
action union
action filter_type
action find_reverse
entity Indianapolis
relation place served by airport
type aerodrome
action filter_type
action find_reverse
entity Qianjiang District
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Indianapolis'] [{'concept': 'aerodrome'}, 'place served by airport', 'Qianjiang District']
SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { ?w property:place_served_by_airport ?x . VALUES ( ?x ) { ( resource:Qianjiang_District ) ( resource:Indianapolis ) } }
[]
aerodrome
SYSTEM
7
Q3015083 Q576468 Q3885022 Q3015050 Q3016199 Q3015001 Q2875766
(c(Q62447),P931,Q6346) (c(Q62447),P931,Q713946)
action count
action union
action filter_type
action find_reverse
entity Q6346
relation P931
type Q62447
action filter_type
action find_reverse
entity Q713946
relation P931
type Q62447
[ANSWER]
[{'concept': 'Q62447'}, 'P931', 'Q6346'] [{'concept': 'Q62447'}, 'P931', 'Q713946']
SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { ?w property:P931 ?x . VALUES ( ?x ) { ( resource:Q713946 ) ( resource:Q6346 ) } }
Indianapolis Executive Airport Qianjiang Wulingshan Airport Hendricks County Airport Indianapolis Regional Airport Indianapolis Downtown Heliport Indianapolis Metropolitan Airport Eagle Creek Airpark
7
action count
action union
action filter_type
action find_reverse
entity Indianapolis
relation place served by airport
type aerodrome
action filter_type
action find_reverse
entity Qianjiang District
relation place served by airport
type aerodrome
[{'concept': 'aerodrome'}, 'place served by airport', 'Indianapolis'] [{'concept': 'aerodrome'}, 'place served by airport', 'Qianjiang District']
SELECT DISTINCT ( COUNT ( ?w ) AS ?l ) WHERE { ?w property:place_served_by_airport ?x . VALUES ( ?x ) { ( resource:Qianjiang_District ) ( resource:Indianapolis ) } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6346
P47
Q56061
USER
Which administrative territories share border with Indianapolis ?
(c(Q56061),P47,Q6346)
action filter_type
action find
entity Q6346
relation P47
type Q56061
[{'concept': 'Q56061'}, 'P47', 'Q6346']
SELECT DISTINCT ?p WHERE { resource:Q6346 property:P47 ?p . ?p rdf:type ontology:Q56061 }
Indianapolis
action filter_type
action find
entity Indianapolis
relation shares border with
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Indianapolis']
SELECT DISTINCT ?p WHERE { resource:Indianapolis property:shares_border_with ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q537853 Q2018240 Q958240
SYSTEM
Carmel, Beech Grove, Cumberland
Q958240 Q1778780 Q2517335 Q1806779 Q2018240 Q537853
(c(Q56061),P47,Q6346)
action filter_type
action find
entity Q6346
relation P47
type Q56061
[ANSWERS] share border with Indianapolis
[{'concept': 'Q56061'}, 'P47', 'Q6346']
SELECT DISTINCT ?p WHERE { resource:Q6346 property:P47 ?p . ?p rdf:type ontology:Q56061 }
Cumberland Greenwood Southport Lawrence Beech Grove Carmel
Carmel, Beech Grove and Cumberland share border with Indianapolis
Carmel Beech Grove Cumberland
action filter_type
action find
entity Indianapolis
relation shares border with
type administrative territorial entity
[{'concept': 'administrative territorial entity'}, 'shares border with', 'Indianapolis']
SELECT DISTINCT ?p WHERE { resource:Indianapolis property:shares_border_with ?p . ?p rdf:type ontology:administrative_territorial_entity }
[]
Clarification
Simple Question|Single Entity|Indirect
Q2018240
P19
Q502895
USER
Which people were born at that administrative territory ?
(c(Q502895),P19,Q2018240)
action filter_type
action find_reverse
entity Q2018240
relation P19
type Q502895
[{'concept': 'Q502895'}, 'P19', 'Q2018240']
SELECT DISTINCT ?p WHERE { ?p property:P19 resource:Q2018240 . ?p rdf:type ontology:Q502895 }
Beech Grove
action filter_type
action find_reverse
entity Beech Grove
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Beech Grove']
SELECT DISTINCT ?p WHERE { ?p property:place_of_birth resource:Beech_Grove . ?p rdf:type ontology:common_name }
[]
common name
Clarification for simple ques.
Q958240
SYSTEM
Did you mean Cumberland ?
Q537853 Q2018240 Q958240
(c(Q502895),P19,Q537853) (c(Q502895),P19,Q2018240) (c(Q502895),P19,Q958240)
[ANSWER]
[{'concept': 'Q502895'}, 'P19', 'Q537853'] [{'concept': 'Q502895'}, 'P19', 'Q2018240'] [{'concept': 'Q502895'}, 'P19', 'Q958240']
SELECT DISTINCT ?p WHERE { ?p property:P19 resource:Q2018240 . ?p rdf:type ontology:Q502895 }
Carmel Beech Grove Cumberland
Did you mean Cumberland ?
Cumberland
[{'concept': 'common name'}, 'place of birth', 'Carmel'] [{'concept': 'common name'}, 'place of birth', 'Beech Grove'] [{'concept': 'common name'}, 'place of birth', 'Cumberland']
SELECT DISTINCT ?p WHERE { ?p property:place_of_birth resource:Beech_Grove . ?p rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
USER
No, I meant Beech Grove. Could you tell me the answer for that?
(c(Q502895),P19,Q2018240)
Q2018240
[{'concept': 'Q502895'}, 'P19', 'Q2018240']
[{'concept': 'common name'}, 'place of birth', 'Beech Grove']
[]
Q1736577 Q7344479 Q159347
SYSTEM
Katie Gearlds, Robert Francis Catterson, Steve McQueen
Q1736577 Q7344479 Q159347
(c(Q502895),P19,Q2018240)
action filter_type
action find_reverse
entity Q2018240
relation P19
type Q502895
[ANSWERS] were born at that administrative territory
[{'concept': 'Q502895'}, 'P19', 'Q2018240']
SELECT DISTINCT ?p WHERE { ?p property:P19 resource:Q2018240 . ?p rdf:type ontology:Q502895 }
Katie Gearlds Robert Francis Catterson Steve McQueen
Katie Gearlds, Robert Francis Catterson and Steve McQueen were born at that administrative territory
Katie Gearlds Robert Francis Catterson Steve McQueen
action filter_type
action find_reverse
entity Beech Grove
relation place of birth
type common name
[{'concept': 'common name'}, 'place of birth', 'Beech Grove']
SELECT DISTINCT ?p WHERE { ?p property:place_of_birth resource:Beech_Grove . ?p rdf:type ontology:common_name }
[]