Simple Question (Direct)
Simple Question
Q4460331
P21
Q290
USER
What is the sex of Dorothy Thompson ?
(Q4460331,P21,c(Q290))
action filter_type
action find
entity Q4460331
relation P21
type Q290
['Q4460331', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q4460331 property:P21 ?r . ?r rdf:type ontology:Q290 }
Dorothy Thompson
action filter_type
action find
entity Dorothy Thompson
relation gender
type sex
['Dorothy Thompson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Dorothy_Thompson property:gender ?r . ?r rdf:type ontology:sex }
[]
sex
Q6581072
SYSTEM
female
Q6581072
(Q4460331,P21,c(Q290))
action filter_type
action find
entity Q4460331
relation P21
type Q290
The sex of Dorothy Thompson is the [ANSWER]
['Q4460331', 'P21', {'concept': 'Q290'}]
SELECT DISTINCT ?r WHERE { resource:Q4460331 property:P21 ?r . ?r rdf:type ontology:Q290 }
female
The sex of Dorothy Thompson is the female
female
action filter_type
action find
entity Dorothy Thompson
relation gender
type sex
['Dorothy Thompson', 'gender', {'concept': 'sex'}]
SELECT DISTINCT ?r WHERE { resource:Dorothy_Thompson property:gender ?r . ?r rdf:type ontology:sex }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q4460331
P26
Q502895
USER
Which person is the life partner of that one ?
(Q6581072,P26,c(Q502895))
action filter_type
action find
entity Q4460331
relation P26
type Q502895
['Q6581072', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q4460331 property:P26 ?l . ?l rdf:type ontology:Q502895 }
Dorothy Thompson
action filter_type
action find
entity Dorothy Thompson
relation spouse
type common name
['female', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Dorothy_Thompson property:spouse ?l . ?l rdf:type ontology:common_name }
[]
common name
Q434160
SYSTEM
E. P. Thompson
Q434160
(Q6581072,P26,c(Q502895))
action filter_type
action find
entity Q4460331
relation P26
type Q502895
[ANSWER] is the life partner of that one
['Q6581072', 'P26', {'concept': 'Q502895'}]
SELECT DISTINCT ?l WHERE { resource:Q4460331 property:P26 ?l . ?l rdf:type ontology:Q502895 }
E. P. Thompson
E. P. Thompson is the life partner of that one
E. P. Thompson
action filter_type
action find
entity Dorothy Thompson
relation spouse
type common name
['female', 'spouse', {'concept': 'common name'}]
SELECT DISTINCT ?l WHERE { resource:Dorothy_Thompson property:spouse ?l . ?l rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|3 entities, 2 direct, 2(direct) are query entities, subject is indirect
Q434160 Q989598 Q256373
P27
Q15617994
USER
Is that person a native of Sinimäe and Waltersdorf, Thuringia ?
(Q434160,P27,Q989598) (Q434160,P27,Q256373)
action is_in
entity Q434160
action intersection
action find_reverse
entity Q989598
relation P27
action find_reverse
entity Q256373
relation P27
['Q434160', 'P27', 'Q989598'] ['Q434160', 'P27', 'Q256373']
ASK WHERE { resource:Q434160 property:P27 resource:Q256373 . resource:Q434160 property:P27 resource:Q989598 }
E. P. Thompson Sinimäe Waltersdorf, Thuringia
action is_in
entity E. P. Thompson
action intersection
action find_reverse
entity Sinimäe
relation country of citizenship
action find_reverse
entity Waltersdorf, Thuringia
relation country of citizenship
['E. P. Thompson', 'country of citizenship', 'Sinimäe'] ['E. P. Thompson', 'country of citizenship', 'Waltersdorf, Thuringia']
ASK WHERE { resource:E._P._Thompson property:country_of_citizenship resource:Waltersdorf,_Thuringia . resource:E._P._Thompson property:country_of_citizenship resource:Sinimäe }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q434160,P27,Q989598) (Q434160,P27,Q256373)
action is_in
entity Q434160
action intersection
action find_reverse
entity Q989598
relation P27
action find_reverse
entity Q256373
relation P27
[ANSWER]
['Q434160', 'P27', 'Q989598'] ['Q434160', 'P27', 'Q256373']
ASK WHERE { resource:Q434160 property:P27 resource:Q256373 . resource:Q434160 property:P27 resource:Q989598 }
No
action is_in
entity E. P. Thompson
action intersection
action find_reverse
entity Sinimäe
relation country of citizenship
action find_reverse
entity Waltersdorf, Thuringia
relation country of citizenship
['E. P. Thompson', 'country of citizenship', 'Sinimäe'] ['E. P. Thompson', 'country of citizenship', 'Waltersdorf, Thuringia']
ASK WHERE { resource:E._P._Thompson property:country_of_citizenship resource:Waltersdorf,_Thuringia . resource:E._P._Thompson property:country_of_citizenship resource:Sinimäe }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q434160
P22
Q502895
USER
Which person has that one as dad ?
action filter_type
action find_reverse
entity Q434160
relation P22
type Q502895
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . ?f property:P22 resource:Q434160 }
E. P. Thompson
action filter_type
action find_reverse
entity E. P. Thompson
relation father
type common name
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . ?f property:father resource:E._P._Thompson }
[]
common name
Q276607
SYSTEM
Kate Thompson
Q276607
action filter_type
action find_reverse
entity Q434160
relation P22
type Q502895
[ANSWER] has that one as dad
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:Q502895 . ?f property:P22 resource:Q434160 }
Kate Thompson
Kate Thompson has that one as dad
Kate Thompson
action filter_type
action find_reverse
entity E. P. Thompson
relation father
type common name
SELECT DISTINCT ?f WHERE { ?f rdf:type ontology:common_name . ?f property:father resource:E._P._Thompson }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q128309
P1303
Q34379 Q502895
USER
How many musical instruments are played by approximately the same number of people as drum kit ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q128309
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?d ) WHERE { ?p property:P1303 ?k . ?k rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 } GROUP BY ?k } . FILTER ( ?d = ?z ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { resource:Q128309 property:P1303 ?i . ?i rdf:type ontology:Q34379 } } }
drum kit
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity drum kit
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?d ) WHERE { ?p property:instrument ?k . ?k rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name } GROUP BY ?k } . FILTER ( ?d = ?z ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { resource:drum_kit property:instrument ?i . ?i rdf:type ontology:musical_instrument } } }
[]
musical instrument common name
SYSTEM
5
Q46185 Q8338 Q8371 Q1444 Q128309
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q128309
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?d ) WHERE { ?p property:P1303 ?k . ?k rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 } GROUP BY ?k } . FILTER ( ?d = ?z ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { resource:Q128309 property:P1303 ?i . ?i rdf:type ontology:Q34379 } } }
bass guitar trumpet cello organ drum kit
5
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity drum kit
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?k ) AS ?n ) WHERE { { SELECT DISTINCT ?k ( COUNT ( ?p ) AS ?d ) WHERE { ?p property:instrument ?k . ?k rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name } GROUP BY ?k } . FILTER ( ?d = ?z ) . { SELECT DISTINCT ( COUNT ( ?i ) AS ?z ) WHERE { resource:drum_kit property:instrument ?i . ?i rdf:type ontology:musical_instrument } } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q16155191
P1303
Q34379 Q502895
USER
And also tell me about Saraswati veena?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q16155191
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { FILTER ( ?p = ?q ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { resource:Q16155191 property:P1303 ?z . ?z rdf:type ontology:Q34379 } } . { SELECT DISTINCT ?f ( COUNT ( ?r ) AS ?p ) WHERE { ?r property:P1303 ?f . ?r rdf:type ontology:Q502895 . ?f rdf:type ontology:Q34379 } GROUP BY ?f } }
Saraswati veena
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Saraswati veena
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { FILTER ( ?p = ?q ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { resource:Saraswati_veena property:instrument ?z . ?z rdf:type ontology:musical_instrument } } . { SELECT DISTINCT ?f ( COUNT ( ?r ) AS ?p ) WHERE { ?r property:instrument ?f . ?r rdf:type ontology:common_name . ?f rdf:type ontology:musical_instrument } GROUP BY ?f } }
[]
musical instrument common name
SYSTEM
60
Q80284 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q1129422 Q379248 Q726306 Q173453 Q483994 Q744831 Q963150 Q16155191 Q644440 Q1343007 Q11404 Q497224 Q3623688
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
action count
action filter_type
action find
entity Q16155191
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { FILTER ( ?p = ?q ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { resource:Q16155191 property:P1303 ?z . ?z rdf:type ontology:Q34379 } } . { SELECT DISTINCT ?f ( COUNT ( ?r ) AS ?p ) WHERE { ?r property:P1303 ?f . ?r rdf:type ontology:Q502895 . ?f rdf:type ontology:Q34379 } GROUP BY ?f } }
viola lyre acoustic bass guitar Body percussion double bass davul steel-string acoustic guitar Temple block Irish bouzouki maraca tonbak Twelve-string guitar harpsichord Nyckelharpa Ondioline Jinghu player piano electronic musical instrument vibraphone spoon timpani Wurlitzer electric piano string instrument clavinet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
60
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
action count
action filter_type
action find
entity Saraswati veena
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?f ) AS ?y ) WHERE { FILTER ( ?p = ?q ) . { SELECT DISTINCT ( COUNT ( ?z ) AS ?q ) WHERE { resource:Saraswati_veena property:instrument ?z . ?z rdf:type ontology:musical_instrument } } . { SELECT DISTINCT ?f ( COUNT ( ?r ) AS ?p ) WHERE { ?r property:instrument ?f . ?r rdf:type ontology:common_name . ?f rdf:type ontology:musical_instrument } GROUP BY ?f } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type
Q434160
P50
Q2342494
USER
How many collectables are E. P. Thompson an author of ?
(c(Q2342494),P50,Q434160)
action count
action filter_type
action find_reverse
entity Q434160
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q434160']
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d rdf:type ontology:Q2342494 . ?d property:P50 resource:Q434160 }
E. P. Thompson
action count
action filter_type
action find_reverse
entity E. P. Thompson
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'E. P. Thompson']
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d rdf:type ontology:collectable . ?d property:author resource:E._P._Thompson }
[]
collectable
SYSTEM
3
Q7767797 Q8028389 Q913804
(c(Q2342494),P50,Q434160)
action count
action filter_type
action find_reverse
entity Q434160
relation P50
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P50', 'Q434160']
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d rdf:type ontology:Q2342494 . ?d property:P50 resource:Q434160 }
The Sykaos Papers Witness Against the Beast The Making of the English Working Class
3
action count
action filter_type
action find_reverse
entity E. P. Thompson
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'E. P. Thompson']
SELECT DISTINCT ( COUNT ( ?d ) AS ?i ) WHERE { ?d rdf:type ontology:collectable . ?d property:author resource:E._P._Thompson }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Single entity type|Incomplete
Q11059278
P50
Q2342494
USER
And also tell me about Gregoire Maertens?
(c(Q2342494),P50,Q11059278)
action count
action filter_type
action find_reverse
entity Q11059278
relation P50
type Q2342494
[{'concept': 'Q2342494'}, 'P50', 'Q11059278']
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { ?p property:P50 resource:Q11059278 . ?p rdf:type ontology:Q2342494 }
Gregoire Maertens
action count
action filter_type
action find_reverse
entity Gregoire Maertens
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Gregoire Maertens']
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { ?p property:author resource:Gregoire_Maertens . ?p rdf:type ontology:collectable }
[]
collectable
SYSTEM
1
Q15545540
(c(Q2342494),P50,Q11059278)
action count
action filter_type
action find_reverse
entity Q11059278
relation P50
type Q2342494
[ANSWER]
[{'concept': 'Q2342494'}, 'P50', 'Q11059278']
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { ?p property:P50 resource:Q11059278 . ?p rdf:type ontology:Q2342494 }
La arto labori kune : festlibro por Humphrey Tonkin
1
action count
action filter_type
action find_reverse
entity Gregoire Maertens
relation author
type collectable
[{'concept': 'collectable'}, 'author', 'Gregoire Maertens']
SELECT DISTINCT ( COUNT ( ?p ) AS ?w ) WHERE { ?p property:author resource:Gregoire_Maertens . ?p rdf:type ontology:collectable }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q3116668 Q989598
P17
Q15617994
USER
Which administrative territories are Sinimäe or Prijaci located in ?
OR((Q989598,P17,c(Q15617994)), (Q3116668,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q989598
relation P17
action find
entity Q3116668
relation P17
type Q15617994
{'OR': [['Q989598', 'P17', {'concept': 'Q15617994'}], ['Q3116668', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q989598 property:P17 ?i } UNION { resource:Q3116668 property:P17 ?i } } . ?i rdf:type ontology:Q15617994 }
Prijaci Sinimäe
action filter_type
action union
action find
entity Sinimäe
relation country
action find
entity Prijaci
relation country
type designation for an administrative territorial entity
{'OR': [['Sinimäe', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Prijaci', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Sinimäe property:country ?i } UNION { resource:Prijaci property:country ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q191 Q225
SYSTEM
Estonia, Bosnia and Herzegovina
Q191 Q225
OR((Q989598,P17,c(Q15617994)), (Q3116668,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q989598
relation P17
action find
entity Q3116668
relation P17
type Q15617994
[ANSWERS] are Sinimäe or Prijaci located in
{'OR': [['Q989598', 'P17', {'concept': 'Q15617994'}], ['Q3116668', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q989598 property:P17 ?i } UNION { resource:Q3116668 property:P17 ?i } } . ?i rdf:type ontology:Q15617994 }
Estonia Bosnia and Herzegovina
Estonia and Bosnia and Herzegovina are Sinimäe or Prijaci located in
Estonia Bosnia and Herzegovina
action filter_type
action union
action find
entity Sinimäe
relation country
action find
entity Prijaci
relation country
type designation for an administrative territorial entity
{'OR': [['Sinimäe', 'country', {'concept': 'designation for an administrative territorial entity'}], ['Prijaci', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Sinimäe property:country ?i } UNION { resource:Prijaci property:country ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q5168483
P710
Q15275719
USER
Were those administrative territories a participant of Copenhagen International Documentary Festival ?
(Q5168483,P710,Q191) (Q5168483,P710,Q225)
action is_in
entity prev_answer
action find
entity Q5168483
relation P710
['Q5168483', 'P710', 'Q191'] ['Q5168483', 'P710', 'Q225']
ASK WHERE { VALUES ( ?u ) { ( resource:Q191 ) ( resource:Q225 ) } . resource:Q5168483 property:P710 ?u }
Copenhagen International Documentary Festival
action is_in
entity prev_answer
action find
entity Copenhagen International Documentary Festival
relation participant
['Copenhagen International Documentary Festival', 'participant', 'Estonia'] ['Copenhagen International Documentary Festival', 'participant', 'Bosnia and Herzegovina']
ASK WHERE { VALUES ( ?u ) { ( resource:Estonia ) ( resource:Bosnia_and_Herzegovina ) } . resource:Copenhagen_International_Documentary_Festival property:participant ?u }
[]
recurring event
SYSTEM
NO
(Q5168483,P710,Q191) (Q5168483,P710,Q225)
action is_in
entity prev_answer
action find
entity Q5168483
relation P710
[ANSWER]
['Q5168483', 'P710', 'Q191'] ['Q5168483', 'P710', 'Q225']
ASK WHERE { VALUES ( ?u ) { ( resource:Q191 ) ( resource:Q225 ) } . resource:Q5168483 property:P710 ?u }
No
action is_in
entity prev_answer
action find
entity Copenhagen International Documentary Festival
relation participant
['Copenhagen International Documentary Festival', 'participant', 'Estonia'] ['Copenhagen International Documentary Festival', 'participant', 'Bosnia and Herzegovina']
ASK WHERE { VALUES ( ?u ) { ( resource:Estonia ) ( resource:Bosnia_and_Herzegovina ) } . resource:Copenhagen_International_Documentary_Festival property:participant ?u }
[]
Logical Reasoning (All)
Logical|Union|Single_Relation
Q2328783 Q434160
P27
Q15617994
USER
Which administrative territories are E. P. Thompson or François-Dominique Mosselman a civilian of ?
OR((Q434160,P27,c(Q15617994)), (Q2328783,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q434160
relation P27
action find
entity Q2328783
relation P27
type Q15617994
{'OR': [['Q434160', 'P27', {'concept': 'Q15617994'}], ['Q2328783', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q434160 property:P27 ?j } UNION { resource:Q2328783 property:P27 ?j } } . ?j rdf:type ontology:Q15617994 }
François-Dominique Mosselman E. P. Thompson
action filter_type
action union
action find
entity E. P. Thompson
relation country of citizenship
action find
entity François-Dominique Mosselman
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['E. P. Thompson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['François-Dominique Mosselman', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:E._P._Thompson property:country_of_citizenship ?j } UNION { resource:François-Dominique_Mosselman property:country_of_citizenship ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q31 Q145
SYSTEM
Belgium, United Kingdom
Q31 Q145
OR((Q434160,P27,c(Q15617994)), (Q2328783,P27,c(Q15617994)))
action filter_type
action union
action find
entity Q434160
relation P27
action find
entity Q2328783
relation P27
type Q15617994
[ANSWERS] are E. P. Thompson or François-Dominique Mosselman a civilian of
{'OR': [['Q434160', 'P27', {'concept': 'Q15617994'}], ['Q2328783', 'P27', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?j WHERE { { { resource:Q434160 property:P27 ?j } UNION { resource:Q2328783 property:P27 ?j } } . ?j rdf:type ontology:Q15617994 }
Belgium United Kingdom
Belgium and United Kingdom are E. P. Thompson or François-Dominique Mosselman a civilian of
Belgium United Kingdom
action filter_type
action union
action find
entity E. P. Thompson
relation country of citizenship
action find
entity François-Dominique Mosselman
relation country of citizenship
type designation for an administrative territorial entity
{'OR': [['E. P. Thompson', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}], ['François-Dominique Mosselman', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?j WHERE { { { resource:E._P._Thompson property:country_of_citizenship ?j } UNION { resource:François-Dominique_Mosselman property:country_of_citizenship ?j } } . ?j rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q1048835 Q15617994
USER
Which political territories have a diplomatic relationship with atleast 76 administrative territories ?
(c(Q15617994),P530,c(Q1048835))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 76
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?l ) WHERE { ?j property:P530 ?p . ?j rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q15617994 } GROUP BY ?j } . FILTER ( ?l >= 76 ) }
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 76
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?l ) WHERE { ?j property:diplomatic_relation ?p . ?j rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . FILTER ( ?l >= 76 ) }
[]
political territorial entity designation for an administrative territorial entity
Q183 Q408
SYSTEM
Germany, Australia
Q183 Q408
(c(Q15617994),P530,c(Q1048835))
action atleast
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 76
[ANSWERS] have a diplomatic relationship with atleast 76 administrative territories
[{'concept': 'Q15617994'}, 'P530', {'concept': 'Q1048835'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?l ) WHERE { ?j property:P530 ?p . ?j rdf:type ontology:Q1048835 . ?p rdf:type ontology:Q15617994 } GROUP BY ?j } . FILTER ( ?l >= 76 ) }
Germany Australia
Germany and Australia have a diplomatic relationship with atleast 76 administrative territories
Germany Australia
action atleast
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 76
[{'concept': 'designation for an administrative territorial entity'}, 'diplomatic relation', {'concept': 'political territorial entity'}]
SELECT DISTINCT ?j WHERE { { SELECT DISTINCT ?j ( COUNT ( ?p ) AS ?l ) WHERE { ?j property:diplomatic_relation ?p . ?j rdf:type ontology:political_territorial_entity . ?p rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?j } . FILTER ( ?l >= 76 ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q4923587
P530
Q15617994
USER
Do Blackwell Consolidated Independent School District have diplomatic relations with those political territories ?
(Q4923587,P530,Q183) (Q4923587,P530,Q408)
action is_in
entity prev_answer
action find
entity Q4923587
relation P530
['Q4923587', 'P530', 'Q183'] ['Q4923587', 'P530', 'Q408']
ASK WHERE { resource:Q4923587 property:P530 ?v . VALUES ( ?v ) { ( resource:Q183 ) ( resource:Q408 ) } }
Blackwell Consolidated Independent School District
action is_in
entity prev_answer
action find
entity Blackwell Consolidated Independent School District
relation diplomatic relation
['Blackwell Consolidated Independent School District', 'diplomatic relation', 'Germany'] ['Blackwell Consolidated Independent School District', 'diplomatic relation', 'Australia']
ASK WHERE { resource:Blackwell_Consolidated_Independent_School_District property:diplomatic_relation ?v . VALUES ( ?v ) { ( resource:Germany ) ( resource:Australia ) } }
[]
designation for an administrative territorial entity
SYSTEM
NO
(Q4923587,P530,Q183) (Q4923587,P530,Q408)
action is_in
entity prev_answer
action find
entity Q4923587
relation P530
[ANSWER]
['Q4923587', 'P530', 'Q183'] ['Q4923587', 'P530', 'Q408']
ASK WHERE { resource:Q4923587 property:P530 ?v . VALUES ( ?v ) { ( resource:Q183 ) ( resource:Q408 ) } }
No
action is_in
entity prev_answer
action find
entity Blackwell Consolidated Independent School District
relation diplomatic relation
['Blackwell Consolidated Independent School District', 'diplomatic relation', 'Germany'] ['Blackwell Consolidated Independent School District', 'diplomatic relation', 'Australia']
ASK WHERE { resource:Blackwell_Consolidated_Independent_School_District property:diplomatic_relation ?v . VALUES ( ?v ) { ( resource:Germany ) ( resource:Australia ) } }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q276607 Q434160 Q4500531
P22
Q502895
USER
Does Kate Thompson have E. P. Thompson and Paul Khokhlov as father ?
(Q276607,P22,Q434160) (Q276607,P22,Q4500531)
action is_in
entity Q276607
action intersection
action find_reverse
entity Q434160
relation P22
action find_reverse
entity Q4500531
relation P22
['Q276607', 'P22', 'Q434160'] ['Q276607', 'P22', 'Q4500531']
ASK WHERE { resource:Q276607 property:P22 resource:Q4500531 . resource:Q276607 property:P22 resource:Q434160 }
Kate Thompson E. P. Thompson Paul Khokhlov
action is_in
entity Kate Thompson
action intersection
action find_reverse
entity E. P. Thompson
relation father
action find_reverse
entity Paul Khokhlov
relation father
['Kate Thompson', 'father', 'E. P. Thompson'] ['Kate Thompson', 'father', 'Paul Khokhlov']
ASK WHERE { resource:Kate_Thompson property:father resource:Paul_Khokhlov . resource:Kate_Thompson property:father resource:E._P._Thompson }
[]
common name
SYSTEM
YES and NO respectively
(Q276607,P22,Q434160) (Q276607,P22,Q4500531)
action is_in
entity Q276607
action intersection
action find_reverse
entity Q434160
relation P22
action find_reverse
entity Q4500531
relation P22
[ANSWER]
['Q276607', 'P22', 'Q434160'] ['Q276607', 'P22', 'Q4500531']
ASK WHERE { resource:Q276607 property:P22 resource:Q4500531 . resource:Q276607 property:P22 resource:Q434160 }
YES and NO respectively
action is_in
entity Kate Thompson
action intersection
action find_reverse
entity E. P. Thompson
relation father
action find_reverse
entity Paul Khokhlov
relation father
['Kate Thompson', 'father', 'E. P. Thompson'] ['Kate Thompson', 'father', 'Paul Khokhlov']
ASK WHERE { resource:Kate_Thompson property:father resource:Paul_Khokhlov . resource:Kate_Thompson property:father resource:E._P._Thompson }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q145
P915
Q15416
USER
Which television program was filmed at United Kingdom ?
(c(Q15416),P915,Q145)
action filter_type
action find_reverse
entity Q145
relation P915
type Q15416
[{'concept': 'Q15416'}, 'P915', 'Q145']
SELECT DISTINCT ?v WHERE { ?v property:P915 resource:Q145 . ?v rdf:type ontology:Q15416 }
United Kingdom
action filter_type
action find_reverse
entity United Kingdom
relation filming location
type television program
[{'concept': 'television program'}, 'filming location', 'United Kingdom']
SELECT DISTINCT ?v WHERE { ?v property:filming_location resource:United_Kingdom . ?v rdf:type ontology:television_program }
[]
television program
Q21427546
SYSTEM
Hunted
Q21427546
(c(Q15416),P915,Q145)
action filter_type
action find_reverse
entity Q145
relation P915
type Q15416
Were [ANSWER] was filmed at United Kingdom
[{'concept': 'Q15416'}, 'P915', 'Q145']
SELECT DISTINCT ?v WHERE { ?v property:P915 resource:Q145 . ?v rdf:type ontology:Q15416 }
Hunted
Were Hunted was filmed at United Kingdom
Hunted
action filter_type
action find_reverse
entity United Kingdom
relation filming location
type television program
[{'concept': 'television program'}, 'filming location', 'United Kingdom']
SELECT DISTINCT ?v WHERE { ?v property:filming_location resource:United_Kingdom . ?v rdf:type ontology:television_program }
[]