Simple Question (Direct)
Simple Question
Q1918347
P737
Q502895
USER
Which person acted as an inflence on Master of the City of Ladies ?
(Q1918347,P737,c(Q502895))
action filter_type
action find
entity Q1918347
relation P737
type Q502895
['Q1918347', 'P737', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q1918347 property:P737 ?y . ?y rdf:type ontology:Q502895 }
Master of the City of Ladies
action filter_type
action find
entity Master of the City of Ladies
relation influenced by
type common name
['Master of the City of Ladies', 'influenced by', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Master_of_the_City_of_Ladies property:influenced_by ?y . ?y rdf:type ontology:common_name }
[]
common name
Q2211325
SYSTEM
Jacquemart de Hesdin
Q2211325
(Q1918347,P737,c(Q502895))
action filter_type
action find
entity Q1918347
relation P737
type Q502895
[ANSWER] acted as an inflence on Master of the City of Ladies
['Q1918347', 'P737', {'concept': 'Q502895'}]
SELECT DISTINCT ?y WHERE { resource:Q1918347 property:P737 ?y . ?y rdf:type ontology:Q502895 }
Jacquemart de Hesdin
Jacquemart de Hesdin acted as an inflence on Master of the City of Ladies
Jacquemart de Hesdin
action filter_type
action find
entity Master of the City of Ladies
relation influenced by
type common name
['Master of the City of Ladies', 'influenced by', {'concept': 'common name'}]
SELECT DISTINCT ?y WHERE { resource:Master_of_the_City_of_Ladies property:influenced_by ?y . ?y rdf:type ontology:common_name }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q1918347
P937
Q56061
USER
Which is the work location of that name ?
(Q2211325,P937,c(Q56061))
action filter_type
action find
entity Q1918347
relation P937
type Q56061
['Q2211325', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q1918347 property:P937 ?x . ?x rdf:type ontology:Q56061 }
Master of the City of Ladies
action filter_type
action find
entity Master of the City of Ladies
relation work location
type administrative territorial entity
['Jacquemart de Hesdin', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Master_of_the_City_of_Ladies property:work_location ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q2211325,P937,c(Q56061))
action filter_type
action find
entity Q1918347
relation P937
type Q56061
[ANSWER] is the work location of that name
['Q2211325', 'P937', {'concept': 'Q56061'}]
SELECT DISTINCT ?x WHERE { resource:Q1918347 property:P937 ?x . ?x rdf:type ontology:Q56061 }
Paris
Paris is the work location of that name
Paris
action filter_type
action find
entity Master of the City of Ladies
relation work location
type administrative territorial entity
['Jacquemart de Hesdin', 'work location', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?x WHERE { resource:Master_of_the_City_of_Ladies property:work_location ?x . ?x rdf:type ontology:administrative_territorial_entity }
[]
Quantitative Reasoning (Count) (All)
Quantitative|Count|Mult. entity type
Q90 Q865
P915
Q838948
USER
How many works of art were filmed in the location Paris and Taiwan ?
(c(Q838948),P915,Q90) (c(Q838948),P915,Q865)
action count
action intersection
action filter_type
action find_reverse
entity Q90
relation P915
type Q838948
action filter_type
action find_reverse
entity Q865
relation P915
type Q838948
[{'concept': 'Q838948'}, 'P915', 'Q90'] [{'concept': 'Q838948'}, 'P915', 'Q865']
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { ?p property:P915 resource:Q90 . ?p rdf:type ontology:Q838948 . ?p rdf:type ontology:Q838948 . ?p property:P915 resource:Q865 }
Paris Taiwan
action count
action intersection
action filter_type
action find_reverse
entity Paris
relation filming location
type work of art
action filter_type
action find_reverse
entity Taiwan
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Paris'] [{'concept': 'work of art'}, 'filming location', 'Taiwan']
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { ?p property:filming_location resource:Paris . ?p rdf:type ontology:work_of_art . ?p rdf:type ontology:work_of_art . ?p property:filming_location resource:Taiwan }
[]
work of art
SYSTEM
2
Q15624215 Q391143
(c(Q838948),P915,Q90) (c(Q838948),P915,Q865)
action count
action intersection
action filter_type
action find_reverse
entity Q90
relation P915
type Q838948
action filter_type
action find_reverse
entity Q865
relation P915
type Q838948
[ANSWER]
[{'concept': 'Q838948'}, 'P915', 'Q90'] [{'concept': 'Q838948'}, 'P915', 'Q865']
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { ?p property:P915 resource:Q90 . ?p rdf:type ontology:Q838948 . ?p rdf:type ontology:Q838948 . ?p property:P915 resource:Q865 }
Lucy Chinese Zodiac
2
action count
action intersection
action filter_type
action find_reverse
entity Paris
relation filming location
type work of art
action filter_type
action find_reverse
entity Taiwan
relation filming location
type work of art
[{'concept': 'work of art'}, 'filming location', 'Paris'] [{'concept': 'work of art'}, 'filming location', 'Taiwan']
SELECT DISTINCT ( COUNT ( ?p ) AS ?d ) WHERE { ?p property:filming_location resource:Paris . ?p rdf:type ontology:work_of_art . ?p rdf:type ontology:work_of_art . ?p property:filming_location resource:Taiwan }
[]