Simple Question (Direct)
Simple Question
Q1215362
P161
Q502895
USER
Which people were casted in The Organizer ?
(Q1215362,P161,c(Q502895))
action filter_type
action find
entity Q1215362
relation P161
type Q502895
['Q1215362', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q1215362 property:P161 ?b . ?b rdf:type ontology:Q502895 }
The Organizer
action filter_type
action find
entity The Organizer
relation cast member
type common name
['The Organizer', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:The_Organizer property:cast_member ?b . ?b rdf:type ontology:common_name }
[]
common name
Q106443 Q55469 Q1451173
SYSTEM
Annie Girardot, Marcello Mastroianni, François Périer
Q55469 Q3756748 Q599249 Q2092897 Q6390331 Q266640 Q1451173 Q106443 Q1054390 Q436317 Q522832 Q697888 Q3718908 Q4015528
(Q1215362,P161,c(Q502895))
action filter_type
action find
entity Q1215362
relation P161
type Q502895
[ANSWERS] were casted in The Organizer
['Q1215362', 'P161', {'concept': 'Q502895'}]
SELECT DISTINCT ?b WHERE { resource:Q1215362 property:P161 ?b . ?b rdf:type ontology:Q502895 }
Marcello Mastroianni Gabriella Giorgelli Bernard Blier Piero Lulli Kenneth Kove Raffaella Carrà François Périer Annie Girardot Mario Pisu Giulio Bosetti Folco Lulli Renato Salvatori Edda Ferronao Vittorio Sanipoli
Annie Girardot, Marcello Mastroianni and François Périer were casted in The Organizer
Annie Girardot Marcello Mastroianni François Périer
action filter_type
action find
entity The Organizer
relation cast member
type common name
['The Organizer', 'cast member', {'concept': 'common name'}]
SELECT DISTINCT ?b WHERE { resource:The_Organizer property:cast_member ?b . ?b rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1215362
P1040
Q502895
USER
Which person is the editor of that work of art ?
(Q106443,P1040,c(Q502895)) (Q55469,P1040,c(Q502895)) (Q1451173,P1040,c(Q502895))
action filter_type
action find
entity Q1215362
relation P1040
type Q502895
['Q106443', 'P1040', {'concept': 'Q502895'}] ['Q55469', 'P1040', {'concept': 'Q502895'}] ['Q1451173', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q1215362 property:P1040 ?o . ?o rdf:type ontology:Q502895 }
The Organizer
action filter_type
action find
entity The Organizer
relation film editor
type common name
['Annie Girardot', 'film editor', {'concept': 'common name'}] ['Marcello Mastroianni', 'film editor', {'concept': 'common name'}] ['François Périer', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:The_Organizer property:film_editor ?o . ?o rdf:type ontology:common_name }
[]
common name
Q166318
SYSTEM
Ruggero Mastroianni
Q166318
(Q106443,P1040,c(Q502895)) (Q55469,P1040,c(Q502895)) (Q1451173,P1040,c(Q502895))
action filter_type
action find
entity Q1215362
relation P1040
type Q502895
[ANSWER] is the editor of that work of art
['Q106443', 'P1040', {'concept': 'Q502895'}] ['Q55469', 'P1040', {'concept': 'Q502895'}] ['Q1451173', 'P1040', {'concept': 'Q502895'}]
SELECT DISTINCT ?o WHERE { resource:Q1215362 property:P1040 ?o . ?o rdf:type ontology:Q502895 }
Ruggero Mastroianni
Ruggero Mastroianni is the editor of that work of art
Ruggero Mastroianni
action filter_type
action find
entity The Organizer
relation film editor
type common name
['Annie Girardot', 'film editor', {'concept': 'common name'}] ['Marcello Mastroianni', 'film editor', {'concept': 'common name'}] ['François Périer', 'film editor', {'concept': 'common name'}]
SELECT DISTINCT ?o WHERE { resource:The_Organizer property:film_editor ?o . ?o rdf:type ontology:common_name }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count over Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P725
Q502895 Q5398426
USER
How many television series had their voice dubbing done by atleast 13 people ?
(c(Q5398426),P725,c(Q502895))
action count
action atleast
action find_tuple_counts
relation P725
type Q5398426
type Q502895
value 13
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?b ) WHERE { ?e rdf:type ontology:Q5398426 . ?d rdf:type ontology:Q502895 . ?e property:P725 ?d } GROUP BY ?e } . FILTER ( ?b >= 13 ) }
action count
action atleast
action find_tuple_counts
relation voice actor
type television series
type common name
value 13
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?b ) WHERE { ?e rdf:type ontology:television_series . ?d rdf:type ontology:common_name . ?e property:voice_actor ?d } GROUP BY ?e } . FILTER ( ?b >= 13 ) }
[]
common name television series
SYSTEM
4
Q662 Q881797 Q386361 Q483535
(c(Q5398426),P725,c(Q502895))
action count
action atleast
action find_tuple_counts
relation P725
type Q5398426
type Q502895
value 13
[ANSWER]
[{'concept': 'Q5398426'}, 'P725', {'concept': 'Q502895'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?b ) WHERE { ?e rdf:type ontology:Q5398426 . ?d rdf:type ontology:Q502895 . ?e property:P725 ?d } GROUP BY ?e } . FILTER ( ?b >= 13 ) }
Neon Genesis Evangelion YuruYuri Devil May Cry: The Animated Series Ore no Imōto ga Konna ni Kawaii Wake ga Nai
4
action count
action atleast
action find_tuple_counts
relation voice actor
type television series
type common name
value 13
[{'concept': 'television series'}, 'voice actor', {'concept': 'common name'}]
SELECT DISTINCT ( COUNT ( ?e ) AS ?j ) WHERE { { SELECT DISTINCT ?e ( COUNT ( ?d ) AS ?b ) WHERE { ?e rdf:type ontology:television_series . ?d rdf:type ontology:common_name . ?e property:voice_actor ?d } GROUP BY ?e } . FILTER ( ?b >= 13 ) }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1215362
P462
Q1075
USER
Which color is associated with The Organizer ?
(Q1215362,P462,c(Q1075))
action filter_type
action find
entity Q1215362
relation P462
type Q1075
['Q1215362', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?s WHERE { resource:Q1215362 property:P462 ?s . ?s rdf:type ontology:Q1075 }
The Organizer
action filter_type
action find
entity The Organizer
relation color
type color
['The Organizer', 'color', {'concept': 'color'}]
SELECT DISTINCT ?s WHERE { resource:The_Organizer property:color ?s . ?s rdf:type ontology:color }
[]
color
Q2254548
SYSTEM
black-and-white film
Q2254548
(Q1215362,P462,c(Q1075))
action filter_type
action find
entity Q1215362
relation P462
type Q1075
Film [ANSWER] is associated with The Organizer
['Q1215362', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?s WHERE { resource:Q1215362 property:P462 ?s . ?s rdf:type ontology:Q1075 }
black-and-white film
Film black-and-white film is associated with The Organizer
black-and-white film
action filter_type
action find
entity The Organizer
relation color
type color
['The Organizer', 'color', {'concept': 'color'}]
SELECT DISTINCT ?s WHERE { resource:The_Organizer property:color ?s . ?s rdf:type ontology:color }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q3178086
Q1075
USER
And also tell me about Girls of Paris?
(Q3178086,P462,c(Q1075))
action filter_type
action find
entity Q3178086
relation P462
type Q1075
['Q3178086', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?p WHERE { resource:Q3178086 property:P462 ?p . ?p rdf:type ontology:Q1075 }
Girls of Paris
action filter_type
action find
entity Girls of Paris
relation color
type color
['Girls of Paris', 'color', {'concept': 'color'}]
SELECT DISTINCT ?p WHERE { resource:Girls_of_Paris property:color ?p . ?p rdf:type ontology:color }
[]
color
Q2254548
SYSTEM
black-and-white film
Q2254548
(Q3178086,P462,c(Q1075))
action filter_type
action find
entity Q3178086
relation P462
type Q1075
[ANSWER]
['Q3178086', 'P462', {'concept': 'Q1075'}]
SELECT DISTINCT ?p WHERE { resource:Q3178086 property:P462 ?p . ?p rdf:type ontology:Q1075 }
black-and-white film
black-and-white film
action filter_type
action find
entity Girls of Paris
relation color
type color
['Girls of Paris', 'color', {'concept': 'color'}]
SELECT DISTINCT ?p WHERE { resource:Girls_of_Paris property:color ?p . ?p rdf:type ontology:color }
[]
Logical Reasoning (All)
Logical|Union|Multiple_Relation
Q10870705 Q3178086
P495 P17
Q15617994
USER
Which administrative territories did Girls of Paris originate or are Donghutang located in ?
OR((Q3178086,P495,c(Q15617994)), (Q10870705,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3178086
relation P495
action find
entity Q10870705
relation P17
type Q15617994
{'OR': [['Q3178086', 'P495', {'concept': 'Q15617994'}], ['Q10870705', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q3178086 property:P495 ?i } UNION { resource:Q10870705 property:P17 ?i } } . ?i rdf:type ontology:Q15617994 }
Donghutang Girls of Paris
action filter_type
action union
action find
entity Girls of Paris
relation country of origin
action find
entity Donghutang
relation country
type designation for an administrative territorial entity
{'OR': [['Girls of Paris', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Donghutang', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Girls_of_Paris property:country_of_origin ?i } UNION { resource:Donghutang property:country ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142 Q148
SYSTEM
France, People's Republic of China
Q142 Q148
OR((Q3178086,P495,c(Q15617994)), (Q10870705,P17,c(Q15617994)))
action filter_type
action union
action find
entity Q3178086
relation P495
action find
entity Q10870705
relation P17
type Q15617994
Girls of Paris originated in [ANSWERS]
{'OR': [['Q3178086', 'P495', {'concept': 'Q15617994'}], ['Q10870705', 'P17', {'concept': 'Q15617994'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Q3178086 property:P495 ?i } UNION { resource:Q10870705 property:P17 ?i } } . ?i rdf:type ontology:Q15617994 }
France People's Republic of China
Girls of Paris originated in France and People's Republic of China
France People's Republic of China
action filter_type
action union
action find
entity Girls of Paris
relation country of origin
action find
entity Donghutang
relation country
type designation for an administrative territorial entity
{'OR': [['Girls of Paris', 'country of origin', {'concept': 'designation for an administrative territorial entity'}], ['Donghutang', 'country', {'concept': 'designation for an administrative territorial entity'}]]}
SELECT DISTINCT ?i WHERE { { { resource:Girls_of_Paris property:country_of_origin ?i } UNION { resource:Donghutang property:country ?i } } . ?i rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]