Simple Question (Direct)
Simple Question
Q11997680
P162
Q502895
USER
Who is the creator of Reunion – Ten Years After the War ?
(Q11997680,P162,c(Q502895))
action filter_type
action find
entity Q11997680
relation P162
type Q502895
['Q11997680', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q11997680 property:P162 ?s . ?s rdf:type ontology:Q502895 }
Reunion – Ten Years After the War
action filter_type
action find
entity Reunion – Ten Years After the War
relation producer
type common name
['Reunion – Ten Years After the War', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Reunion_–_Ten_Years_After_the_War property:producer ?s . ?s rdf:type ontology:common_name }
[]
common name
Q21935478
SYSTEM
Charlotte Røhder Tvedt
Q21935478
(Q11997680,P162,c(Q502895))
action filter_type
action find
entity Q11997680
relation P162
type Q502895
The creator of Reunion – Ten Years After the War is born [ANSWER]
['Q11997680', 'P162', {'concept': 'Q502895'}]
SELECT DISTINCT ?s WHERE { resource:Q11997680 property:P162 ?s . ?s rdf:type ontology:Q502895 }
Charlotte Røhder Tvedt
The creator of Reunion – Ten Years After the War is born Charlotte Røhder Tvedt
Charlotte Røhder Tvedt
action filter_type
action find
entity Reunion – Ten Years After the War
relation producer
type common name
['Reunion – Ten Years After the War', 'producer', {'concept': 'common name'}]
SELECT DISTINCT ?s WHERE { resource:Reunion_–_Ten_Years_After_the_War property:producer ?s . ?s rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q11997680
P57
Q502895
USER
Who directed Reunion – Ten Years After the War ?
(Q11997680,P57,c(Q502895))
action filter_type
action find
entity Q11997680
relation P57
type Q502895
['Q11997680', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q11997680 property:P57 ?r . ?r rdf:type ontology:Q502895 }
Reunion – Ten Years After the War
action filter_type
action find
entity Reunion – Ten Years After the War
relation director
type common name
['Reunion – Ten Years After the War', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Reunion_–_Ten_Years_After_the_War property:director ?r . ?r rdf:type ontology:common_name }
[]
common name
Q17096397
SYSTEM
Jon Haukeland
Q17096397
(Q11997680,P57,c(Q502895))
action filter_type
action find
entity Q11997680
relation P57
type Q502895
[ANSWER] directed Reunion – Ten Years After the War
['Q11997680', 'P57', {'concept': 'Q502895'}]
SELECT DISTINCT ?r WHERE { resource:Q11997680 property:P57 ?r . ?r rdf:type ontology:Q502895 }
Jon Haukeland
Jon Haukeland directed Reunion – Ten Years After the War
Jon Haukeland
action filter_type
action find
entity Reunion – Ten Years After the War
relation director
type common name
['Reunion – Ten Years After the War', 'director', {'concept': 'common name'}]
SELECT DISTINCT ?r WHERE { resource:Reunion_–_Ten_Years_After_the_War property:director ?r . ?r rdf:type ontology:common_name }
[]
Verification (Boolean) (All)
Verification|2 entities, one direct and one indirect, object is indirect
Q17096397 Q7828180
P57
Q838948
USER
Is that person a director of Totally Blonde ?
(Q7828180,P57,Q17096397)
action is_in
entity Q7828180
action find
entity Q17096397
relation P57
['Q7828180', 'P57', 'Q17096397']
ASK WHERE { resource:Q17096397 property:P57 resource:Q7828180 }
Jon Haukeland Totally Blonde
action is_in
entity Totally Blonde
action find
entity Jon Haukeland
relation director
['Totally Blonde', 'director', 'Jon Haukeland']
ASK WHERE { resource:Jon_Haukeland property:director resource:Totally_Blonde }
[]
work of art
SYSTEM
NO
(Q7828180,P57,Q17096397)
action is_in
entity Q7828180
action find
entity Q17096397
relation P57
[ANSWER]
['Q7828180', 'P57', 'Q17096397']
ASK WHERE { resource:Q17096397 property:P57 resource:Q7828180 }
No
action is_in
entity Totally Blonde
action find
entity Jon Haukeland
relation director
['Totally Blonde', 'director', 'Jon Haukeland']
ASK WHERE { resource:Jon_Haukeland property:director resource:Totally_Blonde }
[]
Verification (Boolean) (All)
Verification|3 entities, all direct, 2 are query entities
Q21935478 Q20 Q5603853
P27
Q15617994
USER
Is Charlotte Røhder Tvedt a civilian of Norway and Greene County School District ?
(Q21935478,P27,Q20) (Q21935478,P27,Q5603853)
action is_in
entity Q21935478
action intersection
action find_reverse
entity Q20
relation P27
action find_reverse
entity Q5603853
relation P27
['Q21935478', 'P27', 'Q20'] ['Q21935478', 'P27', 'Q5603853']
ASK WHERE { resource:Q21935478 property:P27 resource:Q20 . resource:Q21935478 property:P27 resource:Q5603853 }
Charlotte Røhder Tvedt Norway Greene County School District
action is_in
entity Charlotte Røhder Tvedt
action intersection
action find_reverse
entity Norway
relation country of citizenship
action find_reverse
entity Greene County School District
relation country of citizenship
['Charlotte Røhder Tvedt', 'country of citizenship', 'Norway'] ['Charlotte Røhder Tvedt', 'country of citizenship', 'Greene County School District']
ASK WHERE { resource:Charlotte_Røhder_Tvedt property:country_of_citizenship resource:Norway . resource:Charlotte_Røhder_Tvedt property:country_of_citizenship resource:Greene_County_School_District }
[]
designation for an administrative territorial entity
SYSTEM
YES and NO respectively
(Q21935478,P27,Q20) (Q21935478,P27,Q5603853)
action is_in
entity Q21935478
action intersection
action find_reverse
entity Q20
relation P27
action find_reverse
entity Q5603853
relation P27
[ANSWER]
['Q21935478', 'P27', 'Q20'] ['Q21935478', 'P27', 'Q5603853']
ASK WHERE { resource:Q21935478 property:P27 resource:Q20 . resource:Q21935478 property:P27 resource:Q5603853 }
YES and NO respectively
action is_in
entity Charlotte Røhder Tvedt
action intersection
action find_reverse
entity Norway
relation country of citizenship
action find_reverse
entity Greene County School District
relation country of citizenship
['Charlotte Røhder Tvedt', 'country of citizenship', 'Norway'] ['Charlotte Røhder Tvedt', 'country of citizenship', 'Greene County School District']
ASK WHERE { resource:Charlotte_Røhder_Tvedt property:country_of_citizenship resource:Norway . resource:Charlotte_Røhder_Tvedt property:country_of_citizenship resource:Greene_County_School_District }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q21935478 Q390018
P162
Q838948
USER
How many works of art have been developed by Charlotte Røhder Tvedt or Toronto International Film Festival ?
(c(Q838948),P162,Q21935478) (c(Q838948),P162,Q390018)
action count
action union
action filter_type
action find_reverse
entity Q21935478
relation P162
type Q838948
action filter_type
action find_reverse
entity Q390018
relation P162
type Q838948
[{'concept': 'Q838948'}, 'P162', 'Q21935478'] [{'concept': 'Q838948'}, 'P162', 'Q390018']
SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) WHERE { { ?s property:P162 resource:Q390018 . ?s rdf:type ontology:Q838948 } UNION { ?s property:P162 resource:Q21935478 . ?s rdf:type ontology:Q838948 } }
Charlotte Røhder Tvedt Toronto International Film Festival
action count
action union
action filter_type
action find_reverse
entity Charlotte Røhder Tvedt
relation producer
type work of art
action filter_type
action find_reverse
entity Toronto International Film Festival
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Charlotte Røhder Tvedt'] [{'concept': 'work of art'}, 'producer', 'Toronto International Film Festival']
SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) WHERE { { ?s property:producer resource:Toronto_International_Film_Festival . ?s rdf:type ontology:work_of_art } UNION { ?s property:producer resource:Charlotte_Røhder_Tvedt . ?s rdf:type ontology:work_of_art } }
[]
work of art
SYSTEM
2
Q814288 Q11997680
(c(Q838948),P162,Q21935478) (c(Q838948),P162,Q390018)
action count
action union
action filter_type
action find_reverse
entity Q21935478
relation P162
type Q838948
action filter_type
action find_reverse
entity Q390018
relation P162
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P162', 'Q21935478'] [{'concept': 'Q838948'}, 'P162', 'Q390018']
SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) WHERE { { ?s property:P162 resource:Q390018 . ?s rdf:type ontology:Q838948 } UNION { ?s property:P162 resource:Q21935478 . ?s rdf:type ontology:Q838948 } }
Encounters at the End of the World Reunion – Ten Years After the War
2
action count
action union
action filter_type
action find_reverse
entity Charlotte Røhder Tvedt
relation producer
type work of art
action filter_type
action find_reverse
entity Toronto International Film Festival
relation producer
type work of art
[{'concept': 'work of art'}, 'producer', 'Charlotte Røhder Tvedt'] [{'concept': 'work of art'}, 'producer', 'Toronto International Film Festival']
SELECT DISTINCT ( COUNT ( ?s ) AS ?x ) WHERE { { ?s property:producer resource:Toronto_International_Film_Festival . ?s rdf:type ontology:work_of_art } UNION { ?s property:producer resource:Charlotte_Røhder_Tvedt . ?s rdf:type ontology:work_of_art } }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q17096397
P106
Q28640
USER
Which profession has Jon Haukeland as his/her 's career ?
(Q17096397,P106,c(Q28640))
action filter_type
action find
entity Q17096397
relation P106
type Q28640
['Q17096397', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?i WHERE { resource:Q17096397 property:P106 ?i . ?i rdf:type ontology:Q28640 }
Jon Haukeland
action filter_type
action find
entity Jon Haukeland
relation occupation
type profession
['Jon Haukeland', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?i WHERE { resource:Jon_Haukeland property:occupation ?i . ?i rdf:type ontology:profession }
[]
profession
Q2526255
SYSTEM
film director
Q2526255
(Q17096397,P106,c(Q28640))
action filter_type
action find
entity Q17096397
relation P106
type Q28640
The [ANSWER] has Jon Haukeland as his/her 's career
['Q17096397', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?i WHERE { resource:Q17096397 property:P106 ?i . ?i rdf:type ontology:Q28640 }
film director
The film director has Jon Haukeland as his/her 's career
film director
action filter_type
action find
entity Jon Haukeland
relation occupation
type profession
['Jon Haukeland', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?i WHERE { resource:Jon_Haukeland property:occupation ?i . ?i rdf:type ontology:profession }
[]
Simple Question (Ellipsis)
only subject is changed, parent and predicate remains same
Q21787617
Q28640
USER
And how about Ineke Houtman?
(Q21787617,P106,c(Q28640))
action filter_type
action find
entity Q21787617
relation P106
type Q28640
['Q21787617', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?b WHERE { resource:Q21787617 property:P106 ?b . ?b rdf:type ontology:Q28640 }
Ineke Houtman
action filter_type
action find
entity Ineke Houtman
relation occupation
type profession
['Ineke Houtman', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?b WHERE { resource:Ineke_Houtman property:occupation ?b . ?b rdf:type ontology:profession }
[]
profession
Q2526255
SYSTEM
film director
Q2526255
(Q21787617,P106,c(Q28640))
action filter_type
action find
entity Q21787617
relation P106
type Q28640
[ANSWER]
['Q21787617', 'P106', {'concept': 'Q28640'}]
SELECT DISTINCT ?b WHERE { resource:Q21787617 property:P106 ?b . ?b rdf:type ontology:Q28640 }
film director
film director
action filter_type
action find
entity Ineke Houtman
relation occupation
type profession
['Ineke Houtman', 'occupation', {'concept': 'profession'}]
SELECT DISTINCT ?b WHERE { resource:Ineke_Houtman property:occupation ?b . ?b rdf:type ontology:profession }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Mult. entity type
P941
Q838948 Q11424 Q201658
USER
Which works of art inspired around 1 films or film genres ?
(c(Q11424)|c(Q201658),P941,c(Q838948))
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q11424
action find_reverse_tuple_counts
relation P941
type Q838948
type Q201658
value 1
[[{'concept': 'Q11424'}, {'concept': 'Q201658'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?d = 1 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) ?r WHERE { { ?e property:P941 ?r . ?e rdf:type ontology:Q11424 . ?r rdf:type ontology:Q838948 } UNION { ?e property:P941 ?r . ?e rdf:type ontology:Q201658 . ?r rdf:type ontology:Q838948 } } GROUP BY ?r } }
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type film
action find_reverse_tuple_counts
relation inspired by
type work of art
type film genre
value 1
[[{'concept': 'film'}, {'concept': 'film genre'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?d = 1 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) ?r WHERE { { ?e property:inspired_by ?r . ?e rdf:type ontology:film . ?r rdf:type ontology:work_of_art } UNION { ?e property:inspired_by ?r . ?e rdf:type ontology:film_genre . ?r rdf:type ontology:work_of_art } } GROUP BY ?r } }
[]
work of art film film genre
Q1217787 Q41567 Q83186
SYSTEM
The Time Machine, Hamlet, Romeo and Juliet
Q1217787 Q7758112 Q41567 Q83186
(c(Q11424)|c(Q201658),P941,c(Q838948))
action approx
action union
action find_reverse_tuple_counts
relation P941
type Q838948
type Q11424
action find_reverse_tuple_counts
relation P941
type Q838948
type Q201658
value 1
[ANSWERS] inspired around 1 films or film genres
[[{'concept': 'Q11424'}, {'concept': 'Q201658'}], 'P941', {'concept': 'Q838948'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?d = 1 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) ?r WHERE { { ?e property:P941 ?r . ?e rdf:type ontology:Q11424 . ?r rdf:type ontology:Q838948 } UNION { ?e property:P941 ?r . ?e rdf:type ontology:Q201658 . ?r rdf:type ontology:Q838948 } } GROUP BY ?r } }
The Time Machine The Pretty Sister of Jose Hamlet Romeo and Juliet
The Time Machine, Hamlet and Romeo and Juliet inspired around 1 films or film genres
The Time Machine Hamlet Romeo and Juliet
action approx
action union
action find_reverse_tuple_counts
relation inspired by
type work of art
type film
action find_reverse_tuple_counts
relation inspired by
type work of art
type film genre
value 1
[[{'concept': 'film'}, {'concept': 'film genre'}], 'inspired by', {'concept': 'work of art'}]
SELECT DISTINCT ?r WHERE { FILTER ( ?d = 1 ) . { SELECT DISTINCT ( COUNT ( ?e ) AS ?d ) ?r WHERE { { ?e property:inspired_by ?r . ?e rdf:type ontology:film . ?r rdf:type ontology:work_of_art } UNION { ?e property:inspired_by ?r . ?e rdf:type ontology:film_genre . ?r rdf:type ontology:work_of_art } } GROUP BY ?r } }
[]