Simple Question (Direct)
Simple Question
Q2824219
P27
Q15617994
USER
Which administrative territory is Adeline Moreau a civilian of ?
(Q2824219,P27,c(Q15617994))
action filter_type
action find
entity Q2824219
relation P27
type Q15617994
['Q2824219', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q2824219 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
Adeline Moreau
action filter_type
action find
entity Adeline Moreau
relation country of citizenship
type designation for an administrative territorial entity
['Adeline Moreau', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Adeline_Moreau property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
designation for an administrative territorial entity
Q142
SYSTEM
France
Q142
(Q2824219,P27,c(Q15617994))
action filter_type
action find
entity Q2824219
relation P27
type Q15617994
[ANSWER] is Adeline Moreau a civilian of
['Q2824219', 'P27', {'concept': 'Q15617994'}]
SELECT DISTINCT ?c WHERE { resource:Q2824219 property:P27 ?c . ?c rdf:type ontology:Q15617994 }
France
France is Adeline Moreau a civilian of
France
action filter_type
action find
entity Adeline Moreau
relation country of citizenship
type designation for an administrative territorial entity
['Adeline Moreau', 'country of citizenship', {'concept': 'designation for an administrative territorial entity'}]
SELECT DISTINCT ?c WHERE { resource:Adeline_Moreau property:country_of_citizenship ?c . ?c rdf:type ontology:designation_for_an_administrative_territorial_entity }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2824219
P734
Q82799
USER
Which name is associated with that person ?
(Q142,P734,c(Q82799))
action filter_type
action find
entity Q2824219
relation P734
type Q82799
['Q142', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q2824219 property:P734 ?h . ?h rdf:type ontology:Q82799 }
Adeline Moreau
action filter_type
action find
entity Adeline Moreau
relation family name
type name
['France', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:Adeline_Moreau property:family_name ?h . ?h rdf:type ontology:name }
[]
name
Q16877399
SYSTEM
Moreau
Q16877399
(Q142,P734,c(Q82799))
action filter_type
action find
entity Q2824219
relation P734
type Q82799
[ANSWER] is associated with that person
['Q142', 'P734', {'concept': 'Q82799'}]
SELECT DISTINCT ?h WHERE { resource:Q2824219 property:P734 ?h . ?h rdf:type ontology:Q82799 }
Moreau
Moreau is associated with that person
Moreau
action filter_type
action find
entity Adeline Moreau
relation family name
type name
['France', 'family name', {'concept': 'name'}]
SELECT DISTINCT ?h WHERE { resource:Adeline_Moreau property:family_name ?h . ?h rdf:type ontology:name }
[]
Quantitative Reasoning (All)
Quantitative|Atleast/ Atmost/ Approx. the same/Equal|Single entity type
P407
Q34770 Q82799
USER
Which languages are atleast 8 names composed in ?
(c(Q82799),P407,c(Q34770))
action atleast
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 8
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?p ) WHERE { ?d rdf:type ontology:Q82799 . ?m rdf:type ontology:Q34770 . ?d property:P407 ?m } GROUP BY ?m } . FILTER ( ?p >= 8 ) }
action atleast
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 8
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?p ) WHERE { ?d rdf:type ontology:name . ?m rdf:type ontology:language . ?d property:language_of_work_or_name ?m } GROUP BY ?m } . FILTER ( ?p >= 8 ) }
[]
language name
Q1860 Q9056 Q1321
SYSTEM
English, Czech, Spanish
Q1860 Q1321 Q9056 Q652
(c(Q82799),P407,c(Q34770))
action atleast
action find_reverse_tuple_counts
relation P407
type Q34770
type Q82799
value 8
[ANSWERS] are atleast 8 names composed in
[{'concept': 'Q82799'}, 'P407', {'concept': 'Q34770'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?p ) WHERE { ?d rdf:type ontology:Q82799 . ?m rdf:type ontology:Q34770 . ?d property:P407 ?m } GROUP BY ?m } . FILTER ( ?p >= 8 ) }
English Spanish Czech Italian
English, Czech and Spanish are atleast 8 names composed in
English Czech Spanish
action atleast
action find_reverse_tuple_counts
relation language of work or name
type language
type name
value 8
[{'concept': 'name'}, 'language of work or name', {'concept': 'language'}]
SELECT DISTINCT ?m WHERE { { SELECT DISTINCT ?m ( COUNT ( ?d ) AS ?p ) WHERE { ?d rdf:type ontology:name . ?m rdf:type ontology:language . ?d property:language_of_work_or_name ?m } GROUP BY ?m } . FILTER ( ?p >= 8 ) }
[]