Simple Question (Direct)
Simple Question
Q171729
P54
Q12973014
USER
Which sports teams are Mike Spence a member of ?
(Q171729,P54,c(Q12973014))
action filter_type
action find
entity Q171729
relation P54
type Q12973014
['Q171729', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12973014 . resource:Q171729 property:P54 ?c }
Mike Spence
action filter_type
action find
entity Mike Spence
relation member of sports team
type sports team
['Mike Spence', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sports_team . resource:Mike_Spence property:member_of_sports_team ?c }
[]
sports team
Q179686 Q173996 Q173012
SYSTEM
Chaparral Cars, Team Lotus, British Racing Motors
Q179686 Q173553 Q173996 Q173012 Q7307836
(Q171729,P54,c(Q12973014))
action filter_type
action find
entity Q171729
relation P54
type Q12973014
[ANSWERS]
['Q171729', 'P54', {'concept': 'Q12973014'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:Q12973014 . resource:Q171729 property:P54 ?c }
Chaparral Cars Emeryson Team Lotus British Racing Motors Reg Parnell Racing
Chaparral Cars Team Lotus British Racing Motors
action filter_type
action find
entity Mike Spence
relation member of sports team
type sports team
['Mike Spence', 'member of sports team', {'concept': 'sports team'}]
SELECT DISTINCT ?c WHERE { ?c rdf:type ontology:sports_team . resource:Mike_Spence property:member_of_sports_team ?c }
[]
Simple Question (Direct)
Simple Question|Mult. Entity|Indirect
Q179686 Q173996 Q173012
P17
Q15617994
USER
Which administrative territories are Chaparral Cars, Team Lotus and British Racing Motors situated in ?
(Q179686,P17,c(Q15617994)) (Q173996,P17,c(Q15617994)) (Q173012,P17,c(Q15617994))
action union
action filter_type
action find
entity Q179686
relation P17
type Q15617994
action filter_type
action find
entity Q173996
relation P17
type Q15617994
action filter_type
action find
entity Q173012
relation P17
type Q15617994
['Q179686', 'P17', {'concept': 'Q15617994'}] ['Q173996', 'P17', {'concept': 'Q15617994'}] ['Q173012', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { resource:Q179686 property:P17 ?f . ?f rdf:type ontology:Q15617994 } UNION { resource:Q173996 property:P17 ?f . ?f rdf:type ontology:Q15617994 } }
Chaparral Cars Team Lotus British Racing Motors
action union
action filter_type
action find
entity Chaparral Cars
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Team Lotus
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity British Racing Motors
relation country
type designation for an administrative territorial entity
['Chaparral Cars', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Team Lotus', 'country', {'concept': 'designation for an administrative territorial entity'}] ['British Racing Motors', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { resource:Chaparral_Cars property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Team_Lotus property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
designation for an administrative territorial entity
Q30 Q145 Q145
SYSTEM
United States of America for 1st, United Kingdom for 2nd, 3rd
Q30 Q145 Q145
(Q179686,P17,c(Q15617994)) (Q173996,P17,c(Q15617994)) (Q173012,P17,c(Q15617994))
action union
action filter_type
action find
entity Q179686
relation P17
type Q15617994
action filter_type
action find
entity Q173996
relation P17
type Q15617994
action filter_type
action find
entity Q173012
relation P17
type Q15617994
[ANSWERS]
['Q179686', 'P17', {'concept': 'Q15617994'}] ['Q173996', 'P17', {'concept': 'Q15617994'}] ['Q173012', 'P17', {'concept': 'Q15617994'}]
SELECT DISTINCT ?f WHERE { { resource:Q179686 property:P17 ?f . ?f rdf:type ontology:Q15617994 } UNION { resource:Q173996 property:P17 ?f . ?f rdf:type ontology:Q15617994 } }
United States of America United Kingdom United Kingdom
United States of America United Kingdom United Kingdom
action union
action filter_type
action find
entity Chaparral Cars
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity Team Lotus
relation country
type designation for an administrative territorial entity
action filter_type
action find
entity British Racing Motors
relation country
type designation for an administrative territorial entity
['Chaparral Cars', 'country', {'concept': 'designation for an administrative territorial entity'}] ['Team Lotus', 'country', {'concept': 'designation for an administrative territorial entity'}] ['British Racing Motors', 'country', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?f WHERE { { resource:Chaparral_Cars property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { resource:Team_Lotus property:country ?f . ?f rdf:type ontology:designation_for_an_administrative_territorial_entity } }
[]
Clarification
Quantitative|Count|Logical operators|Indirect
P1001
Q161243 Q53463
USER
How many dependent territories or constitutional amendments preside the jurisdiction over that administrative territory ?
(c(Q161243),P1001,Q145) (c(Q53463),P1001,Q145) (c(Q161243),P1001,Q30) (c(Q53463),P1001,Q30) (c(Q161243),P1001,Q145) (c(Q53463),P1001,Q145) (c(Q161243),P1001,Q145) (c(Q53463),P1001,Q145)
[{'concept': 'Q161243'}, 'P1001', 'Q145'] [{'concept': 'Q53463'}, 'P1001', 'Q145'] [{'concept': 'Q161243'}, 'P1001', 'Q30'] [{'concept': 'Q53463'}, 'P1001', 'Q30'] [{'concept': 'Q161243'}, 'P1001', 'Q145'] [{'concept': 'Q53463'}, 'P1001', 'Q145'] [{'concept': 'Q161243'}, 'P1001', 'Q145'] [{'concept': 'Q53463'}, 'P1001', 'Q145']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P1001 resource:Q225249 } UNION { ?y property:P1001 resource:Q225249 } UNION { ?z property:P1001 resource:Q30 } UNION { ?y property:P1001 resource:Q30 } UNION { ?z property:P1001 resource:Q225249 } UNION { ?y property:P1001 resource:Q225249 } UNION { ?z property:P1001 resource:Q225249 } UNION { ?y property:P1001 resource:Q225249 } } . ?z rdf:type ontology:Q161243 . ?y rdf:type ontology:Q53463 }
[{'concept': 'dependent territory'}, 'applies to jurisdiction', 'United Kingdom'] [{'concept': 'constitutional amendment'}, 'applies to jurisdiction', 'United Kingdom'] [{'concept': 'dependent territory'}, 'applies to jurisdiction', 'United States of America'] [{'concept': 'constitutional amendment'}, 'applies to jurisdiction', 'United States of America'] [{'concept': 'dependent territory'}, 'applies to jurisdiction', 'United Kingdom'] [{'concept': 'constitutional amendment'}, 'applies to jurisdiction', 'United Kingdom'] [{'concept': 'dependent territory'}, 'applies to jurisdiction', 'United Kingdom'] [{'concept': 'constitutional amendment'}, 'applies to jurisdiction', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:applies_to_jurisdiction resource:United_Kingdom } UNION { ?y property:applies_to_jurisdiction resource:United_Kingdom } UNION { ?z property:applies_to_jurisdiction resource:United_States_of_America } UNION { ?y property:applies_to_jurisdiction resource:United_States_of_America } UNION { ?z property:applies_to_jurisdiction resource:United_Kingdom } UNION { ?y property:applies_to_jurisdiction resource:United_Kingdom } UNION { ?z property:applies_to_jurisdiction resource:United_Kingdom } UNION { ?y property:applies_to_jurisdiction resource:United_Kingdom } } . ?z rdf:type ontology:dependent_territory . ?y rdf:type ontology:constitutional_amendment }
[]
dependent territory constitutional amendment
Quantitative|Count|Mult. entity type|Clarification
Q145
SYSTEM
Did you mean United Kingdom ?
[ANSWER]
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P1001 resource:Q225249 } UNION { ?y property:P1001 resource:Q225249 } UNION { ?z property:P1001 resource:Q30 } UNION { ?y property:P1001 resource:Q30 } UNION { ?z property:P1001 resource:Q225249 } UNION { ?y property:P1001 resource:Q225249 } UNION { ?z property:P1001 resource:Q225249 } UNION { ?y property:P1001 resource:Q225249 } } . ?z rdf:type ontology:Q161243 . ?y rdf:type ontology:Q53463 }
Did you mean United Kingdom ?
United Kingdom
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:applies_to_jurisdiction resource:United_Kingdom } UNION { ?y property:applies_to_jurisdiction resource:United_Kingdom } UNION { ?z property:applies_to_jurisdiction resource:United_States_of_America } UNION { ?y property:applies_to_jurisdiction resource:United_States_of_America } UNION { ?z property:applies_to_jurisdiction resource:United_Kingdom } UNION { ?y property:applies_to_jurisdiction resource:United_Kingdom } UNION { ?z property:applies_to_jurisdiction resource:United_Kingdom } UNION { ?y property:applies_to_jurisdiction resource:United_Kingdom } } . ?z rdf:type ontology:dependent_territory . ?y rdf:type ontology:constitutional_amendment }
[]
Quantitative Reasoning (Count) (All)
USER
Yes
(c(Q161243),P1001,Q145) (c(Q53463),P1001,Q145) (c(Q161243),P1001,Q30) (c(Q53463),P1001,Q30) (c(Q161243),P1001,Q145) (c(Q53463),P1001,Q145) (c(Q161243),P1001,Q145) (c(Q53463),P1001,Q145)
[{'concept': 'Q161243'}, 'P1001', 'Q145'] [{'concept': 'Q53463'}, 'P1001', 'Q145'] [{'concept': 'Q161243'}, 'P1001', 'Q30'] [{'concept': 'Q53463'}, 'P1001', 'Q30'] [{'concept': 'Q161243'}, 'P1001', 'Q145'] [{'concept': 'Q53463'}, 'P1001', 'Q145'] [{'concept': 'Q161243'}, 'P1001', 'Q145'] [{'concept': 'Q53463'}, 'P1001', 'Q145']
[{'concept': 'dependent territory'}, 'applies to jurisdiction', 'United Kingdom'] [{'concept': 'constitutional amendment'}, 'applies to jurisdiction', 'United Kingdom'] [{'concept': 'dependent territory'}, 'applies to jurisdiction', 'United States of America'] [{'concept': 'constitutional amendment'}, 'applies to jurisdiction', 'United States of America'] [{'concept': 'dependent territory'}, 'applies to jurisdiction', 'United Kingdom'] [{'concept': 'constitutional amendment'}, 'applies to jurisdiction', 'United Kingdom'] [{'concept': 'dependent territory'}, 'applies to jurisdiction', 'United Kingdom'] [{'concept': 'constitutional amendment'}, 'applies to jurisdiction', 'United Kingdom']
[]
SYSTEM
11
Q15634432 Q15633215 Q15629653 Q15632496 Q12053604 Q15633218 Q7604615 Q15651546 Q15632057 Q7604619 Q15651562
(c(Q161243),P1001,Q145) (c(Q53463),P1001,Q145) (c(Q161243),P1001,Q30) (c(Q53463),P1001,Q30) (c(Q161243),P1001,Q145) (c(Q53463),P1001,Q145) (c(Q161243),P1001,Q145) (c(Q53463),P1001,Q145)
[ANSWER]
[{'concept': 'Q161243'}, 'P1001', 'Q145'] [{'concept': 'Q53463'}, 'P1001', 'Q145'] [{'concept': 'Q161243'}, 'P1001', 'Q30'] [{'concept': 'Q53463'}, 'P1001', 'Q30'] [{'concept': 'Q161243'}, 'P1001', 'Q145'] [{'concept': 'Q53463'}, 'P1001', 'Q145'] [{'concept': 'Q161243'}, 'P1001', 'Q145'] [{'concept': 'Q53463'}, 'P1001', 'Q145']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:P1001 resource:Q225249 } UNION { ?y property:P1001 resource:Q225249 } UNION { ?z property:P1001 resource:Q30 } UNION { ?y property:P1001 resource:Q30 } UNION { ?z property:P1001 resource:Q225249 } UNION { ?y property:P1001 resource:Q225249 } UNION { ?z property:P1001 resource:Q225249 } UNION { ?y property:P1001 resource:Q225249 } } . ?z rdf:type ontology:Q161243 . ?y rdf:type ontology:Q53463 }
British North America Act, 1946 Constitution Act, 1960 Statute Law Revision Act 1950 Constitution Act, 1940 British Mauritius Constitution Act, 1964 Statute Law Revision Act 1893 British North America (No. 2) Act, 1949 Constitution Act, 1915 Statute Law Revision Act 1927 British North America Act, 1951
11
[{'concept': 'dependent territory'}, 'applies to jurisdiction', 'United Kingdom'] [{'concept': 'constitutional amendment'}, 'applies to jurisdiction', 'United Kingdom'] [{'concept': 'dependent territory'}, 'applies to jurisdiction', 'United States of America'] [{'concept': 'constitutional amendment'}, 'applies to jurisdiction', 'United States of America'] [{'concept': 'dependent territory'}, 'applies to jurisdiction', 'United Kingdom'] [{'concept': 'constitutional amendment'}, 'applies to jurisdiction', 'United Kingdom'] [{'concept': 'dependent territory'}, 'applies to jurisdiction', 'United Kingdom'] [{'concept': 'constitutional amendment'}, 'applies to jurisdiction', 'United Kingdom']
SELECT DISTINCT ( COUNT ( ?z ) AS ?x ) WHERE { { { ?z property:applies_to_jurisdiction resource:United_Kingdom } UNION { ?y property:applies_to_jurisdiction resource:United_Kingdom } UNION { ?z property:applies_to_jurisdiction resource:United_States_of_America } UNION { ?y property:applies_to_jurisdiction resource:United_States_of_America } UNION { ?z property:applies_to_jurisdiction resource:United_Kingdom } UNION { ?y property:applies_to_jurisdiction resource:United_Kingdom } UNION { ?z property:applies_to_jurisdiction resource:United_Kingdom } UNION { ?y property:applies_to_jurisdiction resource:United_Kingdom } } . ?z rdf:type ontology:dependent_territory . ?y rdf:type ontology:constitutional_amendment }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q173012
P176
Q1420
USER
What was manufactured by British Racing Motors ?
(c(Q1420),P176,Q173012)
action filter_type
action find_reverse
entity Q173012
relation P176
type Q1420
[{'concept': 'Q1420'}, 'P176', 'Q173012']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q1420 . ?x property:P176 resource:Q173012 }
British Racing Motors
action filter_type
action find_reverse
entity British Racing Motors
relation manufacturer
type automobile
[{'concept': 'automobile'}, 'manufacturer', 'British Racing Motors']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:automobile . ?x property:manufacturer resource:British_Racing_Motors }
[]
automobile
Q173896
SYSTEM
BRM P153
Q173896
(c(Q1420),P176,Q173012)
action filter_type
action find_reverse
entity Q173012
relation P176
type Q1420
[ANSWER]
[{'concept': 'Q1420'}, 'P176', 'Q173012']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:Q1420 . ?x property:P176 resource:Q173012 }
BRM P153
BRM P153
action filter_type
action find_reverse
entity British Racing Motors
relation manufacturer
type automobile
[{'concept': 'automobile'}, 'manufacturer', 'British Racing Motors']
SELECT DISTINCT ?x WHERE { ?x rdf:type ontology:automobile . ?x property:manufacturer resource:British_Racing_Motors }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q173896
P641
Q1079023
USER
Which championship was that automobile a part of ?
(Q173896,P641,c(Q1079023))
action filter_type
action find
entity Q173896
relation P641
type Q1079023
['Q173896', 'P641', {'concept': 'Q1079023'}]
SELECT DISTINCT ?f WHERE { resource:Q173896 property:P641 ?f . ?f rdf:type ontology:Q1079023 }
BRM P153
action filter_type
action find
entity BRM P153
relation sport
type championship
['BRM P153', 'sport', {'concept': 'championship'}]
SELECT DISTINCT ?f WHERE { resource:BRM_P153 property:sport ?f . ?f rdf:type ontology:championship }
[]
championship
Q1968
SYSTEM
Formula One
Q1968
(Q173896,P641,c(Q1079023))
action filter_type
action find
entity Q173896
relation P641
type Q1079023
[ANSWER]
['Q173896', 'P641', {'concept': 'Q1079023'}]
SELECT DISTINCT ?f WHERE { resource:Q173896 property:P641 ?f . ?f rdf:type ontology:Q1079023 }
Formula One
Formula One
action filter_type
action find
entity BRM P153
relation sport
type championship
['BRM P153', 'sport', {'concept': 'championship'}]
SELECT DISTINCT ?f WHERE { resource:BRM_P153 property:sport ?f . ?f rdf:type ontology:championship }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q179686
P159
Q56061
USER
Which administrative territory is the HQ of Chaparral Cars ?
(Q179686,P159,c(Q56061))
action filter_type
action find
entity Q179686
relation P159
type Q56061
['Q179686', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q179686 property:P159 ?l . ?l rdf:type ontology:Q56061 }
Chaparral Cars
action filter_type
action find
entity Chaparral Cars
relation headquarters location
type administrative territorial entity
['Chaparral Cars', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Chaparral_Cars property:headquarters_location ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q128321
SYSTEM
Midland
Q128321
(Q179686,P159,c(Q56061))
action filter_type
action find
entity Q179686
relation P159
type Q56061
[ANSWER]
['Q179686', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?l WHERE { resource:Q179686 property:P159 ?l . ?l rdf:type ontology:Q56061 }
Midland
Midland
action filter_type
action find
entity Chaparral Cars
relation headquarters location
type administrative territorial entity
['Chaparral Cars', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?l WHERE { resource:Chaparral_Cars property:headquarters_location ?l . ?l rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q179686
P112
Q502895
USER
Who founded Chaparral Cars ?
(Q179686,P112,c(Q502895))
action filter_type
action find
entity Q179686
relation P112
type Q502895
['Q179686', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q179686 property:P112 ?j . ?j rdf:type ontology:Q502895 }
Chaparral Cars
action filter_type
action find
entity Chaparral Cars
relation founder
type common name
['Chaparral Cars', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Chaparral_Cars property:founder ?j . ?j rdf:type ontology:common_name }
[]
common name
Q172282 Q171960
SYSTEM
Jim Hall, Hap Sharp
Q172282 Q171960
(Q179686,P112,c(Q502895))
action filter_type
action find
entity Q179686
relation P112
type Q502895
[ANSWERS]
['Q179686', 'P112', {'concept': 'Q502895'}]
SELECT DISTINCT ?j WHERE { resource:Q179686 property:P112 ?j . ?j rdf:type ontology:Q502895 }
Jim Hall Hap Sharp
Jim Hall Hap Sharp
action filter_type
action find
entity Chaparral Cars
relation founder
type common name
['Chaparral Cars', 'founder', {'concept': 'common name'}]
SELECT DISTINCT ?j WHERE { resource:Chaparral_Cars property:founder ?j . ?j rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Mult. Entity
Q172282 Q171960
P106
Q12737077
USER
What are the professions of those people ?
(Q172282,P106,c(Q12737077)) (Q171960,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
['Q172282', 'P106', {'concept': 'Q12737077'}] ['Q171960', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q12737077 . ?v property:P106 ?w . VALUES ( ?v ) { ( resource:Q172282 ) ( resource:Q171960 ) } }
Jim Hall Hap Sharp
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Jim Hall', 'occupation', {'concept': 'occupation'}] ['Hap Sharp', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:occupation . ?v property:occupation ?w . VALUES ( ?v ) { ( resource:Jim_Hall ) ( resource:Hap_Sharp ) } }
[]
occupation
Q10841764 Q15958185 Q10841764
SYSTEM
racecar driver for 2nd, Formula One driver for 1st, 3rd
Q10841764 Q15958185 Q10841764
(Q172282,P106,c(Q12737077)) (Q171960,P106,c(Q12737077))
action filter_type
action find
entity prev_answer
relation P106
type Q12737077
[ANSWERS]
['Q172282', 'P106', {'concept': 'Q12737077'}] ['Q171960', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:Q12737077 . ?v property:P106 ?w . VALUES ( ?v ) { ( resource:Q172282 ) ( resource:Q171960 ) } }
Formula One driver racecar driver Formula One driver
Formula One driver racecar driver Formula One driver
action filter_type
action find
entity prev_answer
relation occupation
type occupation
['Jim Hall', 'occupation', {'concept': 'occupation'}] ['Hap Sharp', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?w WHERE { ?w rdf:type ontology:occupation . ?v property:occupation ?w . VALUES ( ?v ) { ( resource:Jim_Hall ) ( resource:Hap_Sharp ) } }
[]
Clarification
Simple Question|Single Entity|Indirect
Q10841764
P425
Q1079023
USER
Who is associated with the field of occupation that one ?
(Q10841764,P425,c(Q1079023))
action filter_type
action find
entity Q10841764
relation P425
type Q1079023
['Q10841764', 'P425', {'concept': 'Q1079023'}]
SELECT DISTINCT ?w WHERE { resource:Q10841764 property:P425 ?w . ?w rdf:type ontology:Q1079023 }
Formula One driver
action filter_type
action find
entity Formula One driver
relation field of this occupation
type championship
['Formula One driver', 'field of this occupation', {'concept': 'championship'}]
SELECT DISTINCT ?w WHERE { resource:Formula_One_driver property:field_of_this_occupation ?w . ?w rdf:type ontology:championship }
[]
championship
Clarification for simple ques.
Q10841764
SYSTEM
Did you mean Formula One driver ?
Q10841764 Q15958185 Q10841764
(Q10841764,P425,c(Q1079023)) (Q15958185,P425,c(Q1079023)) (Q10841764,P425,c(Q1079023))
[ANSWER]
['Q10841764', 'P425', {'concept': 'Q1079023'}] ['Q15958185', 'P425', {'concept': 'Q1079023'}] ['Q10841764', 'P425', {'concept': 'Q1079023'}]
SELECT DISTINCT ?w WHERE { resource:Q10841764 property:P425 ?w . ?w rdf:type ontology:Q1079023 }
Formula One driver racecar driver Formula One driver
Did you mean Formula One driver ?
Formula One driver
['Formula One driver', 'field of this occupation', {'concept': 'championship'}] ['racecar driver', 'field of this occupation', {'concept': 'championship'}] ['Formula One driver', 'field of this occupation', {'concept': 'championship'}]
SELECT DISTINCT ?w WHERE { resource:Formula_One_driver property:field_of_this_occupation ?w . ?w rdf:type ontology:championship }
[]
Simple Question (Coreferenced)
USER
Yes
(Q10841764,P425,c(Q1079023))
['Q10841764', 'P425', {'concept': 'Q1079023'}]
['Formula One driver', 'field of this occupation', {'concept': 'championship'}]
[]
Q1968
SYSTEM
Formula One
Q1968
(Q10841764,P425,c(Q1079023))
action filter_type
action find
entity Q10841764
relation P425
type Q1079023
[ANSWER]
['Q10841764', 'P425', {'concept': 'Q1079023'}]
SELECT DISTINCT ?w WHERE { resource:Q10841764 property:P425 ?w . ?w rdf:type ontology:Q1079023 }
Formula One
Formula One
action filter_type
action find
entity Formula One driver
relation field of this occupation
type championship
['Formula One driver', 'field of this occupation', {'concept': 'championship'}]
SELECT DISTINCT ?w WHERE { resource:Formula_One_driver property:field_of_this_occupation ?w . ?w rdf:type ontology:championship }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type
Q1016
P840
Q15617994 Q838948 Q166142
USER
Which administrative territories are the narrative locations of approximately the same number of works of art or applications as Libya ?
(c(Q838948)|c(Q166142),P840,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q1016
relation P840
type Q838948
type Q166142
[[{'concept': 'Q838948'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?a ) WHERE { VALUES ( ?x ) { ( ontology:Q838948 ) ( ontology:Q166142 ) } . ?l rdf:type ?x } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { ?m property:P840 resource:Q1016 . { ?m rdf:type ?e . VALUES ( ?e ) { ( ontology:Q838948 ) ( ontology:Q166142 ) } } } } . FILTER ( ?a = ?w ) }
Libya
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action count
action filter_multi_types
action find_reverse
entity Libya
relation narrative location
type work of art
type application
[[{'concept': 'work of art'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?a ) WHERE { VALUES ( ?x ) { ( ontology:work_of_art ) ( ontology:application ) } . ?l rdf:type ?x } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { ?m property:narrative_location resource:Libya . { ?m rdf:type ?e . VALUES ( ?e ) { ( ontology:work_of_art ) ( ontology:application ) } } } } . FILTER ( ?a = ?w ) }
[]
designation for an administrative territorial entity work of art application
Q230 Q36 Q148
SYSTEM
Georgia, Poland, People's Republic of China
Q377277 Q805 Q804 Q801 Q20837 Q278221 Q186115 Q414 Q3278 Q1948 Q145 Q262 Q148 Q189 Q265 Q47428 Q18021 Q842 Q36678 Q712 Q711 Q710 Q717 Q837 Q252 Q1460 Q399 Q403 Q1979 Q45 Q790 Q796 Q794 Q889 Q884 Q881 Q858 Q419 Q165040 Q822 Q241 Q232782 Q244 Q1974 Q490398 Q12515 Q32 Q31 Q37 Q36 Q34 Q928 Q58477 Q739 Q423 Q424 Q851 Q733 Q854 Q819 Q340628 Q769680 Q12798 Q236 Q230 Q12538 Q232 Q233 Q1093 Q20 Q1045 Q1044 Q1860611 Q1041 Q27 Q913434 Q29 Q127043 Q1027 Q2009 Q843 Q2007 Q184 Q1029 Q1028 Q511806 Q1458 Q91217 Q1452 Q227 Q225 Q163966 Q223 Q12700 Q2336399 Q3207 Q1033 Q1030 Q191 Q962 Q963 Q159689 Q298 Q114 Q41158 Q750 Q212 Q213 Q517107 Q217 Q218 Q219 Q20571 Q1210 Q912 Q2107 Q1007 Q1005 Q833 Q14859 Q2742 Q683 Q836 Q874 Q79 Q77 Q774 Q948 Q817 Q810 Q1019 Q1014 Q1016 Q1273 Q1011 Q28 Q12620 Q678 Q800 Q12545 Q1952 Q53216 Q6247
(c(Q838948)|c(Q166142),P840,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q1016
relation P840
type Q838948
type Q166142
[ANSWERS]
[[{'concept': 'Q838948'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?a ) WHERE { VALUES ( ?x ) { ( ontology:Q838948 ) ( ontology:Q166142 ) } . ?l rdf:type ?x } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { ?m property:P840 resource:Q1016 . { ?m rdf:type ?e . VALUES ( ?e ) { ( ontology:Q838948 ) ( ontology:Q166142 ) } } } } . FILTER ( ?a = ?w ) }
Glückstadt Yemen Panama Israel Fanø Berchtesgaden Montmartre Argentina Charente-Maritime Manitoba United Kingdom Algeria People's Republic of China Iceland Uzbekistan Valdobbiadene Biella Oman West Bank Fiji Mongolia Kiribati Venezuela Nepal Indonesia Sicily Armenia Serbia Prince Edward Island Portugal Haiti Iraq Iran Afghanistan South Korea Vietnam Syria Peru Duchy of Parma Lebanon Cuba Portofino Barbados British Columbia Peenemünde Gard Luxembourg Belgium Lithuania Poland Sweden Philippines Capua Colombia North Korea Cambodia Saudi Arabia Paraguay Sri Lanka Laos Aggius Bornholm Vendée Montenegro Georgia Haute-Garonne Kazakhstan Malta Limburg Norway Somalia Sierra Leone Viby Senegal Ireland Les Halles Spain Garmisch-Partenkirchen Mauritius Yukon Pakistan Northwest Territories Belarus Mozambique Morocco North Slope Borough Calabria Montepulciano Basilicata Azerbaijan Bosnia and Herzegovina Mitte Greenland Hautes-Pyrénées Baluchistan Aude Nigeria Namibia Estonia Benin Botswana Bomarzo Chile Kenya Cortina d'Ampezzo Bolivia Ukraine Czech Republic Rudolstadt Republic of Moldova Romania Bulgaria Spoleto Lombardy Mali Wuppertal Guinea-Bissau Gambia Malaysia Ansbach Münster Samoa Myanmar Turkmenistan Egypt Uruguay Guatemala Tunisia Kuwait Jordan Madagascar Liberia Libya Tuscany Cape Verde Hungary Mayenne Tonga Costa Rica Hérault Nova Scotia Aquileia Mantua
Georgia Poland People's Republic of China
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action count
action filter_multi_types
action find_reverse
entity Libya
relation narrative location
type work of art
type application
[[{'concept': 'work of art'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?i WHERE { { SELECT DISTINCT ?i ( COUNT ( ?l ) AS ?a ) WHERE { VALUES ( ?x ) { ( ontology:work_of_art ) ( ontology:application ) } . ?l rdf:type ?x } GROUP BY ?i } . { SELECT DISTINCT ( COUNT ( ?m ) AS ?w ) WHERE { ?m property:narrative_location resource:Libya . { ?m rdf:type ?e . VALUES ( ?e ) { ( ontology:work_of_art ) ( ontology:application ) } } } } . FILTER ( ?a = ?w ) }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Incomplete
Q127043
P840
Q15617994 Q838948 Q166142
USER
And also tell me about Garmisch-Partenkirchen?
(c(Q838948)|c(Q166142),P840,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q127043
relation P840
type Q838948
type Q166142
[[{'concept': 'Q838948'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) ?m WHERE { { ?l property:P840 ?m . ?l rdf:type ontology:Q838948 . ?m rdf:type ontology:Q15617994 } UNION { ?l property:P840 ?m . ?m rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q166142 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { ?c property:P840 resource:Q127043 . { { ?c rdf:type ontology:Q838948 } UNION { ?c rdf:type ontology:Q166142 } } } } . FILTER ( ?z = ?p ) }
Garmisch-Partenkirchen
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action count
action filter_multi_types
action find_reverse
entity Garmisch-Partenkirchen
relation narrative location
type work of art
type application
[[{'concept': 'work of art'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) ?m WHERE { { ?l property:narrative_location ?m . ?l rdf:type ontology:work_of_art . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?l property:narrative_location ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:application } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { ?c property:narrative_location resource:Garmisch-Partenkirchen . { { ?c rdf:type ontology:work_of_art } UNION { ?c rdf:type ontology:application } } } } . FILTER ( ?z = ?p ) }
[]
designation for an administrative territorial entity work of art application
Q230 Q36 Q148
SYSTEM
Georgia, Poland, People's Republic of China
Q377277 Q805 Q804 Q801 Q20837 Q278221 Q186115 Q414 Q3278 Q1948 Q145 Q262 Q148 Q189 Q265 Q47428 Q18021 Q842 Q36678 Q712 Q711 Q710 Q717 Q837 Q252 Q1460 Q399 Q403 Q1979 Q45 Q790 Q796 Q794 Q889 Q884 Q881 Q858 Q419 Q165040 Q822 Q241 Q232782 Q244 Q1974 Q490398 Q12515 Q32 Q31 Q37 Q36 Q34 Q928 Q58477 Q739 Q423 Q424 Q851 Q733 Q854 Q819 Q340628 Q769680 Q12798 Q236 Q230 Q12538 Q232 Q233 Q1093 Q20 Q1045 Q1044 Q1860611 Q1041 Q27 Q913434 Q29 Q127043 Q1027 Q2009 Q843 Q2007 Q184 Q1029 Q1028 Q511806 Q1458 Q91217 Q1452 Q227 Q225 Q163966 Q223 Q12700 Q2336399 Q3207 Q1033 Q1030 Q191 Q962 Q963 Q159689 Q298 Q114 Q41158 Q750 Q212 Q213 Q517107 Q217 Q218 Q219 Q20571 Q1210 Q912 Q2107 Q1007 Q1005 Q833 Q14859 Q2742 Q683 Q836 Q874 Q79 Q77 Q774 Q948 Q817 Q810 Q1019 Q1014 Q1016 Q1273 Q1011 Q28 Q12620 Q678 Q800 Q12545 Q1952 Q53216 Q6247
(c(Q838948)|c(Q166142),P840,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q838948
action find_reverse_tuple_counts
relation P840
type Q15617994
type Q166142
action count
action filter_multi_types
action find_reverse
entity Q127043
relation P840
type Q838948
type Q166142
[ANSWERS]
[[{'concept': 'Q838948'}, {'concept': 'Q166142'}], 'P840', {'concept': 'Q15617994'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) ?m WHERE { { ?l property:P840 ?m . ?l rdf:type ontology:Q838948 . ?m rdf:type ontology:Q15617994 } UNION { ?l property:P840 ?m . ?m rdf:type ontology:Q15617994 . ?l rdf:type ontology:Q166142 } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { ?c property:P840 resource:Q127043 . { { ?c rdf:type ontology:Q838948 } UNION { ?c rdf:type ontology:Q166142 } } } } . FILTER ( ?z = ?p ) }
Glückstadt Yemen Panama Israel Fanø Berchtesgaden Montmartre Argentina Charente-Maritime Manitoba United Kingdom Algeria People's Republic of China Iceland Uzbekistan Valdobbiadene Biella Oman West Bank Fiji Mongolia Kiribati Venezuela Nepal Indonesia Sicily Armenia Serbia Prince Edward Island Portugal Haiti Iraq Iran Afghanistan South Korea Vietnam Syria Peru Duchy of Parma Lebanon Cuba Portofino Barbados British Columbia Peenemünde Gard Luxembourg Belgium Lithuania Poland Sweden Philippines Capua Colombia North Korea Cambodia Saudi Arabia Paraguay Sri Lanka Laos Aggius Bornholm Vendée Montenegro Georgia Haute-Garonne Kazakhstan Malta Limburg Norway Somalia Sierra Leone Viby Senegal Ireland Les Halles Spain Garmisch-Partenkirchen Mauritius Yukon Pakistan Northwest Territories Belarus Mozambique Morocco North Slope Borough Calabria Montepulciano Basilicata Azerbaijan Bosnia and Herzegovina Mitte Greenland Hautes-Pyrénées Baluchistan Aude Nigeria Namibia Estonia Benin Botswana Bomarzo Chile Kenya Cortina d'Ampezzo Bolivia Ukraine Czech Republic Rudolstadt Republic of Moldova Romania Bulgaria Spoleto Lombardy Mali Wuppertal Guinea-Bissau Gambia Malaysia Ansbach Münster Samoa Myanmar Turkmenistan Egypt Uruguay Guatemala Tunisia Kuwait Jordan Madagascar Liberia Libya Tuscany Cape Verde Hungary Mayenne Tonga Costa Rica Hérault Nova Scotia Aquileia Mantua
Georgia Poland People's Republic of China
action approx
action union
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type work of art
action find_reverse_tuple_counts
relation narrative location
type designation for an administrative territorial entity
type application
action count
action filter_multi_types
action find_reverse
entity Garmisch-Partenkirchen
relation narrative location
type work of art
type application
[[{'concept': 'work of art'}, {'concept': 'application'}], 'narrative location', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ( COUNT ( ?l ) AS ?z ) ?m WHERE { { ?l property:narrative_location ?m . ?l rdf:type ontology:work_of_art . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity } UNION { ?l property:narrative_location ?m . ?m rdf:type ontology:designation_for_an_administrative_territorial_entity . ?l rdf:type ontology:application } } GROUP BY ?m } . { SELECT DISTINCT ( COUNT ( ?c ) AS ?p ) WHERE { ?c property:narrative_location resource:Garmisch-Partenkirchen . { { ?c rdf:type ontology:work_of_art } UNION { ?c rdf:type ontology:application } } } } . FILTER ( ?z = ?p ) }
[]
Clarification
Comparative|Count over More/Less|Single entity type|Indirect
P495
Q15617994 Q2031291
USER
How many administrative territories are the countries of origin of around the same number of releases as that administrative territory ?
(c(Q2031291),P495,c(Q15617994))
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity release
Comparative|Count over More/Less|Single entity type|Clarification
Q148
SYSTEM
Did you mean People's Republic of China ?
(c(Q2031291),P495,c(Q15617994))
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
Did you mean People's Republic of China ?
People's Republic of China
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (Count) (All)
USER
Yes
(c(Q2031291),P495,c(Q15617994))
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
[]
SYSTEM
168
Q805 Q804 Q801 Q800 Q1462 Q419 Q668 Q414 Q142 Q55 Q145 Q12536 Q262 Q148 Q783 Q265 Q37 Q36678 Q712 Q711 Q717 Q837 Q252 Q1460 Q399 Q398 Q403 Q657 Q258 Q45 Q159 Q43 Q41 Q155 Q792 Q790 Q4628 Q796 Q794 Q954 Q889 Q884 Q958 Q881 Q986 Q826 Q822 Q241 Q242 Q244 Q811 Q153136 Q33 Q32 Q31 Q924 Q36 Q34 Q928 Q39 Q38 Q739 Q423 Q983 Q851 Q733 Q29999 Q854 Q819 Q424 Q730 Q1013 Q159626 Q236 Q230 Q232 Q233 Q238 Q20 Q1045 Q1044 Q1041 Q27 Q28 Q921 Q1049 Q1025 Q1027 Q1020 Q189 Q843 Q184 Q1029 Q1028 Q736 Q786 Q227 Q225 Q224 Q223 Q222 Q221 Q96 Q229 Q347 Q17 Q902 Q1036 Q1037 Q974 Q1032 Q1033 Q1030 Q191 Q965 Q967 Q962 Q963 Q298 Q115 Q114 Q117 Q754 Q750 Q212 Q213 Q211 Q217 Q214 Q215 Q218 Q219 Q912 Q917 Q916 Q1007 Q1006 Q1005 Q833 Q1009 Q1008 Q971 Q970 Q239502 Q686 Q836 Q574 Q874 Q79 Q77 Q858 Q878 Q774 Q948 Q817 Q810 Q1019 Q813 Q1014 Q1016 Q1011 Q945 Q29 Q672 Q176 Q863 Q869 Q953
(c(Q2031291),P495,c(Q15617994))
[ANSWER]
[{'concept': 'Q2031291'}, 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:P495 ?y . ?z rdf:type ontology:Q2031291 . ?y rdf:type ontology:Q15617994 }
Yemen Panama Israel Costa Rica Sardinia Peru India Argentina France Netherlands United Kingdom Abbasid caliphate Algeria People's Republic of China Honduras Uzbekistan Lithuania West Bank Fiji Mongolia Venezuela Nepal Indonesia Sicily Armenia Bahrain Serbia Chad South Africa Portugal Russia Turkey Greece Brazil El Salvador Haiti Faroe Islands Iraq Iran Zimbabwe Afghanistan South Korea South Sudan Vietnam Eritrea Maldives Lebanon Cuba Belize Barbados Nicaragua Habsburg Empire Finland Luxembourg Belgium Tanzania Poland Sweden Philippines Switzerland Italy Colombia North Korea Equatorial Guinea Saudi Arabia Paraguay Kingdom of the Netherlands Sri Lanka Laos Cambodia Suriname Lesotho Württemberg Montenegro Georgia Kazakhstan Malta San Marino Norway Somalia Sierra Leone Senegal Ireland Hungary Brunei Sudan Mauritania Mauritius Malawi Iceland Pakistan Belarus Mozambique Morocco Ecuador Dominican Republic Azerbaijan Bosnia and Herzegovina Croatia Greenland Albania Republic of Macedonia Mexico Cyprus Liechtenstein Japan Bangladesh Uganda Rwanda Democratic Republic of the Congo Niger Nigeria Namibia Estonia Burkina Faso Burundi Benin Botswana Chile Ethiopia Kenya Ghana Trinidad and Tobago Bolivia Ukraine Czech Republic Latvia Republic of Moldova Slovakia Slovenia Romania Bulgaria Mali Bhutan Angola Guinea-Bissau Guinea Gambia Malaysia Cameroon Côte d'Ivoire Republic of the Congo Comoros Kingdom of Galicia–Volhynia Vanuatu Myanmar East Timor Turkmenistan Egypt Uruguay Syria United Arab Emirates Guatemala Tunisia Kuwait Jordan Madagascar Kyrgyzstan Liberia Libya Cape Verde Togo Spain Tuvalu Quebec Tajikistan Thailand Zambia
168
[{'concept': 'release'}, 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( * ) AS ?x ) WHERE { ?z property:country_of_origin ?y . ?z rdf:type ontology:release . ?y rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]