Simple Question (Direct)
Simple Question
Q100408
P607
Q198
USER
Which war did Stanislaw Trabalski take part in ?
(Q100408,P607,c(Q198))
action filter_type
action find
entity Q100408
relation P607
type Q198
['Q100408', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q198 . resource:Q100408 property:P607 ?e }
Stanislaw Trabalski
action filter_type
action find
entity Stanislaw Trabalski
relation conflict
type war
['Stanislaw Trabalski', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:war . resource:Stanislaw_Trabalski property:conflict ?e }
[]
war
Q361
SYSTEM
World War I
Q361
(Q100408,P607,c(Q198))
action filter_type
action find
entity Q100408
relation P607
type Q198
Stanislaw Trabalski took part in [ANSWER]
['Q100408', 'P607', {'concept': 'Q198'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:Q198 . resource:Q100408 property:P607 ?e }
World War I
Stanislaw Trabalski took part in World War I
World War I
action filter_type
action find
entity Stanislaw Trabalski
relation conflict
type war
['Stanislaw Trabalski', 'conflict', {'concept': 'war'}]
SELECT DISTINCT ?e WHERE { ?e rdf:type ontology:war . resource:Stanislaw_Trabalski property:conflict ?e }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q361
P793
Q57831
USER
Which fortress has that war as a significant associated event ?
(c(Q57831),P793,Q361)
action filter_type
action find_reverse
entity Q361
relation P793
type Q57831
[{'concept': 'Q57831'}, 'P793', 'Q361']
SELECT DISTINCT ?e WHERE { ?e property:P793 resource:Q361 . ?e rdf:type ontology:Q57831 }
World War I
action filter_type
action find_reverse
entity World War I
relation significant event
type fortress
[{'concept': 'fortress'}, 'significant event', 'World War I']
SELECT DISTINCT ?e WHERE { ?e property:significant_event resource:World_War_I . ?e rdf:type ontology:fortress }
[]
fortress
Q21012149
SYSTEM
Hohenzollern Redoubt
Q21012149
(c(Q57831),P793,Q361)
action filter_type
action find_reverse
entity Q361
relation P793
type Q57831
[ANSWER] has that war as a significant associated event
[{'concept': 'Q57831'}, 'P793', 'Q361']
SELECT DISTINCT ?e WHERE { ?e property:P793 resource:Q361 . ?e rdf:type ontology:Q57831 }
Hohenzollern Redoubt
Hohenzollern Redoubt has that war as a significant associated event
Hohenzollern Redoubt
action filter_type
action find_reverse
entity World War I
relation significant event
type fortress
[{'concept': 'fortress'}, 'significant event', 'World War I']
SELECT DISTINCT ?e WHERE { ?e property:significant_event resource:World_War_I . ?e rdf:type ontology:fortress }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by around 770 people ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 770
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 } GROUP BY ?w } . FILTER ( ?g = 770 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 770
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name } GROUP BY ?w } . FILTER ( ?g = 770 ) }
[]
musical instrument common name
SYSTEM
62
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 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
value 770
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:P1303 ?w . ?w rdf:type ontology:Q34379 . ?p rdf:type ontology:Q502895 } GROUP BY ?w } . FILTER ( ?g = 770 ) }
viola bass guitar 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 trumpet 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
62
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 770
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?w ) AS ?n ) WHERE { { SELECT DISTINCT ?w ( COUNT ( ?p ) AS ?g ) WHERE { ?p property:instrument ?w . ?w rdf:type ontology:musical_instrument . ?p rdf:type ontology:common_name } GROUP BY ?w } . FILTER ( ?g = 770 ) }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q81982
P1303
Q34379 Q502895
USER
How many musical instruments are played by approximately the same number of people as harpsichord ?
(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 Q81982
relation P1303
type Q34379
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { resource:Q81982 property:P1303 ?u . ?u rdf:type ontology:Q34379 } } . FILTER ( ?i = ?r ) . { SELECT DISTINCT ?s ( COUNT ( ?j ) AS ?i ) WHERE { ?j property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 } GROUP BY ?s } }
harpsichord
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 harpsichord
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { resource:harpsichord property:instrument ?u . ?u rdf:type ontology:musical_instrument } } . FILTER ( ?i = ?r ) . { SELECT DISTINCT ?s ( COUNT ( ?j ) AS ?i ) WHERE { ?j property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name } GROUP BY ?s } }
[]
musical instrument common name
SYSTEM
61
Q80284 Q46185 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 Q81982
relation P1303
type Q34379
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { resource:Q81982 property:P1303 ?u . ?u rdf:type ontology:Q34379 } } . FILTER ( ?i = ?r ) . { SELECT DISTINCT ?s ( COUNT ( ?j ) AS ?i ) WHERE { ?j property:P1303 ?s . ?s rdf:type ontology:Q34379 . ?j rdf:type ontology:Q502895 } GROUP BY ?s } }
viola bass guitar 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
61
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 harpsichord
relation instrument
type musical instrument
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?s ) AS ?t ) WHERE { { SELECT DISTINCT ( COUNT ( ?u ) AS ?r ) WHERE { resource:harpsichord property:instrument ?u . ?u rdf:type ontology:musical_instrument } } . FILTER ( ?i = ?r ) . { SELECT DISTINCT ?s ( COUNT ( ?j ) AS ?i ) WHERE { ?j property:instrument ?s . ?s rdf:type ontology:musical_instrument . ?j rdf:type ontology:common_name } GROUP BY ?s } }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P1303
Q34379 Q502895
USER
How many musical instruments are played by around 1304 people ?
(c(Q502895),P1303,c(Q34379))
action count
action approx
action find_reverse_tuple_counts
relation P1303
type Q34379
type Q502895
value 1304
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:P1303 ?x . ?x rdf:type ontology:Q34379 . ?m rdf:type ontology:Q502895 } GROUP BY ?x } . FILTER ( ?g = 1304 ) }
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1304
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:instrument ?x . ?x rdf:type ontology:musical_instrument . ?m rdf:type ontology:common_name } GROUP BY ?x } . FILTER ( ?g = 1304 ) }
[]
musical instrument common name
SYSTEM
64
Q80284 Q46185 Q201129 Q424017 Q890073 Q80019 Q1178361 Q2563510 Q604538 Q2660670 Q39777 Q3574843 Q678090 Q81982 Q182718 Q490054 Q873588 Q593995 Q1327500 Q206987 Q1879664 Q189737 Q1759986 Q1798603 Q1099153 Q8338 Q120585 Q713298 Q8371 Q1024685 Q213461 Q3382191 Q816793 Q862501 Q213100 Q244976 Q537750 Q626035 Q1179017 Q742180 Q320341 Q1300012 Q1444 Q748455 Q669370 Q290951 Q220971 Q178933 Q16875637 Q790468 Q128309 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
value 1304
[ANSWER]
[{'concept': 'Q502895'}, 'P1303', {'concept': 'Q34379'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:P1303 ?x . ?x rdf:type ontology:Q34379 . ?m rdf:type ontology:Q502895 } GROUP BY ?x } . FILTER ( ?g = 1304 ) }
viola bass guitar 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 trumpet Tsuzumi geomungo cello cabasa harmonium upright piano Bendir ondes Martenot tabla bodhrán Djembe glockenspiel Daxophone viola d'amore celesta toy piano organ cajón gusle Kamancheh marimba Hardanger fiddle transverse flute baritone horn drum kit morin khuur Timbales erhu wind instrument Kazoo Mridangam tenor guitar Saraswati veena Lap steel guitar electronic keyboard drum Kayamb Paraguayan harp
64
action count
action approx
action find_reverse_tuple_counts
relation instrument
type musical instrument
type common name
value 1304
[{'concept': 'common name'}, 'instrument', {'concept': 'musical instrument'}]
SELECT DISTINCT ( COUNT ( ?x ) AS ?p ) WHERE { { SELECT DISTINCT ?x ( COUNT ( ?m ) AS ?g ) WHERE { ?m property:instrument ?x . ?x rdf:type ontology:musical_instrument . ?m rdf:type ontology:common_name } GROUP BY ?x } . FILTER ( ?g = 1304 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q10871364
P641
Q349
USER
Which sport did baseball player participate in ?
(Q10871364,P641,c(Q349))
action filter_type
action find
entity Q10871364
relation P641
type Q349
['Q10871364', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q10871364 property:P641 ?h . ?h rdf:type ontology:Q349 }
baseball player
action filter_type
action find
entity baseball player
relation sport
type sport
['baseball player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:baseball_player property:sport ?h . ?h rdf:type ontology:sport }
[]
sport
Q5369
SYSTEM
baseball
Q5369
(Q10871364,P641,c(Q349))
action filter_type
action find
entity Q10871364
relation P641
type Q349
[ANSWER] player participated in [ANSWER]
['Q10871364', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?h WHERE { resource:Q10871364 property:P641 ?h . ?h rdf:type ontology:Q349 }
baseball
Baseball player participated in baseball
baseball
action filter_type
action find
entity baseball player
relation sport
type sport
['baseball player', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?h WHERE { resource:baseball_player property:sport ?h . ?h rdf:type ontology:sport }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3041266
Q349
USER
And how about Duncan Thompson?
(Q3041266,P641,c(Q349))
action filter_type
action find
entity Q3041266
relation P641
type Q349
['Q3041266', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q3041266 property:P641 ?i . ?i rdf:type ontology:Q349 }
Duncan Thompson
action filter_type
action find
entity Duncan Thompson
relation sport
type sport
['Duncan Thompson', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Duncan_Thompson property:sport ?i . ?i rdf:type ontology:sport }
[]
sport
Q10962
SYSTEM
rugby league
Q10962
(Q3041266,P641,c(Q349))
action filter_type
action find
entity Q3041266
relation P641
type Q349
[ANSWER]
['Q3041266', 'P641', {'concept': 'Q349'}]
SELECT DISTINCT ?i WHERE { resource:Q3041266 property:P641 ?i . ?i rdf:type ontology:Q349 }
rugby league
rugby league
action filter_type
action find
entity Duncan Thompson
relation sport
type sport
['Duncan Thompson', 'sport', {'concept': 'sport'}]
SELECT DISTINCT ?i WHERE { resource:Duncan_Thompson property:sport ?i . ?i rdf:type ontology:sport }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q3041266
P1412
Q34770
USER
Which language can that person understand ?
(Q10962,P1412,c(Q34770))
action filter_type
action find
entity Q3041266
relation P1412
type Q34770
['Q10962', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q3041266 property:P1412 ?m . ?m rdf:type ontology:Q34770 }
Duncan Thompson
action filter_type
action find
entity Duncan Thompson
relation languages spoken, written or signed
type language
['rugby league', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Duncan_Thompson property:languages_spoken,_written_or_signed ?m . ?m rdf:type ontology:language }
[]
language
Q1860
SYSTEM
English
Q1860
(Q10962,P1412,c(Q34770))
action filter_type
action find
entity Q3041266
relation P1412
type Q34770
That person can understand the [ANSWER]
['Q10962', 'P1412', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { resource:Q3041266 property:P1412 ?m . ?m rdf:type ontology:Q34770 }
English
That person can understand the English
English
action filter_type
action find
entity Duncan Thompson
relation languages spoken, written or signed
type language
['rugby league', 'languages spoken, written or signed', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { resource:Duncan_Thompson property:languages_spoken,_written_or_signed ?m . ?m rdf:type ontology:language }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q1860 Q16248414
P364
Q838948
USER
Does American Zombie have that one as its original language of creation ?
(Q16248414,P364,Q1860)
action is_in
entity Q1860
action find
entity Q16248414
relation P364
['Q16248414', 'P364', 'Q1860']
ASK WHERE { resource:Q16248414 property:P364 resource:Q1860 }
English American Zombie
action is_in
entity English
action find
entity American Zombie
relation original language of work
['American Zombie', 'original language of work', 'English']
ASK WHERE { resource:American_Zombie property:original_language_of_work resource:English }
[]
work of art
SYSTEM
YES
(Q16248414,P364,Q1860)
action is_in
entity Q1860
action find
entity Q16248414
relation P364
[ANSWER]
['Q16248414', 'P364', 'Q1860']
ASK WHERE { resource:Q16248414 property:P364 resource:Q1860 }
Yes
action is_in
entity English
action find
entity American Zombie
relation original language of work
['American Zombie', 'original language of work', 'English']
ASK WHERE { resource:American_Zombie property:original_language_of_work resource:English }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Logical operators
Q1860
P1412
Q874405 Q82799
USER
How many social groups or names speaks English ?
(c(Q874405),P1412,Q1860) (c(Q82799),P1412,Q1860)
action count
action union
action filter_type
action find_reverse
entity Q1860
relation P1412
type Q874405
action filter_type
action find_reverse
entity Q1860
relation P1412
type Q82799
[{'concept': 'Q874405'}, 'P1412', 'Q1860'] [{'concept': 'Q82799'}, 'P1412', 'Q1860']
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { VALUES ( ?r ) { ( ontology:Q82799 ) ( ontology:Q874405 ) } . ?d rdf:type ?r }
English
action count
action union
action filter_type
action find_reverse
entity English
relation languages spoken, written or signed
type social group
action filter_type
action find_reverse
entity English
relation languages spoken, written or signed
type name
[{'concept': 'social group'}, 'languages spoken, written or signed', 'English'] [{'concept': 'name'}, 'languages spoken, written or signed', 'English']
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { VALUES ( ?r ) { ( ontology:name ) ( ontology:social_group ) } . ?d rdf:type ?r }
[]
social group name
SYSTEM
12
Q1157698 Q16028165 Q18412308 Q1746111 Q3459097 Q15432408 Q4823993 Q18640739 Q6142591 Q4952328 Q17040446 Q130786
(c(Q874405),P1412,Q1860) (c(Q82799),P1412,Q1860)
action count
action union
action filter_type
action find_reverse
entity Q1860
relation P1412
type Q874405
action filter_type
action find_reverse
entity Q1860
relation P1412
type Q82799
[ANSWER]
[{'concept': 'Q874405'}, 'P1412', 'Q1860'] [{'concept': 'Q82799'}, 'P1412', 'Q1860']
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { VALUES ( ?r ) { ( ontology:Q82799 ) ( ontology:Q874405 ) } . ?d rdf:type ?r }
Daisy Meadows Paul Kruger Poppy J. Anderson Michael Gregorio S. W. Erdnase Jahnna N. Malcolm Australian Cinematographers Society Chang Noi James S. A. Corey Boyd Family Sypkes family Viktor Suvorov
12
action count
action union
action filter_type
action find_reverse
entity English
relation languages spoken, written or signed
type social group
action filter_type
action find_reverse
entity English
relation languages spoken, written or signed
type name
[{'concept': 'social group'}, 'languages spoken, written or signed', 'English'] [{'concept': 'name'}, 'languages spoken, written or signed', 'English']
SELECT DISTINCT ( COUNT ( ?d ) AS ?g ) WHERE { VALUES ( ?r ) { ( ontology:name ) ( ontology:social_group ) } . ?d rdf:type ?r }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q2736
P425
Q12737077
USER
Which occupations do association football belong to ?
(c(Q12737077),P425,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P425
type Q12737077
[{'concept': 'Q12737077'}, 'P425', 'Q2736']
SELECT DISTINCT ?r WHERE { ?r property:P425 resource:Q2736 . ?r rdf:type ontology:Q12737077 }
association football
action filter_type
action find_reverse
entity association football
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'association football']
SELECT DISTINCT ?r WHERE { ?r property:field_of_this_occupation resource:association_football . ?r rdf:type ontology:occupation }
[]
occupation
Q18052877 Q628099 Q937857
SYSTEM
assistant coach, association football manager, association football player
Q18052877 Q628099 Q937857
(c(Q12737077),P425,Q2736)
action filter_type
action find_reverse
entity Q2736
relation P425
type Q12737077
Association football belong to [ANSWERS]
[{'concept': 'Q12737077'}, 'P425', 'Q2736']
SELECT DISTINCT ?r WHERE { ?r property:P425 resource:Q2736 . ?r rdf:type ontology:Q12737077 }
assistant coach association football manager association football player
Association football belong to assistant coach, association football manager and association football player
assistant coach association football manager association football player
action filter_type
action find_reverse
entity association football
relation field of this occupation
type occupation
[{'concept': 'occupation'}, 'field of this occupation', 'association football']
SELECT DISTINCT ?r WHERE { ?r property:field_of_this_occupation resource:association_football . ?r rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q937857
P361
Q847017
USER
What is association football player a portion of ?
(Q937857,P361,c(Q847017))
action filter_type
action find
entity Q937857
relation P361
type Q847017
['Q937857', 'P361', {'concept': 'Q847017'}]
SELECT DISTINCT ?b WHERE { resource:Q937857 property:P361 ?b . ?b rdf:type ontology:Q847017 }
association football player
action filter_type
action find
entity association football player
relation part of
type sports club
['association football player', 'part of', {'concept': 'sports club'}]
SELECT DISTINCT ?b WHERE { resource:association_football_player property:part_of ?b . ?b rdf:type ontology:sports_club }
[]
sports club
Q476028
SYSTEM
association football club
Q476028
(Q937857,P361,c(Q847017))
action filter_type
action find
entity Q937857
relation P361
type Q847017
Association football player a portion of is an [ANSWER]
['Q937857', 'P361', {'concept': 'Q847017'}]
SELECT DISTINCT ?b WHERE { resource:Q937857 property:P361 ?b . ?b rdf:type ontology:Q847017 }
association football club
Association football player a portion of is an association football club
association football club
action filter_type
action find
entity association football player
relation part of
type sports club
['association football player', 'part of', {'concept': 'sports club'}]
SELECT DISTINCT ?b WHERE { resource:association_football_player property:part_of ?b . ?b rdf:type ontology:sports_club }
[]