Simple Question (Direct)
Simple Question
Q6764850
P69
Q163740
USER
Which nonprofit organization was Mario Oriani-Ambrosini educated at ?
(Q6764850,P69,c(Q163740))
action filter_type
action find
entity Q6764850
relation P69
type Q163740
['Q6764850', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?b WHERE { resource:Q6764850 property:P69 ?b . ?b rdf:type ontology:Q163740 }
Mario Oriani-Ambrosini
action filter_type
action find
entity Mario Oriani-Ambrosini
relation educated at
type nonprofit organization
['Mario Oriani-Ambrosini', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?b WHERE { resource:Mario_Oriani-Ambrosini property:educated_at ?b . ?b rdf:type ontology:nonprofit_organization }
[]
nonprofit organization
Q13371
SYSTEM
Harvard University
Q13371
(Q6764850,P69,c(Q163740))
action filter_type
action find
entity Q6764850
relation P69
type Q163740
Mario Oriani-Ambrosini was educated at [ANSWER]
['Q6764850', 'P69', {'concept': 'Q163740'}]
SELECT DISTINCT ?b WHERE { resource:Q6764850 property:P69 ?b . ?b rdf:type ontology:Q163740 }
Harvard University
Mario Oriani-Ambrosini was educated at Harvard University
Harvard University
action filter_type
action find
entity Mario Oriani-Ambrosini
relation educated at
type nonprofit organization
['Mario Oriani-Ambrosini', 'educated at', {'concept': 'nonprofit organization'}]
SELECT DISTINCT ?b WHERE { resource:Mario_Oriani-Ambrosini property:educated_at ?b . ?b rdf:type ontology:nonprofit_organization }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q6764850
P20
Q15617994
USER
Where did Mario Oriani-Ambrosini die ?
(Q6764850,P20,c(Q15617994))
action filter_type
action find
entity Q6764850
relation P20
type Q15617994
['Q6764850', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q6764850 property:P20 ?d . ?d rdf:type ontology:Q15617994 }
Mario Oriani-Ambrosini
action filter_type
action find
entity Mario Oriani-Ambrosini
relation place of death
type designation for an administrative territorial entity
['Mario Oriani-Ambrosini', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Mario_Oriani-Ambrosini property:place_of_death ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q258
SYSTEM
South Africa
Q258
(Q6764850,P20,c(Q15617994))
action filter_type
action find
entity Q6764850
relation P20
type Q15617994
Mario Oriani- Ambrosini died in [ANSWER]
['Q6764850', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?d WHERE { resource:Q6764850 property:P20 ?d . ?d rdf:type ontology:Q15617994 }
South Africa
Mario Oriani- Ambrosini died in South Africa
South Africa
action filter_type
action find
entity Mario Oriani-Ambrosini
relation place of death
type designation for an administrative territorial entity
['Mario Oriani-Ambrosini', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?d WHERE { resource:Mario_Oriani-Ambrosini property:place_of_death ?d . ?d rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q74312
Q15617994
USER
And how about Hans Gregor?
(Q74312,P20,c(Q15617994))
action filter_type
action find
entity Q74312
relation P20
type Q15617994
['Q74312', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q74312 property:P20 ?w . ?w rdf:type ontology:Q15617994 }
Hans Gregor
action filter_type
action find
entity Hans Gregor
relation place of death
type designation for an administrative territorial entity
['Hans Gregor', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Hans_Gregor property:place_of_death ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q15982
SYSTEM
Wernigerode
Q15982
(Q74312,P20,c(Q15617994))
action filter_type
action find
entity Q74312
relation P20
type Q15617994
[ANSWER]
['Q74312', 'P20', {'concept': 'Q15617994'}]
SELECT DISTINCT ?w WHERE { resource:Q74312 property:P20 ?w . ?w rdf:type ontology:Q15617994 }
Wernigerode
Wernigerode
action filter_type
action find
entity Hans Gregor
relation place of death
type designation for an administrative territorial entity
['Hans Gregor', 'place of death', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?w WHERE { resource:Hans_Gregor property:place_of_death ?w . ?w rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P530
Q15617994 Q1048835
USER
How many political territories have diplomatic associations with approximately 55 administrative territories ?
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 55
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?y ) WHERE { ?g property:P530 ?z . ?g rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q15617994 } GROUP BY ?g } . FILTER ( ?y = 55 ) }
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 55
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?y ) WHERE { ?g property:diplomatic_relation ?z . ?g rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } . FILTER ( ?y = 55 ) }
[]
designation for an administrative territorial entity political territorial entity
SYSTEM
1
Q16
(c(Q1048835),P530,c(Q15617994))
action count
action approx
action find_tuple_counts
relation P530
type Q1048835
type Q15617994
value 55
[ANSWER]
[{'concept': 'Q1048835'}, 'P530', {'concept': 'Q15617994'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?y ) WHERE { ?g property:P530 ?z . ?g rdf:type ontology:Q1048835 . ?z rdf:type ontology:Q15617994 } GROUP BY ?g } . FILTER ( ?y = 55 ) }
Canada
1
action count
action approx
action find_tuple_counts
relation diplomatic relation
type political territorial entity
type designation for an administrative territorial entity
value 55
[{'concept': 'political territorial entity'}, 'diplomatic relation', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ( COUNT ( ?g ) AS ?i ) WHERE { { SELECT DISTINCT ?g ( COUNT ( ?z ) AS ?y ) WHERE { ?g property:diplomatic_relation ?z . ?g rdf:type ontology:political_territorial_entity . ?z rdf:type ontology:designation_for_an_administrative_territorial_entity } GROUP BY ?g } . FILTER ( ?y = 55 ) }
[]
Quantitative Reasoning (All)
Quantitative|Min/Max|Mult. entity type
P706
Q1048835 Q82794 Q15617994
USER
Which administrative territories have their location as max number of political territories or geographic regions ?
(c(Q15617994),P706,c(Q1048835)|c(Q82794))
action argmax
action union
action find_tuple_counts
relation P706
type Q15617994
type Q1048835
action find_tuple_counts
relation P706
type Q15617994
type Q82794
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q1048835'}, {'concept': 'Q82794'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) ?d WHERE { ?y rdf:type ?m . VALUES ( ?m ) { ( ontology:Q82794 ) ( ontology:Q1048835 ) } } GROUP BY ?d } } . FILTER ( ?l = ?c ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) ?h WHERE { VALUES ( ?u ) { ( ontology:Q1048835 ) ( ontology:Q82794 ) } . ?x rdf:type ?u } GROUP BY ?h } }
action argmax
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type political territorial entity
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type geographic region
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'political territorial entity'}, {'concept': 'geographic region'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) ?d WHERE { ?y rdf:type ?m . VALUES ( ?m ) { ( ontology:geographic_region ) ( ontology:political_territorial_entity ) } } GROUP BY ?d } } . FILTER ( ?l = ?c ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) ?h WHERE { VALUES ( ?u ) { ( ontology:political_territorial_entity ) ( ontology:geographic_region ) } . ?x rdf:type ?u } GROUP BY ?h } }
[]
political territorial entity geographic region designation for an administrative territorial entity
Q252320 Q508054 Q104192
SYSTEM
Pleinfeld, Neu Wulmstorf, Kleinmachnow
Q2712111 Q252320 Q15744129 Q508054 Q1721440 Q252772 Q104192 Q81306 Q1778088 Q494305 Q503693 Q507258 Q15744111 Q518171 Q625747 Q2585085
(c(Q15617994),P706,c(Q1048835)|c(Q82794))
action argmax
action union
action find_tuple_counts
relation P706
type Q15617994
type Q1048835
action find_tuple_counts
relation P706
type Q15617994
type Q82794
[ANSWERS] have their location as max number of political territories or geographic regions
[{'concept': 'Q15617994'}, 'P706', [{'concept': 'Q1048835'}, {'concept': 'Q82794'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) ?d WHERE { ?y rdf:type ?m . VALUES ( ?m ) { ( ontology:Q82794 ) ( ontology:Q1048835 ) } } GROUP BY ?d } } . FILTER ( ?l = ?c ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) ?h WHERE { VALUES ( ?u ) { ( ontology:Q1048835 ) ( ontology:Q82794 ) } . ?x rdf:type ?u } GROUP BY ?h } }
Zagori Pleinfeld Oberscheuren Neu Wulmstorf Kaimig Eichstätt Kleinmachnow Forbach Kochenbach Kelheim Riedenburg Kipfenberg Niederscheuren Ellhofen Rangsdorf Wintersberg
Pleinfeld, Neu Wulmstorf and Kleinmachnow have their location as max number of political territories or geographic regions
Pleinfeld Neu Wulmstorf Kleinmachnow
action argmax
action union
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type political territorial entity
action find_tuple_counts
relation located on terrain feature
type designation for an administrative territorial entity
type geographic region
[{'concept': 'designation for an administrative territorial entity'}, 'located on terrain feature', [{'concept': 'political territorial entity'}, {'concept': 'geographic region'}]]
SELECT DISTINCT ?h WHERE { { SELECT DISTINCT ( MAX ( ?z ) AS ?c ) { SELECT DISTINCT ( COUNT ( ?y ) AS ?z ) ?d WHERE { ?y rdf:type ?m . VALUES ( ?m ) { ( ontology:geographic_region ) ( ontology:political_territorial_entity ) } } GROUP BY ?d } } . FILTER ( ?l = ?c ) . { SELECT DISTINCT ( COUNT ( ?x ) AS ?l ) ?h WHERE { VALUES ( ?u ) { ( ontology:political_territorial_entity ) ( ontology:geographic_region ) } . ?x rdf:type ?u } GROUP BY ?h } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q13371
P159
Q56061
USER
Which administrative territory is the HQ of Harvard University ?
(Q13371,P159,c(Q56061))
action filter_type
action find
entity Q13371
relation P159
type Q56061
['Q13371', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q13371 property:P159 ?r . ?r rdf:type ontology:Q56061 }
Harvard University
action filter_type
action find
entity Harvard University
relation headquarters location
type administrative territorial entity
['Harvard University', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Harvard_University property:headquarters_location ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q49111
SYSTEM
Cambridge
Q49111
(Q13371,P159,c(Q56061))
action filter_type
action find
entity Q13371
relation P159
type Q56061
The [ANSWER] is the HQ of Harvard University
['Q13371', 'P159', {'concept': 'Q56061'}]
SELECT DISTINCT ?r WHERE { resource:Q13371 property:P159 ?r . ?r rdf:type ontology:Q56061 }
Cambridge
The Cambridge is the HQ of Harvard University
Cambridge
action filter_type
action find
entity Harvard University
relation headquarters location
type administrative territorial entity
['Harvard University', 'headquarters location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?r WHERE { resource:Harvard_University property:headquarters_location ?r . ?r rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q13371
P287
Q165363
USER
Which torpedo had designs created by that nonprofit organization ?
(c(Q165363),P287,Q49111)
action filter_type
action find_reverse
entity Q13371
relation P287
type Q165363
[{'concept': 'Q165363'}, 'P287', 'Q49111']
SELECT DISTINCT ?x WHERE { ?x property:P287 resource:Q13371 . ?x rdf:type ontology:Q165363 }
Harvard University
action filter_type
action find_reverse
entity Harvard University
relation designer
type torpedo
[{'concept': 'torpedo'}, 'designer', 'Cambridge']
SELECT DISTINCT ?x WHERE { ?x property:designer resource:Harvard_University . ?x rdf:type ontology:torpedo }
[]
torpedo
Q15991084
SYSTEM
Mark 31 torpedo
Q15991084
(c(Q165363),P287,Q49111)
action filter_type
action find_reverse
entity Q13371
relation P287
type Q165363
[ANSWER] had designs created by that nonprofit organization
[{'concept': 'Q165363'}, 'P287', 'Q49111']
SELECT DISTINCT ?x WHERE { ?x property:P287 resource:Q13371 . ?x rdf:type ontology:Q165363 }
Mark 31 torpedo
Mark 31 torpedo had designs created by that nonprofit organization
Mark 31 torpedo
action filter_type
action find_reverse
entity Harvard University
relation designer
type torpedo
[{'concept': 'torpedo'}, 'designer', 'Cambridge']
SELECT DISTINCT ?x WHERE { ?x property:designer resource:Harvard_University . ?x rdf:type ontology:torpedo }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q13371
P1416
Q502895
USER
Which person has affliliation with that nonprofit organization ?
(c(Q502895),P1416,Q15991084)
action filter_type
action find_reverse
entity Q13371
relation P1416
type Q502895
[{'concept': 'Q502895'}, 'P1416', 'Q15991084']
SELECT DISTINCT ?t WHERE { ?t property:P1416 resource:Q13371 . ?t rdf:type ontology:Q502895 }
Harvard University
action filter_type
action find_reverse
entity Harvard University
relation affiliation
type common name
[{'concept': 'common name'}, 'affiliation', 'Mark 31 torpedo']
SELECT DISTINCT ?t WHERE { ?t property:affiliation resource:Harvard_University . ?t rdf:type ontology:common_name }
[]
common name
Q27468017
SYSTEM
Misha Teplitskiy
Q27468017
(c(Q502895),P1416,Q15991084)
action filter_type
action find_reverse
entity Q13371
relation P1416
type Q502895
[ANSWER] has affliliation with that nonprofit organization
[{'concept': 'Q502895'}, 'P1416', 'Q15991084']
SELECT DISTINCT ?t WHERE { ?t property:P1416 resource:Q13371 . ?t rdf:type ontology:Q502895 }
Misha Teplitskiy
Misha Teplitskiy has affliliation with that nonprofit organization
Misha Teplitskiy
action filter_type
action find_reverse
entity Harvard University
relation affiliation
type common name
[{'concept': 'common name'}, 'affiliation', 'Mark 31 torpedo']
SELECT DISTINCT ?t WHERE { ?t property:affiliation resource:Harvard_University . ?t rdf:type ontology:common_name }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type
Q50035
P725
Q502895 Q2342494
USER
How many collectables did less number of people dub for than Nyaruko: Crawling with Love ?
(c(Q2342494),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q2342494
type Q502895
action count
action filter_type
action find
entity Q50035
relation P725
type Q502895
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { resource:Q50035 property:P725 ?p . ?p rdf:type ontology:Q502895 } } . FILTER ( ?s < ?l ) . { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?s ) WHERE { ?q property:P725 ?z . ?q rdf:type ontology:Q2342494 . ?z rdf:type ontology:Q502895 } GROUP BY ?q } }
Nyaruko: Crawling with Love
action count
action less
action find_tuple_counts
relation voice actor
type collectable
type common name
action count
action filter_type
action find
entity Nyaruko: Crawling with Love
relation voice actor
type common name
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { resource:Nyaruko:_Crawling_with_Love property:voice_actor ?p . ?p rdf:type ontology:common_name } } . FILTER ( ?s < ?l ) . { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?s ) WHERE { ?q property:voice_actor ?z . ?q rdf:type ontology:collectable . ?z rdf:type ontology:common_name } GROUP BY ?q } }
[]
common name collectable
SYSTEM
8
Q495094 Q336056 Q304061 Q11272884 Q11325839 Q119534 Q184667 Q2759489
(c(Q2342494),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q2342494
type Q502895
action count
action filter_type
action find
entity Q50035
relation P725
type Q502895
[ANSWER]
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { resource:Q50035 property:P725 ?p . ?p rdf:type ontology:Q502895 } } . FILTER ( ?s < ?l ) . { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?s ) WHERE { ?q property:P725 ?z . ?q rdf:type ontology:Q2342494 . ?z rdf:type ontology:Q502895 } GROUP BY ?q } }
Durarara!! The Girl Who Leapt Through Time Kyo Kara Maoh! Toaru Hikūshi e no Koiuta No Game No Life-mart Shakugan no Shana Kanojo ga Flag o Oraretara Muv-Luv
8
action count
action less
action find_tuple_counts
relation voice actor
type collectable
type common name
action count
action filter_type
action find
entity Nyaruko: Crawling with Love
relation voice actor
type common name
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?q ) AS ?c ) WHERE { { SELECT DISTINCT ( COUNT ( ?p ) AS ?l ) WHERE { resource:Nyaruko:_Crawling_with_Love property:voice_actor ?p . ?p rdf:type ontology:common_name } } . FILTER ( ?s < ?l ) . { SELECT DISTINCT ?q ( COUNT ( ?z ) AS ?s ) WHERE { ?q property:voice_actor ?z . ?q rdf:type ontology:collectable . ?z rdf:type ontology:common_name } GROUP BY ?q } }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Incomplete
Q53351
P725
Q502895 Q2342494
USER
And how about Accel World?
(c(Q2342494),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q2342494
type Q502895
action count
action filter_type
action find
entity Q53351
relation P725
type Q502895
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { resource:Q53351 property:P725 ?b . ?b rdf:type ontology:Q502895 } } . FILTER ( ?l < ?f ) . { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?l ) WHERE { ?d property:P725 ?t . ?d rdf:type ontology:Q2342494 . ?t rdf:type ontology:Q502895 } GROUP BY ?d } }
Accel World
action count
action less
action find_tuple_counts
relation voice actor
type collectable
type common name
action count
action filter_type
action find
entity Accel World
relation voice actor
type common name
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { resource:Accel_World property:voice_actor ?b . ?b rdf:type ontology:common_name } } . FILTER ( ?l < ?f ) . { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?l ) WHERE { ?d property:voice_actor ?t . ?d rdf:type ontology:collectable . ?t rdf:type ontology:common_name } GROUP BY ?d } }
[]
common name collectable
SYSTEM
14
Q50035 Q483263 Q495094 Q482870 Q336056 Q1204015 Q304061 Q11272884 Q11325839 Q119534 Q184667 Q485958 Q5647726 Q2759489
(c(Q2342494),P725,c(Q502895))
action count
action less
action find_tuple_counts
relation P725
type Q2342494
type Q502895
action count
action filter_type
action find
entity Q53351
relation P725
type Q502895
[ANSWER]
[{'concept': 'Q2342494'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { resource:Q53351 property:P725 ?b . ?b rdf:type ontology:Q502895 } } . FILTER ( ?l < ?f ) . { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?l ) WHERE { ?d property:P725 ?t . ?d rdf:type ontology:Q2342494 . ?t rdf:type ontology:Q502895 } GROUP BY ?d } }
Nyaruko: Crawling with Love Baka and Test Durarara!! Boku wa Tomodachi ga Sukunai The Girl Who Leapt Through Time Ōkami Kakushi Kyo Kara Maoh! Toaru Hikūshi e no Koiuta No Game No Life-mart Shakugan no Shana Kanojo ga Flag o Oraretara Ro-Kyu-Bu! Handy Manny's Motorcycle Adventure Muv-Luv
14
action count
action less
action find_tuple_counts
relation voice actor
type collectable
type common name
action count
action filter_type
action find
entity Accel World
relation voice actor
type common name
[{'concept': 'collectable'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?d ) AS ?s ) WHERE { { SELECT DISTINCT ( COUNT ( ?b ) AS ?f ) WHERE { resource:Accel_World property:voice_actor ?b . ?b rdf:type ontology:common_name } } . FILTER ( ?l < ?f ) . { SELECT DISTINCT ?d ( COUNT ( ?t ) AS ?l ) WHERE { ?d property:voice_actor ?t . ?d rdf:type ontology:collectable . ?t rdf:type ontology:common_name } GROUP BY ?d } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q104192
P937
Q502895
USER
Which people have Kleinmachnow as work location ?
(c(Q502895),P937,Q104192)
action filter_type
action find_reverse
entity Q104192
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q104192']
SELECT DISTINCT ?l WHERE { ?l property:P937 resource:Q104192 . ?l rdf:type ontology:Q502895 }
Kleinmachnow
action filter_type
action find_reverse
entity Kleinmachnow
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Kleinmachnow']
SELECT DISTINCT ?l WHERE { ?l property:work_location resource:Kleinmachnow . ?l rdf:type ontology:common_name }
[]
common name
Q102998 Q108484 Q2128074
SYSTEM
Angela Brunner, Walter Kaufmann, Rainer Ehrt
Q2128074 Q1997069 Q108484 Q15452688 Q1623536 Q1447937 Q102998
(c(Q502895),P937,Q104192)
action filter_type
action find_reverse
entity Q104192
relation P937
type Q502895
[ANSWERS] have Kleinmachnow as work location
[{'concept': 'Q502895'}, 'P937', 'Q104192']
SELECT DISTINCT ?l WHERE { ?l property:P937 resource:Q104192 . ?l rdf:type ontology:Q502895 }
Rainer Ehrt Norbert Niehues Walter Kaufmann Wolfdietrich Eichler Thomas Billhardt Peter Klemm Angela Brunner
Angela Brunner, Walter Kaufmann and Rainer Ehrt have Kleinmachnow as work location
Angela Brunner Walter Kaufmann Rainer Ehrt
action filter_type
action find_reverse
entity Kleinmachnow
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Kleinmachnow']
SELECT DISTINCT ?l WHERE { ?l property:work_location resource:Kleinmachnow . ?l rdf:type ontology:common_name }
[]
Clarification
Simple Question|Single Entity|Indirect
Q102998
P734
Q82799
USER
Who is associated with that person ?
(Q102998,P734,c(Q82799))
action filter_type
action find
entity Q102998
relation P734
type Q82799
['Q102998', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { resource:Q102998 property:P734 ?z . ?z rdf:type ontology:Q82799 }
Angela Brunner
action filter_type
action find
entity Angela Brunner
relation family name
type name
['Angela Brunner', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { resource:Angela_Brunner property:family_name ?z . ?z rdf:type ontology:name }
[]
name
Clarification for simple ques.
Q108484
SYSTEM
Did you mean Walter Kaufmann ?
Q102998 Q108484 Q2128074
(Q102998,P734,c(Q82799)) (Q108484,P734,c(Q82799)) (Q2128074,P734,c(Q82799))
[ANSWER]
['Q102998', 'P734', {'concept': 'Q82799'}] ['Q108484', 'P734', {'concept': 'Q82799'}] ['Q2128074', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { resource:Q102998 property:P734 ?z . ?z rdf:type ontology:Q82799 }
Angela Brunner Walter Kaufmann Rainer Ehrt
Did you mean Walter Kaufmann ?
Walter Kaufmann
['Angela Brunner', 'family name', {'concept': 'name'}] ['Walter Kaufmann', 'family name', {'concept': 'name'}] ['Rainer Ehrt', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { resource:Angela_Brunner property:family_name ?z . ?z rdf:type ontology:name }
[]
Simple Question (Coreferenced)
USER
No, I meant Angela Brunner. Could you tell me the answer for that?
(Q102998,P734,c(Q82799))
Q102998
['Q102998', 'P734', {'concept': 'Q82799'}]
['Angela Brunner', 'family name', {'concept': 'name'}]
[]
Q2663861
SYSTEM
Brunner
Q2663861
(Q102998,P734,c(Q82799))
action filter_type
action find
entity Q102998
relation P734
type Q82799
[ANSWER] is associated with that person
['Q102998', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?z WHERE { resource:Q102998 property:P734 ?z . ?z rdf:type ontology:Q82799 }
Brunner
Brunner is associated with that person
Brunner
action filter_type
action find
entity Angela Brunner
relation family name
type name
['Angela Brunner', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?z WHERE { resource:Angela_Brunner property:family_name ?z . ?z rdf:type ontology:name }
[]