Simple Question (Direct)
Simple Question
Q2844677
P19
Q20667921
USER
Which french administrative division is the birthplace of Amédée Lallier-Frémicourt ?
(Q2844677,P19,c(Q20667921))
action filter_type
action find
entity Q2844677
relation P19
type Q20667921
['Q2844677', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?a WHERE { resource:Q2844677 property:P19 ?a . ?a rdf:type ontology:Q20667921 }
Amédée Lallier-Frémicourt
action filter_type
action find
entity Amédée Lallier-Frémicourt
relation place of birth
type type of french administrative division
['Amédée Lallier-Frémicourt', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?a WHERE { resource:Amédée_Lallier-Frémicourt property:place_of_birth ?a . ?a rdf:type ontology:type_of_french_administrative_division }
[]
type of french administrative division
Q181285
SYSTEM
Cambrai
Q181285
(Q2844677,P19,c(Q20667921))
action filter_type
action find
entity Q2844677
relation P19
type Q20667921
[ANSWER] is the birthplace of Amédée Lallier-Frémicourt
['Q2844677', 'P19', {'concept': 'Q20667921'}]
SELECT DISTINCT ?a WHERE { resource:Q2844677 property:P19 ?a . ?a rdf:type ontology:Q20667921 }
Cambrai
Cambrai is the birthplace of Amédée Lallier-Frémicourt
Cambrai
action filter_type
action find
entity Amédée Lallier-Frémicourt
relation place of birth
type type of french administrative division
['Amédée Lallier-Frémicourt', 'place of birth', {'concept': 'type of french administrative division'}]
SELECT DISTINCT ?a WHERE { resource:Amédée_Lallier-Frémicourt property:place_of_birth ?a . ?a rdf:type ontology:type_of_french_administrative_division }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q181285
P6
Q502895
USER
Which person is that french administrative division the head of goverment of ?
(Q181285,P6,c(Q502895))
action filter_type
action find
entity Q181285
relation P6
type Q502895
['Q181285', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q181285 property:P6 ?t . ?t rdf:type ontology:Q502895 }
Cambrai
action filter_type
action find
entity Cambrai
relation head of government
type common name
['Cambrai', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Cambrai property:head_of_government ?t . ?t rdf:type ontology:common_name }
[]
common name
Q12964
SYSTEM
François-Xavier Villain
Q12964
(Q181285,P6,c(Q502895))
action filter_type
action find
entity Q181285
relation P6
type Q502895
[ANSWER] is that french administrative division the head of goverment of
['Q181285', 'P6', {'concept': 'Q502895'}]
SELECT DISTINCT ?t WHERE { resource:Q181285 property:P6 ?t . ?t rdf:type ontology:Q502895 }
François-Xavier Villain
François-Xavier Villain is that french administrative division the head of goverment of
François-Xavier Villain
action filter_type
action find
entity Cambrai
relation head of government
type common name
['Cambrai', 'head of government', {'concept': 'common name'}]
SELECT DISTINCT ?t WHERE { resource:Cambrai property:head_of_government ?t . ?t rdf:type ontology:common_name }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q181285
P937
Q502895
USER
Which people have Cambrai as their work location ?
(c(Q502895),P937,Q181285)
action filter_type
action find_reverse
entity Q181285
relation P937
type Q502895
[{'concept': 'Q502895'}, 'P937', 'Q181285']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . ?z property:P937 resource:Q181285 }
Cambrai
action filter_type
action find_reverse
entity Cambrai
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Cambrai']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . ?z property:work_location resource:Cambrai }
[]
common name
Q241442 Q74332 Q1706337
SYSTEM
Jacques Féréol Mazas, Dietrich of Nieheim, Joseph-Emmanuel de La Trémoille
Q241442 Q74332 Q1706337
(c(Q502895),P937,Q181285)
action filter_type
action find_reverse
entity Q181285
relation P937
type Q502895
[ANSWERS] have Cambrai as their work location
[{'concept': 'Q502895'}, 'P937', 'Q181285']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:Q502895 . ?z property:P937 resource:Q181285 }
Jacques Féréol Mazas Dietrich of Nieheim Joseph-Emmanuel de La Trémoille
Jacques Féréol Mazas, Dietrich of Nieheim and Joseph-Emmanuel de La Trémoille have Cambrai as their work location
Jacques Féréol Mazas Dietrich of Nieheim Joseph-Emmanuel de La Trémoille
action filter_type
action find_reverse
entity Cambrai
relation work location
type common name
[{'concept': 'common name'}, 'work location', 'Cambrai']
SELECT DISTINCT ?z WHERE { ?z rdf:type ontology:common_name . ?z property:work_location resource:Cambrai }
[]
Clarification
Simple Question|Single Entity|Indirect
Q74332
P106
Q12737077
USER
Which occupations are the professions of that person ?
(Q74332,P106,c(Q12737077))
action filter_type
action find
entity Q74332
relation P106
type Q12737077
['Q74332', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q74332 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Dietrich of Nieheim
action filter_type
action find
entity Dietrich of Nieheim
relation occupation
type occupation
['Dietrich of Nieheim', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Dietrich_of_Nieheim property:occupation ?e . ?e rdf:type ontology:occupation }
[]
occupation
Clarification for simple ques.
Q1706337
SYSTEM
Did you mean Joseph-Emmanuel de La Trémoille ?
Q241442 Q74332 Q1706337
(Q241442,P106,c(Q12737077)) (Q74332,P106,c(Q12737077)) (Q1706337,P106,c(Q12737077))
[ANSWER]
['Q241442', 'P106', {'concept': 'Q12737077'}] ['Q74332', 'P106', {'concept': 'Q12737077'}] ['Q1706337', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q74332 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
Jacques Féréol Mazas Dietrich of Nieheim Joseph-Emmanuel de La Trémoille
Did you mean Joseph-Emmanuel de La Trémoille ?
Joseph-Emmanuel de La Trémoille
['Jacques Féréol Mazas', 'occupation', {'concept': 'occupation'}] ['Dietrich of Nieheim', 'occupation', {'concept': 'occupation'}] ['Joseph-Emmanuel de La Trémoille', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Dietrich_of_Nieheim property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Simple Question (Coreferenced)
USER
No, I meant Dietrich of Nieheim. Could you tell me the answer for that?
(Q74332,P106,c(Q12737077))
Q74332
['Q74332', 'P106', {'concept': 'Q12737077'}]
['Dietrich of Nieheim', 'occupation', {'concept': 'occupation'}]
[]
Q201788 Q36180 Q42603
SYSTEM
historian, writer, priest
Q201788 Q36180 Q42603
(Q74332,P106,c(Q12737077))
action filter_type
action find
entity Q74332
relation P106
type Q12737077
The professions of that person are [ANSWERS]
['Q74332', 'P106', {'concept': 'Q12737077'}]
SELECT DISTINCT ?e WHERE { resource:Q74332 property:P106 ?e . ?e rdf:type ontology:Q12737077 }
historian writer priest
The professions of that person are historian, writer and priest
historian writer priest
action filter_type
action find
entity Dietrich of Nieheim
relation occupation
type occupation
['Dietrich of Nieheim', 'occupation', {'concept': 'occupation'}]
SELECT DISTINCT ?e WHERE { resource:Dietrich_of_Nieheim property:occupation ?e . ?e rdf:type ontology:occupation }
[]
Simple Question (Direct)
Simple Question|Single Entity
Q201788
P101
Q15298259
USER
Which wizard in the Harry Potter universe has specialisation in historian ?
(c(Q15298259),P101,Q201788)
action filter_type
action find_reverse
entity Q201788
relation P101
type Q15298259
[{'concept': 'Q15298259'}, 'P101', 'Q201788']
SELECT DISTINCT ?b WHERE { ?b property:P101 resource:Q201788 . ?b rdf:type ontology:Q15298259 }
historian
action filter_type
action find_reverse
entity historian
relation field of work
type wizard in the Harry Potter universe
[{'concept': 'wizard in the Harry Potter universe'}, 'field of work', 'historian']
SELECT DISTINCT ?b WHERE { ?b property:field_of_work resource:historian . ?b rdf:type ontology:wizard_in_the_Harry_Potter_universe }
[]
wizard in the Harry Potter universe
Q2350043
SYSTEM
Professor Cuthbert Binns
Q2350043
(c(Q15298259),P101,Q201788)
action filter_type
action find_reverse
entity Q201788
relation P101
type Q15298259
[ANSWER] has specialisation in historian
[{'concept': 'Q15298259'}, 'P101', 'Q201788']
SELECT DISTINCT ?b WHERE { ?b property:P101 resource:Q201788 . ?b rdf:type ontology:Q15298259 }
Professor Cuthbert Binns
Professor Cuthbert Binns has specialisation in historian
Professor Cuthbert Binns
action filter_type
action find_reverse
entity historian
relation field of work
type wizard in the Harry Potter universe
[{'concept': 'wizard in the Harry Potter universe'}, 'field of work', 'historian']
SELECT DISTINCT ?b WHERE { ?b property:field_of_work resource:historian . ?b rdf:type ontology:wizard_in_the_Harry_Potter_universe }
[]
Simple Question (Coreferenced)
Simple Question|Single Entity|Indirect
Q2350043
P1441
Q277759
USER
Where does that wizard in the Harry Potter universe appear ?
(Q2350043,P1441,c(Q277759))
action filter_type
action find
entity Q2350043
relation P1441
type Q277759
['Q2350043', 'P1441', {'concept': 'Q277759'}]
SELECT DISTINCT ?z WHERE { resource:Q2350043 property:P1441 ?z . ?z rdf:type ontology:Q277759 }
Professor Cuthbert Binns
action filter_type
action find
entity Professor Cuthbert Binns
relation present in work
type book series
['Professor Cuthbert Binns', 'present in work', {'concept': 'book series'}]
SELECT DISTINCT ?z WHERE { resource:Professor_Cuthbert_Binns property:present_in_work ?z . ?z rdf:type ontology:book_series }
[]
book series
Q8337
SYSTEM
Harry Potter
Q8337
(Q2350043,P1441,c(Q277759))
action filter_type
action find
entity Q2350043
relation P1441
type Q277759
That wizard in the [ANSWER] universe appears in [ANSWER]
['Q2350043', 'P1441', {'concept': 'Q277759'}]
SELECT DISTINCT ?z WHERE { resource:Q2350043 property:P1441 ?z . ?z rdf:type ontology:Q277759 }
Harry Potter
That wizard in the Harry Potter universe appears in Harry Potter
Harry Potter
action filter_type
action find
entity Professor Cuthbert Binns
relation present in work
type book series
['Professor Cuthbert Binns', 'present in work', {'concept': 'book series'}]
SELECT DISTINCT ?z WHERE { resource:Professor_Cuthbert_Binns property:present_in_work ?z . ?z rdf:type ontology:book_series }
[]
Comparative Reasoning (Count) (All)
Comparative|Count over More/Less|Single entity type|Indirect
P144
Q277759 Q95074
USER
How many book series do around the same number of fictional characters extend upon as that book series ?
(c(Q95074),P144,c(Q277759))
action count
action approx
action find_reverse_tuple_counts
relation P144
type Q277759
type Q95074
action count
action filter_type
action find
entity Q8337
relation P144
type Q277759
[{'concept': 'Q95074'}, 'P144', {'concept': 'Q277759'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?w ) AS ?l ) WHERE { ?w property:P144 ?r . ?r rdf:type ontology:Q277759 . ?w rdf:type ontology:Q95074 } GROUP BY ?r } . FILTER ( ?l = ?x ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { ?m rdf:type ontology:Q277759 . resource:Q8337 property:P144 ?m } } }
action count
action approx
action find_reverse_tuple_counts
relation based on
type book series
type fictional character
action count
action filter_type
action find
entity Harry Potter
relation based on
type book series
[{'concept': 'fictional character'}, 'based on', {'concept': 'book series'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?w ) AS ?l ) WHERE { ?w property:based_on ?r . ?r rdf:type ontology:book_series . ?w rdf:type ontology:fictional_character } GROUP BY ?r } . FILTER ( ?l = ?x ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { ?m rdf:type ontology:book_series . resource:Harry_Potter property:based_on ?m } } }
[]
book series fictional character
SYSTEM
64
Q103411 Q116546 Q174874 Q18010882 Q59990 Q658568 Q3539202 Q4950259 Q1027525 Q137308 Q5602731 Q45875 Q845259 Q520306 Q1768890 Q11679 Q944598 Q42490 Q3495306 Q95029 Q2633138 Q129240 Q2966805 Q3736125 Q784649 Q44523 Q280898 Q6692105 Q5247677 Q728841 Q4537599 Q3235421 Q483412 Q516148 Q7912970 Q213167 Q2974338 Q8337 Q1035139 Q226079 Q744536 Q340181 Q2816065 Q727911 Q22987533 Q25169 Q20899148 Q840516 Q7762369 Q958873 Q12755546 Q17323511 Q863286 Q847022 Q11221 Q2276761 Q1111179 Q2167179 Q6119372 Q128277 Q91926 Q996434 Q2759785 Q810863
(c(Q95074),P144,c(Q277759))
action count
action approx
action find_reverse_tuple_counts
relation P144
type Q277759
type Q95074
action count
action filter_type
action find
entity Q8337
relation P144
type Q277759
[ANSWER]
[{'concept': 'Q95074'}, 'P144', {'concept': 'Q277759'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?w ) AS ?l ) WHERE { ?w property:P144 ?r . ?r rdf:type ontology:Q277759 . ?w rdf:type ontology:Q95074 } GROUP BY ?r } . FILTER ( ?l = ?x ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { ?m rdf:type ontology:Q277759 . resource:Q8337 property:P144 ?m } } }
V for Vendetta Earthsea series Titeuf Dune Blake and Mortimer Valérian and Laureline Grisbi trilogy Bourne Trilogy Left Behind Blueberry Green Knowe A Song of Ice and Fire Iznogoud Superman The Princess Diaries The Hunger Games The Amazing Spider-Man Asterix St Trinian's School The League of Extraordinary Gentlemen Batman His Dark Materials trilogy Xenozoic Tales Under the North Star Fables Twilight The Dark Tower Lovejoy Deathlands Gormenghast trilogy The Smurfs Road to Perdition The Chronicles of Narnia Fix and Foxi Vampire Blood Trilogy Percy Jackson & the Olympians Ciske de Rat trilogy Harry Potter Hellblazer The Vampire Diaries The Adventures of Tintin The Walking Dead 30 Days of Night Largo Winch Rocketeer The Hitchhiker's Guide to the Galaxy pentalogy Foundation Trilogy The Vampire Chronicles The Saxon Stories Otherland Mirko and Slavko Outcast Billy the Cat Millennium trilogy The Smurfs Shamo D'Artagnan Romances American Splendor Jacob Two-Two Thorgal Barbarella Tanguy et Laverdure The Men in Black The Dark Knight Returns
64
action count
action approx
action find_reverse_tuple_counts
relation based on
type book series
type fictional character
action count
action filter_type
action find
entity Harry Potter
relation based on
type book series
[{'concept': 'fictional character'}, 'based on', {'concept': 'book series'}]
SELECT DISTINCT ( COUNT ( ?r ) AS ?j ) WHERE { { SELECT DISTINCT ?r ( COUNT ( ?w ) AS ?l ) WHERE { ?w property:based_on ?r . ?r rdf:type ontology:book_series . ?w rdf:type ontology:fictional_character } GROUP BY ?r } . FILTER ( ?l = ?x ) . { SELECT DISTINCT ( COUNT ( ?m ) AS ?x ) WHERE { ?m rdf:type ontology:book_series . resource:Harry_Potter property:based_on ?m } } }
[]