Simple Question (Direct)
Simple Question
Q1684952
P108
Q41176
USER
Which building employs Abbé Aubert ?
(Q1684952,P108,c(Q41176))
action filter_type
action find
entity Q1684952
relation P108
type Q41176
['Q1684952', 'P108', {'concept': 'Q41176'}]
SELECT DISTINCT ?m WHERE { resource:Q1684952 property:P108 ?m . ?m rdf:type ontology:Q41176 }
Abbé Aubert
action filter_type
action find
entity Abbé Aubert
relation employer
type building
['Abbé Aubert', 'employer', {'concept': 'building'}]
SELECT DISTINCT ?m WHERE { resource:Abbé_Aubert property:employer ?m . ?m rdf:type ontology:building }
[]
building
Q202660
SYSTEM
Collège de France
Q202660
(Q1684952,P108,c(Q41176))
action filter_type
action find
entity Q1684952
relation P108
type Q41176
[ANSWER] employs Abbé Aubert
['Q1684952', 'P108', {'concept': 'Q41176'}]
SELECT DISTINCT ?m WHERE { resource:Q1684952 property:P108 ?m . ?m rdf:type ontology:Q41176 }
Collège de France
Collège de France employs Abbé Aubert
Collège de France
action filter_type
action find
entity Abbé Aubert
relation employer
type building
['Abbé Aubert', 'employer', {'concept': 'building'}]
SELECT DISTINCT ?m WHERE { resource:Abbé_Aubert property:employer ?m . ?m rdf:type ontology:building }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q1684952
P50
Q732577
USER
What is the publication written by Abbé Aubert ?
(c(Q732577),P50,Q1684952)
action filter_type
action find_reverse
entity Q1684952
relation P50
type Q732577
[{'concept': 'Q732577'}, 'P50', 'Q1684952']
SELECT DISTINCT ?p WHERE { ?p property:P50 resource:Q1684952 . ?p rdf:type ontology:Q732577 }
Abbé Aubert
action filter_type
action find_reverse
entity Abbé Aubert
relation author
type publication
[{'concept': 'publication'}, 'author', 'Abbé Aubert']
SELECT DISTINCT ?p WHERE { ?p property:author resource:Abbé_Aubert . ?p rdf:type ontology:publication }
[]
publication
Q26709625
SYSTEM
Annonces, affiches et avis divers
Q26709625
(c(Q732577),P50,Q1684952)
action filter_type
action find_reverse
entity Q1684952
relation P50
type Q732577
The publication written by Abbé Aubert is French [ANSWER]
[{'concept': 'Q732577'}, 'P50', 'Q1684952']
SELECT DISTINCT ?p WHERE { ?p property:P50 resource:Q1684952 . ?p rdf:type ontology:Q732577 }
Annonces, affiches et avis divers
The publication written by Abbé Aubert is French Annonces, affiches et avis divers
Annonces, affiches et avis divers
action filter_type
action find_reverse
entity Abbé Aubert
relation author
type publication
[{'concept': 'publication'}, 'author', 'Abbé Aubert']
SELECT DISTINCT ?p WHERE { ?p property:author resource:Abbé_Aubert . ?p rdf:type ontology:publication }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q26709625
P291
Q56061
USER
Which administrative territory is the publication region of that one ?
(Q26709625,P291,c(Q56061))
action filter_type
action find
entity Q26709625
relation P291
type Q56061
['Q26709625', 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q26709625 property:P291 ?y . ?y rdf:type ontology:Q56061 }
Annonces, affiches et avis divers
action filter_type
action find
entity Annonces, affiches et avis divers
relation place of publication
type administrative territorial entity
['Annonces, affiches et avis divers', 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Annonces,_affiches_et_avis_divers property:place_of_publication ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
administrative territorial entity
Q90
SYSTEM
Paris
Q90
(Q26709625,P291,c(Q56061))
action filter_type
action find
entity Q26709625
relation P291
type Q56061
[ANSWER] is the publication region of that one
['Q26709625', 'P291', {'concept': 'Q56061'}]
SELECT DISTINCT ?y WHERE { resource:Q26709625 property:P291 ?y . ?y rdf:type ontology:Q56061 }
Paris
Paris is the publication region of that one
Paris
action filter_type
action find
entity Annonces, affiches et avis divers
relation place of publication
type administrative territorial entity
['Annonces, affiches et avis divers', 'place of publication', {'concept': 'administrative territorial entity'}]
SELECT DISTINCT ?y WHERE { resource:Annonces,_affiches_et_avis_divers property:place_of_publication ?y . ?y rdf:type ontology:administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q26709625
P495
Q15617994
USER
What is the country of origin of that publication ?
(Q90,P495,c(Q15617994))
action filter_type
action find
entity Q26709625
relation P495
type Q15617994
['Q90', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q26709625 property:P495 ?s . ?s rdf:type ontology:Q15617994 }
Annonces, affiches et avis divers
action filter_type
action find
entity Annonces, affiches et avis divers
relation country of origin
type designation for an administrative territorial entity
['Paris', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Annonces,_affiches_et_avis_divers property:country_of_origin ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q90,P495,c(Q15617994))
action filter_type
action find
entity Q26709625
relation P495
type Q15617994
The country of origin of that publication is born [ANSWER]
['Q90', 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?s WHERE { resource:Q26709625 property:P495 ?s . ?s rdf:type ontology:Q15617994 }
France
The country of origin of that publication is born France
France
action filter_type
action find
entity Annonces, affiches et avis divers
relation country of origin
type designation for an administrative territorial entity
['Paris', 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?s WHERE { resource:Annonces,_affiches_et_avis_divers property:country_of_origin ?s . ?s rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Comparative Reasoning (All)
Comparative|More/Less|Mult. entity type|Indirect
P495
Q15617994 Q2342494 Q838948
USER
Which administrative territories are the origins of approximately the same number of collectables or works of art as that administrative territory ?
(c(Q2342494)|c(Q838948),P495,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q142
relation P495
type Q2342494
type Q838948
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?f ) WHERE { VALUES ( ?b ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?z rdf:type ?b } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { ?r property:P495 resource:Q142 . { { ?r rdf:type ontology:Q2342494 } UNION { ?r rdf:type ontology:Q838948 } } } } . FILTER ( ?f = ?j ) }
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity France
relation country of origin
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?f ) WHERE { VALUES ( ?b ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?z rdf:type ?b } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { ?r property:country_of_origin resource:France . { { ?r rdf:type ontology:collectable } UNION { ?r rdf:type ontology:work_of_art } } } } . FILTER ( ?f = ?j ) }
[]
designation for an administrative territorial entity collectable work of art
Q142 Q145 Q38
SYSTEM
France, United Kingdom, Italy
Q142 Q145 Q38
(c(Q2342494)|c(Q838948),P495,c(Q15617994))
action approx
action union
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q2342494
action find_reverse_tuple_counts
relation P495
type Q15617994
type Q838948
action count
action filter_multi_types
action find_reverse
entity Q142
relation P495
type Q2342494
type Q838948
[ANSWERS] are the origins of approximately the same number of collectables or works of art as that administrative territory
[[{'concept': 'Q2342494'}, {'concept': 'Q838948'}], 'P495', {'concept': 'Q15617994'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?f ) WHERE { VALUES ( ?b ) { ( ontology:Q2342494 ) ( ontology:Q838948 ) } . ?z rdf:type ?b } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { ?r property:P495 resource:Q142 . { { ?r rdf:type ontology:Q2342494 } UNION { ?r rdf:type ontology:Q838948 } } } } . FILTER ( ?f = ?j ) }
France United Kingdom Italy
France, United Kingdom and Italy are the origins of approximately the same number of collectables or works of art as that administrative territory
France United Kingdom Italy
action approx
action union
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type collectable
action find_reverse_tuple_counts
relation country of origin
type designation for an administrative territorial entity
type work of art
action count
action filter_multi_types
action find_reverse
entity France
relation country of origin
type collectable
type work of art
[[{'concept': 'collectable'}, {'concept': 'work of art'}], 'country of origin', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?u WHERE { { SELECT DISTINCT ?u ( COUNT ( ?z ) AS ?f ) WHERE { VALUES ( ?b ) { ( ontology:collectable ) ( ontology:work_of_art ) } . ?z rdf:type ?b } GROUP BY ?u } . { SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { ?r property:country_of_origin resource:France . { { ?r rdf:type ontology:collectable } UNION { ?r rdf:type ontology:work_of_art } } } } . FILTER ( ?f = ?j ) }
[]
Verification (Boolean) (All)
Verification|one entity, multiple entities (as object) referred indirectly
Q822946
P495
Q838948
USER
Did The Dreamers originate in those administrative territories ?
(Q822946,P495,Q142) (Q822946,P495,Q145) (Q822946,P495,Q38)
action is_in
entity prev_answer
action find
entity Q822946
relation P495
['Q822946', 'P495', 'Q142'] ['Q822946', 'P495', 'Q145'] ['Q822946', 'P495', 'Q38']
ASK WHERE { VALUES ( ?m ) { ( resource:Q142 ) ( resource:Q145 ) ( resource:Q38 ) } . resource:Q822946 property:P495 ?m }
The Dreamers
action is_in
entity prev_answer
action find
entity The Dreamers
relation country of origin
['The Dreamers', 'country of origin', 'France'] ['The Dreamers', 'country of origin', 'United Kingdom'] ['The Dreamers', 'country of origin', 'Italy']
ASK WHERE { VALUES ( ?m ) { ( resource:France ) ( resource:United_Kingdom ) ( resource:Italy ) } . resource:The_Dreamers property:country_of_origin ?m }
[]
work of art
SYSTEM
YES
(Q822946,P495,Q142) (Q822946,P495,Q145) (Q822946,P495,Q38)
action is_in
entity prev_answer
action find
entity Q822946
relation P495
[ANSWER]
['Q822946', 'P495', 'Q142'] ['Q822946', 'P495', 'Q145'] ['Q822946', 'P495', 'Q38']
ASK WHERE { VALUES ( ?m ) { ( resource:Q142 ) ( resource:Q145 ) ( resource:Q38 ) } . resource:Q822946 property:P495 ?m }
Yes
action is_in
entity prev_answer
action find
entity The Dreamers
relation country of origin
['The Dreamers', 'country of origin', 'France'] ['The Dreamers', 'country of origin', 'United Kingdom'] ['The Dreamers', 'country of origin', 'Italy']
ASK WHERE { VALUES ( ?m ) { ( resource:France ) ( resource:United_Kingdom ) ( resource:Italy ) } . resource:The_Dreamers property:country_of_origin ?m }
[]
Logical Reasoning (All)
Logical|Intersection|Multiple_Relation
Q855988 Q145
P530 P495
Q1048835
USER
Which political territories have diplomatic relationships with United Kingdom and are the origins of Super Rugby ?
AND((Q145,P530,c(Q1048835)), (Q855988,P495,c(Q1048835)))
action filter_type
action intersection
action find
entity Q145
relation P530
action find
entity Q855988
relation P495
type Q1048835
{'AND': [['Q145', 'P530', {'concept': 'Q1048835'}], ['Q855988', 'P495', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q1048835 . resource:Q145 property:P530 ?s . resource:Q855988 property:P495 ?s }
Super Rugby United Kingdom
action filter_type
action intersection
action find
entity United Kingdom
relation diplomatic relation
action find
entity Super Rugby
relation country of origin
type political territorial entity
{'AND': [['United Kingdom', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Super Rugby', 'country of origin', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:political_territorial_entity . resource:United_Kingdom property:diplomatic_relation ?s . resource:Super_Rugby property:country_of_origin ?s }
[]
political territorial entity
Q408
SYSTEM
Australia
Q408
AND((Q145,P530,c(Q1048835)), (Q855988,P495,c(Q1048835)))
action filter_type
action intersection
action find
entity Q145
relation P530
action find
entity Q855988
relation P495
type Q1048835
[ANSWER] have diplomatic relationships with United Kingdom and are the origins of Super Rugby
{'AND': [['Q145', 'P530', {'concept': 'Q1048835'}], ['Q855988', 'P495', {'concept': 'Q1048835'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:Q1048835 . resource:Q145 property:P530 ?s . resource:Q855988 property:P495 ?s }
Australia
Australia have diplomatic relationships with United Kingdom and are the origins of Super Rugby
Australia
action filter_type
action intersection
action find
entity United Kingdom
relation diplomatic relation
action find
entity Super Rugby
relation country of origin
type political territorial entity
{'AND': [['United Kingdom', 'diplomatic relation', {'concept': 'political territorial entity'}], ['Super Rugby', 'country of origin', {'concept': 'political territorial entity'}]]}
SELECT DISTINCT ?s WHERE { ?s rdf:type ontology:political_territorial_entity . resource:United_Kingdom property:diplomatic_relation ?s . resource:Super_Rugby property:country_of_origin ?s }
[]