Simple Question (Direct)
Simple Question
Q5421289
P27
Q15617994
USER
Which administrative territory is the native country of Marion Fairfax ?
(Q5421289,P27,c(Q15617994))
action filter_type
action find
entity Q5421289
relation P27
type Q15617994
['Q5421289', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q5421289 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
Marion Fairfax
action filter_type
action find
entity Marion Fairfax
relation country of citizenship
type designation for an administrative territorial entity
['Marion Fairfax', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Marion_Fairfax property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q30
SYSTEM
United States of America
Q30
(Q5421289,P27,c(Q15617994))
action filter_type
action find
entity Q5421289
relation P27
type Q15617994
The [ANSWER] is the native country of Marion Fairfax
['Q5421289', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { resource:Q5421289 property:P27 ?u . ?u rdf:type ontology:Q15617994 }
United States of America
The United States of America is the native country of Marion Fairfax
United States of America
action filter_type
action find
entity Marion Fairfax
relation country of citizenship
type designation for an administrative territorial entity
['Marion Fairfax', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { resource:Marion_Fairfax property:country_of_citizenship ?u . ?u rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q5421289
P26
Q502895
USER
Which person is the spouse of that one ?
(Q30,P26,c(Q502895))
action filter_type
action find
entity Q5421289
relation P26
type Q502895
['Q30', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q5421289 property:P26 ?a }
Marion Fairfax
action filter_type
action find
entity Marion Fairfax
relation spouse
type common name
['United States of America', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Marion_Fairfax property:spouse ?a }
[]
common name
Q2063267
SYSTEM
Tully Marshall
Q2063267
(Q30,P26,c(Q502895))
action filter_type
action find
entity Q5421289
relation P26
type Q502895
[ANSWER] is the spouse of that one
['Q30', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Q502895 . resource:Q5421289 property:P26 ?a }
Tully Marshall
Tully Marshall is the spouse of that one
Tully Marshall
action filter_type
action find
entity Marion Fairfax
relation spouse
type common name
['United States of America', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:common_name . resource:Marion_Fairfax property:spouse ?a }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5421289
P19
Q852446
USER
Which US administrative territory was Marion Fairfax born at ?
(Q5421289,P19,c(Q852446))
action filter_type
action find
entity Q5421289
relation P19
type Q852446
['Q5421289', 'P19', {'concept': 'Q852446'}]
SELECT DISTINCT ?u WHERE { resource:Q5421289 property:P19 ?u . ?u rdf:type ontology:Q852446 }
Marion Fairfax
action filter_type
action find
entity Marion Fairfax
relation place of birth
type administrative territorial entity of the United States
['Marion Fairfax', 'place of birth', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?u WHERE { resource:Marion_Fairfax property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
administrative territorial entity of the United States
Q43421
SYSTEM
Richmond
Q43421
(Q5421289,P19,c(Q852446))
action filter_type
action find
entity Q5421289
relation P19
type Q852446
Which US administrative territory was Marion Fairfax born at
['Q5421289', 'P19', {'concept': 'Q852446'}]
SELECT DISTINCT ?u WHERE { resource:Q5421289 property:P19 ?u . ?u rdf:type ontology:Q852446 }
Richmond
Which US administrative territory was Marion Fairfax born at
Richmond
action filter_type
action find
entity Marion Fairfax
relation place of birth
type administrative territorial entity of the United States
['Marion Fairfax', 'place of birth', {'concept': 'administrative territorial entity of the United States'}]
SELECT DISTINCT ?u WHERE { resource:Marion_Fairfax property:place_of_birth ?u . ?u rdf:type ontology:administrative_territorial_entity_of_the_United_States }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q43421 Q485176 Q3935
P190
Q515
USER
Is that US administrative territory twin town of Pasadena and Windhoek ?
(Q43421,P190,Q485176) (Q43421,P190,Q3935)
action is_in
entity Q43421
action intersection
action find_reverse
entity Q485176
relation P190
action find_reverse
entity Q3935
relation P190
['Q43421', 'P190', 'Q485176'] ['Q43421', 'P190', 'Q3935']
ASK WHERE { resource:Q43421 property:P190 resource:Q485176 . resource:Q43421 property:P190 resource:Q3935 }
Richmond Pasadena Windhoek
action is_in
entity Richmond
action intersection
action find_reverse
entity Pasadena
relation sister city
action find_reverse
entity Windhoek
relation sister city
['Richmond', 'sister city', 'Pasadena'] ['Richmond', 'sister city', 'Windhoek']
ASK WHERE { resource:Richmond property:sister_city resource:Pasadena . resource:Richmond property:sister_city resource:Windhoek }
[]
city
SYSTEM
NO and YES respectively
(Q43421,P190,Q485176) (Q43421,P190,Q3935)
action is_in
entity Q43421
action intersection
action find_reverse
entity Q485176
relation P190
action find_reverse
entity Q3935
relation P190
[ANSWER]
['Q43421', 'P190', 'Q485176'] ['Q43421', 'P190', 'Q3935']
ASK WHERE { resource:Q43421 property:P190 resource:Q485176 . resource:Q43421 property:P190 resource:Q3935 }
NO and YES respectively
action is_in
entity Richmond
action intersection
action find_reverse
entity Pasadena
relation sister city
action find_reverse
entity Windhoek
relation sister city
['Richmond', 'sister city', 'Pasadena'] ['Richmond', 'sister city', 'Windhoek']
ASK WHERE { resource:Richmond property:sister_city resource:Pasadena . resource:Richmond property:sister_city resource:Windhoek }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P194
Q11204 Q701632 Q15617994
USER
How many administrative territories have exactly 2 legislatures and municipal councils as their legislative body ?
(c(Q15617994),P194,c(Q11204)|c(Q701632))
action count
action equal
action union
action find_tuple_counts
relation P194
type Q15617994
type Q11204
action find_tuple_counts
relation P194
type Q15617994
type Q701632
value 2
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q11204'}, {'concept': 'Q701632'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { FILTER ( ?h = 2 ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) ?w WHERE { ?l rdf:type ?s . VALUES ( ?s ) { ( ontology:Q701632 ) ( ontology:Q11204 ) } } GROUP BY ?w } }
action count
action equal
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'legislature'}, {'concept': 'municipal council'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { FILTER ( ?h = 2 ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) ?w WHERE { ?l rdf:type ?s . VALUES ( ?s ) { ( ontology:municipal_council ) ( ontology:legislature ) } } GROUP BY ?w } }
[]
legislature municipal council designation for an administrative territorial entity
SYSTEM
1
Q948
(c(Q15617994),P194,c(Q11204)|c(Q701632))
action count
action equal
action union
action find_tuple_counts
relation P194
type Q15617994
type Q11204
action find_tuple_counts
relation P194
type Q15617994
type Q701632
value 2
[ANSWER]
[{'concept': 'Q15617994'}, 'P194', [{'concept': 'Q11204'}, {'concept': 'Q701632'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { FILTER ( ?h = 2 ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) ?w WHERE { ?l rdf:type ?s . VALUES ( ?s ) { ( ontology:Q701632 ) ( ontology:Q11204 ) } } GROUP BY ?w } }
Tunisia
1
action count
action equal
action union
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type legislature
action find_tuple_counts
relation legislative body
type designation for an administrative territorial entity
type municipal council
value 2
[{'concept': 'designation for an administrative territorial entity'}, 'legislative body', [{'concept': 'legislature'}, {'concept': 'municipal council'}]]
SELECT DISTINCT ( COUNT ( ?w ) AS ?t ) WHERE { FILTER ( ?h = 2 ) . { SELECT DISTINCT ( COUNT ( ?l ) AS ?h ) ?w WHERE { ?l rdf:type ?s . VALUES ( ?s ) { ( ontology:municipal_council ) ( ontology:legislature ) } } GROUP BY ?w } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q5421289
P58
Q201658
USER
How many film genres are Marion Fairfax a screenwriter of ?
(c(Q201658),P58,Q5421289)
action count
action filter_type
action find_reverse
entity Q5421289
relation P58
type Q201658
[{'concept': 'Q201658'}, 'P58', 'Q5421289']
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { ?t property:P58 resource:Q5421289 . ?t rdf:type ontology:Q201658 }
Marion Fairfax
action count
action filter_type
action find_reverse
entity Marion Fairfax
relation screenwriter
type film genre
[{'concept': 'film genre'}, 'screenwriter', 'Marion Fairfax']
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { ?t property:screenwriter resource:Marion_Fairfax . ?t rdf:type ontology:film_genre }
[]
film genre
SYSTEM
7
Q17426173 Q7084393 Q5153367 Q2108759 Q1219785 Q3989816 Q5135553
(c(Q201658),P58,Q5421289)
action count
action filter_type
action find_reverse
entity Q5421289
relation P58
type Q201658
[ANSWER]
[{'concept': 'Q201658'}, 'P58', 'Q5421289']
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { ?t property:P58 resource:Q5421289 . ?t rdf:type ontology:Q201658 }
Love Insurance Old Loves and New Common Ground Through the Back Door The Lost World The Valley of the Giants Clothes Make the Pirate
7
action count
action filter_type
action find_reverse
entity Marion Fairfax
relation screenwriter
type film genre
[{'concept': 'film genre'}, 'screenwriter', 'Marion Fairfax']
SELECT DISTINCT ( COUNT ( ?t ) AS ?i ) WHERE { ?t property:screenwriter resource:Marion_Fairfax . ?t rdf:type ontology:film_genre }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q43421 Q758635
P190
Q515
USER
How many cities are sister towns of Richmond or Auckland Council ?
(Q43421,P190,c(Q515)) (Q758635,P190,c(Q515))
action count
action union
action filter_type
action find
entity Q43421
relation P190
type Q515
action filter_type
action find
entity Q758635
relation P190
type Q515
['Q43421', 'P190', {'concept': 'Q515'}] ['Q758635', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { { resource:Q43421 property:P190 ?x . ?x rdf:type ontology:Q515 } UNION { resource:Q758635 property:P190 ?x . ?x rdf:type ontology:Q515 } }
Richmond Auckland Council
action count
action union
action filter_type
action find
entity Richmond
relation sister city
type city
action filter_type
action find
entity Auckland Council
relation sister city
type city
['Richmond', 'sister city', {'concept': 'city'}] ['Auckland Council', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { { resource:Richmond property:sister_city ?x . ?x rdf:type ontology:city } UNION { resource:Auckland_Council property:sister_city ?x . ?x rdf:type ontology:city } }
[]
city
SYSTEM
4
Q3935 Q16520 Q873835 Q26600
(Q43421,P190,c(Q515)) (Q758635,P190,c(Q515))
action count
action union
action filter_type
action find
entity Q43421
relation P190
type Q515
action filter_type
action find
entity Q758635
relation P190
type Q515
[ANSWER]
['Q43421', 'P190', {'concept': 'Q515'}] ['Q758635', 'P190', {'concept': 'Q515'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { { resource:Q43421 property:P190 ?x . ?x rdf:type ontology:Q515 } UNION { resource:Q758635 property:P190 ?x . ?x rdf:type ontology:Q515 } }
Windhoek Busan Tomioka Fukuoka
4
action count
action union
action filter_type
action find
entity Richmond
relation sister city
type city
action filter_type
action find
entity Auckland Council
relation sister city
type city
['Richmond', 'sister city', {'concept': 'city'}] ['Auckland Council', 'sister city', {'concept': 'city'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?v ) WHERE { { resource:Richmond property:sister_city ?x . ?x rdf:type ontology:city } UNION { resource:Auckland_Council property:sister_city ?x . ?x rdf:type ontology:city } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q5421289
P69
Q163740
USER
Which nonprofit organization is Marion Fairfax an alumni of ?
(Q5421289,P69,c(Q163740))
action filter_type
action find
entity Q5421289
relation P69
type Q163740
['Q5421289', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?a WHERE { resource:Q5421289 property:P69 ?a . ?a rdf:type ontology:Q163740 }
Marion Fairfax
action filter_type
action find
entity Marion Fairfax
relation educated at
type nonprofit organization
['Marion Fairfax', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?a WHERE { resource:Marion_Fairfax property:educated_at ?a . ?a rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q1335573
SYSTEM
Emerson College
Q1335573
(Q5421289,P69,c(Q163740))
action filter_type
action find
entity Q5421289
relation P69
type Q163740
The [ANSWER] is Marion Fairfax an alumni of
['Q5421289', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?a WHERE { resource:Q5421289 property:P69 ?a . ?a rdf:type ontology:Q163740 }
Emerson College
The Emerson College is Marion Fairfax an alumni of
Emerson College
action filter_type
action find
entity Marion Fairfax
relation educated at
type nonprofit organization
['Marion Fairfax', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?a WHERE { resource:Marion_Fairfax property:educated_at ?a . ?a rdf:type ontology:nonprofit_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q43421
P163
Q17335294
USER
What is associated with Richmond ?
(Q43421,P163,c(Q17335294))
action filter_type
action find
entity Q43421
relation P163
type Q17335294
['Q43421', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?t WHERE { resource:Q43421 property:P163 ?t . ?t rdf:type ontology:Q17335294 }
Richmond
action filter_type
action find
entity Richmond
relation flag
type flag or coat of arms
['Richmond', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?t WHERE { resource:Richmond property:flag ?t . ?t rdf:type ontology:flag_or_coat_of_arms }
[]
flag or coat of arms
Q5456811
SYSTEM
Flag of Richmond
Q5456811
(Q43421,P163,c(Q17335294))
action filter_type
action find
entity Q43421
relation P163
type Q17335294
Richmond [ANSWER] is associated with Richmond
['Q43421', 'P163', {'concept': 'Q17335294'}]
SELECT DISTINCT ?t WHERE { resource:Q43421 property:P163 ?t . ?t rdf:type ontology:Q17335294 }
Flag of Richmond
Richmond Flag of Richmond is associated with Richmond
Flag of Richmond
action filter_type
action find
entity Richmond
relation flag
type flag or coat of arms
['Richmond', 'flag', {'concept': 'flag or coat of arms'}]
SELECT DISTINCT ?t WHERE { resource:Richmond property:flag ?t . ?t rdf:type ontology:flag_or_coat_of_arms }
[]